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

Method Copy

parser/macro.go:199–199  ·  view source on GitHub ↗

Copy the input expression with a brand new set of identifiers.

(ast.Expr)

Source from the content-addressed store, hash-verified

197type ExprHelper interface {
198 // Copy the input expression with a brand new set of identifiers.
199 Copy(ast.Expr) ast.Expr
200
201 // Literal creates an Expr value for a scalar literal value.
202 NewLiteral(value ref.Val) ast.Expr

Callers 2

TestExprHelperCopyFunction · 0.65
sortByMacroFunction · 0.65

Implementers 1

exprHelperparser/helper.go

Calls

no outgoing calls

Tested by 1

TestExprHelperCopyFunction · 0.52