Skip to main content

Class: EmptyStrategy

Implements

Constructors

new EmptyStrategy()

new EmptyStrategy(): EmptyStrategy

Returns

EmptyStrategy

Methods

matchFlag()

matchFlag(): Option<string>

Matches a flag.

Returns

Option<string>

Implementation of

IUnorderedStrategy.matchFlag

Defined in

parser/strategies/EmptyStrategy.ts:5


matchOption()

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

Matches an option.

Returns

Option<readonly [string, string]>

Implementation of

IUnorderedStrategy.matchOption

Defined in

parser/strategies/EmptyStrategy.ts:9