Class: Expression

Hierarchy

  • Expression

Constructors

constructor

+ new Expression(str: string): Expression

Defined in render/expression.ts:18

Parameters:

Name Type
str string

Returns: Expression

Properties

Private operands

operands: any[] = []

Defined in render/expression.ts:17


Private postfix

postfix: IterableIterator‹Token

Defined in render/expression.ts:18

Methods

evaluate

evaluate(ctx: Context): any

Defined in render/expression.ts:24

Parameters:

Name Type
ctx Context

Returns: any


value

value(ctx: Context): IterableIterator‹any›

Defined in render/expression.ts:37

Parameters:

Name Type
ctx Context

Returns: IterableIterator‹any›