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

Method AbsoluteAttribute

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

AbsoluteAttribute creates an attribute that refers to a top-level variable name. Checked expressions generate absolute attribute with a single name. Parse-only expressions may have more than one possible absolute identifier when the expression is created within a container, e.g. package or namespac

(id int64, names ...string)

Source from the content-addressed store, hash-verified

37 // returned in the same order as they were provided by the NamespacedAttribute
38 // CandidateVariableNames method.
39 AbsoluteAttribute(id int64, names ...string) NamespacedAttribute
40
41 // ConditionalAttribute creates an attribute with two Attribute branches, where the Attribute
42 // that is resolved depends on the boolean evaluation of the input 'expr'.

Implementers 1

attrFactoryinterpreter/attributes.go

Calls

no outgoing calls