Skip to main content

Class: RangeLiteral

Implements

Constructors

new RangeLiteral()

new RangeLiteral(start, stop): RangeLiteral

Parameters

start: Expression

stop: Expression

Returns

RangeLiteral

Defined in

src/expression.ts:221

Properties

start

readonly start: Expression

Defined in

src/expression.ts:222


stop

readonly stop: Expression

Defined in

src/expression.ts:223

Methods

children()

children(): Expression[]

Returns

Expression[]

Implementation of

Expression.children

Defined in

src/expression.ts:264


equals()

equals(other): boolean

Parameters

other: unknown

Returns

boolean

Implementation of

Expression.equals

Defined in

src/expression.ts:252


evaluate()

evaluate(context): Promise<Range>

Parameters

context: RenderContext

Returns

Promise<Range>

Implementation of

Expression.evaluate

Defined in

src/expression.ts:226


evaluateSync()

evaluateSync(context): Range

Parameters

context: RenderContext

Returns

Range

Implementation of

Expression.evaluateSync

Defined in

src/expression.ts:243


toString()

toString(): string

Returns

string

Implementation of

Expression.toString

Defined in

src/expression.ts:260