From d25e11bee6ca5ca523884da132d18e1400e077b9 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 24 Aug 2021 14:41:48 +0200 Subject: Initial commit --- node_modules/meriyah/dist/src/lexer/comments.d.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 node_modules/meriyah/dist/src/lexer/comments.d.ts (limited to 'node_modules/meriyah/dist/src/lexer/comments.d.ts') 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 -- cgit