1 | import State from "../tokenizer/state";
|
2 | export declare let isJSXEnabled: boolean;
|
3 | export declare let isTypeScriptEnabled: boolean;
|
4 | export declare let isFlowEnabled: boolean;
|
5 | export declare let state: State;
|
6 | export declare let input: string;
|
7 | export declare let nextContextId: number;
|
8 | export declare function getNextContextId(): number;
|
9 | export declare function augmentError(error: any): any;
|
10 | export declare class Loc {
|
11 | line: number;
|
12 | column: number;
|
13 | constructor(line: number, column: number);
|
14 | }
|
15 | export declare function locationForIndex(pos: number): Loc;
|
16 | export declare function initParser(inputCode: string, isJSXEnabledArg: boolean, isTypeScriptEnabledArg: boolean, isFlowEnabledArg: boolean): void;
|