Skip to main content

Class: PrefixExpression

Implements

Constructors

new PrefixExpression()

new PrefixExpression(operator, right): PrefixExpression

Parameters

operator: string

right: Expression

Returns

PrefixExpression

Defined in

src/expression.ts:623

Properties

operator

readonly operator: string

Defined in

src/expression.ts:624


readonly right: Expression

Defined in

src/expression.ts:625

Methods

children()

children(): Expression[]

Returns

Expression[]

Implementation of

Expression.children

Defined in

src/expression.ts:656


equals()

equals(other): boolean

Parameters

other: unknown

Returns

boolean

Implementation of

Expression.equals

Defined in

src/expression.ts:628


evaluate()

evaluate(context): Promise<boolean>

Parameters

context: RenderContext

Returns

Promise<boolean>

Implementation of

Expression.evaluate

Defined in

src/expression.ts:640


evaluateSync()

evaluateSync(context): boolean

Parameters

context: RenderContext

Returns

boolean

Implementation of

Expression.evaluateSync

Defined in

src/expression.ts:648


toString()

toString(): string

Returns

string

Implementation of

Expression.toString

Defined in

src/expression.ts:636