MCPcopy Create free account
hub / github.com/cel-expr/cel-go / NewCall

Method NewCall

common/ast/factory.go:28–28  ·  view source on GitHub ↗

NewCall creates an Expr value representing a global function call.

(id int64, function string, args ...Expr)

Source from the content-addressed store, hash-verified

26
27 // NewCall creates an Expr value representing a global function call.
28 NewCall(id int64, function string, args ...Expr) Expr
29
30 // NewComprehension creates an Expr value representing a one-variable comprehension over a value range.
31 NewComprehension(id int64, iterRange Expr, iterVar, accuVar string, accuInit, loopCondition, loopStep, result Expr) Expr

Implementers 1

baseExprFactorycommon/ast/factory.go

Calls

no outgoing calls

Tested by 15

TestBlockEvalFunction · 0.76
TestBlockEval_BadPlanFunction · 0.76
TestBlockEval_BadBlockFunction · 0.76
BenchmarkBlockEvalFunction · 0.76
TestConvertASTFunction · 0.76
TestConvertExprFunction · 0.76