Skip to main content

Class: ExpressionFilter

Constructors

new ExpressionFilter()

new ExpressionFilter(name, args, kwargs): ExpressionFilter

Parameters

name: string

args: Expression[] = []

kwargs: Map<string, Expression> = ...

Returns

ExpressionFilter

Defined in

src/expression.ts:368

Properties

args

readonly args: Expression[] = []

Defined in

src/expression.ts:370


kwargs

readonly kwargs: Map<string, Expression>

Defined in

src/expression.ts:371


name

readonly name: string

Defined in

src/expression.ts:369

Methods

evalArgs()

evalArgs(context): Promise<unknown[]>

Parameters

context: RenderContext

Returns

Promise<unknown[]>

Defined in

src/expression.ts:385


evalArgsSync()

evalArgsSync(context): unknown[]

Parameters

context: RenderContext

Returns

unknown[]

Defined in

src/expression.ts:408


evalKeywordArgs()

evalKeywordArgs(context): Promise<object>

Parameters

context: RenderContext

Returns

Promise<object>

Defined in

src/expression.ts:395


evalKeywordArgsSync()

evalKeywordArgsSync(context): object

Parameters

context: RenderContext

Returns

object

Defined in

src/expression.ts:412


toString()

toString(): string

Returns

string

Defined in

src/expression.ts:374