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

Method ResolveName

interpreter/activation.go:30–30  ·  view source on GitHub ↗

ResolveName returns a value from the activation by qualified name, or false if the name could not be found.

(name string)

Source from the content-addressed store, hash-verified

28 // ResolveName returns a value from the activation by qualified name, or false if the name
29 // could not be found.
30 ResolveName(name string) (any, bool)
31
32 // Parent returns the parent of the current activation, may be nil.
33 // If non-nil, the parent will be searched during resolve calls.

Callers 15

TestActivation_ResolveFunction · 0.95
ResolveNameMethod · 0.65
ResolveNameMethod · 0.65
ResolveNameMethod · 0.65
ResolveMethod · 0.65
TestFrameResolveNameFunction · 0.65
ResolveNameMethod · 0.65

Implementers 7

emptyActivationinterpreter/activation.go
mapActivationinterpreter/activation.go
hierarchicalActivationinterpreter/activation.go
parentActivationWrapperinterpreter/interpreter_test.go
folderinterpreter/interpretable.go
ExecutionFrameinterpreter/frame.go
inputActivationinterpreter/frame.go

Calls

no outgoing calls

Tested by 8

TestActivation_ResolveFunction · 0.76
ResolveNameMethod · 0.52
TestFrameResolveNameFunction · 0.52