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

Method NewPresenceTest

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

NewPresenceTest creates an Expr representing a field presence test on an operand expression.

(id int64, operand Expr, field string)

Source from the content-addressed store, hash-verified

63
64 // NewPresenceTest creates an Expr representing a field presence test on an operand expression.
65 NewPresenceTest(id int64, operand Expr, field string) Expr
66
67 // NewSelect creates an Expr representing a field selection on an operand expression.
68 NewSelect(id int64, operand Expr, field string) Expr

Callers 7

TestConvertExprFunction · 0.95
HasMacroExpanderFunction · 0.65
PresenceTestMethod · 0.65
NewHasMacroMethod · 0.65
TestMacroModernFunction · 0.65
exprSelectFunction · 0.65

Implementers 1

baseExprFactorycommon/ast/factory.go

Calls

no outgoing calls

Tested by 3

TestConvertExprFunction · 0.76
TestMacroModernFunction · 0.52