Skip to main content

Class: FilteredExpression

Extended by

Implements

Constructors

new FilteredExpression()

new FilteredExpression(expression, filters): FilteredExpression

Parameters

expression: Expression

filters: ExpressionFilter[] = []

Returns

FilteredExpression

Defined in

src/expression.ts:424

Properties

expression

readonly expression: Expression

Defined in

src/expression.ts:425


filters

readonly filters: ExpressionFilter[] = []

Defined in

src/expression.ts:426

Methods

applyFilters()

protected applyFilters(left, filters, context): Promise<unknown>

Parameters

left: unknown

filters: ExpressionFilter[]

context: RenderContext

Returns

Promise<unknown>

Defined in

src/expression.ts:443


applyFiltersSync()

protected applyFiltersSync(left, filters, context): unknown

Parameters

left: unknown

filters: ExpressionFilter[]

context: RenderContext

Returns

unknown

Defined in

src/expression.ts:472


children()

children(): Expression[]

Returns

Expression[]

Implementation of

Expression.children

Defined in

src/expression.ts:514


equals()

equals(other): boolean

Parameters

other: unknown

Returns

boolean

Implementation of

Expression.equals

Defined in

src/expression.ts:429


evaluate()

evaluate(context): Promise<unknown>

Parameters

context: RenderContext

Returns

Promise<unknown>

Implementation of

Expression.evaluate

Defined in

src/expression.ts:501


evaluateSync()

evaluateSync(context): unknown

Parameters

context: RenderContext

Returns

unknown

Implementation of

Expression.evaluateSync

Defined in

src/expression.ts:509


toString()

toString(): string

Returns

string

Implementation of

Expression.toString

Defined in

src/expression.ts:437