UNPKG

meriyah

Version:

A 100% compliant, self-hosted javascript parser with high focus on both performance and stability

7 lines (6 loc) 334 B
import { Context } from '../common'; import { type Parser } from '../parser/parser'; import { Token } from '../token'; import { LexerState } from './common'; export declare function nextToken(parser: Parser, context: Context): void; export declare function scanSingleToken(parser: Parser, context: Context, state: LexerState): Token;