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

Method NewSelect

parser/helper.go:494–496  ·  view source on GitHub ↗

NewSelect implements the ExprHelper interface method.

(operand ast.Expr, field string)

Source from the content-addressed store, hash-verified

492
493// NewSelect implements the ExprHelper interface method.
494func (e *exprHelper) NewSelect(operand ast.Expr, field string) ast.Expr {
495 return e.exprFactory.NewSelect(e.nextMacroID(), operand, field)
496}
497
498// OffsetLocation implements the ExprHelper interface method.
499func (e *exprHelper) OffsetLocation(exprID int64) common.Location {

Callers

nothing calls this directly

Calls 2

nextMacroIDMethod · 0.95
NewSelectMethod · 0.65

Tested by

no test coverage detected