Skip to main content

Class: Parser

Constructors

new Parser()

new Parser(strategy?: IUnorderedStrategy): Parser

Parameters

ParameterType
strategy?IUnorderedStrategy

Returns

Parser

Defined in

parser/Parser.ts:9

Properties

strategy

strategy: IUnorderedStrategy

Defined in

parser/Parser.ts:7

Methods

run()

run(input: Iterable<Parameter>): ParserResult

Parameters

ParameterType
inputIterable<Parameter>

Returns

ParserResult

Defined in

parser/Parser.ts:18


setUnorderedStrategy()

setUnorderedStrategy(strategy: IUnorderedStrategy): Parser

Parameters

ParameterType
strategyIUnorderedStrategy

Returns

Parser

Defined in

parser/Parser.ts:13