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

Method NewList

parser/helper.go:412–414  ·  view source on GitHub ↗

NewList implements the ExprHelper interface method.

(elems ...ast.Expr)

Source from the content-addressed store, hash-verified

410
411// NewList implements the ExprHelper interface method.
412func (e *exprHelper) NewList(elems ...ast.Expr) ast.Expr {
413 return e.exprFactory.NewList(e.nextMacroID(), elems, []int32{})
414}
415
416// NewMap implements the ExprHelper interface method.
417func (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