routier-collection


routier-collection / core/src / Expression

Abstract Class: Expression

Defined in: core/src/expressions/types.ts:13

The base class for all expression types.

Extended by

Constructors

Constructor

new Expression(left?, right?): Expression

Defined in: core/src/expressions/types.ts:21

Parameters

left?

Expression

Expression

Returns

Expression

Properties

type

abstract readonly type: ExpressionType

Defined in: core/src/expressions/types.ts:15

The type of the expression.


left?

optional left: Expression

Defined in: core/src/expressions/types.ts:17

The left-hand side of the expression (if applicable).


right?

optional right: Expression

Defined in: core/src/expressions/types.ts:19

The right-hand side of the expression (if applicable).

Accessors

EMPTY

Get Signature

get static EMPTY(): EmptyExpression

Defined in: core/src/expressions/types.ts:26

Returns

EmptyExpression


NOT_PARSABLE

Get Signature

get static NOT_PARSABLE(): NotParsableExpression

Defined in: core/src/expressions/types.ts:30

Returns

NotParsableExpression

Methods

isEmpty()

static isEmpty(expression): boolean

Defined in: core/src/expressions/types.ts:34

Parameters

expression

Expression

Returns

boolean


isNotParsable()

static isNotParsable(expression): boolean

Defined in: core/src/expressions/types.ts:38

Parameters

expression

Expression

Returns

boolean