Skip to main content

Class: Identifier

Implements

Constructors

new Identifier()

new Identifier(root, path): Identifier

Parameters

root: null | string

path: IdentifierPath

Returns

Identifier

Defined in

src/expression.ts:278

Properties

path

readonly path: IdentifierPath

Defined in

src/expression.ts:280


root

readonly root: null | string

Defined in

src/expression.ts:279

Methods

children()

children(): Expression[]

Returns

Expression[]

Implementation of

Expression.children

Defined in

src/expression.ts:362


equals()

equals(other): boolean

Parameters

other: unknown

Returns

boolean

Implementation of

Expression.equals

Defined in

src/expression.ts:283


evaluate()

evaluate(context): Promise<unknown>

Parameters

context: RenderContext

Returns

Promise<unknown>

Implementation of

Expression.evaluate

Defined in

src/expression.ts:313


evaluateSync()

evaluateSync(context): unknown

Parameters

context: RenderContext

Returns

unknown

Implementation of

Expression.evaluateSync

Defined in

src/expression.ts:339


toString()

toString(): string

Returns

string

Implementation of

Expression.toString

Defined in

src/expression.ts:291