Interface: IUnorderedStrategy
Defined in: parser/strategies/IUnorderedStrategy.ts:3
Methods
matchFlag()
matchFlag(
input
:string
):Option
<string
>
Defined in: parser/strategies/IUnorderedStrategy.ts:8
Matches a flag.
Parameters
Parameter | Type | Description |
---|---|---|
input | string | The string to match. |
Returns
Option
<string
>
matchOption()
matchOption(
input
:string
):Option
<readonly [string
,string
]>
Defined in: parser/strategies/IUnorderedStrategy.ts:14
Matches an option.
Parameters
Parameter | Type | Description |
---|---|---|
input | string | The string to match. |
Returns
Option
<readonly [string
, string
]>