9 lines
415 B
TypeScript
9 lines
415 B
TypeScript
export declare class ParseError extends Error {
|
|
/** The index of the start character of the current token. */
|
|
sourceStart: number;
|
|
/** The index of the end character of the current token. */
|
|
sourceEnd: number;
|
|
/** The parser steps that preceded the error. */
|
|
parserState: Array<string>;
|
|
constructor(message: string, sourceStart: number, sourceEnd: number, parserState: Array<string>);
|
|
}
|