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

Method Copy

cel/macro.go:59–59  ·  view source on GitHub ↗

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

(*exprpb.Expr)

Source from the content-addressed store, hash-verified

57type MacroExprHelper interface {
58 // Copy the input expression with a brand new set of identifiers.
59 Copy(*exprpb.Expr) *exprpb.Expr
60
61 // LiteralBool creates an Expr value for a bool literal.
62 LiteralBool(value bool) *exprpb.Expr

Callers 15

NewEnvFunction · 0.65
CopyMethod · 0.65
ExtendMethod · 0.65
CopyMethod · 0.65
optMapFunction · 0.65
optFlatMapFunction · 0.65
TestMacroInteropFunction · 0.65
TestMacroModernFunction · 0.65
TestCustomExistsMacroFunction · 0.65
CopyMethod · 0.65
TestRegistryCopyFunction · 0.65

Implementers 1

adaptingHelpercel/macro.go

Calls

no outgoing calls

Tested by 8

TestMacroInteropFunction · 0.52
TestMacroModernFunction · 0.52
TestCustomExistsMacroFunction · 0.52
TestRegistryCopyFunction · 0.52
TestDbCopyFunction · 0.52
BenchmarkDbCopyFunction · 0.52