@ant-yasa/uast-parser-java-js 0.1.19-beta.3 → 0.1.19-beta.32

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.
Files changed (35) hide show
  1. package/dist/package.json +73 -0
  2. package/dist/src/frontend/java/ASTBuilder.d.ts +171 -0
  3. package/dist/src/frontend/java/ASTBuilder.js +2369 -0
  4. package/dist/src/frontend/java/ASTBuilder.js.map +1 -0
  5. package/dist/src/frontend/java/ErrorListener.d.ts +9 -0
  6. package/dist/src/frontend/java/ErrorListener.js +24 -0
  7. package/dist/src/frontend/java/ErrorListener.js.map +1 -0
  8. package/dist/src/frontend/java/antlr/JavaLexer.d.ts +154 -0
  9. package/dist/src/frontend/java/antlr/JavaLexer.js +812 -0
  10. package/dist/src/frontend/java/antlr/JavaLexer.js.map +1 -0
  11. package/dist/src/frontend/java/antlr/JavaListener.d.ts +1393 -0
  12. package/dist/src/frontend/java/antlr/JavaListener.js +4 -0
  13. package/dist/src/frontend/java/antlr/JavaListener.js.map +1 -0
  14. package/dist/src/frontend/java/antlr/JavaParser.d.ts +2065 -0
  15. package/dist/src/frontend/java/antlr/JavaParser.js +15279 -0
  16. package/dist/src/frontend/java/antlr/JavaParser.js.map +1 -0
  17. package/dist/src/frontend/java/antlr/JavaVisitor.d.ts +892 -0
  18. package/dist/src/frontend/java/antlr/JavaVisitor.js +4 -0
  19. package/dist/src/frontend/java/antlr/JavaVisitor.js.map +1 -0
  20. package/dist/src/frontend/java/parser.d.ts +20 -0
  21. package/dist/src/frontend/java/parser.js +93 -0
  22. package/dist/src/frontend/java/parser.js.map +1 -0
  23. package/dist/src/frontend/java/testBuilder.d.ts +146 -0
  24. package/dist/src/frontend/java/testBuilder.js +464 -0
  25. package/dist/src/frontend/java/testBuilder.js.map +1 -0
  26. package/dist/src/frontend/java/types.d.ts +29 -0
  27. package/dist/src/frontend/java/types.js +3 -0
  28. package/dist/src/frontend/java/types.js.map +1 -0
  29. package/dist/src/frontend/javascript/parser.d.ts +8 -0
  30. package/dist/src/frontend/javascript/parser.js +1121 -0
  31. package/dist/src/frontend/javascript/parser.js.map +1 -0
  32. package/dist/src/index.d.ts +14 -0
  33. package/dist/src/index.js +76 -0
  34. package/dist/src/index.js.map +1 -0
  35. package/package.json +1 -1
