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

Method newPresenceTest

parser/helper.go:84–86  ·  view source on GitHub ↗
(ctx any, operand ast.Expr, field string)

Source from the content-addressed store, hash-verified

82}
83
84func (p *parserHelper) newPresenceTest(ctx any, operand ast.Expr, field string) ast.Expr {
85 return p.exprFactory.NewPresenceTest(p.newID(ctx), operand, field)
86}
87
88func (p *parserHelper) newGlobalCall(ctx any, function string, args ...ast.Expr) ast.Expr {
89 return p.exprFactory.NewCall(p.newID(ctx), function, args...)

Callers

nothing calls this directly

Calls 2

newIDMethod · 0.95
NewPresenceTestMethod · 0.65

Tested by

no test coverage detected