1 | import { ContextualKeyword } from "../tokenizer/keywords";
|
2 | import { TokenType } from "../tokenizer/types";
|
3 | export declare function isContextual(contextualKeyword: ContextualKeyword): boolean;
|
4 | export declare function isLookaheadContextual(contextualKeyword: ContextualKeyword): boolean;
|
5 | export declare function eatContextual(contextualKeyword: ContextualKeyword): boolean;
|
6 | export declare function expectContextual(contextualKeyword: ContextualKeyword): void;
|
7 | export declare function canInsertSemicolon(): boolean;
|
8 | export declare function hasPrecedingLineBreak(): boolean;
|
9 | export declare function isLineTerminator(): boolean;
|
10 | export declare function semicolon(): void;
|
11 | export declare function expect(type: TokenType): void;
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | export declare function unexpected(message?: string, pos?: number): void;
|