Skip to main content

Class: IntegerLiteral

Extends

Constructors

new IntegerLiteral()

new IntegerLiteral(value): IntegerLiteral

Parameters

value: Integer

Returns

IntegerLiteral

Inherited from

Literal.constructor

Defined in

src/expression.ts:150

Properties

value

readonly value: Integer

Inherited from

Literal.value

Defined in

src/expression.ts:150

Methods

children()

children(): Expression[]

Returns

Expression[]

Inherited from

Literal.children

Defined in

src/expression.ts:170


equals()

equals(other): boolean

Parameters

other: unknown

Returns

boolean

Overrides

Literal.equals

Defined in

src/expression.ts:201


evaluate()

evaluate(context): Promise<Integer>

Parameters

context: RenderContext

Returns

Promise<Integer>

Inherited from

Literal.evaluate

Defined in

src/expression.ts:153


evaluateSync()

evaluateSync(context): Integer

Parameters

context: RenderContext

Returns

Integer

Inherited from

Literal.evaluateSync

Defined in

src/expression.ts:158


toString()

toString(): string

Returns

string

Overrides

Literal.toString

Defined in

src/expression.ts:205