Skip to content

NamespacedAttribute

NamespacedAttribute is an Attribute whose base variable may have multiple candidate names.

addQualifier(qualifierValue): Attribute

addQualifier appends a qualifier to the attribute path.

Qualifier

Attribute

Attribute.addQualifier


candidateVariableNames(): string[]

candidateVariableNames returns the possible namespaced variable names in CEL resolution order.

string[]


id(): number

id returns where the qualifier appears within an expression.

number

Attribute.id


isOptional(): boolean

isOptional returns whether the qualifier was declared as optional.

boolean

Attribute.isOptional


qualifiers(): Qualifier[]

qualifiers returns the qualifiers associated with the attribute.

Qualifier[]


qualify(vars, obj): unknown

qualify performs the field or index selection on the input object.

Activation

unknown

unknown

Attribute.qualify


qualifyIfPresent(vars, obj, presenceOnly): unknown

qualifyIfPresent performs the field or index selection only when the field or index is present.

Activation

unknown

boolean

unknown

Attribute.qualifyIfPresent


resolve(vars): unknown

resolve returns the current value of the attribute within an activation.

Activation

unknown

Attribute.resolve