Skip to main content

Class: EmptyStrategy

Implements

Constructors

new EmptyStrategy()

new EmptyStrategy(): EmptyStrategy

Returns

EmptyStrategy

Methods

matchFlag()

matchFlag(): Option<string, boolean>

Matches a flag.

Returns

Option<string, boolean>

Implementation of

IUnorderedStrategy.matchFlag

Defined in

parser/strategies/EmptyStrategy.ts:5


matchOption()

matchOption(): Option<readonly [string, string], boolean>

Matches an option.

Returns

Option<readonly [string, string], boolean>

Implementation of

IUnorderedStrategy.matchOption

Defined in

parser/strategies/EmptyStrategy.ts:9