Skip to main content

Class: InfixExpression

Implements

Constructors

new InfixExpression()

new InfixExpression(left, operator, right): InfixExpression

Parameters

left: Expression

operator: string

right: Expression

Returns

InfixExpression

Defined in

src/expression.ts:662

Properties

left

readonly left: Expression

Defined in

src/expression.ts:663


operator

readonly operator: string

Defined in

src/expression.ts:664


readonly right: Expression

Defined in

src/expression.ts:665

Methods

children()

children(): Expression[]

Returns

Expression[]

Implementation of

Expression.children

Defined in

src/expression.ts:701


equals()

equals(other): boolean

Parameters

other: unknown

Returns

boolean

Implementation of

Expression.equals

Defined in

src/expression.ts:668


evaluate()

evaluate(context): Promise<boolean>

Parameters

context: RenderContext

Returns

Promise<boolean>

Implementation of

Expression.evaluate

Defined in

src/expression.ts:681


evaluateSync()

evaluateSync(context): boolean

Parameters

context: RenderContext

Returns

boolean

Implementation of

Expression.evaluateSync

Defined in

src/expression.ts:693


toString()

toString(): string

Returns

string

Implementation of

Expression.toString

Defined in

src/expression.ts:677