@vue-vine/eslint-parser 0.2.20 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +623 -589
- package/dist/index.js +10272 -9913
- package/package.json +7 -8
- package/dist/index.d.mts +0 -858
- package/dist/index.mjs +0 -10171
package/dist/index.d.mts
DELETED
@@ -1,858 +0,0 @@
|
|
1
|
-
import { TSESTree as TSESTree$1 } from '@typescript-eslint/types';
|
2
|
-
import { ScopeManager } from 'eslint-scope';
|
3
|
-
import { ParserOptions, parseForESLint as parseForESLint$1 } from '@typescript-eslint/parser';
|
4
|
-
import { TSESTree } from '@typescript-eslint/typescript-estree';
|
5
|
-
import { VisitorKeys } from 'eslint-visitor-keys';
|
6
|
-
|
7
|
-
/**
|
8
|
-
* HTML parse errors.
|
9
|
-
*/
|
10
|
-
declare class ParseError extends SyntaxError {
|
11
|
-
code?: ErrorCode;
|
12
|
-
index: number;
|
13
|
-
lineNumber: number;
|
14
|
-
column: number;
|
15
|
-
/**
|
16
|
-
* Create new parser error object.
|
17
|
-
* @param code The error code. See also: https://html.spec.whatwg.org/multipage/parsing.html#parse-errors
|
18
|
-
* @param offset The offset number of this error.
|
19
|
-
* @param line The line number of this error.
|
20
|
-
* @param column The column number of this error.
|
21
|
-
*/
|
22
|
-
static fromCode(code: ErrorCode, offset: number, line: number, column: number): ParseError;
|
23
|
-
/**
|
24
|
-
* Normalize the error object.
|
25
|
-
* @param x The error object to normalize.
|
26
|
-
*/
|
27
|
-
static normalize(x: any): ParseError | null;
|
28
|
-
/**
|
29
|
-
* Initialize this ParseError instance.
|
30
|
-
* @param message The error message.
|
31
|
-
* @param code The error code. See also: https://html.spec.whatwg.org/multipage/parsing.html#parse-errors
|
32
|
-
* @param offset The offset number of this error.
|
33
|
-
* @param line The line number of this error.
|
34
|
-
* @param column The column number of this error.
|
35
|
-
*/
|
36
|
-
constructor(message: string, code: ErrorCode | undefined, offset: number, line: number, column: number);
|
37
|
-
/**
|
38
|
-
* Type guard for ParseError.
|
39
|
-
* @param x The value to check.
|
40
|
-
* @returns `true` if the value has `message`, `pos`, `loc` properties.
|
41
|
-
*/
|
42
|
-
static isParseError(x: any): x is ParseError;
|
43
|
-
}
|
44
|
-
/**
|
45
|
-
* The error codes of HTML syntax errors.
|
46
|
-
* https://html.spec.whatwg.org/multipage/parsing.html#parse-errors
|
47
|
-
*/
|
48
|
-
type ErrorCode = 'abrupt-closing-of-empty-comment' | 'absence-of-digits-in-numeric-character-reference' | 'cdata-in-html-content' | 'character-reference-outside-unicode-range' | 'control-character-in-input-stream' | 'control-character-reference' | 'eof-before-tag-name' | 'eof-in-cdata' | 'eof-in-comment' | 'eof-in-tag' | 'incorrectly-closed-comment' | 'incorrectly-opened-comment' | 'invalid-first-character-of-tag-name' | 'missing-attribute-value' | 'missing-end-tag-name' | 'missing-semicolon-after-character-reference' | 'missing-whitespace-between-attributes' | 'nested-comment' | 'noncharacter-character-reference' | 'noncharacter-in-input-stream' | 'null-character-reference' | 'surrogate-character-reference' | 'surrogate-in-input-stream' | 'unexpected-character-in-attribute-name' | 'unexpected-character-in-unquoted-attribute-value' | 'unexpected-equals-sign-before-attribute-name' | 'unexpected-null-character' | 'unexpected-question-mark-instead-of-tag-name' | 'unexpected-solidus-in-tag' | 'unknown-named-character-reference' | 'end-tag-with-attributes' | 'duplicate-attribute' | 'end-tag-with-trailing-solidus' | 'non-void-html-element-start-tag-with-trailing-solidus' | 'x-invalid-end-tag' | 'x-invalid-namespace' | 'x-missing-interpolation-end';
|
49
|
-
|
50
|
-
/**
|
51
|
-
* Location information in lines and columns.
|
52
|
-
*/
|
53
|
-
interface Location {
|
54
|
-
/**
|
55
|
-
* The line number. This is 1-based.
|
56
|
-
*/
|
57
|
-
line: number;
|
58
|
-
/**
|
59
|
-
* The column number. This is 0-based.
|
60
|
-
*/
|
61
|
-
column: number;
|
62
|
-
}
|
63
|
-
/**
|
64
|
-
* Range information in lines and columns.
|
65
|
-
*/
|
66
|
-
interface LocationRange {
|
67
|
-
/**
|
68
|
-
* The start location.
|
69
|
-
*/
|
70
|
-
start: Location;
|
71
|
-
/**
|
72
|
-
* The end location.
|
73
|
-
*/
|
74
|
-
end: Location;
|
75
|
-
}
|
76
|
-
/**
|
77
|
-
* Location information in offsets.
|
78
|
-
* This is 0-based.
|
79
|
-
*/
|
80
|
-
type Offset = number;
|
81
|
-
/**
|
82
|
-
* Range information in offsets.
|
83
|
-
* The 1st element is the start offset.
|
84
|
-
* The 2nd element is the end offset.
|
85
|
-
*
|
86
|
-
* This is 0-based.
|
87
|
-
*/
|
88
|
-
type OffsetRange = [Offset, Offset];
|
89
|
-
/**
|
90
|
-
* Objects which have their location.
|
91
|
-
*/
|
92
|
-
interface HasLocation {
|
93
|
-
range: OffsetRange;
|
94
|
-
loc: LocationRange;
|
95
|
-
start?: number;
|
96
|
-
end?: number;
|
97
|
-
}
|
98
|
-
|
99
|
-
/**
|
100
|
-
* The type of basic ESLint custom parser.
|
101
|
-
* e.g. espree
|
102
|
-
*/
|
103
|
-
interface BasicParserObject<R = ESLintProgram> {
|
104
|
-
parse: (code: string, options: any) => R;
|
105
|
-
parseForESLint: undefined;
|
106
|
-
}
|
107
|
-
/**
|
108
|
-
* The type of ESLint custom parser enhanced for ESLint.
|
109
|
-
* e.g. @babel/eslint-parser, @typescript-eslint/parser
|
110
|
-
*/
|
111
|
-
interface EnhancedParserObject<R = ESLintExtendedProgram> {
|
112
|
-
parseForESLint: (code: string, options: any) => R;
|
113
|
-
parse: undefined;
|
114
|
-
}
|
115
|
-
/**
|
116
|
-
* The type of ESLint (custom) parsers.
|
117
|
-
*/
|
118
|
-
type ParserObject<R1 = ESLintExtendedProgram, R2 = ESLintProgram> = EnhancedParserObject<R1> | BasicParserObject<R2>;
|
119
|
-
|
120
|
-
declare function prepareTemplate(templateNode: TSESTree.TaggedTemplateExpression): {
|
121
|
-
templatePositionInfo: {
|
122
|
-
templateStartLine: number;
|
123
|
-
templateStartColumn: number;
|
124
|
-
templateStartOffset: number;
|
125
|
-
templateEndOffset: number;
|
126
|
-
templateEndLine: number;
|
127
|
-
templateEndColumn: number;
|
128
|
-
};
|
129
|
-
templateRawContent: string;
|
130
|
-
};
|
131
|
-
|
132
|
-
type PrettierType<T> = {
|
133
|
-
[K in keyof T]: T[K];
|
134
|
-
} & {};
|
135
|
-
type TsESLintParseForESLint = ReturnType<typeof parseForESLint$1>;
|
136
|
-
interface ParseForESLintResult {
|
137
|
-
ast: ESLintProgram;
|
138
|
-
services: TsESLintParseForESLint['services'];
|
139
|
-
scopeManager: TsESLintParseForESLint['scopeManager'];
|
140
|
-
visitorKeys: TsESLintParseForESLint['visitorKeys'];
|
141
|
-
}
|
142
|
-
type VineESLintParserOptions = ParserOptions & {
|
143
|
-
parser?: boolean | string | ParserObject | Record<string, string | ParserObject | undefined>;
|
144
|
-
ecmaFeatures?: ParserOptions['ecmaFeatures'] & {
|
145
|
-
[key: string]: any;
|
146
|
-
};
|
147
|
-
};
|
148
|
-
interface VineTemplateMeta {
|
149
|
-
tokens: Token[];
|
150
|
-
comments: Token[];
|
151
|
-
errors: ParseError[];
|
152
|
-
}
|
153
|
-
type FinalProcessTemplateInfo = ReturnType<typeof prepareTemplate> & {
|
154
|
-
templateRootAST: VTemplateRoot;
|
155
|
-
templateMeta: VineTemplateMeta;
|
156
|
-
};
|
157
|
-
|
158
|
-
/**
|
159
|
-
* Tokens.
|
160
|
-
*/
|
161
|
-
interface Token extends HasLocation {
|
162
|
-
/**
|
163
|
-
* Token types.
|
164
|
-
*/
|
165
|
-
type: string;
|
166
|
-
/**
|
167
|
-
* Processed values.
|
168
|
-
*/
|
169
|
-
value: string;
|
170
|
-
}
|
171
|
-
|
172
|
-
/**
|
173
|
-
* Objects which have their parent.
|
174
|
-
*/
|
175
|
-
interface HasParent {
|
176
|
-
parent?: Node | null;
|
177
|
-
}
|
178
|
-
/**
|
179
|
-
* The union type for all nodes.
|
180
|
-
*/
|
181
|
-
type Node = ESLintNode | VNode | VForExpression | VOnExpression | VSlotScopeExpression | VFilterSequenceExpression | VFilter;
|
182
|
-
/**
|
183
|
-
* The union type for all template nodes.
|
184
|
-
*/
|
185
|
-
type VTemplateNode = VNode | VForExpression | VOnExpression | VSlotScopeExpression | VFilterSequenceExpression | VFilter;
|
186
|
-
/**
|
187
|
-
* The union type for ESLint nodes.
|
188
|
-
*/
|
189
|
-
type ESLintNode = ESLintIdentifier | ESLintLiteral | ESLintProgram | ESLintSwitchCase | ESLintCatchClause | ESLintVariableDeclarator | ESLintStatement | ESLintExpression | ESLintProperty | ESLintAssignmentProperty | ESLintSuper | ESLintTemplateElement | ESLintSpreadElement | ESLintPattern | ESLintClassBody | ESLintMethodDefinition | ESLintPropertyDefinition | ESLintStaticBlock | ESLintPrivateIdentifier | ESLintModuleDeclaration | ESLintModuleSpecifier | ESLintImportExpression | ESLintLegacyRestProperty;
|
190
|
-
/**
|
191
|
-
* The parsing result of ESLint custom parsers.
|
192
|
-
*/
|
193
|
-
interface ESLintExtendedProgram {
|
194
|
-
ast: ESLintProgram;
|
195
|
-
services?: Record<string, unknown>;
|
196
|
-
visitorKeys?: {
|
197
|
-
[type: string]: string[];
|
198
|
-
};
|
199
|
-
scopeManager?: ScopeManager;
|
200
|
-
}
|
201
|
-
interface ESLintProgram extends HasLocation, HasParent {
|
202
|
-
type: 'Program';
|
203
|
-
sourceType: 'script' | 'module';
|
204
|
-
body: (ESLintStatement | ESLintModuleDeclaration)[];
|
205
|
-
templateBody?: VElement & HasConcreteInfo;
|
206
|
-
tokens?: Token[];
|
207
|
-
comments?: Token[];
|
208
|
-
errors?: ParseError[];
|
209
|
-
}
|
210
|
-
type ESLintStatement = ESLintExpressionStatement | ESLintDirective | ESLintBlockStatement | ESLintEmptyStatement | ESLintDebuggerStatement | ESLintWithStatement | ESLintReturnStatement | ESLintLabeledStatement | ESLintBreakStatement | ESLintContinueStatement | ESLintIfStatement | ESLintSwitchStatement | ESLintThrowStatement | ESLintTryStatement | ESLintWhileStatement | ESLintDoWhileStatement | ESLintForStatement | ESLintForInStatement | ESLintForOfStatement | ESLintDeclaration;
|
211
|
-
interface ESLintEmptyStatement extends HasLocation, HasParent {
|
212
|
-
type: 'EmptyStatement';
|
213
|
-
}
|
214
|
-
interface ESLintBlockStatement extends HasLocation, HasParent {
|
215
|
-
type: 'BlockStatement';
|
216
|
-
body: ESLintStatement[];
|
217
|
-
}
|
218
|
-
interface ESLintExpressionStatement extends HasLocation, HasParent {
|
219
|
-
type: 'ExpressionStatement';
|
220
|
-
expression: ESLintExpression;
|
221
|
-
}
|
222
|
-
interface ESLintDirective extends HasLocation, HasParent {
|
223
|
-
type: 'ExpressionStatement';
|
224
|
-
expression: ESLintLiteral;
|
225
|
-
directive: string;
|
226
|
-
}
|
227
|
-
interface ESLintIfStatement extends HasLocation, HasParent {
|
228
|
-
type: 'IfStatement';
|
229
|
-
test: ESLintExpression;
|
230
|
-
consequent: ESLintStatement;
|
231
|
-
alternate: ESLintStatement | null;
|
232
|
-
}
|
233
|
-
interface ESLintSwitchStatement extends HasLocation, HasParent {
|
234
|
-
type: 'SwitchStatement';
|
235
|
-
discriminant: ESLintExpression;
|
236
|
-
cases: ESLintSwitchCase[];
|
237
|
-
}
|
238
|
-
interface ESLintSwitchCase extends HasLocation, HasParent {
|
239
|
-
type: 'SwitchCase';
|
240
|
-
test: ESLintExpression | null;
|
241
|
-
consequent: ESLintStatement[];
|
242
|
-
}
|
243
|
-
interface ESLintWhileStatement extends HasLocation, HasParent {
|
244
|
-
type: 'WhileStatement';
|
245
|
-
test: ESLintExpression;
|
246
|
-
body: ESLintStatement;
|
247
|
-
}
|
248
|
-
interface ESLintDoWhileStatement extends HasLocation, HasParent {
|
249
|
-
type: 'DoWhileStatement';
|
250
|
-
body: ESLintStatement;
|
251
|
-
test: ESLintExpression;
|
252
|
-
}
|
253
|
-
interface ESLintForStatement extends HasLocation, HasParent {
|
254
|
-
type: 'ForStatement';
|
255
|
-
init: ESLintVariableDeclaration | ESLintExpression | null;
|
256
|
-
test: ESLintExpression | null;
|
257
|
-
update: ESLintExpression | null;
|
258
|
-
body: ESLintStatement;
|
259
|
-
}
|
260
|
-
interface ESLintForInStatement extends HasLocation, HasParent {
|
261
|
-
type: 'ForInStatement';
|
262
|
-
left: ESLintVariableDeclaration | ESLintPattern;
|
263
|
-
right: ESLintExpression;
|
264
|
-
body: ESLintStatement;
|
265
|
-
}
|
266
|
-
interface ESLintForOfStatement extends HasLocation, HasParent {
|
267
|
-
type: 'ForOfStatement';
|
268
|
-
left: ESLintVariableDeclaration | ESLintPattern;
|
269
|
-
right: ESLintExpression;
|
270
|
-
body: ESLintStatement;
|
271
|
-
await: boolean;
|
272
|
-
}
|
273
|
-
interface ESLintLabeledStatement extends HasLocation, HasParent {
|
274
|
-
type: 'LabeledStatement';
|
275
|
-
label: ESLintIdentifier;
|
276
|
-
body: ESLintStatement;
|
277
|
-
}
|
278
|
-
interface ESLintBreakStatement extends HasLocation, HasParent {
|
279
|
-
type: 'BreakStatement';
|
280
|
-
label: ESLintIdentifier | null;
|
281
|
-
}
|
282
|
-
interface ESLintContinueStatement extends HasLocation, HasParent {
|
283
|
-
type: 'ContinueStatement';
|
284
|
-
label: ESLintIdentifier | null;
|
285
|
-
}
|
286
|
-
interface ESLintReturnStatement extends HasLocation, HasParent {
|
287
|
-
type: 'ReturnStatement';
|
288
|
-
argument: ESLintExpression | null;
|
289
|
-
}
|
290
|
-
interface ESLintThrowStatement extends HasLocation, HasParent {
|
291
|
-
type: 'ThrowStatement';
|
292
|
-
argument: ESLintExpression;
|
293
|
-
}
|
294
|
-
interface ESLintTryStatement extends HasLocation, HasParent {
|
295
|
-
type: 'TryStatement';
|
296
|
-
block: ESLintBlockStatement;
|
297
|
-
handler: ESLintCatchClause | null;
|
298
|
-
finalizer: ESLintBlockStatement | null;
|
299
|
-
}
|
300
|
-
interface ESLintCatchClause extends HasLocation, HasParent {
|
301
|
-
type: 'CatchClause';
|
302
|
-
param: ESLintPattern | null;
|
303
|
-
body: ESLintBlockStatement;
|
304
|
-
}
|
305
|
-
interface ESLintWithStatement extends HasLocation, HasParent {
|
306
|
-
type: 'WithStatement';
|
307
|
-
object: ESLintExpression;
|
308
|
-
body: ESLintStatement;
|
309
|
-
}
|
310
|
-
interface ESLintDebuggerStatement extends HasLocation, HasParent {
|
311
|
-
type: 'DebuggerStatement';
|
312
|
-
}
|
313
|
-
type ESLintDeclaration = ESLintFunctionDeclaration | ESLintVariableDeclaration | ESLintClassDeclaration;
|
314
|
-
interface ESLintFunctionDeclaration extends HasLocation, HasParent {
|
315
|
-
type: 'FunctionDeclaration';
|
316
|
-
async: boolean;
|
317
|
-
generator: boolean;
|
318
|
-
id: ESLintIdentifier | null;
|
319
|
-
params: ESLintPattern[];
|
320
|
-
body: ESLintBlockStatement;
|
321
|
-
}
|
322
|
-
interface ESLintVariableDeclaration extends HasLocation, HasParent {
|
323
|
-
type: 'VariableDeclaration';
|
324
|
-
kind: 'var' | 'let' | 'const';
|
325
|
-
declarations: ESLintVariableDeclarator[];
|
326
|
-
}
|
327
|
-
interface ESLintVariableDeclarator extends HasLocation, HasParent {
|
328
|
-
type: 'VariableDeclarator';
|
329
|
-
id: ESLintPattern;
|
330
|
-
init: ESLintExpression | null;
|
331
|
-
}
|
332
|
-
interface ESLintClassDeclaration extends HasLocation, HasParent {
|
333
|
-
type: 'ClassDeclaration';
|
334
|
-
id: ESLintIdentifier | null;
|
335
|
-
superClass: ESLintExpression | null;
|
336
|
-
body: ESLintClassBody;
|
337
|
-
}
|
338
|
-
interface ESLintClassBody extends HasLocation, HasParent {
|
339
|
-
type: 'ClassBody';
|
340
|
-
body: (ESLintMethodDefinition | ESLintPropertyDefinition | ESLintStaticBlock)[];
|
341
|
-
}
|
342
|
-
interface ESLintMethodDefinition extends HasLocation, HasParent {
|
343
|
-
type: 'MethodDefinition';
|
344
|
-
kind: 'constructor' | 'method' | 'get' | 'set';
|
345
|
-
computed: boolean;
|
346
|
-
static: boolean;
|
347
|
-
key: ESLintExpression | ESLintPrivateIdentifier;
|
348
|
-
value: ESLintFunctionExpression;
|
349
|
-
}
|
350
|
-
interface ESLintPropertyDefinition extends HasLocation, HasParent {
|
351
|
-
type: 'PropertyDefinition';
|
352
|
-
computed: boolean;
|
353
|
-
static: boolean;
|
354
|
-
key: ESLintExpression | ESLintPrivateIdentifier;
|
355
|
-
value: ESLintExpression | null;
|
356
|
-
}
|
357
|
-
interface ESLintStaticBlock extends HasLocation, HasParent, Omit<ESLintBlockStatement, 'type'> {
|
358
|
-
type: 'StaticBlock';
|
359
|
-
body: ESLintStatement[];
|
360
|
-
}
|
361
|
-
interface ESLintPrivateIdentifier extends HasLocation, HasParent {
|
362
|
-
type: 'PrivateIdentifier';
|
363
|
-
name: string;
|
364
|
-
}
|
365
|
-
type ESLintModuleDeclaration = ESLintImportDeclaration | ESLintExportNamedDeclaration | ESLintExportDefaultDeclaration | ESLintExportAllDeclaration;
|
366
|
-
type ESLintModuleSpecifier = ESLintImportSpecifier | ESLintImportDefaultSpecifier | ESLintImportNamespaceSpecifier | ESLintExportSpecifier;
|
367
|
-
interface ESLintImportDeclaration extends HasLocation, HasParent {
|
368
|
-
type: 'ImportDeclaration';
|
369
|
-
specifiers: (ESLintImportSpecifier | ESLintImportDefaultSpecifier | ESLintImportNamespaceSpecifier)[];
|
370
|
-
source: ESLintLiteral;
|
371
|
-
}
|
372
|
-
interface ESLintImportSpecifier extends HasLocation, HasParent {
|
373
|
-
type: 'ImportSpecifier';
|
374
|
-
imported: ESLintIdentifier | ESLintStringLiteral;
|
375
|
-
local: ESLintIdentifier;
|
376
|
-
}
|
377
|
-
interface ESLintImportDefaultSpecifier extends HasLocation, HasParent {
|
378
|
-
type: 'ImportDefaultSpecifier';
|
379
|
-
local: ESLintIdentifier;
|
380
|
-
}
|
381
|
-
interface ESLintImportNamespaceSpecifier extends HasLocation, HasParent {
|
382
|
-
type: 'ImportNamespaceSpecifier';
|
383
|
-
local: ESLintIdentifier;
|
384
|
-
}
|
385
|
-
interface ESLintImportExpression extends HasLocation, HasParent {
|
386
|
-
type: 'ImportExpression';
|
387
|
-
source: ESLintExpression;
|
388
|
-
}
|
389
|
-
interface ESLintExportNamedDeclaration extends HasLocation, HasParent {
|
390
|
-
type: 'ExportNamedDeclaration';
|
391
|
-
declaration?: ESLintDeclaration | null;
|
392
|
-
specifiers: ESLintExportSpecifier[];
|
393
|
-
source?: ESLintLiteral | null;
|
394
|
-
}
|
395
|
-
interface ESLintExportSpecifier extends HasLocation, HasParent {
|
396
|
-
type: 'ExportSpecifier';
|
397
|
-
local: ESLintIdentifier | ESLintStringLiteral;
|
398
|
-
exported: ESLintIdentifier | ESLintStringLiteral;
|
399
|
-
}
|
400
|
-
interface ESLintExportDefaultDeclaration extends HasLocation, HasParent {
|
401
|
-
type: 'ExportDefaultDeclaration';
|
402
|
-
declaration: ESLintDeclaration | ESLintExpression;
|
403
|
-
}
|
404
|
-
interface ESLintExportAllDeclaration extends HasLocation, HasParent {
|
405
|
-
type: 'ExportAllDeclaration';
|
406
|
-
exported: ESLintIdentifier | ESLintStringLiteral | null;
|
407
|
-
source: ESLintLiteral;
|
408
|
-
}
|
409
|
-
type ESLintExpression = ESLintThisExpression | ESLintArrayExpression | ESLintObjectExpression | ESLintFunctionExpression | ESLintArrowFunctionExpression | ESLintYieldExpression | ESLintLiteral | ESLintUnaryExpression | ESLintUpdateExpression | ESLintBinaryExpression | ESLintAssignmentExpression | ESLintLogicalExpression | ESLintMemberExpression | ESLintConditionalExpression | ESLintCallExpression | ESLintNewExpression | ESLintSequenceExpression | ESLintTemplateLiteral | ESLintTaggedTemplateExpression | ESLintClassExpression | ESLintMetaProperty | ESLintIdentifier | ESLintAwaitExpression | ESLintChainExpression;
|
410
|
-
interface ESLintIdentifier extends HasLocation, HasParent {
|
411
|
-
type: 'Identifier';
|
412
|
-
name: string;
|
413
|
-
}
|
414
|
-
interface ESLintLiteralBase extends HasLocation, HasParent {
|
415
|
-
type: 'Literal';
|
416
|
-
value: string | boolean | null | number | RegExp | bigint;
|
417
|
-
raw: string;
|
418
|
-
regex?: {
|
419
|
-
pattern: string;
|
420
|
-
flags: string;
|
421
|
-
};
|
422
|
-
bigint?: string;
|
423
|
-
}
|
424
|
-
interface ESLintStringLiteral extends ESLintLiteralBase {
|
425
|
-
value: string;
|
426
|
-
regex?: undefined;
|
427
|
-
bigint?: undefined;
|
428
|
-
}
|
429
|
-
interface ESLintBooleanLiteral extends ESLintLiteralBase {
|
430
|
-
value: boolean;
|
431
|
-
regex?: undefined;
|
432
|
-
bigint?: undefined;
|
433
|
-
}
|
434
|
-
interface ESLintNullLiteral extends ESLintLiteralBase {
|
435
|
-
value: null;
|
436
|
-
regex?: undefined;
|
437
|
-
bigint?: undefined;
|
438
|
-
}
|
439
|
-
interface ESLintNumberLiteral extends ESLintLiteralBase {
|
440
|
-
value: number;
|
441
|
-
regex?: undefined;
|
442
|
-
bigint?: undefined;
|
443
|
-
}
|
444
|
-
interface ESLintRegExpLiteral extends ESLintLiteralBase {
|
445
|
-
value: null | RegExp;
|
446
|
-
regex: {
|
447
|
-
pattern: string;
|
448
|
-
flags: string;
|
449
|
-
};
|
450
|
-
bigint?: undefined;
|
451
|
-
}
|
452
|
-
interface ESLintBigIntLiteral extends ESLintLiteralBase {
|
453
|
-
value: null | bigint;
|
454
|
-
regex?: undefined;
|
455
|
-
bigint: string;
|
456
|
-
}
|
457
|
-
type ESLintLiteral = ESLintStringLiteral | ESLintBooleanLiteral | ESLintNullLiteral | ESLintNumberLiteral | ESLintRegExpLiteral | ESLintBigIntLiteral;
|
458
|
-
interface ESLintThisExpression extends HasLocation, HasParent {
|
459
|
-
type: 'ThisExpression';
|
460
|
-
}
|
461
|
-
interface ESLintArrayExpression extends HasLocation, HasParent {
|
462
|
-
type: 'ArrayExpression';
|
463
|
-
elements: (ESLintExpression | ESLintSpreadElement)[];
|
464
|
-
}
|
465
|
-
interface ESLintObjectExpression extends HasLocation, HasParent {
|
466
|
-
type: 'ObjectExpression';
|
467
|
-
properties: (ESLintProperty | ESLintSpreadElement | ESLintLegacySpreadProperty)[];
|
468
|
-
}
|
469
|
-
interface ESLintProperty extends HasLocation, HasParent {
|
470
|
-
type: 'Property';
|
471
|
-
kind: 'init' | 'get' | 'set';
|
472
|
-
method: boolean;
|
473
|
-
shorthand: boolean;
|
474
|
-
computed: boolean;
|
475
|
-
key: ESLintExpression;
|
476
|
-
value: ESLintExpression | ESLintPattern;
|
477
|
-
}
|
478
|
-
interface ESLintFunctionExpression extends HasLocation, HasParent {
|
479
|
-
type: 'FunctionExpression';
|
480
|
-
async: boolean;
|
481
|
-
generator: boolean;
|
482
|
-
id: ESLintIdentifier | null;
|
483
|
-
params: ESLintPattern[];
|
484
|
-
body: ESLintBlockStatement;
|
485
|
-
}
|
486
|
-
interface ESLintArrowFunctionExpression extends HasLocation, HasParent {
|
487
|
-
type: 'ArrowFunctionExpression';
|
488
|
-
async: boolean;
|
489
|
-
generator: boolean;
|
490
|
-
id: ESLintIdentifier | null;
|
491
|
-
params: ESLintPattern[];
|
492
|
-
body: ESLintBlockStatement;
|
493
|
-
}
|
494
|
-
interface ESLintSequenceExpression extends HasLocation, HasParent {
|
495
|
-
type: 'SequenceExpression';
|
496
|
-
expressions: ESLintExpression[];
|
497
|
-
}
|
498
|
-
interface ESLintUnaryExpression extends HasLocation, HasParent {
|
499
|
-
type: 'UnaryExpression';
|
500
|
-
operator: '-' | '+' | '!' | '~' | 'typeof' | 'void' | 'delete';
|
501
|
-
prefix: boolean;
|
502
|
-
argument: ESLintExpression;
|
503
|
-
}
|
504
|
-
interface ESLintBinaryExpression extends HasLocation, HasParent {
|
505
|
-
type: 'BinaryExpression';
|
506
|
-
operator: '==' | '!=' | '===' | '!==' | '<' | '<=' | '>' | '>=' | '<<' | '>>' | '>>>' | '+' | '-' | '*' | '/' | '%' | '**' | '|' | '^' | '&' | 'in' | 'instanceof';
|
507
|
-
left: ESLintExpression | ESLintPrivateIdentifier;
|
508
|
-
right: ESLintExpression;
|
509
|
-
}
|
510
|
-
interface ESLintAssignmentExpression extends HasLocation, HasParent {
|
511
|
-
type: 'AssignmentExpression';
|
512
|
-
operator: '=' | '+=' | '-=' | '*=' | '/=' | '%=' | '**=' | '<<=' | '>>=' | '>>>=' | '|=' | '^=' | '&=' | '||=' | '&&=' | '??=';
|
513
|
-
left: ESLintPattern;
|
514
|
-
right: ESLintExpression;
|
515
|
-
}
|
516
|
-
interface ESLintUpdateExpression extends HasLocation, HasParent {
|
517
|
-
type: 'UpdateExpression';
|
518
|
-
operator: '++' | '--';
|
519
|
-
argument: ESLintExpression;
|
520
|
-
prefix: boolean;
|
521
|
-
}
|
522
|
-
interface ESLintLogicalExpression extends HasLocation, HasParent {
|
523
|
-
type: 'LogicalExpression';
|
524
|
-
operator: '||' | '&&' | '??';
|
525
|
-
left: ESLintExpression;
|
526
|
-
right: ESLintExpression;
|
527
|
-
}
|
528
|
-
interface ESLintConditionalExpression extends HasLocation, HasParent {
|
529
|
-
type: 'ConditionalExpression';
|
530
|
-
test: ESLintExpression;
|
531
|
-
alternate: ESLintExpression;
|
532
|
-
consequent: ESLintExpression;
|
533
|
-
}
|
534
|
-
interface ESLintCallExpression extends HasLocation, HasParent {
|
535
|
-
type: 'CallExpression';
|
536
|
-
optional: boolean;
|
537
|
-
callee: ESLintExpression | ESLintSuper;
|
538
|
-
arguments: (ESLintExpression | ESLintSpreadElement)[];
|
539
|
-
}
|
540
|
-
interface ESLintSuper extends HasLocation, HasParent {
|
541
|
-
type: 'Super';
|
542
|
-
}
|
543
|
-
interface ESLintNewExpression extends HasLocation, HasParent {
|
544
|
-
type: 'NewExpression';
|
545
|
-
callee: ESLintExpression;
|
546
|
-
arguments: (ESLintExpression | ESLintSpreadElement)[];
|
547
|
-
}
|
548
|
-
interface ESLintMemberExpression extends HasLocation, HasParent {
|
549
|
-
type: 'MemberExpression';
|
550
|
-
optional: boolean;
|
551
|
-
computed: boolean;
|
552
|
-
object: ESLintExpression | ESLintSuper;
|
553
|
-
property: ESLintExpression | ESLintPrivateIdentifier;
|
554
|
-
}
|
555
|
-
interface ESLintYieldExpression extends HasLocation, HasParent {
|
556
|
-
type: 'YieldExpression';
|
557
|
-
delegate: boolean;
|
558
|
-
argument: ESLintExpression | null;
|
559
|
-
}
|
560
|
-
interface ESLintAwaitExpression extends HasLocation, HasParent {
|
561
|
-
type: 'AwaitExpression';
|
562
|
-
argument: ESLintExpression;
|
563
|
-
}
|
564
|
-
interface ESLintTemplateLiteral extends HasLocation, HasParent {
|
565
|
-
type: 'TemplateLiteral';
|
566
|
-
quasis: ESLintTemplateElement[];
|
567
|
-
expressions: ESLintExpression[];
|
568
|
-
}
|
569
|
-
interface ESLintTaggedTemplateExpression extends HasLocation, HasParent {
|
570
|
-
type: 'TaggedTemplateExpression';
|
571
|
-
tag: ESLintExpression;
|
572
|
-
quasi: ESLintTemplateLiteral;
|
573
|
-
}
|
574
|
-
interface ESLintTemplateElement extends HasLocation, HasParent {
|
575
|
-
type: 'TemplateElement';
|
576
|
-
tail: boolean;
|
577
|
-
value: {
|
578
|
-
cooked: string | null;
|
579
|
-
raw: string;
|
580
|
-
};
|
581
|
-
}
|
582
|
-
interface ESLintClassExpression extends HasLocation, HasParent {
|
583
|
-
type: 'ClassExpression';
|
584
|
-
id: ESLintIdentifier | null;
|
585
|
-
superClass: ESLintExpression | null;
|
586
|
-
body: ESLintClassBody;
|
587
|
-
}
|
588
|
-
interface ESLintMetaProperty extends HasLocation, HasParent {
|
589
|
-
type: 'MetaProperty';
|
590
|
-
meta: ESLintIdentifier;
|
591
|
-
property: ESLintIdentifier;
|
592
|
-
}
|
593
|
-
type ESLintPattern = ESLintIdentifier | ESLintObjectPattern | ESLintArrayPattern | ESLintRestElement | ESLintAssignmentPattern | ESLintMemberExpression | ESLintLegacyRestProperty;
|
594
|
-
interface ESLintObjectPattern extends HasLocation, HasParent {
|
595
|
-
type: 'ObjectPattern';
|
596
|
-
properties: (ESLintAssignmentProperty | ESLintRestElement | ESLintLegacyRestProperty)[];
|
597
|
-
}
|
598
|
-
interface ESLintAssignmentProperty extends ESLintProperty {
|
599
|
-
value: ESLintPattern;
|
600
|
-
kind: 'init';
|
601
|
-
method: false;
|
602
|
-
}
|
603
|
-
interface ESLintArrayPattern extends HasLocation, HasParent {
|
604
|
-
type: 'ArrayPattern';
|
605
|
-
elements: ESLintPattern[];
|
606
|
-
}
|
607
|
-
interface ESLintRestElement extends HasLocation, HasParent {
|
608
|
-
type: 'RestElement';
|
609
|
-
argument: ESLintPattern;
|
610
|
-
}
|
611
|
-
interface ESLintSpreadElement extends HasLocation, HasParent {
|
612
|
-
type: 'SpreadElement';
|
613
|
-
argument: ESLintExpression;
|
614
|
-
}
|
615
|
-
interface ESLintAssignmentPattern extends HasLocation, HasParent {
|
616
|
-
type: 'AssignmentPattern';
|
617
|
-
left: ESLintPattern;
|
618
|
-
right: ESLintExpression;
|
619
|
-
}
|
620
|
-
type ESLintChainElement = ESLintCallExpression | ESLintMemberExpression;
|
621
|
-
interface ESLintChainExpression extends HasLocation, HasParent {
|
622
|
-
type: 'ChainExpression';
|
623
|
-
expression: ESLintChainElement;
|
624
|
-
}
|
625
|
-
/**
|
626
|
-
* Legacy for babel-eslint and espree.
|
627
|
-
*/
|
628
|
-
interface ESLintLegacyRestProperty extends HasLocation, HasParent {
|
629
|
-
type: 'RestProperty' | 'ExperimentalRestProperty';
|
630
|
-
argument: ESLintPattern;
|
631
|
-
}
|
632
|
-
/**
|
633
|
-
* Legacy for babel-eslint and espree.
|
634
|
-
*/
|
635
|
-
interface ESLintLegacySpreadProperty extends HasLocation, HasParent {
|
636
|
-
type: 'SpreadProperty' | 'ExperimentalSpreadProperty';
|
637
|
-
argument: ESLintExpression;
|
638
|
-
}
|
639
|
-
/**
|
640
|
-
* Constants of namespaces.
|
641
|
-
* @see https://infra.spec.whatwg.org/#namespaces
|
642
|
-
*/
|
643
|
-
declare const NS: Readonly<{
|
644
|
-
HTML: "http://www.w3.org/1999/xhtml";
|
645
|
-
MathML: "http://www.w3.org/1998/Math/MathML";
|
646
|
-
SVG: "http://www.w3.org/2000/svg";
|
647
|
-
XLink: "http://www.w3.org/1999/xlink";
|
648
|
-
XML: "http://www.w3.org/XML/1998/namespace";
|
649
|
-
XMLNS: "http://www.w3.org/2000/xmlns/";
|
650
|
-
}>;
|
651
|
-
/**
|
652
|
-
* Type of namespaces.
|
653
|
-
*/
|
654
|
-
type Namespace = typeof NS.HTML | typeof NS.MathML | typeof NS.SVG | typeof NS.XLink | typeof NS.XML | typeof NS.XMLNS;
|
655
|
-
/**
|
656
|
-
* Type of variable definitions.
|
657
|
-
*/
|
658
|
-
interface Variable {
|
659
|
-
id: ESLintIdentifier;
|
660
|
-
kind: 'v-for' | 'scope';
|
661
|
-
references: Reference[];
|
662
|
-
}
|
663
|
-
/**
|
664
|
-
* Type of variable references.
|
665
|
-
*/
|
666
|
-
interface Reference {
|
667
|
-
id: ESLintIdentifier;
|
668
|
-
mode: 'rw' | 'r' | 'w';
|
669
|
-
variable: Variable | null;
|
670
|
-
isValueReference?: boolean;
|
671
|
-
isTypeReference?: boolean;
|
672
|
-
}
|
673
|
-
/**
|
674
|
-
* The node of `v-for` directives.
|
675
|
-
*/
|
676
|
-
interface VForExpression extends HasLocation, HasParent {
|
677
|
-
type: 'VForExpression';
|
678
|
-
parent: VExpressionContainer;
|
679
|
-
left: ESLintPattern[];
|
680
|
-
right: ESLintExpression;
|
681
|
-
}
|
682
|
-
/**
|
683
|
-
* The node of `v-on` directives.
|
684
|
-
*/
|
685
|
-
interface VOnExpression extends HasLocation, HasParent {
|
686
|
-
type: 'VOnExpression';
|
687
|
-
parent: VExpressionContainer;
|
688
|
-
body: ESLintStatement[];
|
689
|
-
}
|
690
|
-
/**
|
691
|
-
* The node of `slot-scope` directives.
|
692
|
-
*/
|
693
|
-
interface VSlotScopeExpression extends HasLocation, HasParent {
|
694
|
-
type: 'VSlotScopeExpression';
|
695
|
-
parent: VExpressionContainer;
|
696
|
-
params: ESLintPattern[];
|
697
|
-
}
|
698
|
-
/**
|
699
|
-
* The node of a filter sequence which is separated by `|`.
|
700
|
-
*/
|
701
|
-
interface VFilterSequenceExpression extends HasLocation, HasParent {
|
702
|
-
type: 'VFilterSequenceExpression';
|
703
|
-
parent: VExpressionContainer;
|
704
|
-
expression: ESLintExpression;
|
705
|
-
filters: VFilter[];
|
706
|
-
}
|
707
|
-
/**
|
708
|
-
* The node of a filter sequence which is separated by `|`.
|
709
|
-
*/
|
710
|
-
interface VFilter extends HasLocation, HasParent {
|
711
|
-
type: 'VFilter';
|
712
|
-
parent: VFilterSequenceExpression;
|
713
|
-
callee: ESLintIdentifier;
|
714
|
-
arguments: (ESLintExpression | ESLintSpreadElement)[];
|
715
|
-
}
|
716
|
-
/**
|
717
|
-
* The union type of any nodes.
|
718
|
-
*/
|
719
|
-
type VNode = VAttribute | VDirective | VDirectiveKey | VTemplateRoot | VElement | VEndTag | VExpressionContainer | VIdentifier | VLiteral | VStartTag | VText;
|
720
|
-
type VExpression = ESLintExpression | VFilterSequenceExpression | VForExpression | VOnExpression | VSlotScopeExpression;
|
721
|
-
/**
|
722
|
-
* Text nodes.
|
723
|
-
*/
|
724
|
-
interface VText extends HasLocation, HasParent {
|
725
|
-
type: 'VText';
|
726
|
-
parent: VTemplateRoot | VElement;
|
727
|
-
value: string;
|
728
|
-
}
|
729
|
-
/**
|
730
|
-
* The node of JavaScript expression in text.
|
731
|
-
* e.g. `{{ name }}`
|
732
|
-
*/
|
733
|
-
interface VExpressionContainer extends HasLocation, HasParent {
|
734
|
-
type: 'VExpressionContainer';
|
735
|
-
parent: VTemplateRoot | VElement | VDirective | VDirectiveKey;
|
736
|
-
expression: VExpression | null;
|
737
|
-
references: Reference[];
|
738
|
-
}
|
739
|
-
/**
|
740
|
-
* Attribute name nodes.
|
741
|
-
*/
|
742
|
-
interface VIdentifier extends HasLocation, HasParent {
|
743
|
-
type: 'VIdentifier';
|
744
|
-
parent: VAttribute | VDirectiveKey;
|
745
|
-
name: string;
|
746
|
-
rawName: string;
|
747
|
-
}
|
748
|
-
/**
|
749
|
-
* Attribute name nodes.
|
750
|
-
*/
|
751
|
-
interface VDirectiveKey extends HasLocation, HasParent {
|
752
|
-
type: 'VDirectiveKey';
|
753
|
-
parent: VDirective;
|
754
|
-
name: VIdentifier;
|
755
|
-
argument: VExpressionContainer | VIdentifier | null;
|
756
|
-
modifiers: VIdentifier[];
|
757
|
-
}
|
758
|
-
/**
|
759
|
-
* Attribute value nodes.
|
760
|
-
*/
|
761
|
-
interface VLiteral extends HasLocation, HasParent {
|
762
|
-
type: 'VLiteral';
|
763
|
-
parent: VAttribute;
|
764
|
-
value: string;
|
765
|
-
}
|
766
|
-
/**
|
767
|
-
* Static attribute nodes.
|
768
|
-
*/
|
769
|
-
interface VAttribute extends HasLocation, HasParent {
|
770
|
-
type: 'VAttribute';
|
771
|
-
parent: VStartTag;
|
772
|
-
directive: false;
|
773
|
-
key: VIdentifier;
|
774
|
-
value: VLiteral | null;
|
775
|
-
}
|
776
|
-
/**
|
777
|
-
* Directive nodes.
|
778
|
-
*/
|
779
|
-
interface VDirective extends HasLocation, HasParent {
|
780
|
-
type: 'VAttribute';
|
781
|
-
parent: VStartTag;
|
782
|
-
directive: true;
|
783
|
-
key: VDirectiveKey;
|
784
|
-
value: VExpressionContainer | null;
|
785
|
-
}
|
786
|
-
/**
|
787
|
-
* Start tag nodes.
|
788
|
-
*/
|
789
|
-
interface VStartTag extends HasLocation, HasParent {
|
790
|
-
type: 'VStartTag';
|
791
|
-
parent: VElement;
|
792
|
-
selfClosing: boolean;
|
793
|
-
attributes: (VAttribute | VDirective)[];
|
794
|
-
}
|
795
|
-
/**
|
796
|
-
* End tag nodes.
|
797
|
-
*/
|
798
|
-
interface VEndTag extends HasLocation, HasParent {
|
799
|
-
type: 'VEndTag';
|
800
|
-
parent: VElement;
|
801
|
-
}
|
802
|
-
/**
|
803
|
-
* The property which has concrete information.
|
804
|
-
*/
|
805
|
-
interface HasConcreteInfo {
|
806
|
-
tokens: Token[];
|
807
|
-
comments: Token[];
|
808
|
-
errors: ParseError[];
|
809
|
-
}
|
810
|
-
/**
|
811
|
-
* Element nodes.
|
812
|
-
*/
|
813
|
-
interface VElement extends HasLocation, HasParent {
|
814
|
-
type: 'VElement';
|
815
|
-
parent: VTemplateRoot | VElement;
|
816
|
-
namespace: Namespace;
|
817
|
-
name: string;
|
818
|
-
rawName: string;
|
819
|
-
startTag: VStartTag;
|
820
|
-
children: (VElement | VText | VExpressionContainer)[];
|
821
|
-
endTag: VEndTag | null;
|
822
|
-
variables: Variable[];
|
823
|
-
}
|
824
|
-
/**
|
825
|
-
* Root nodes.
|
826
|
-
*/
|
827
|
-
interface VTemplateRoot extends HasLocation {
|
828
|
-
type: 'VTemplateRoot';
|
829
|
-
parent: TSESTree$1.Node;
|
830
|
-
children: (VElement | VText | VExpressionContainer)[];
|
831
|
-
templateInfo?: PrettierType<Omit<FinalProcessTemplateInfo, 'templateMeta' | 'templateRootAST'>>;
|
832
|
-
}
|
833
|
-
|
834
|
-
declare const KEYS: {
|
835
|
-
readonly [type: string]: readonly string[];
|
836
|
-
};
|
837
|
-
/**
|
838
|
-
* Get the keys of the given node to traverse it.
|
839
|
-
* @param node The node to get.
|
840
|
-
* @returns The keys to traverse.
|
841
|
-
*/
|
842
|
-
declare function getFallbackKeys(node: Node): string[];
|
843
|
-
interface Visitor {
|
844
|
-
visitorKeys?: VisitorKeys;
|
845
|
-
enterNode: (node: Node, parent: Node | null) => void;
|
846
|
-
leaveNode: (node: Node, parent: Node | null) => void;
|
847
|
-
}
|
848
|
-
/**
|
849
|
-
* Traverse the given AST tree.
|
850
|
-
* @param node Root node to traverse.
|
851
|
-
* @param visitor Visitor.
|
852
|
-
*/
|
853
|
-
declare function traverseNodes(node: Node, visitor: Visitor): void;
|
854
|
-
|
855
|
-
declare function parse(code: string, parserOptions: VineESLintParserOptions): ESLintProgram;
|
856
|
-
declare function parseForESLint(code: string, parserOptions: VineESLintParserOptions): ParseForESLintResult;
|
857
|
-
|
858
|
-
export { type ESLintArrayExpression, type ESLintArrayPattern, type ESLintArrowFunctionExpression, type ESLintAssignmentExpression, type ESLintAssignmentPattern, type ESLintAssignmentProperty, type ESLintAwaitExpression, type ESLintBigIntLiteral, type ESLintBinaryExpression, type ESLintBlockStatement, type ESLintBooleanLiteral, type ESLintBreakStatement, type ESLintCallExpression, type ESLintCatchClause, type ESLintChainElement, type ESLintChainExpression, type ESLintClassBody, type ESLintClassDeclaration, type ESLintClassExpression, type ESLintConditionalExpression, type ESLintContinueStatement, type ESLintDebuggerStatement, type ESLintDeclaration, type ESLintDirective, type ESLintDoWhileStatement, type ESLintEmptyStatement, type ESLintExportAllDeclaration, type ESLintExportDefaultDeclaration, type ESLintExportNamedDeclaration, type ESLintExportSpecifier, type ESLintExpression, type ESLintExpressionStatement, type ESLintExtendedProgram, type ESLintForInStatement, type ESLintForOfStatement, type ESLintForStatement, type ESLintFunctionDeclaration, type ESLintFunctionExpression, type ESLintIdentifier, type ESLintIfStatement, type ESLintImportDeclaration, type ESLintImportDefaultSpecifier, type ESLintImportExpression, type ESLintImportNamespaceSpecifier, type ESLintImportSpecifier, type ESLintLabeledStatement, type ESLintLegacyRestProperty, type ESLintLegacySpreadProperty, type ESLintLiteral, type ESLintLogicalExpression, type ESLintMemberExpression, type ESLintMetaProperty, type ESLintMethodDefinition, type ESLintModuleDeclaration, type ESLintModuleSpecifier, type ESLintNewExpression, type ESLintNode, type ESLintNullLiteral, type ESLintNumberLiteral, type ESLintObjectExpression, type ESLintObjectPattern, type ESLintPattern, type ESLintPrivateIdentifier, type ESLintProgram, type ESLintProperty, type ESLintPropertyDefinition, type ESLintRegExpLiteral, type ESLintRestElement, type ESLintReturnStatement, type ESLintSequenceExpression, type ESLintSpreadElement, type ESLintStatement, type ESLintStaticBlock, type ESLintStringLiteral, type ESLintSuper, type ESLintSwitchCase, type ESLintSwitchStatement, type ESLintTaggedTemplateExpression, type ESLintTemplateElement, type ESLintTemplateLiteral, type ESLintThisExpression, type ESLintThrowStatement, type ESLintTryStatement, type ESLintUnaryExpression, type ESLintUpdateExpression, type ESLintVariableDeclaration, type ESLintVariableDeclarator, type ESLintWhileStatement, type ESLintWithStatement, type ESLintYieldExpression, type ErrorCode, type HasConcreteInfo, type HasLocation, type HasParent, KEYS, type Location, type LocationRange, NS, type Namespace, type Node, type Offset, type OffsetRange, ParseError, type Reference, type Token, type VAttribute, type VDirective, type VDirectiveKey, type VElement, type VEndTag, type VExpression, type VExpressionContainer, type VFilter, type VFilterSequenceExpression, type VForExpression, type VIdentifier, type VLiteral, type VNode, type VOnExpression, type VSlotScopeExpression, type VStartTag, type VTemplateNode, type VTemplateRoot, type VText, type Variable, type Visitor, getFallbackKeys, parse, parseForESLint, traverseNodes };
|