routier-collection


routier-collection / core/src / OperatorExpression

Class: OperatorExpression

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

A class representing a logical operator (e.g., &&,   ).

Extends

Constructors

Constructor

new OperatorExpression(options): OperatorExpression

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

Parameters

options
operator

Operator

left?

Expression

Expression

Returns

OperatorExpression

Overrides

Expression.constructor

Properties

left?

optional left: Expression

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

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

Inherited from

Expression.left


right?

optional right: Expression

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

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

Inherited from

Expression.right


type

readonly type: "operator"

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

The type of the expression (always ‘operator’).

Overrides

Expression.type


operator

operator: Operator

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

The logical operator.

Accessors

EMPTY

Get Signature

get static EMPTY(): EmptyExpression

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

Returns

EmptyExpression

Inherited from

Expression.EMPTY


NOT_PARSABLE

Get Signature

get static NOT_PARSABLE(): NotParsableExpression

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

Returns

NotParsableExpression

Inherited from

Expression.NOT_PARSABLE

Methods

isEmpty()

static isEmpty(expression): boolean

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

Parameters

expression

Expression

Returns

boolean

Inherited from

Expression.isEmpty


isNotParsable()

static isNotParsable(expression): boolean

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

Parameters

expression

Expression

Returns

boolean

Inherited from

Expression.isNotParsable