blob: bf9631c30d8b4210c16fd6764952fbdd4005bb87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { ParserState, Context } from '../common';
import { Token } from '../token';
export declare const enum Escape {
Empty = -1,
StrictOctal = -2,
EightOrNine = -3,
InvalidHex = -4,
OutOfRange = -5
}
export declare function scanString(parser: ParserState, context: Context, quote: number): Token;
export declare function parseEscape(parser: ParserState, context: Context, first: number): number;
export declare function handleStringError(state: ParserState, code: Escape, isTemplate: 0 | 1): void;
//# sourceMappingURL=string.d.ts.map
|