1 | export = esutils;
|
2 |
|
3 | declare const esutils: {
|
4 | ast: {
|
5 | isExpression: (node: any) => boolean;
|
6 | isIterationStatement: (node: any) => boolean;
|
7 | isProblematicIfStatement: (node: any) => boolean;
|
8 | isSourceElement: (node: any) => boolean;
|
9 | isStatement: (node: any) => boolean;
|
10 | trailingStatement: any;
|
11 | };
|
12 | code: {
|
13 | isDecimalDigit: (ch: any) => boolean;
|
14 | isHexDigit: (ch: any) => boolean;
|
15 | isIdentifierPartES5: (ch: any) => boolean;
|
16 | isIdentifierPartES6: (ch: any) => boolean;
|
17 | isIdentifierStartES5: (ch: any) => boolean;
|
18 | isIdentifierStartES6: (ch: any) => boolean;
|
19 | isLineTerminator: (ch: any) => boolean;
|
20 | isOctalDigit: (ch: any) => boolean;
|
21 | isWhiteSpace: (ch: any) => boolean;
|
22 | };
|
23 | keyword: {
|
24 | isStrictModeReservedWordES6: (id: any) => boolean;
|
25 | isIdentifierES5: (id: any, strict: any) => boolean;
|
26 | isIdentifierES6: (id: any, strict: any) => boolean;
|
27 | isIdentifierNameES5: (id: any) => boolean;
|
28 | isIdentifierNameES6: (id: any) => boolean;
|
29 | isKeywordES5: (id: any, strict: any) => boolean;
|
30 | isKeywordES6: (id: any, strict: any) => boolean;
|
31 | decodeUtf16: (lead: any, trail: any) => any;
|
32 | isReservedWordES5: (id: any, strict: any) => boolean;
|
33 | isReservedWordES6: (id: any, strict: any) => boolean;
|
34 | isRestrictedWord: (id: any) => boolean;
|
35 | };
|
36 | };
|