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

Method NewList

parser/helper.go:416–418  ·  view source on GitHub ↗

NewList implements the ExprHelper interface method.

(elems ...ast.Expr)

Source from the content-addressed store, hash-verified

414
415// NewList implements the ExprHelper interface method.
416func (e *exprHelper) NewList(elems ...ast.Expr) ast.Expr {
417 return e.exprFactory.NewList(e.nextMacroID(), elems, []int32{})
418}
419
420// NewMap implements the ExprHelper interface method.
421func (e *exprHelper) NewMap(entries ...ast.EntryExpr) ast.Expr {

Callers

nothing calls this directly

Calls 2

nextMacroIDMethod · 0.95
NewListMethod · 0.65

Tested by

no test coverage detected