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

Method NewMemberCall

common/ast/factory.go:117–129  ·  view source on GitHub ↗
(id int64, function string, target Expr, args ...Expr)

Source from the content-addressed store, hash-verified

115}
116
117func (fac *baseExprFactory) NewMemberCall(id int64, function string, target Expr, args ...Expr) Expr {
118 if len(args) == 0 {
119 args = []Expr{}
120 }
121 return fac.newExpr(
122 id,
123 &baseCallExpr{
124 function: function,
125 target: target,
126 args: args,
127 isMember: true,
128 })
129}
130
131func (fac *baseExprFactory) NewComprehension(id int64, iterRange Expr, iterVar, accuVar string, accuInit, loopCond, loopStep, result Expr) Expr {
132 // Set the iter_var2 to empty string to indicate the second variable is omitted

Callers 1

CopyExprMethod · 0.95

Calls 1

newExprMethod · 0.95

Tested by

no test coverage detected