Skip to content

Activation

Activation used to resolve identifiers by name and references by id.

An Activation is the primary mechanism by which a caller supplies input into a CEL program.

parent(): Activation | undefined

Parent returns the parent of the current activation.

If non-undefined, the parent will be searched during resolve calls.

Activation | undefined


resolveName(name): unknown

ResolveName returns a value from the activation by qualified name, or activationNameAbsent when the name could not be found. A sentinel is required because an activation may bind a name to undefined.

string

unknown