Skip to main content

Class: ParserResult

lexure/src.ParserResult

Constructors

constructor

new ParserResult(parser)

Parameters

NameType
parserParser

Defined in

projects/utilities/packages/lexure/src/lib/parser/ParserResult.ts:11

Properties

flags

Readonly flags: Set<string>

Defined in

projects/utilities/packages/lexure/src/lib/parser/ParserResult.ts:7


options

Readonly options: Map<string, string[]>

Defined in

projects/utilities/packages/lexure/src/lib/parser/ParserResult.ts:8


ordered

Readonly ordered: Parameter[] = []

Defined in

projects/utilities/packages/lexure/src/lib/parser/ParserResult.ts:6


strategy

Private Readonly strategy: IUnorderedStrategy

Defined in

projects/utilities/packages/lexure/src/lib/parser/ParserResult.ts:9

Methods

parse

parse(parameters): ParserResult

Parameters

NameType
parametersIterable<Parameter>

Returns

ParserResult

Defined in

projects/utilities/packages/lexure/src/lib/parser/ParserResult.ts:15


parseOrdered

Private parseOrdered(parameter): boolean

Parameters

NameType
parameterParameter

Returns

boolean

Defined in

projects/utilities/packages/lexure/src/lib/parser/ParserResult.ts:41


parsePossibleFlag

Private parsePossibleFlag(parameter): boolean

Parameters

NameType
parameterParameter

Returns

boolean

Defined in

projects/utilities/packages/lexure/src/lib/parser/ParserResult.ts:23


parsePossibleOptions

Private parsePossibleOptions(parameter): boolean

Parameters

NameType
parameterParameter

Returns

boolean

Defined in

projects/utilities/packages/lexure/src/lib/parser/ParserResult.ts:30