Skip to main content

Class: WordParameter

Extends

Constructors

new WordParameter()

new WordParameter(separators: readonly string[], part: Omit <WordToken, "type">): WordParameter

Parameters

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

Returns

WordParameter

Overrides

BaseParameter . constructor

Source

lib/lexer/streams/parameters/WordParameter.ts:7

Properties

separators

readonly separators: readonly string[]

Inherited from

BaseParameter . separators

Source

lib/lexer/streams/parameters/BaseParameter.ts:2


value

readonly value: string

Source

lib/lexer/streams/parameters/WordParameter.ts:5

Accessors

leading

get leading(): string

Returns

string

Source

lib/lexer/streams/parameters/BaseParameter.ts:8


raw

get raw(): string

Returns

string

Source

lib/lexer/streams/parameters/WordParameter.ts:12