Skip to main content

Class: EmptyStrategy

@sapphire/lexure.EmptyStrategy

Implements

Constructors

constructor

new EmptyStrategy(): EmptyStrategy

Returns

EmptyStrategy

Methods

matchFlag

matchFlag(): Option<string>

Matches a flag.

Returns

Option<string>

Implementation of

IUnorderedStrategy.matchFlag

Defined in

lib/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

lib/parser/strategies/EmptyStrategy.ts:9