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

Method newList

parser/helper.go:100–102  ·  view source on GitHub ↗
(ctx any, elements []ast.Expr, optionals ...int32)

Source from the content-addressed store, hash-verified

98}
99
100func (p *parserHelper) newList(ctx any, elements []ast.Expr, optionals ...int32) ast.Expr {
101 return p.exprFactory.NewList(p.newID(ctx), elements, optionals)
102}
103
104func (p *parserHelper) newMap(ctx any, entries ...ast.EntryExpr) ast.Expr {
105 return p.exprFactory.NewMap(p.newID(ctx), entries)

Callers 1

VisitCreateListMethod · 0.80

Calls 2

newIDMethod · 0.95
NewListMethod · 0.65

Tested by

no test coverage detected