Skip to main content

Class: abstract Literal<T>

Extended by

Type Parameters

T

Implements

Constructors

new Literal()

new Literal<T>(value): Literal<T>

Parameters

value: T

Returns

Literal<T>

Defined in

src/expression.ts:150

Properties

value

readonly value: T

Defined in

src/expression.ts:150

Methods

children()

children(): Expression[]

Returns

Expression[]

Implementation of

Expression.children

Defined in

src/expression.ts:170


equals()

equals(other): boolean

Parameters

other: unknown

Returns

boolean

Implementation of

Expression.equals

Defined in

src/expression.ts:162


evaluate()

evaluate(context): Promise<T>

Parameters

context: RenderContext

Returns

Promise<T>

Implementation of

Expression.evaluate

Defined in

src/expression.ts:153


evaluateSync()

evaluateSync(context): T

Parameters

context: RenderContext

Returns

T

Implementation of

Expression.evaluateSync

Defined in

src/expression.ts:158


toString()

toString(): string

Returns

string

Implementation of

Expression.toString

Defined in

src/expression.ts:166