Skip to main content

Class: Parser

lexure/src.Parser

Constructors

constructor

new Parser(strategy?)

Parameters

NameType
strategy?IUnorderedStrategy

Defined in

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

Properties

strategy

strategy: IUnorderedStrategy

Defined in

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

Methods

run

run(input): ParserResult

Parameters

NameType
inputIterable<Parameter>

Returns

ParserResult

Defined in

projects/utilities/packages/lexure/src/lib/parser/Parser.ts:18


setUnorderedStrategy

setUnorderedStrategy(strategy): Parser

Parameters

NameType
strategyIUnorderedStrategy

Returns

Parser

Defined in

projects/utilities/packages/lexure/src/lib/parser/Parser.ts:13