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

Method MaybeAttribute

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

MaybeAttribute creates an attribute that refers to either a field selection or a namespaced variable name. Only expressions which have not been type-checked may generate oneof attributes.

(id int64, name string)

Source from the content-addressed store, hash-verified

47 //
48 // Only expressions which have not been type-checked may generate oneof attributes.
49 MaybeAttribute(id int64, name string) Attribute
50
51 // RelativeAttribute creates an attribute whose value is a qualification of a dynamic
52 // computation rather than a static variable reference.

Implementers 1

attrFactoryinterpreter/attributes.go

Calls

no outgoing calls