Skip to main content

Class: WordParameter

lexure/src.WordParameter

Hierarchy

Constructors

constructor

new WordParameter(separators, part)

Parameters

NameType
separatorsreadonly string[]
partOmit<WordToken, "type">

Overrides

BaseParameter.constructor

Defined in

projects/utilities/packages/lexure/src/lib/lexer/streams/parameters/WordParameter.ts:7

Properties

separators

Readonly separators: readonly string[]

Inherited from

BaseParameter.separators

Defined in

projects/utilities/packages/lexure/src/lib/lexer/streams/parameters/BaseParameter.ts:2


value

Readonly value: string

Defined in

projects/utilities/packages/lexure/src/lib/lexer/streams/parameters/WordParameter.ts:5

Accessors

leading

get leading(): string

Returns

string

Inherited from

BaseParameter.leading

Defined in

projects/utilities/packages/lexure/src/lib/lexer/streams/parameters/BaseParameter.ts:8


raw

get raw(): string

Returns

string

Overrides

BaseParameter.raw

Defined in

projects/utilities/packages/lexure/src/lib/lexer/streams/parameters/WordParameter.ts:12