Skip to main content

Class: EmptyStrategy

Defined in: parser/strategies/EmptyStrategy.ts:4

Implements​

Constructors​

Constructor​

new EmptyStrategy(): EmptyStrategy

Returns​

EmptyStrategy

Methods​

matchFlag()​

matchFlag(): Option<string>

Defined in: parser/strategies/EmptyStrategy.ts:5

Matches a flag.

Returns​

Option<string>

Implementation of​

IUnorderedStrategy.matchFlag


matchOption()​

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

Defined in: parser/strategies/EmptyStrategy.ts:9

Matches an option.

Returns​

Option<readonly [string, string]>

Implementation of​

IUnorderedStrategy.matchOption