diff options
Diffstat (limited to 'node_modules/meriyah/dist/src/lexer/comments.d.ts')
-rw-r--r-- | node_modules/meriyah/dist/src/lexer/comments.d.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/node_modules/meriyah/dist/src/lexer/comments.d.ts b/node_modules/meriyah/dist/src/lexer/comments.d.ts new file mode 100644 index 0000000..6c46f07 --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/comments.d.ts @@ -0,0 +1,15 @@ +import { LexerState } from './common';
+import { Context, ParserState } from '../common';
+export declare const enum CommentType {
+ Single = 0,
+ Multi = 1,
+ HTMLOpen = 2,
+ HTMLClose = 3,
+ HashBang = 4
+}
+export declare const CommentTypes: string[];
+export declare function skipHashBang(parser: ParserState): void;
+export declare function skipSingleHTMLComment(parser: ParserState, source: string, state: LexerState, context: Context, type: CommentType, start: number, line: number, column: number): LexerState;
+export declare function skipSingleLineComment(parser: ParserState, source: string, state: LexerState, type: CommentType, start: number, line: number, column: number): LexerState;
+export declare function skipMultiLineComment(parser: ParserState, source: string, state: LexerState): LexerState | void;
+//# sourceMappingURL=comments.d.ts.map
\ No newline at end of file |