Skip to content

Attribute

Attribute represents a variable or value with an optional set of qualifiers.

addQualifier(qualifierValue): Attribute

addQualifier appends a qualifier to the attribute path.

Qualifier

Attribute


id(): number

id returns where the qualifier appears within an expression.

number

Qualifier.id


isOptional(): boolean

isOptional returns whether the qualifier was declared as optional.

boolean

Qualifier.isOptional


qualify(vars, obj): unknown

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

Activation

unknown

unknown

Qualifier.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

Qualifier.qualifyIfPresent


resolve(vars): unknown

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

Activation

unknown