@@ -0,0 +1,1393 @@
1
+ import { ParseTreeListener } from "antlr4ts/tree/ParseTreeListener";
2
+ import { CompilationUnitContext } from "./JavaParser";
3
+ import { PackageDeclarationContext } from "./JavaParser";
4
+ import { ImportDeclarationContext } from "./JavaParser";
5
+ import { TypeDeclarationContext } from "./JavaParser";
6
+ import { ModifierContext } from "./JavaParser";
7
+ import { ClassOrInterfaceModifierContext } from "./JavaParser";
8
+ import { VariableModifierContext } from "./JavaParser";
9
+ import { ClassDeclarationContext } from "./JavaParser";
10
+ import { TypeParametersContext } from "./JavaParser";
11
+ import { TypeParameterContext } from "./JavaParser";
12
+ import { TypeBoundContext } from "./JavaParser";
13
+ import { EnumDeclarationContext } from "./JavaParser";
14
+ import { EnumConstantsContext } from "./JavaParser";
15
+ import { EnumConstantContext } from "./JavaParser";
16
+ import { EnumBodyDeclarationsContext } from "./JavaParser";
17
+ import { InterfaceDeclarationContext } from "./JavaParser";
18
+ import { ClassBodyContext } from "./JavaParser";
19
+ import { InterfaceBodyContext } from "./JavaParser";
20
+ import { ClassBodyDeclarationContext } from "./JavaParser";
21
+ import { MemberDeclarationContext } from "./JavaParser";
22
+ import { MethodDeclarationContext } from "./JavaParser";
23
+ import { MethodBodyContext } from "./JavaParser";
24
+ import { TypeTypeOrVoidContext } from "./JavaParser";
25
+ import { GenericMethodDeclarationContext } from "./JavaParser";
26
+ import { GenericConstructorDeclarationContext } from "./JavaParser";
27
+ import { ConstructorDeclarationContext } from "./JavaParser";
28
+ import { CompactConstructorDeclarationContext } from "./JavaParser";
29
+ import { FieldDeclarationContext } from "./JavaParser";
30
+ import { InterfaceBodyDeclarationContext } from "./JavaParser";
31
+ import { InterfaceMemberDeclarationContext } from "./JavaParser";
32
+ import { ConstDeclarationContext } from "./JavaParser";
33
+ import { ConstantDeclaratorContext } from "./JavaParser";
34
+ import { InterfaceMethodDeclarationContext } from "./JavaParser";
35
+ import { InterfaceMethodModifierContext } from "./JavaParser";
36
+ import { GenericInterfaceMethodDeclarationContext } from "./JavaParser";
37
+ import { InterfaceCommonBodyDeclarationContext } from "./JavaParser";
38
+ import { VariableDeclaratorsContext } from "./JavaParser";
39
+ import { VariableDeclaratorContext } from "./JavaParser";
40
+ import { VariableDeclaratorIdContext } from "./JavaParser";
41
+ import { VariableInitializerContext } from "./JavaParser";
42
+ import { ArrayInitializerContext } from "./JavaParser";
43
+ import { ClassOrInterfaceTypeContext } from "./JavaParser";
44
+ import { TypeArgumentContext } from "./JavaParser";
45
+ import { QualifiedNameListContext } from "./JavaParser";
46
+ import { FormalParametersContext } from "./JavaParser";
47
+ import { ReceiverParameterContext } from "./JavaParser";
48
+ import { FormalParameterListContext } from "./JavaParser";
49
+ import { FormalParameterContext } from "./JavaParser";
50
+ import { LastFormalParameterContext } from "./JavaParser";
51
+ import { LambdaLVTIListContext } from "./JavaParser";
52
+ import { LambdaLVTIParameterContext } from "./JavaParser";
53
+ import { QualifiedNameContext } from "./JavaParser";
54
+ import { LiteralContext } from "./JavaParser";
55
+ import { IntegerLiteralContext } from "./JavaParser";
56
+ import { FloatLiteralContext } from "./JavaParser";
57
+ import { AltAnnotationQualifiedNameContext } from "./JavaParser";
58
+ import { AnnotationContext } from "./JavaParser";
59
+ import { ElementValuePairsContext } from "./JavaParser";
60
+ import { ElementValuePairContext } from "./JavaParser";
61
+ import { ElementValueContext } from "./JavaParser";
62
+ import { ElementValueArrayInitializerContext } from "./JavaParser";
63
+ import { AnnotationTypeDeclarationContext } from "./JavaParser";
64
+ import { AnnotationTypeBodyContext } from "./JavaParser";
65
+ import { AnnotationTypeElementDeclarationContext } from "./JavaParser";
66
+ import { AnnotationTypeElementRestContext } from "./JavaParser";
67
+ import { AnnotationMethodOrConstantRestContext } from "./JavaParser";
68
+ import { AnnotationMethodRestContext } from "./JavaParser";
69
+ import { AnnotationConstantRestContext } from "./JavaParser";
70
+ import { DefaultValueContext } from "./JavaParser";
71
+ import { ModuleDeclarationContext } from "./JavaParser";
72
+ import { ModuleBodyContext } from "./JavaParser";
73
+ import { ModuleDirectiveContext } from "./JavaParser";
74
+ import { RequiresModifierContext } from "./JavaParser";
75
+ import { RecordDeclarationContext } from "./JavaParser";
76
+ import { RecordHeaderContext } from "./JavaParser";
77
+ import { RecordComponentListContext } from "./JavaParser";
78
+ import { RecordComponentContext } from "./JavaParser";
79
+ import { RecordBodyContext } from "./JavaParser";
80
+ import { BlockContext } from "./JavaParser";
81
+ import { BlockStatementContext } from "./JavaParser";
82
+ import { LocalVariableDeclarationContext } from "./JavaParser";
83
+ import { IdentifierContext } from "./JavaParser";
84
+ import { TypeIdentifierContext } from "./JavaParser";
85
+ import { LocalTypeDeclarationContext } from "./JavaParser";
86
+ import { StatementContext } from "./JavaParser";
87
+ import { CatchClauseContext } from "./JavaParser";
88
+ import { CatchTypeContext } from "./JavaParser";
89
+ import { FinallyBlockContext } from "./JavaParser";
90
+ import { ResourceSpecificationContext } from "./JavaParser";
91
+ import { ResourcesContext } from "./JavaParser";
92
+ import { ResourceContext } from "./JavaParser";
93
+ import { SwitchBlockStatementGroupContext } from "./JavaParser";
94
+ import { SwitchLabelContext } from "./JavaParser";
95
+ import { ForControlContext } from "./JavaParser";
96
+ import { ForInitContext } from "./JavaParser";
97
+ import { EnhancedForControlContext } from "./JavaParser";
98
+ import { ParExpressionContext } from "./JavaParser";
99
+ import { ExpressionListContext } from "./JavaParser";
100
+ import { MethodCallContext } from "./JavaParser";
101
+ import { ExpressionContext } from "./JavaParser";
102
+ import { PatternContext } from "./JavaParser";
103
+ import { LambdaExpressionContext } from "./JavaParser";
104
+ import { LambdaParametersContext } from "./JavaParser";
105
+ import { LambdaBodyContext } from "./JavaParser";
106
+ import { PrimaryContext } from "./JavaParser";
107
+ import { SwitchExpressionContext } from "./JavaParser";
108
+ import { SwitchLabeledRuleContext } from "./JavaParser";
109
+ import { GuardedPatternContext } from "./JavaParser";
110
+ import { SwitchRuleOutcomeContext } from "./JavaParser";
111
+ import { ClassTypeContext } from "./JavaParser";
112
+ import { CreatorContext } from "./JavaParser";
113
+ import { CreatedNameContext } from "./JavaParser";
114
+ import { InnerCreatorContext } from "./JavaParser";
115
+ import { ArrayCreatorRestContext } from "./JavaParser";
116
+ import { ClassCreatorRestContext } from "./JavaParser";
117
+ import { ExplicitGenericInvocationContext } from "./JavaParser";
118
+ import { TypeArgumentsOrDiamondContext } from "./JavaParser";
119
+ import { NonWildcardTypeArgumentsOrDiamondContext } from "./JavaParser";
120
+ import { NonWildcardTypeArgumentsContext } from "./JavaParser";
121
+ import { TypeListContext } from "./JavaParser";
122
+ import { TypeTypeContext } from "./JavaParser";
123
+ import { PrimitiveTypeContext } from "./JavaParser";
124
+ import { TypeArgumentsContext } from "./JavaParser";
125
+ import { SuperSuffixContext } from "./JavaParser";
126
+ import { ExplicitGenericInvocationSuffixContext } from "./JavaParser";
127
+ import { ArgumentsContext } from "./JavaParser";
128
+ /**
129
+ * This interface defines a complete listener for a parse tree produced by
130
+ * `JavaParser`.
131
+ */
132
+ export interface JavaListener extends ParseTreeListener {
133
+ /**
134
+ * Enter a parse tree produced by `JavaParser.compilationUnit`.
135
+ * @param ctx the parse tree
136
+ */
137
+ enterCompilationUnit?: (ctx: CompilationUnitContext) => void;
138
+ /**
139
+ * Exit a parse tree produced by `JavaParser.compilationUnit`.
140
+ * @param ctx the parse tree
141
+ */
142
+ exitCompilationUnit?: (ctx: CompilationUnitContext) => void;
143
+ /**
144
+ * Enter a parse tree produced by `JavaParser.packageDeclaration`.
145
+ * @param ctx the parse tree
146
+ */
147
+ enterPackageDeclaration?: (ctx: PackageDeclarationContext) => void;
148
+ /**
149
+ * Exit a parse tree produced by `JavaParser.packageDeclaration`.
150
+ * @param ctx the parse tree
151
+ */
152
+ exitPackageDeclaration?: (ctx: PackageDeclarationContext) => void;
153
+ /**
154
+ * Enter a parse tree produced by `JavaParser.importDeclaration`.
155
+ * @param ctx the parse tree
156
+ */
157
+ enterImportDeclaration?: (ctx: ImportDeclarationContext) => void;
158
+ /**
159
+ * Exit a parse tree produced by `JavaParser.importDeclaration`.
160
+ * @param ctx the parse tree
161
+ */
162
+ exitImportDeclaration?: (ctx: ImportDeclarationContext) => void;
163
+ /**
164
+ * Enter a parse tree produced by `JavaParser.typeDeclaration`.
165
+ * @param ctx the parse tree
166
+ */
167
+ enterTypeDeclaration?: (ctx: TypeDeclarationContext) => void;
168
+ /**
169
+ * Exit a parse tree produced by `JavaParser.typeDeclaration`.
170
+ * @param ctx the parse tree
171
+ */
172
+ exitTypeDeclaration?: (ctx: TypeDeclarationContext) => void;
173
+ /**
174
+ * Enter a parse tree produced by `JavaParser.modifier`.
175
+ * @param ctx the parse tree
176
+ */
177
+ enterModifier?: (ctx: ModifierContext) => void;
178
+ /**
179
+ * Exit a parse tree produced by `JavaParser.modifier`.
180
+ * @param ctx the parse tree
181
+ */
182
+ exitModifier?: (ctx: ModifierContext) => void;
183
+ /**
184
+ * Enter a parse tree produced by `JavaParser.classOrInterfaceModifier`.
185
+ * @param ctx the parse tree
186
+ */
187
+ enterClassOrInterfaceModifier?: (ctx: ClassOrInterfaceModifierContext) => void;
188
+ /**
189
+ * Exit a parse tree produced by `JavaParser.classOrInterfaceModifier`.
190
+ * @param ctx the parse tree
191
+ */
192
+ exitClassOrInterfaceModifier?: (ctx: ClassOrInterfaceModifierContext) => void;
193
+ /**
194
+ * Enter a parse tree produced by `JavaParser.variableModifier`.
195
+ * @param ctx the parse tree
196
+ */
197
+ enterVariableModifier?: (ctx: VariableModifierContext) => void;
198
+ /**
199
+ * Exit a parse tree produced by `JavaParser.variableModifier`.
200
+ * @param ctx the parse tree
201
+ */
202
+ exitVariableModifier?: (ctx: VariableModifierContext) => void;
203
+ /**
204
+ * Enter a parse tree produced by `JavaParser.classDeclaration`.
205
+ * @param ctx the parse tree
206
+ */
207
+ enterClassDeclaration?: (ctx: ClassDeclarationContext) => void;
208
+ /**
209
+ * Exit a parse tree produced by `JavaParser.classDeclaration`.
210
+ * @param ctx the parse tree
211
+ */
212
+ exitClassDeclaration?: (ctx: ClassDeclarationContext) => void;
213
+ /**
214
+ * Enter a parse tree produced by `JavaParser.typeParameters`.
215
+ * @param ctx the parse tree
216
+ */
217
+ enterTypeParameters?: (ctx: TypeParametersContext) => void;
218
+ /**
219
+ * Exit a parse tree produced by `JavaParser.typeParameters`.
220
+ * @param ctx the parse tree
221
+ */
222
+ exitTypeParameters?: (ctx: TypeParametersContext) => void;
223
+ /**
224
+ * Enter a parse tree produced by `JavaParser.typeParameter`.
225
+ * @param ctx the parse tree
226
+ */
227
+ enterTypeParameter?: (ctx: TypeParameterContext) => void;
228
+ /**
229
+ * Exit a parse tree produced by `JavaParser.typeParameter`.
230
+ * @param ctx the parse tree
231
+ */
232
+ exitTypeParameter?: (ctx: TypeParameterContext) => void;
233
+ /**
234
+ * Enter a parse tree produced by `JavaParser.typeBound`.
235
+ * @param ctx the parse tree
236
+ */
237
+ enterTypeBound?: (ctx: TypeBoundContext) => void;
238
+ /**
239
+ * Exit a parse tree produced by `JavaParser.typeBound`.
240
+ * @param ctx the parse tree
241
+ */
242
+ exitTypeBound?: (ctx: TypeBoundContext) => void;
243
+ /**
244
+ * Enter a parse tree produced by `JavaParser.enumDeclaration`.
245
+ * @param ctx the parse tree
246
+ */
247
+ enterEnumDeclaration?: (ctx: EnumDeclarationContext) => void;
248
+ /**
249
+ * Exit a parse tree produced by `JavaParser.enumDeclaration`.
250
+ * @param ctx the parse tree
251
+ */
252
+ exitEnumDeclaration?: (ctx: EnumDeclarationContext) => void;
253
+ /**
254
+ * Enter a parse tree produced by `JavaParser.enumConstants`.
255
+ * @param ctx the parse tree
256
+ */
257
+ enterEnumConstants?: (ctx: EnumConstantsContext) => void;
258
+ /**
259
+ * Exit a parse tree produced by `JavaParser.enumConstants`.
260
+ * @param ctx the parse tree
261
+ */
262
+ exitEnumConstants?: (ctx: EnumConstantsContext) => void;
263
+ /**
264
+ * Enter a parse tree produced by `JavaParser.enumConstant`.
265
+ * @param ctx the parse tree
266
+ */
267
+ enterEnumConstant?: (ctx: EnumConstantContext) => void;
268
+ /**
269
+ * Exit a parse tree produced by `JavaParser.enumConstant`.
270
+ * @param ctx the parse tree
271
+ */
272
+ exitEnumConstant?: (ctx: EnumConstantContext) => void;
273
+ /**
274
+ * Enter a parse tree produced by `JavaParser.enumBodyDeclarations`.
275
+ * @param ctx the parse tree
276
+ */
277
+ enterEnumBodyDeclarations?: (ctx: EnumBodyDeclarationsContext) => void;
278
+ /**
279
+ * Exit a parse tree produced by `JavaParser.enumBodyDeclarations`.
280
+ * @param ctx the parse tree
281
+ */
282
+ exitEnumBodyDeclarations?: (ctx: EnumBodyDeclarationsContext) => void;
283
+ /**
284
+ * Enter a parse tree produced by `JavaParser.interfaceDeclaration`.
285
+ * @param ctx the parse tree
286
+ */
287
+ enterInterfaceDeclaration?: (ctx: InterfaceDeclarationContext) => void;
288
+ /**
289
+ * Exit a parse tree produced by `JavaParser.interfaceDeclaration`.
290
+ * @param ctx the parse tree
291
+ */
292
+ exitInterfaceDeclaration?: (ctx: InterfaceDeclarationContext) => void;
293
+ /**
294
+ * Enter a parse tree produced by `JavaParser.classBody`.
295
+ * @param ctx the parse tree
296
+ */
297
+ enterClassBody?: (ctx: ClassBodyContext) => void;
298
+ /**
299
+ * Exit a parse tree produced by `JavaParser.classBody`.
300
+ * @param ctx the parse tree
301
+ */
302
+ exitClassBody?: (ctx: ClassBodyContext) => void;
303
+ /**
304
+ * Enter a parse tree produced by `JavaParser.interfaceBody`.
305
+ * @param ctx the parse tree
306
+ */
307
+ enterInterfaceBody?: (ctx: InterfaceBodyContext) => void;
308
+ /**
309
+ * Exit a parse tree produced by `JavaParser.interfaceBody`.
310
+ * @param ctx the parse tree
311
+ */
312
+ exitInterfaceBody?: (ctx: InterfaceBodyContext) => void;
313
+ /**
314
+ * Enter a parse tree produced by `JavaParser.classBodyDeclaration`.
315
+ * @param ctx the parse tree
316
+ */
317
+ enterClassBodyDeclaration?: (ctx: ClassBodyDeclarationContext) => void;
318
+ /**
319
+ * Exit a parse tree produced by `JavaParser.classBodyDeclaration`.
320
+ * @param ctx the parse tree
321
+ */
322
+ exitClassBodyDeclaration?: (ctx: ClassBodyDeclarationContext) => void;
323
+ /**
324
+ * Enter a parse tree produced by `JavaParser.memberDeclaration`.
325
+ * @param ctx the parse tree
326
+ */
327
+ enterMemberDeclaration?: (ctx: MemberDeclarationContext) => void;
328
+ /**
329
+ * Exit a parse tree produced by `JavaParser.memberDeclaration`.
330
+ * @param ctx the parse tree
331
+ */
332
+ exitMemberDeclaration?: (ctx: MemberDeclarationContext) => void;
333
+ /**
334
+ * Enter a parse tree produced by `JavaParser.methodDeclaration`.
335
+ * @param ctx the parse tree
336
+ */
337
+ enterMethodDeclaration?: (ctx: MethodDeclarationContext) => void;
338
+ /**
339
+ * Exit a parse tree produced by `JavaParser.methodDeclaration`.
340
+ * @param ctx the parse tree
341
+ */
342
+ exitMethodDeclaration?: (ctx: MethodDeclarationContext) => void;
343
+ /**
344
+ * Enter a parse tree produced by `JavaParser.methodBody`.
345
+ * @param ctx the parse tree
346
+ */
347
+ enterMethodBody?: (ctx: MethodBodyContext) => void;
348
+ /**
349
+ * Exit a parse tree produced by `JavaParser.methodBody`.
350
+ * @param ctx the parse tree
351
+ */
352
+ exitMethodBody?: (ctx: MethodBodyContext) => void;
353
+ /**
354
+ * Enter a parse tree produced by `JavaParser.typeTypeOrVoid`.
355
+ * @param ctx the parse tree
356
+ */
357
+ enterTypeTypeOrVoid?: (ctx: TypeTypeOrVoidContext) => void;
358
+ /**
359
+ * Exit a parse tree produced by `JavaParser.typeTypeOrVoid`.
360
+ * @param ctx the parse tree
361
+ */
362
+ exitTypeTypeOrVoid?: (ctx: TypeTypeOrVoidContext) => void;
363
+ /**
364
+ * Enter a parse tree produced by `JavaParser.genericMethodDeclaration`.
365
+ * @param ctx the parse tree
366
+ */
367
+ enterGenericMethodDeclaration?: (ctx: GenericMethodDeclarationContext) => void;
368
+ /**
369
+ * Exit a parse tree produced by `JavaParser.genericMethodDeclaration`.
370
+ * @param ctx the parse tree
371
+ */
372
+ exitGenericMethodDeclaration?: (ctx: GenericMethodDeclarationContext) => void;
373
+ /**
374
+ * Enter a parse tree produced by `JavaParser.genericConstructorDeclaration`.
375
+ * @param ctx the parse tree
376
+ */
377
+ enterGenericConstructorDeclaration?: (ctx: GenericConstructorDeclarationContext) => void;
378
+ /**
379
+ * Exit a parse tree produced by `JavaParser.genericConstructorDeclaration`.
380
+ * @param ctx the parse tree
381
+ */
382
+ exitGenericConstructorDeclaration?: (ctx: GenericConstructorDeclarationContext) => void;
383
+ /**
384
+ * Enter a parse tree produced by `JavaParser.constructorDeclaration`.
385
+ * @param ctx the parse tree
386
+ */
387
+ enterConstructorDeclaration?: (ctx: ConstructorDeclarationContext) => void;
388
+ /**
389
+ * Exit a parse tree produced by `JavaParser.constructorDeclaration`.
390
+ * @param ctx the parse tree
391
+ */
392
+ exitConstructorDeclaration?: (ctx: ConstructorDeclarationContext) => void;
393
+ /**
394
+ * Enter a parse tree produced by `JavaParser.compactConstructorDeclaration`.
395
+ * @param ctx the parse tree
396
+ */
397
+ enterCompactConstructorDeclaration?: (ctx: CompactConstructorDeclarationContext) => void;
398
+ /**
399
+ * Exit a parse tree produced by `JavaParser.compactConstructorDeclaration`.
400
+ * @param ctx the parse tree
401
+ */
402
+ exitCompactConstructorDeclaration?: (ctx: CompactConstructorDeclarationContext) => void;
403
+ /**
404
+ * Enter a parse tree produced by `JavaParser.fieldDeclaration`.
405
+ * @param ctx the parse tree
406
+ */
407
+ enterFieldDeclaration?: (ctx: FieldDeclarationContext) => void;
408
+ /**
409
+ * Exit a parse tree produced by `JavaParser.fieldDeclaration`.
410
+ * @param ctx the parse tree
411
+ */
412
+ exitFieldDeclaration?: (ctx: FieldDeclarationContext) => void;
413
+ /**
414
+ * Enter a parse tree produced by `JavaParser.interfaceBodyDeclaration`.
415
+ * @param ctx the parse tree
416
+ */
417
+ enterInterfaceBodyDeclaration?: (ctx: InterfaceBodyDeclarationContext) => void;
418
+ /**
419
+ * Exit a parse tree produced by `JavaParser.interfaceBodyDeclaration`.
420
+ * @param ctx the parse tree
421
+ */
422
+ exitInterfaceBodyDeclaration?: (ctx: InterfaceBodyDeclarationContext) => void;
423
+ /**
424
+ * Enter a parse tree produced by `JavaParser.interfaceMemberDeclaration`.
425
+ * @param ctx the parse tree
426
+ */
427
+ enterInterfaceMemberDeclaration?: (ctx: InterfaceMemberDeclarationContext) => void;
428
+ /**
429
+ * Exit a parse tree produced by `JavaParser.interfaceMemberDeclaration`.
430
+ * @param ctx the parse tree
431
+ */
432
+ exitInterfaceMemberDeclaration?: (ctx: InterfaceMemberDeclarationContext) => void;
433
+ /**
434
+ * Enter a parse tree produced by `JavaParser.constDeclaration`.
435
+ * @param ctx the parse tree
436
+ */
437
+ enterConstDeclaration?: (ctx: ConstDeclarationContext) => void;
438
+ /**
439
+ * Exit a parse tree produced by `JavaParser.constDeclaration`.
440
+ * @param ctx the parse tree
441
+ */
442
+ exitConstDeclaration?: (ctx: ConstDeclarationContext) => void;
443
+ /**
444
+ * Enter a parse tree produced by `JavaParser.constantDeclarator`.
445
+ * @param ctx the parse tree
446
+ */
447
+ enterConstantDeclarator?: (ctx: ConstantDeclaratorContext) => void;
448
+ /**
449
+ * Exit a parse tree produced by `JavaParser.constantDeclarator`.
450
+ * @param ctx the parse tree
451
+ */
452
+ exitConstantDeclarator?: (ctx: ConstantDeclaratorContext) => void;
453
+ /**
454
+ * Enter a parse tree produced by `JavaParser.interfaceMethodDeclaration`.
455
+ * @param ctx the parse tree
456
+ */
457
+ enterInterfaceMethodDeclaration?: (ctx: InterfaceMethodDeclarationContext) => void;
458
+ /**
459
+ * Exit a parse tree produced by `JavaParser.interfaceMethodDeclaration`.
460
+ * @param ctx the parse tree
461
+ */
462
+ exitInterfaceMethodDeclaration?: (ctx: InterfaceMethodDeclarationContext) => void;
463
+ /**
464
+ * Enter a parse tree produced by `JavaParser.interfaceMethodModifier`.
465
+ * @param ctx the parse tree
466
+ */
467
+ enterInterfaceMethodModifier?: (ctx: InterfaceMethodModifierContext) => void;
468
+ /**
469
+ * Exit a parse tree produced by `JavaParser.interfaceMethodModifier`.
470
+ * @param ctx the parse tree
471
+ */
472
+ exitInterfaceMethodModifier?: (ctx: InterfaceMethodModifierContext) => void;
473
+ /**
474
+ * Enter a parse tree produced by `JavaParser.genericInterfaceMethodDeclaration`.
475
+ * @param ctx the parse tree
476
+ */
477
+ enterGenericInterfaceMethodDeclaration?: (ctx: GenericInterfaceMethodDeclarationContext) => void;
478
+ /**
479
+ * Exit a parse tree produced by `JavaParser.genericInterfaceMethodDeclaration`.
480
+ * @param ctx the parse tree
481
+ */
482
+ exitGenericInterfaceMethodDeclaration?: (ctx: GenericInterfaceMethodDeclarationContext) => void;
483
+ /**
484
+ * Enter a parse tree produced by `JavaParser.interfaceCommonBodyDeclaration`.
485
+ * @param ctx the parse tree
486
+ */
487
+ enterInterfaceCommonBodyDeclaration?: (ctx: InterfaceCommonBodyDeclarationContext) => void;
488
+ /**
489
+ * Exit a parse tree produced by `JavaParser.interfaceCommonBodyDeclaration`.
490
+ * @param ctx the parse tree
491
+ */
492
+ exitInterfaceCommonBodyDeclaration?: (ctx: InterfaceCommonBodyDeclarationContext) => void;
493
+ /**
494
+ * Enter a parse tree produced by `JavaParser.variableDeclarators`.
495
+ * @param ctx the parse tree
496
+ */
497
+ enterVariableDeclarators?: (ctx: VariableDeclaratorsContext) => void;
498
+ /**
499
+ * Exit a parse tree produced by `JavaParser.variableDeclarators`.
500
+ * @param ctx the parse tree
501
+ */
502
+ exitVariableDeclarators?: (ctx: VariableDeclaratorsContext) => void;
503
+ /**
504
+ * Enter a parse tree produced by `JavaParser.variableDeclarator`.
505
+ * @param ctx the parse tree
506
+ */
507
+ enterVariableDeclarator?: (ctx: VariableDeclaratorContext) => void;
508
+ /**
509
+ * Exit a parse tree produced by `JavaParser.variableDeclarator`.
510
+ * @param ctx the parse tree
511
+ */
512
+ exitVariableDeclarator?: (ctx: VariableDeclaratorContext) => void;
513
+ /**
514
+ * Enter a parse tree produced by `JavaParser.variableDeclaratorId`.
515
+ * @param ctx the parse tree
516
+ */
517
+ enterVariableDeclaratorId?: (ctx: VariableDeclaratorIdContext) => void;
518
+ /**
519
+ * Exit a parse tree produced by `JavaParser.variableDeclaratorId`.
520
+ * @param ctx the parse tree
521
+ */
522
+ exitVariableDeclaratorId?: (ctx: VariableDeclaratorIdContext) => void;
523
+ /**
524
+ * Enter a parse tree produced by `JavaParser.variableInitializer`.
525
+ * @param ctx the parse tree
526
+ */
527
+ enterVariableInitializer?: (ctx: VariableInitializerContext) => void;
528
+ /**
529
+ * Exit a parse tree produced by `JavaParser.variableInitializer`.
530
+ * @param ctx the parse tree
531
+ */
532
+ exitVariableInitializer?: (ctx: VariableInitializerContext) => void;
533
+ /**
534
+ * Enter a parse tree produced by `JavaParser.arrayInitializer`.
535
+ * @param ctx the parse tree
536
+ */
537
+ enterArrayInitializer?: (ctx: ArrayInitializerContext) => void;
538
+ /**
539
+ * Exit a parse tree produced by `JavaParser.arrayInitializer`.
540
+ * @param ctx the parse tree
541
+ */
542
+ exitArrayInitializer?: (ctx: ArrayInitializerContext) => void;
543
+ /**
544
+ * Enter a parse tree produced by `JavaParser.classOrInterfaceType`.
545
+ * @param ctx the parse tree
546
+ */
547
+ enterClassOrInterfaceType?: (ctx: ClassOrInterfaceTypeContext) => void;
548
+ /**
549
+ * Exit a parse tree produced by `JavaParser.classOrInterfaceType`.
550
+ * @param ctx the parse tree
551
+ */
552
+ exitClassOrInterfaceType?: (ctx: ClassOrInterfaceTypeContext) => void;
553
+ /**
554
+ * Enter a parse tree produced by `JavaParser.typeArgument`.
555
+ * @param ctx the parse tree
556
+ */
557
+ enterTypeArgument?: (ctx: TypeArgumentContext) => void;
558
+ /**
559
+ * Exit a parse tree produced by `JavaParser.typeArgument`.
560
+ * @param ctx the parse tree
561
+ */
562
+ exitTypeArgument?: (ctx: TypeArgumentContext) => void;
563
+ /**
564
+ * Enter a parse tree produced by `JavaParser.qualifiedNameList`.
565
+ * @param ctx the parse tree
566
+ */
567
+ enterQualifiedNameList?: (ctx: QualifiedNameListContext) => void;
568
+ /**
569
+ * Exit a parse tree produced by `JavaParser.qualifiedNameList`.
570
+ * @param ctx the parse tree
571
+ */
572
+ exitQualifiedNameList?: (ctx: QualifiedNameListContext) => void;
573
+ /**
574
+ * Enter a parse tree produced by `JavaParser.formalParameters`.
575
+ * @param ctx the parse tree
576
+ */
577
+ enterFormalParameters?: (ctx: FormalParametersContext) => void;
578
+ /**
579
+ * Exit a parse tree produced by `JavaParser.formalParameters`.
580
+ * @param ctx the parse tree
581
+ */
582
+ exitFormalParameters?: (ctx: FormalParametersContext) => void;
583
+ /**
584
+ * Enter a parse tree produced by `JavaParser.receiverParameter`.
585
+ * @param ctx the parse tree
586
+ */
587
+ enterReceiverParameter?: (ctx: ReceiverParameterContext) => void;
588
+ /**
589
+ * Exit a parse tree produced by `JavaParser.receiverParameter`.
590
+ * @param ctx the parse tree
591
+ */
592
+ exitReceiverParameter?: (ctx: ReceiverParameterContext) => void;
593
+ /**
594
+ * Enter a parse tree produced by `JavaParser.formalParameterList`.
595
+ * @param ctx the parse tree
596
+ */
597
+ enterFormalParameterList?: (ctx: FormalParameterListContext) => void;
598
+ /**
599
+ * Exit a parse tree produced by `JavaParser.formalParameterList`.
600
+ * @param ctx the parse tree
601
+ */
602
+ exitFormalParameterList?: (ctx: FormalParameterListContext) => void;
603
+ /**
604
+ * Enter a parse tree produced by `JavaParser.formalParameter`.
605
+ * @param ctx the parse tree
606
+ */
607
+ enterFormalParameter?: (ctx: FormalParameterContext) => void;
608
+ /**
609
+ * Exit a parse tree produced by `JavaParser.formalParameter`.
610
+ * @param ctx the parse tree
611
+ */
612
+ exitFormalParameter?: (ctx: FormalParameterContext) => void;
613
+ /**
614
+ * Enter a parse tree produced by `JavaParser.lastFormalParameter`.
615
+ * @param ctx the parse tree
616
+ */
617
+ enterLastFormalParameter?: (ctx: LastFormalParameterContext) => void;
618
+ /**
619
+ * Exit a parse tree produced by `JavaParser.lastFormalParameter`.
620
+ * @param ctx the parse tree
621
+ */
622
+ exitLastFormalParameter?: (ctx: LastFormalParameterContext) => void;
623
+ /**
624
+ * Enter a parse tree produced by `JavaParser.lambdaLVTIList`.
625
+ * @param ctx the parse tree
626
+ */
627
+ enterLambdaLVTIList?: (ctx: LambdaLVTIListContext) => void;
628
+ /**
629
+ * Exit a parse tree produced by `JavaParser.lambdaLVTIList`.
630
+ * @param ctx the parse tree
631
+ */
632
+ exitLambdaLVTIList?: (ctx: LambdaLVTIListContext) => void;
633
+ /**
634
+ * Enter a parse tree produced by `JavaParser.lambdaLVTIParameter`.
635
+ * @param ctx the parse tree
636
+ */
637
+ enterLambdaLVTIParameter?: (ctx: LambdaLVTIParameterContext) => void;
638
+ /**
639
+ * Exit a parse tree produced by `JavaParser.lambdaLVTIParameter`.
640
+ * @param ctx the parse tree
641
+ */
642
+ exitLambdaLVTIParameter?: (ctx: LambdaLVTIParameterContext) => void;
643
+ /**
644
+ * Enter a parse tree produced by `JavaParser.qualifiedName`.
645
+ * @param ctx the parse tree
646
+ */
647
+ enterQualifiedName?: (ctx: QualifiedNameContext) => void;
648
+ /**
649
+ * Exit a parse tree produced by `JavaParser.qualifiedName`.
650
+ * @param ctx the parse tree
651
+ */
652
+ exitQualifiedName?: (ctx: QualifiedNameContext) => void;
653
+ /**
654
+ * Enter a parse tree produced by `JavaParser.literal`.
655
+ * @param ctx the parse tree
656
+ */
657
+ enterLiteral?: (ctx: LiteralContext) => void;
658
+ /**
659
+ * Exit a parse tree produced by `JavaParser.literal`.
660
+ * @param ctx the parse tree
661
+ */
662
+ exitLiteral?: (ctx: LiteralContext) => void;
663
+ /**
664
+ * Enter a parse tree produced by `JavaParser.integerLiteral`.
665
+ * @param ctx the parse tree
666
+ */
667
+ enterIntegerLiteral?: (ctx: IntegerLiteralContext) => void;
668
+ /**
669
+ * Exit a parse tree produced by `JavaParser.integerLiteral`.
670
+ * @param ctx the parse tree
671
+ */
672
+ exitIntegerLiteral?: (ctx: IntegerLiteralContext) => void;
673
+ /**
674
+ * Enter a parse tree produced by `JavaParser.floatLiteral`.
675
+ * @param ctx the parse tree
676
+ */
677
+ enterFloatLiteral?: (ctx: FloatLiteralContext) => void;
678
+ /**
679
+ * Exit a parse tree produced by `JavaParser.floatLiteral`.
680
+ * @param ctx the parse tree
681
+ */
682
+ exitFloatLiteral?: (ctx: FloatLiteralContext) => void;
683
+ /**
684
+ * Enter a parse tree produced by `JavaParser.altAnnotationQualifiedName`.
685
+ * @param ctx the parse tree
686
+ */
687
+ enterAltAnnotationQualifiedName?: (ctx: AltAnnotationQualifiedNameContext) => void;
688
+ /**
689
+ * Exit a parse tree produced by `JavaParser.altAnnotationQualifiedName`.
690
+ * @param ctx the parse tree
691
+ */
692
+ exitAltAnnotationQualifiedName?: (ctx: AltAnnotationQualifiedNameContext) => void;
693
+ /**
694
+ * Enter a parse tree produced by `JavaParser.annotation`.
695
+ * @param ctx the parse tree
696
+ */
697
+ enterAnnotation?: (ctx: AnnotationContext) => void;
698
+ /**
699
+ * Exit a parse tree produced by `JavaParser.annotation`.
700
+ * @param ctx the parse tree
701
+ */
702
+ exitAnnotation?: (ctx: AnnotationContext) => void;
703
+ /**
704
+ * Enter a parse tree produced by `JavaParser.elementValuePairs`.
705
+ * @param ctx the parse tree
706
+ */
707
+ enterElementValuePairs?: (ctx: ElementValuePairsContext) => void;
708
+ /**
709
+ * Exit a parse tree produced by `JavaParser.elementValuePairs`.
710
+ * @param ctx the parse tree
711
+ */
712
+ exitElementValuePairs?: (ctx: ElementValuePairsContext) => void;
713
+ /**
714
+ * Enter a parse tree produced by `JavaParser.elementValuePair`.
715
+ * @param ctx the parse tree
716
+ */
717
+ enterElementValuePair?: (ctx: ElementValuePairContext) => void;
718
+ /**
719
+ * Exit a parse tree produced by `JavaParser.elementValuePair`.
720
+ * @param ctx the parse tree
721
+ */
722
+ exitElementValuePair?: (ctx: ElementValuePairContext) => void;
723
+ /**
724
+ * Enter a parse tree produced by `JavaParser.elementValue`.
725
+ * @param ctx the parse tree
726
+ */
727
+ enterElementValue?: (ctx: ElementValueContext) => void;
728
+ /**
729
+ * Exit a parse tree produced by `JavaParser.elementValue`.
730
+ * @param ctx the parse tree
731
+ */
732
+ exitElementValue?: (ctx: ElementValueContext) => void;
733
+ /**
734
+ * Enter a parse tree produced by `JavaParser.elementValueArrayInitializer`.
735
+ * @param ctx the parse tree
736
+ */
737
+ enterElementValueArrayInitializer?: (ctx: ElementValueArrayInitializerContext) => void;
738
+ /**
739
+ * Exit a parse tree produced by `JavaParser.elementValueArrayInitializer`.
740
+ * @param ctx the parse tree
741
+ */
742
+ exitElementValueArrayInitializer?: (ctx: ElementValueArrayInitializerContext) => void;
743
+ /**
744
+ * Enter a parse tree produced by `JavaParser.annotationTypeDeclaration`.
745
+ * @param ctx the parse tree
746
+ */
747
+ enterAnnotationTypeDeclaration?: (ctx: AnnotationTypeDeclarationContext) => void;
748
+ /**
749
+ * Exit a parse tree produced by `JavaParser.annotationTypeDeclaration`.
750
+ * @param ctx the parse tree
751
+ */
752
+ exitAnnotationTypeDeclaration?: (ctx: AnnotationTypeDeclarationContext) => void;
753
+ /**
754
+ * Enter a parse tree produced by `JavaParser.annotationTypeBody`.
755
+ * @param ctx the parse tree
756
+ */
757
+ enterAnnotationTypeBody?: (ctx: AnnotationTypeBodyContext) => void;
758
+ /**
759
+ * Exit a parse tree produced by `JavaParser.annotationTypeBody`.
760
+ * @param ctx the parse tree
761
+ */
762
+ exitAnnotationTypeBody?: (ctx: AnnotationTypeBodyContext) => void;
763
+ /**
764
+ * Enter a parse tree produced by `JavaParser.annotationTypeElementDeclaration`.
765
+ * @param ctx the parse tree
766
+ */
767
+ enterAnnotationTypeElementDeclaration?: (ctx: AnnotationTypeElementDeclarationContext) => void;
768
+ /**
769
+ * Exit a parse tree produced by `JavaParser.annotationTypeElementDeclaration`.
770
+ * @param ctx the parse tree
771
+ */
772
+ exitAnnotationTypeElementDeclaration?: (ctx: AnnotationTypeElementDeclarationContext) => void;
773
+ /**
774
+ * Enter a parse tree produced by `JavaParser.annotationTypeElementRest`.
775
+ * @param ctx the parse tree
776
+ */
777
+ enterAnnotationTypeElementRest?: (ctx: AnnotationTypeElementRestContext) => void;
778
+ /**
779
+ * Exit a parse tree produced by `JavaParser.annotationTypeElementRest`.
780
+ * @param ctx the parse tree
781
+ */
782
+ exitAnnotationTypeElementRest?: (ctx: AnnotationTypeElementRestContext) => void;
783
+ /**
784
+ * Enter a parse tree produced by `JavaParser.annotationMethodOrConstantRest`.
785
+ * @param ctx the parse tree
786
+ */
787
+ enterAnnotationMethodOrConstantRest?: (ctx: AnnotationMethodOrConstantRestContext) => void;
788
+ /**
789
+ * Exit a parse tree produced by `JavaParser.annotationMethodOrConstantRest`.
790
+ * @param ctx the parse tree
791
+ */
792
+ exitAnnotationMethodOrConstantRest?: (ctx: AnnotationMethodOrConstantRestContext) => void;
793
+ /**
794
+ * Enter a parse tree produced by `JavaParser.annotationMethodRest`.
795
+ * @param ctx the parse tree
796
+ */
797
+ enterAnnotationMethodRest?: (ctx: AnnotationMethodRestContext) => void;
798
+ /**
799
+ * Exit a parse tree produced by `JavaParser.annotationMethodRest`.
800
+ * @param ctx the parse tree
801
+ */
802
+ exitAnnotationMethodRest?: (ctx: AnnotationMethodRestContext) => void;
803
+ /**
804
+ * Enter a parse tree produced by `JavaParser.annotationConstantRest`.
805
+ * @param ctx the parse tree
806
+ */
807
+ enterAnnotationConstantRest?: (ctx: AnnotationConstantRestContext) => void;
808
+ /**
809
+ * Exit a parse tree produced by `JavaParser.annotationConstantRest`.
810
+ * @param ctx the parse tree
811
+ */
812
+ exitAnnotationConstantRest?: (ctx: AnnotationConstantRestContext) => void;
813
+ /**
814
+ * Enter a parse tree produced by `JavaParser.defaultValue`.
815
+ * @param ctx the parse tree
816
+ */
817
+ enterDefaultValue?: (ctx: DefaultValueContext) => void;
818
+ /**
819
+ * Exit a parse tree produced by `JavaParser.defaultValue`.
820
+ * @param ctx the parse tree
821
+ */
822
+ exitDefaultValue?: (ctx: DefaultValueContext) => void;
823
+ /**
824
+ * Enter a parse tree produced by `JavaParser.moduleDeclaration`.
825
+ * @param ctx the parse tree
826
+ */
827
+ enterModuleDeclaration?: (ctx: ModuleDeclarationContext) => void;
828
+ /**
829
+ * Exit a parse tree produced by `JavaParser.moduleDeclaration`.
830
+ * @param ctx the parse tree
831
+ */
832
+ exitModuleDeclaration?: (ctx: ModuleDeclarationContext) => void;
833
+ /**
834
+ * Enter a parse tree produced by `JavaParser.moduleBody`.
835
+ * @param ctx the parse tree
836
+ */
837
+ enterModuleBody?: (ctx: ModuleBodyContext) => void;
838
+ /**
839
+ * Exit a parse tree produced by `JavaParser.moduleBody`.
840
+ * @param ctx the parse tree
841
+ */
842
+ exitModuleBody?: (ctx: ModuleBodyContext) => void;
843
+ /**
844
+ * Enter a parse tree produced by `JavaParser.moduleDirective`.
845
+ * @param ctx the parse tree
846
+ */
847
+ enterModuleDirective?: (ctx: ModuleDirectiveContext) => void;
848
+ /**
849
+ * Exit a parse tree produced by `JavaParser.moduleDirective`.
850
+ * @param ctx the parse tree
851
+ */
852
+ exitModuleDirective?: (ctx: ModuleDirectiveContext) => void;
853
+ /**
854
+ * Enter a parse tree produced by `JavaParser.requiresModifier`.
855
+ * @param ctx the parse tree
856
+ */
857
+ enterRequiresModifier?: (ctx: RequiresModifierContext) => void;
858
+ /**
859
+ * Exit a parse tree produced by `JavaParser.requiresModifier`.
860
+ * @param ctx the parse tree
861
+ */
862
+ exitRequiresModifier?: (ctx: RequiresModifierContext) => void;
863
+ /**
864
+ * Enter a parse tree produced by `JavaParser.recordDeclaration`.
865
+ * @param ctx the parse tree
866
+ */
867
+ enterRecordDeclaration?: (ctx: RecordDeclarationContext) => void;
868
+ /**
869
+ * Exit a parse tree produced by `JavaParser.recordDeclaration`.
870
+ * @param ctx the parse tree
871
+ */
872
+ exitRecordDeclaration?: (ctx: RecordDeclarationContext) => void;
873
+ /**
874
+ * Enter a parse tree produced by `JavaParser.recordHeader`.
875
+ * @param ctx the parse tree
876
+ */
877
+ enterRecordHeader?: (ctx: RecordHeaderContext) => void;
878
+ /**
879
+ * Exit a parse tree produced by `JavaParser.recordHeader`.
880
+ * @param ctx the parse tree
881
+ */
882
+ exitRecordHeader?: (ctx: RecordHeaderContext) => void;
883
+ /**
884
+ * Enter a parse tree produced by `JavaParser.recordComponentList`.
885
+ * @param ctx the parse tree
886
+ */
887
+ enterRecordComponentList?: (ctx: RecordComponentListContext) => void;
888
+ /**
889
+ * Exit a parse tree produced by `JavaParser.recordComponentList`.
890
+ * @param ctx the parse tree
891
+ */
892
+ exitRecordComponentList?: (ctx: RecordComponentListContext) => void;
893
+ /**
894
+ * Enter a parse tree produced by `JavaParser.recordComponent`.
895
+ * @param ctx the parse tree
896
+ */
897
+ enterRecordComponent?: (ctx: RecordComponentContext) => void;
898
+ /**
899
+ * Exit a parse tree produced by `JavaParser.recordComponent`.
900
+ * @param ctx the parse tree
901
+ */
902
+ exitRecordComponent?: (ctx: RecordComponentContext) => void;
903
+ /**
904
+ * Enter a parse tree produced by `JavaParser.recordBody`.
905
+ * @param ctx the parse tree
906
+ */
907
+ enterRecordBody?: (ctx: RecordBodyContext) => void;
908
+ /**
909
+ * Exit a parse tree produced by `JavaParser.recordBody`.
910
+ * @param ctx the parse tree
911
+ */
912
+ exitRecordBody?: (ctx: RecordBodyContext) => void;
913
+ /**
914
+ * Enter a parse tree produced by `JavaParser.block`.
915
+ * @param ctx the parse tree
916
+ */
917
+ enterBlock?: (ctx: BlockContext) => void;
918
+ /**
919
+ * Exit a parse tree produced by `JavaParser.block`.
920
+ * @param ctx the parse tree
921
+ */
922
+ exitBlock?: (ctx: BlockContext) => void;
923
+ /**
924
+ * Enter a parse tree produced by `JavaParser.blockStatement`.
925
+ * @param ctx the parse tree
926
+ */
927
+ enterBlockStatement?: (ctx: BlockStatementContext) => void;
928
+ /**
929
+ * Exit a parse tree produced by `JavaParser.blockStatement`.
930
+ * @param ctx the parse tree
931
+ */
932
+ exitBlockStatement?: (ctx: BlockStatementContext) => void;
933
+ /**
934
+ * Enter a parse tree produced by `JavaParser.localVariableDeclaration`.
935
+ * @param ctx the parse tree
936
+ */
937
+ enterLocalVariableDeclaration?: (ctx: LocalVariableDeclarationContext) => void;
938
+ /**
939
+ * Exit a parse tree produced by `JavaParser.localVariableDeclaration`.
940
+ * @param ctx the parse tree
941
+ */
942
+ exitLocalVariableDeclaration?: (ctx: LocalVariableDeclarationContext) => void;
943
+ /**
944
+ * Enter a parse tree produced by `JavaParser.identifier`.
945
+ * @param ctx the parse tree
946
+ */
947
+ enterIdentifier?: (ctx: IdentifierContext) => void;
948
+ /**
949
+ * Exit a parse tree produced by `JavaParser.identifier`.
950
+ * @param ctx the parse tree
951
+ */
952
+ exitIdentifier?: (ctx: IdentifierContext) => void;
953
+ /**
954
+ * Enter a parse tree produced by `JavaParser.typeIdentifier`.
955
+ * @param ctx the parse tree
956
+ */
957
+ enterTypeIdentifier?: (ctx: TypeIdentifierContext) => void;
958
+ /**
959
+ * Exit a parse tree produced by `JavaParser.typeIdentifier`.
960
+ * @param ctx the parse tree
961
+ */
962
+ exitTypeIdentifier?: (ctx: TypeIdentifierContext) => void;
963
+ /**
964
+ * Enter a parse tree produced by `JavaParser.localTypeDeclaration`.
965
+ * @param ctx the parse tree
966
+ */
967
+ enterLocalTypeDeclaration?: (ctx: LocalTypeDeclarationContext) => void;
968
+ /**
969
+ * Exit a parse tree produced by `JavaParser.localTypeDeclaration`.
970
+ * @param ctx the parse tree
971
+ */
972
+ exitLocalTypeDeclaration?: (ctx: LocalTypeDeclarationContext) => void;
973
+ /**
974
+ * Enter a parse tree produced by `JavaParser.statement`.
975
+ * @param ctx the parse tree
976
+ */
977
+ enterStatement?: (ctx: StatementContext) => void;
978
+ /**
979
+ * Exit a parse tree produced by `JavaParser.statement`.
980
+ * @param ctx the parse tree
981
+ */
982
+ exitStatement?: (ctx: StatementContext) => void;
983
+ /**
984
+ * Enter a parse tree produced by `JavaParser.catchClause`.
985
+ * @param ctx the parse tree
986
+ */
987
+ enterCatchClause?: (ctx: CatchClauseContext) => void;
988
+ /**
989
+ * Exit a parse tree produced by `JavaParser.catchClause`.
990
+ * @param ctx the parse tree
991
+ */
992
+ exitCatchClause?: (ctx: CatchClauseContext) => void;
993
+ /**
994
+ * Enter a parse tree produced by `JavaParser.catchType`.
995
+ * @param ctx the parse tree
996
+ */
997
+ enterCatchType?: (ctx: CatchTypeContext) => void;
998
+ /**
999
+ * Exit a parse tree produced by `JavaParser.catchType`.
1000
+ * @param ctx the parse tree
1001
+ */
1002
+ exitCatchType?: (ctx: CatchTypeContext) => void;
1003
+ /**
1004
+ * Enter a parse tree produced by `JavaParser.finallyBlock`.
1005
+ * @param ctx the parse tree
1006
+ */
1007
+ enterFinallyBlock?: (ctx: FinallyBlockContext) => void;
1008
+ /**
1009
+ * Exit a parse tree produced by `JavaParser.finallyBlock`.
1010
+ * @param ctx the parse tree
1011
+ */
1012
+ exitFinallyBlock?: (ctx: FinallyBlockContext) => void;
1013
+ /**
1014
+ * Enter a parse tree produced by `JavaParser.resourceSpecification`.
1015
+ * @param ctx the parse tree
1016
+ */
1017
+ enterResourceSpecification?: (ctx: ResourceSpecificationContext) => void;
1018
+ /**
1019
+ * Exit a parse tree produced by `JavaParser.resourceSpecification`.
1020
+ * @param ctx the parse tree
1021
+ */
1022
+ exitResourceSpecification?: (ctx: ResourceSpecificationContext) => void;
1023
+ /**
1024
+ * Enter a parse tree produced by `JavaParser.resources`.
1025
+ * @param ctx the parse tree
1026
+ */
1027
+ enterResources?: (ctx: ResourcesContext) => void;
1028
+ /**
1029
+ * Exit a parse tree produced by `JavaParser.resources`.
1030
+ * @param ctx the parse tree
1031
+ */
1032
+ exitResources?: (ctx: ResourcesContext) => void;
1033
+ /**
1034
+ * Enter a parse tree produced by `JavaParser.resource`.
1035
+ * @param ctx the parse tree
1036
+ */
1037
+ enterResource?: (ctx: ResourceContext) => void;
1038
+ /**
1039
+ * Exit a parse tree produced by `JavaParser.resource`.
1040
+ * @param ctx the parse tree
1041
+ */
1042
+ exitResource?: (ctx: ResourceContext) => void;
1043
+ /**
1044
+ * Enter a parse tree produced by `JavaParser.switchBlockStatementGroup`.
1045
+ * @param ctx the parse tree
1046
+ */
1047
+ enterSwitchBlockStatementGroup?: (ctx: SwitchBlockStatementGroupContext) => void;
1048
+ /**
1049
+ * Exit a parse tree produced by `JavaParser.switchBlockStatementGroup`.
1050
+ * @param ctx the parse tree
1051
+ */
1052
+ exitSwitchBlockStatementGroup?: (ctx: SwitchBlockStatementGroupContext) => void;
1053
+ /**
1054
+ * Enter a parse tree produced by `JavaParser.switchLabel`.
1055
+ * @param ctx the parse tree
1056
+ */
1057
+ enterSwitchLabel?: (ctx: SwitchLabelContext) => void;
1058
+ /**
1059
+ * Exit a parse tree produced by `JavaParser.switchLabel`.
1060
+ * @param ctx the parse tree
1061
+ */
1062
+ exitSwitchLabel?: (ctx: SwitchLabelContext) => void;
1063
+ /**
1064
+ * Enter a parse tree produced by `JavaParser.forControl`.
1065
+ * @param ctx the parse tree
1066
+ */
1067
+ enterForControl?: (ctx: ForControlContext) => void;
1068
+ /**
1069
+ * Exit a parse tree produced by `JavaParser.forControl`.
1070
+ * @param ctx the parse tree
1071
+ */
1072
+ exitForControl?: (ctx: ForControlContext) => void;
1073
+ /**
1074
+ * Enter a parse tree produced by `JavaParser.forInit`.
1075
+ * @param ctx the parse tree
1076
+ */
1077
+ enterForInit?: (ctx: ForInitContext) => void;
1078
+ /**
1079
+ * Exit a parse tree produced by `JavaParser.forInit`.
1080
+ * @param ctx the parse tree
1081
+ */
1082
+ exitForInit?: (ctx: ForInitContext) => void;
1083
+ /**
1084
+ * Enter a parse tree produced by `JavaParser.enhancedForControl`.
1085
+ * @param ctx the parse tree
1086
+ */
1087
+ enterEnhancedForControl?: (ctx: EnhancedForControlContext) => void;
1088
+ /**
1089
+ * Exit a parse tree produced by `JavaParser.enhancedForControl`.
1090
+ * @param ctx the parse tree
1091
+ */
1092
+ exitEnhancedForControl?: (ctx: EnhancedForControlContext) => void;
1093
+ /**
1094
+ * Enter a parse tree produced by `JavaParser.parExpression`.
1095
+ * @param ctx the parse tree
1096
+ */
1097
+ enterParExpression?: (ctx: ParExpressionContext) => void;
1098
+ /**
1099
+ * Exit a parse tree produced by `JavaParser.parExpression`.
1100
+ * @param ctx the parse tree
1101
+ */
1102
+ exitParExpression?: (ctx: ParExpressionContext) => void;
1103
+ /**
1104
+ * Enter a parse tree produced by `JavaParser.expressionList`.
1105
+ * @param ctx the parse tree
1106
+ */
1107
+ enterExpressionList?: (ctx: ExpressionListContext) => void;
1108
+ /**
1109
+ * Exit a parse tree produced by `JavaParser.expressionList`.
1110
+ * @param ctx the parse tree
1111
+ */
1112
+ exitExpressionList?: (ctx: ExpressionListContext) => void;
1113
+ /**
1114
+ * Enter a parse tree produced by `JavaParser.methodCall`.
1115
+ * @param ctx the parse tree
1116
+ */
1117
+ enterMethodCall?: (ctx: MethodCallContext) => void;
1118
+ /**
1119
+ * Exit a parse tree produced by `JavaParser.methodCall`.
1120
+ * @param ctx the parse tree
1121
+ */
1122
+ exitMethodCall?: (ctx: MethodCallContext) => void;
1123
+ /**
1124
+ * Enter a parse tree produced by `JavaParser.expression`.
1125
+ * @param ctx the parse tree
1126
+ */
1127
+ enterExpression?: (ctx: ExpressionContext) => void;
1128
+ /**
1129
+ * Exit a parse tree produced by `JavaParser.expression`.
1130
+ * @param ctx the parse tree
1131
+ */
1132
+ exitExpression?: (ctx: ExpressionContext) => void;
1133
+ /**
1134
+ * Enter a parse tree produced by `JavaParser.pattern`.
1135
+ * @param ctx the parse tree
1136
+ */
1137
+ enterPattern?: (ctx: PatternContext) => void;
1138
+ /**
1139
+ * Exit a parse tree produced by `JavaParser.pattern`.
1140
+ * @param ctx the parse tree
1141
+ */
1142
+ exitPattern?: (ctx: PatternContext) => void;
1143
+ /**
1144
+ * Enter a parse tree produced by `JavaParser.lambdaExpression`.
1145
+ * @param ctx the parse tree
1146
+ */
1147
+ enterLambdaExpression?: (ctx: LambdaExpressionContext) => void;
1148
+ /**
1149
+ * Exit a parse tree produced by `JavaParser.lambdaExpression`.
1150
+ * @param ctx the parse tree
1151
+ */
1152
+ exitLambdaExpression?: (ctx: LambdaExpressionContext) => void;
1153
+ /**
1154
+ * Enter a parse tree produced by `JavaParser.lambdaParameters`.
1155
+ * @param ctx the parse tree
1156
+ */
1157
+ enterLambdaParameters?: (ctx: LambdaParametersContext) => void;
1158
+ /**
1159
+ * Exit a parse tree produced by `JavaParser.lambdaParameters`.
1160
+ * @param ctx the parse tree
1161
+ */
1162
+ exitLambdaParameters?: (ctx: LambdaParametersContext) => void;
1163
+ /**
1164
+ * Enter a parse tree produced by `JavaParser.lambdaBody`.
1165
+ * @param ctx the parse tree
1166
+ */
1167
+ enterLambdaBody?: (ctx: LambdaBodyContext) => void;
1168
+ /**
1169
+ * Exit a parse tree produced by `JavaParser.lambdaBody`.
1170
+ * @param ctx the parse tree
1171
+ */
1172
+ exitLambdaBody?: (ctx: LambdaBodyContext) => void;
1173
+ /**
1174
+ * Enter a parse tree produced by `JavaParser.primary`.
1175
+ * @param ctx the parse tree
1176
+ */
1177
+ enterPrimary?: (ctx: PrimaryContext) => void;
1178
+ /**
1179
+ * Exit a parse tree produced by `JavaParser.primary`.
1180
+ * @param ctx the parse tree
1181
+ */
1182
+ exitPrimary?: (ctx: PrimaryContext) => void;
1183
+ /**
1184
+ * Enter a parse tree produced by `JavaParser.switchExpression`.
1185
+ * @param ctx the parse tree
1186
+ */
1187
+ enterSwitchExpression?: (ctx: SwitchExpressionContext) => void;
1188
+ /**
1189
+ * Exit a parse tree produced by `JavaParser.switchExpression`.
1190
+ * @param ctx the parse tree
1191
+ */
1192
+ exitSwitchExpression?: (ctx: SwitchExpressionContext) => void;
1193
+ /**
1194
+ * Enter a parse tree produced by `JavaParser.switchLabeledRule`.
1195
+ * @param ctx the parse tree
1196
+ */
1197
+ enterSwitchLabeledRule?: (ctx: SwitchLabeledRuleContext) => void;
1198
+ /**
1199
+ * Exit a parse tree produced by `JavaParser.switchLabeledRule`.
1200
+ * @param ctx the parse tree
1201
+ */
1202
+ exitSwitchLabeledRule?: (ctx: SwitchLabeledRuleContext) => void;
1203
+ /**
1204
+ * Enter a parse tree produced by `JavaParser.guardedPattern`.
1205
+ * @param ctx the parse tree
1206
+ */
1207
+ enterGuardedPattern?: (ctx: GuardedPatternContext) => void;
1208
+ /**
1209
+ * Exit a parse tree produced by `JavaParser.guardedPattern`.
1210
+ * @param ctx the parse tree
1211
+ */
1212
+ exitGuardedPattern?: (ctx: GuardedPatternContext) => void;
1213
+ /**
1214
+ * Enter a parse tree produced by `JavaParser.switchRuleOutcome`.
1215
+ * @param ctx the parse tree
1216
+ */
1217
+ enterSwitchRuleOutcome?: (ctx: SwitchRuleOutcomeContext) => void;
1218
+ /**
1219
+ * Exit a parse tree produced by `JavaParser.switchRuleOutcome`.
1220
+ * @param ctx the parse tree
1221
+ */
1222
+ exitSwitchRuleOutcome?: (ctx: SwitchRuleOutcomeContext) => void;
1223
+ /**
1224
+ * Enter a parse tree produced by `JavaParser.classType`.
1225
+ * @param ctx the parse tree
1226
+ */
1227
+ enterClassType?: (ctx: ClassTypeContext) => void;
1228
+ /**
1229
+ * Exit a parse tree produced by `JavaParser.classType`.
1230
+ * @param ctx the parse tree
1231
+ */
1232
+ exitClassType?: (ctx: ClassTypeContext) => void;
1233
+ /**
1234
+ * Enter a parse tree produced by `JavaParser.creator`.
1235
+ * @param ctx the parse tree
1236
+ */
1237
+ enterCreator?: (ctx: CreatorContext) => void;
1238
+ /**
1239
+ * Exit a parse tree produced by `JavaParser.creator`.
1240
+ * @param ctx the parse tree
1241
+ */
1242
+ exitCreator?: (ctx: CreatorContext) => void;
1243
+ /**
1244
+ * Enter a parse tree produced by `JavaParser.createdName`.
1245
+ * @param ctx the parse tree
1246
+ */
1247
+ enterCreatedName?: (ctx: CreatedNameContext) => void;
1248
+ /**
1249
+ * Exit a parse tree produced by `JavaParser.createdName`.
1250
+ * @param ctx the parse tree
1251
+ */
1252
+ exitCreatedName?: (ctx: CreatedNameContext) => void;
1253
+ /**
1254
+ * Enter a parse tree produced by `JavaParser.innerCreator`.
1255
+ * @param ctx the parse tree
1256
+ */
1257
+ enterInnerCreator?: (ctx: InnerCreatorContext) => void;
1258
+ /**
1259
+ * Exit a parse tree produced by `JavaParser.innerCreator`.
1260
+ * @param ctx the parse tree
1261
+ */
1262
+ exitInnerCreator?: (ctx: InnerCreatorContext) => void;
1263
+ /**
1264
+ * Enter a parse tree produced by `JavaParser.arrayCreatorRest`.
1265
+ * @param ctx the parse tree
1266
+ */
1267
+ enterArrayCreatorRest?: (ctx: ArrayCreatorRestContext) => void;
1268
+ /**
1269
+ * Exit a parse tree produced by `JavaParser.arrayCreatorRest`.
1270
+ * @param ctx the parse tree
1271
+ */
1272
+ exitArrayCreatorRest?: (ctx: ArrayCreatorRestContext) => void;
1273
+ /**
1274
+ * Enter a parse tree produced by `JavaParser.classCreatorRest`.
1275
+ * @param ctx the parse tree
1276
+ */
1277
+ enterClassCreatorRest?: (ctx: ClassCreatorRestContext) => void;
1278
+ /**
1279
+ * Exit a parse tree produced by `JavaParser.classCreatorRest`.
1280
+ * @param ctx the parse tree
1281
+ */
1282
+ exitClassCreatorRest?: (ctx: ClassCreatorRestContext) => void;
1283
+ /**
1284
+ * Enter a parse tree produced by `JavaParser.explicitGenericInvocation`.
1285
+ * @param ctx the parse tree
1286
+ */
1287
+ enterExplicitGenericInvocation?: (ctx: ExplicitGenericInvocationContext) => void;
1288
+ /**
1289
+ * Exit a parse tree produced by `JavaParser.explicitGenericInvocation`.
1290
+ * @param ctx the parse tree
1291
+ */
1292
+ exitExplicitGenericInvocation?: (ctx: ExplicitGenericInvocationContext) => void;
1293
+ /**
1294
+ * Enter a parse tree produced by `JavaParser.typeArgumentsOrDiamond`.
1295
+ * @param ctx the parse tree
1296
+ */
1297
+ enterTypeArgumentsOrDiamond?: (ctx: TypeArgumentsOrDiamondContext) => void;
1298
+ /**
1299
+ * Exit a parse tree produced by `JavaParser.typeArgumentsOrDiamond`.
1300
+ * @param ctx the parse tree
1301
+ */
1302
+ exitTypeArgumentsOrDiamond?: (ctx: TypeArgumentsOrDiamondContext) => void;
1303
+ /**
1304
+ * Enter a parse tree produced by `JavaParser.nonWildcardTypeArgumentsOrDiamond`.
1305
+ * @param ctx the parse tree
1306
+ */
1307
+ enterNonWildcardTypeArgumentsOrDiamond?: (ctx: NonWildcardTypeArgumentsOrDiamondContext) => void;
1308
+ /**
1309
+ * Exit a parse tree produced by `JavaParser.nonWildcardTypeArgumentsOrDiamond`.
1310
+ * @param ctx the parse tree
1311
+ */
1312
+ exitNonWildcardTypeArgumentsOrDiamond?: (ctx: NonWildcardTypeArgumentsOrDiamondContext) => void;
1313
+ /**
1314
+ * Enter a parse tree produced by `JavaParser.nonWildcardTypeArguments`.
1315
+ * @param ctx the parse tree
1316
+ */
1317
+ enterNonWildcardTypeArguments?: (ctx: NonWildcardTypeArgumentsContext) => void;
1318
+ /**
1319
+ * Exit a parse tree produced by `JavaParser.nonWildcardTypeArguments`.
1320
+ * @param ctx the parse tree
1321
+ */
1322
+ exitNonWildcardTypeArguments?: (ctx: NonWildcardTypeArgumentsContext) => void;
1323
+ /**
1324
+ * Enter a parse tree produced by `JavaParser.typeList`.
1325
+ * @param ctx the parse tree
1326
+ */
1327
+ enterTypeList?: (ctx: TypeListContext) => void;
1328
+ /**
1329
+ * Exit a parse tree produced by `JavaParser.typeList`.
1330
+ * @param ctx the parse tree
1331
+ */
1332
+ exitTypeList?: (ctx: TypeListContext) => void;
1333
+ /**
1334
+ * Enter a parse tree produced by `JavaParser.typeType`.
1335
+ * @param ctx the parse tree
1336
+ */
1337
+ enterTypeType?: (ctx: TypeTypeContext) => void;
1338
+ /**
1339
+ * Exit a parse tree produced by `JavaParser.typeType`.
1340
+ * @param ctx the parse tree
1341
+ */
1342
+ exitTypeType?: (ctx: TypeTypeContext) => void;
1343
+ /**
1344
+ * Enter a parse tree produced by `JavaParser.primitiveType`.
1345
+ * @param ctx the parse tree
1346
+ */
1347
+ enterPrimitiveType?: (ctx: PrimitiveTypeContext) => void;
1348
+ /**
1349
+ * Exit a parse tree produced by `JavaParser.primitiveType`.
1350
+ * @param ctx the parse tree
1351
+ */
1352
+ exitPrimitiveType?: (ctx: PrimitiveTypeContext) => void;
1353
+ /**
1354
+ * Enter a parse tree produced by `JavaParser.typeArguments`.
1355
+ * @param ctx the parse tree
1356
+ */
1357
+ enterTypeArguments?: (ctx: TypeArgumentsContext) => void;
1358
+ /**
1359
+ * Exit a parse tree produced by `JavaParser.typeArguments`.
1360
+ * @param ctx the parse tree
1361
+ */
1362
+ exitTypeArguments?: (ctx: TypeArgumentsContext) => void;
1363
+ /**
1364
+ * Enter a parse tree produced by `JavaParser.superSuffix`.
1365
+ * @param ctx the parse tree
1366
+ */
1367
+ enterSuperSuffix?: (ctx: SuperSuffixContext) => void;
1368
+ /**
1369
+ * Exit a parse tree produced by `JavaParser.superSuffix`.
1370
+ * @param ctx the parse tree
1371
+ */
1372
+ exitSuperSuffix?: (ctx: SuperSuffixContext) => void;
1373
+ /**
1374
+ * Enter a parse tree produced by `JavaParser.explicitGenericInvocationSuffix`.
1375
+ * @param ctx the parse tree
1376
+ */
1377
+ enterExplicitGenericInvocationSuffix?: (ctx: ExplicitGenericInvocationSuffixContext) => void;
1378
+ /**
1379
+ * Exit a parse tree produced by `JavaParser.explicitGenericInvocationSuffix`.
1380
+ * @param ctx the parse tree
1381
+ */
1382
+ exitExplicitGenericInvocationSuffix?: (ctx: ExplicitGenericInvocationSuffixContext) => void;
1383
+ /**
1384
+ * Enter a parse tree produced by `JavaParser.arguments`.
1385
+ * @param ctx the parse tree
1386
+ */
1387
+ enterArguments?: (ctx: ArgumentsContext) => void;
1388
+ /**
1389
+ * Exit a parse tree produced by `JavaParser.arguments`.
1390
+ * @param ctx the parse tree
1391
+ */
1392
+ exitArguments?: (ctx: ArgumentsContext) => void;
1393
+ }