routier-collection


routier-collection / core/src / PropertyExpression

Class: PropertyExpression

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

A class representing a property path.

Extends

Constructors

Constructor

new PropertyExpression(options): PropertyExpression

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

Parameters

options
property

PropertyInfo<any>

Returns

PropertyExpression

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


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: "property"

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

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

Overrides

Expression.type


property

property: PropertyInfo<any>

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

The property info for the path.


transformer

transformer: Transformer = null

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


locale

locale: string = null

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

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