- Preparing search index...
- The search index is not available
Kombo - v3.0.0
- variable<PROBLEM>(args: {
expecting: PROBLEM;
inner: ((char: string) => boolean);
reserved: Set<string>;
start: ((char: string) => boolean);
}): Parser.Parser<string, never, PROBLEM>
-
Parameters
-
args: {
expecting: PROBLEM;
inner: ((char: string) => boolean);
reserved: Set<string>;
start: ((char: string) => boolean);
}
-
expecting: PROBLEM
-
inner: ((char: string) => boolean)
-
- (char: string): boolean
-
Returns boolean
-
reserved: Set<string>
-
start: ((char: string) => boolean)
-
- (char: string): boolean
-
Returns boolean
Returns Parser.Parser<string, never, PROBLEM>
Just like Simple.variable except you specify the problem yourself.