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

Method Qualify

interpreter/attributes.go:80–80  ·  view source on GitHub ↗

Qualify performs a qualification, e.g. field selection, on the input object and returns the value of the access and whether the value was set. A non-nil value with a false presence test result indicates that the value being returned is the default value.

(vars Activation, obj any)

Source from the content-addressed store, hash-verified

78 // the value of the access and whether the value was set. A non-nil value with a false presence
79 // test result indicates that the value being returned is the default value.
80 Qualify(vars Activation, obj any) (any, error)
81
82 // QualifyIfPresent qualifies the object if the qualifier is declared or defined on the object.
83 // The 'presenceOnly' flag indicates that the value is not necessary, just a boolean status as

Callers 2

attrQualifyFunction · 0.95
applyQualifiersFunction · 0.65

Implementers 13

nestedMsgQualifierinterpreter/attributes_test.go
boolQualifierinterpreter/attributes.go
fieldQualifierinterpreter/attributes.go
stringQualifierinterpreter/attributes.go
intQualifierinterpreter/attributes.go
uintQualifierinterpreter/attributes.go
doubleQualifierinterpreter/attributes.go
evalAttrinterpreter/interpretable.go
absoluteAttributeinterpreter/attributes.go
conditionalAttributeinterpreter/attributes.go
maybeAttributeinterpreter/attributes.go
relativeAttributeinterpreter/attributes.go

Calls

no outgoing calls

Tested by

no test coverage detected