Skip to main content

Class: Parser

Constructors

new Parser()

new Parser(strategy?: IUnorderedStrategy): Parser

Parameters

ParameterType
strategy?IUnorderedStrategy

Returns

Parser

Source

lib/parser/Parser.ts:9

Properties

strategy

strategy: IUnorderedStrategy

Source

lib/parser/Parser.ts:7

Methods

run()

run(input: Iterable <Parameter>): ParserResult

Parameters

ParameterType
inputIterable <Parameter>

Returns

ParserResult

Source

lib/parser/Parser.ts:18


setUnorderedStrategy()

setUnorderedStrategy(strategy: IUnorderedStrategy): Parser

Parameters

ParameterType
strategyIUnorderedStrategy

Returns

Parser

Source

lib/parser/Parser.ts:13