UNPKG

1.32 kBTypeScriptView Raw
1import { File } from "../index";
2import { TokenType } from "../tokenizer/types";
3export declare function parseTopLevel(): File;
4export declare function parseStatement(declaration: boolean): void;
5export declare function parseDecorators(): void;
6export declare function baseParseMaybeDecoratorArguments(): void;
7export declare function parseVarStatement(kind: TokenType): void;
8export declare function parseBlock(allowDirectives?: boolean, isFunctionScope?: boolean, contextId?: number): void;
9export declare function parseBlockBody(end: TokenType): void;
10export declare function parseFunction(functionStart: number, isStatement: boolean, allowExpressionBody?: boolean, optionalId?: boolean): void;
11export declare function parseFunctionParams(allowModifiers?: boolean, funcContextId?: number): void;
12export declare function parseClass(isStatement: boolean, optionalId?: boolean): void;
13export declare function parseClassPropertyName(classContextId: number): void;
14export declare function parsePostMemberNameModifiers(): void;
15export declare function parseClassProperty(): void;
16export declare function parseExport(): void;
17export declare function parseExportFrom(): void;
18export declare function baseParseExportStar(): void;
19export declare function parseExportSpecifiers(): void;
20export declare function parseImport(): void;