Skip to main content

Class: FloatLiteral

Extends

Constructors

new FloatLiteral()

new FloatLiteral(value): FloatLiteral

Parameters

value: Float

Returns

FloatLiteral

Inherited from

Literal.constructor

Defined in

src/expression.ts:150

Properties

value

readonly value: Float

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:211


evaluate()

evaluate(context): Promise<Float>

Parameters

context: RenderContext

Returns

Promise<Float>

Inherited from

Literal.evaluate

Defined in

src/expression.ts:153


evaluateSync()

evaluateSync(context): Float

Parameters

context: RenderContext

Returns

Float

Inherited from

Literal.evaluateSync

Defined in

src/expression.ts:158


toString()

toString(): string

Returns

string

Overrides

Literal.toString

Defined in

src/expression.ts:215