A parser is a function that tries to match whatever it expects at the given offset in the input string. Returns a ParseResult.
Signature:
export declare type Parser<T> = (input: string, offset: number) => ParseResult<T>;
References: ParseResult
A parser is a function that tries to match whatever it expects at the given offset in the input string. Returns a ParseResult.
Signature:
export declare type Parser<T> = (input: string, offset: number) => ParseResult<T>;
References: ParseResult