@@ -170,16 +170,7 @@ export abstract class JavaCstVisitor<IN, OUT> implements ICstVisitor<IN, OUT> {
170
170
ctx : CompactConstructorDeclarationCtx ,
171
171
param ?: IN
172
172
) : OUT ;
173
- isClassDeclaration ( ctx : IsClassDeclarationCtx , param ?: IN ) : OUT ;
174
- identifyClassBodyDeclarationType (
175
- ctx : IdentifyClassBodyDeclarationTypeCtx ,
176
- param ?: IN
177
- ) : OUT ;
178
173
isDims ( ctx : IsDimsCtx , param ?: IN ) : OUT ;
179
- isCompactConstructorDeclaration (
180
- ctx : IsCompactConstructorDeclarationCtx ,
181
- param ?: IN
182
- ) : OUT ;
183
174
compilationUnit ( ctx : CompilationUnitCtx , param ?: IN ) : OUT ;
184
175
ordinaryCompilationUnit ( ctx : OrdinaryCompilationUnitCtx , param ?: IN ) : OUT ;
185
176
modularCompilationUnit ( ctx : ModularCompilationUnitCtx , param ?: IN ) : OUT ;
@@ -195,7 +186,6 @@ export abstract class JavaCstVisitor<IN, OUT> implements ICstVisitor<IN, OUT> {
195
186
usesModuleDirective ( ctx : UsesModuleDirectiveCtx , param ?: IN ) : OUT ;
196
187
providesModuleDirective ( ctx : ProvidesModuleDirectiveCtx , param ?: IN ) : OUT ;
197
188
requiresModifier ( ctx : RequiresModifierCtx , param ?: IN ) : OUT ;
198
- isModuleCompilationUnit ( ctx : IsModuleCompilationUnitCtx , param ?: IN ) : OUT ;
199
189
interfaceDeclaration ( ctx : InterfaceDeclarationCtx , param ?: IN ) : OUT ;
200
190
normalInterfaceDeclaration (
201
191
ctx : NormalInterfaceDeclarationCtx ,
@@ -240,18 +230,6 @@ export abstract class JavaCstVisitor<IN, OUT> implements ICstVisitor<IN, OUT> {
240
230
param ?: IN
241
231
) : OUT ;
242
232
elementValueList ( ctx : ElementValueListCtx , param ?: IN ) : OUT ;
243
- identifyInterfaceBodyDeclarationType (
244
- ctx : IdentifyInterfaceBodyDeclarationTypeCtx ,
245
- param ?: IN
246
- ) : OUT ;
247
- identifyAnnotationBodyDeclarationType (
248
- ctx : IdentifyAnnotationBodyDeclarationTypeCtx ,
249
- param ?: IN
250
- ) : OUT ;
251
- isSimpleElementValueAnnotation (
252
- ctx : IsSimpleElementValueAnnotationCtx ,
253
- param ?: IN
254
- ) : OUT ;
255
233
arrayInitializer ( ctx : ArrayInitializerCtx , param ?: IN ) : OUT ;
256
234
variableInitializerList ( ctx : VariableInitializerListCtx , param ?: IN ) : OUT ;
257
235
block ( ctx : BlockCtx , param ?: IN ) : OUT ;
@@ -305,12 +283,6 @@ export abstract class JavaCstVisitor<IN, OUT> implements ICstVisitor<IN, OUT> {
305
283
resource ( ctx : ResourceCtx , param ?: IN ) : OUT ;
306
284
yieldStatement ( ctx : YieldStatementCtx , param ?: IN ) : OUT ;
307
285
variableAccess ( ctx : VariableAccessCtx , param ?: IN ) : OUT ;
308
- isBasicForStatement ( ctx : IsBasicForStatementCtx , param ?: IN ) : OUT ;
309
- isLocalVariableDeclaration (
310
- ctx : IsLocalVariableDeclarationCtx ,
311
- param ?: IN
312
- ) : OUT ;
313
- isClassicSwitchLabel ( ctx : IsClassicSwitchLabelCtx , param ?: IN ) : OUT ;
314
286
expression ( ctx : ExpressionCtx , param ?: IN ) : OUT ;
315
287
lambdaExpression ( ctx : LambdaExpressionCtx , param ?: IN ) : OUT ;
316
288
lambdaParameters ( ctx : LambdaParametersCtx , param ?: IN ) : OUT ;
@@ -386,14 +358,6 @@ export abstract class JavaCstVisitor<IN, OUT> implements ICstVisitor<IN, OUT> {
386
358
componentPattern ( ctx : ComponentPatternCtx , param ?: IN ) : OUT ;
387
359
unnamedPattern ( ctx : UnnamedPatternCtx , param ?: IN ) : OUT ;
388
360
guard ( ctx : GuardCtx , param ?: IN ) : OUT ;
389
- identifyNewExpressionType ( ctx : IdentifyNewExpressionTypeCtx , param ?: IN ) : OUT ;
390
- isLambdaExpression ( ctx : IsLambdaExpressionCtx , param ?: IN ) : OUT ;
391
- isCastExpression ( ctx : IsCastExpressionCtx , param ?: IN ) : OUT ;
392
- isPrimitiveCastExpression ( ctx : IsPrimitiveCastExpressionCtx , param ?: IN ) : OUT ;
393
- isReferenceTypeCastExpression (
394
- ctx : IsReferenceTypeCastExpressionCtx ,
395
- param ?: IN
396
- ) : OUT ;
397
361
isRefTypeInMethodRef ( ctx : IsRefTypeInMethodRefCtx , param ?: IN ) : OUT ;
398
362
}
399
363
@@ -527,16 +491,7 @@ export abstract class JavaCstVisitorWithDefaults<IN, OUT>
527
491
ctx : CompactConstructorDeclarationCtx ,
528
492
param ?: IN
529
493
) : OUT ;
530
- isClassDeclaration ( ctx : IsClassDeclarationCtx , param ?: IN ) : OUT ;
531
- identifyClassBodyDeclarationType (
532
- ctx : IdentifyClassBodyDeclarationTypeCtx ,
533
- param ?: IN
534
- ) : OUT ;
535
494
isDims ( ctx : IsDimsCtx , param ?: IN ) : OUT ;
536
- isCompactConstructorDeclaration (
537
- ctx : IsCompactConstructorDeclarationCtx ,
538
- param ?: IN
539
- ) : OUT ;
540
495
compilationUnit ( ctx : CompilationUnitCtx , param ?: IN ) : OUT ;
541
496
ordinaryCompilationUnit ( ctx : OrdinaryCompilationUnitCtx , param ?: IN ) : OUT ;
542
497
modularCompilationUnit ( ctx : ModularCompilationUnitCtx , param ?: IN ) : OUT ;
@@ -552,7 +507,6 @@ export abstract class JavaCstVisitorWithDefaults<IN, OUT>
552
507
usesModuleDirective ( ctx : UsesModuleDirectiveCtx , param ?: IN ) : OUT ;
553
508
providesModuleDirective ( ctx : ProvidesModuleDirectiveCtx , param ?: IN ) : OUT ;
554
509
requiresModifier ( ctx : RequiresModifierCtx , param ?: IN ) : OUT ;
555
- isModuleCompilationUnit ( ctx : IsModuleCompilationUnitCtx , param ?: IN ) : OUT ;
556
510
interfaceDeclaration ( ctx : InterfaceDeclarationCtx , param ?: IN ) : OUT ;
557
511
normalInterfaceDeclaration (
558
512
ctx : NormalInterfaceDeclarationCtx ,
@@ -597,18 +551,6 @@ export abstract class JavaCstVisitorWithDefaults<IN, OUT>
597
551
param ?: IN
598
552
) : OUT ;
599
553
elementValueList ( ctx : ElementValueListCtx , param ?: IN ) : OUT ;
600
- identifyInterfaceBodyDeclarationType (
601
- ctx : IdentifyInterfaceBodyDeclarationTypeCtx ,
602
- param ?: IN
603
- ) : OUT ;
604
- identifyAnnotationBodyDeclarationType (
605
- ctx : IdentifyAnnotationBodyDeclarationTypeCtx ,
606
- param ?: IN
607
- ) : OUT ;
608
- isSimpleElementValueAnnotation (
609
- ctx : IsSimpleElementValueAnnotationCtx ,
610
- param ?: IN
611
- ) : OUT ;
612
554
arrayInitializer ( ctx : ArrayInitializerCtx , param ?: IN ) : OUT ;
613
555
variableInitializerList ( ctx : VariableInitializerListCtx , param ?: IN ) : OUT ;
614
556
block ( ctx : BlockCtx , param ?: IN ) : OUT ;
@@ -662,12 +604,6 @@ export abstract class JavaCstVisitorWithDefaults<IN, OUT>
662
604
resource ( ctx : ResourceCtx , param ?: IN ) : OUT ;
663
605
yieldStatement ( ctx : YieldStatementCtx , param ?: IN ) : OUT ;
664
606
variableAccess ( ctx : VariableAccessCtx , param ?: IN ) : OUT ;
665
- isBasicForStatement ( ctx : IsBasicForStatementCtx , param ?: IN ) : OUT ;
666
- isLocalVariableDeclaration (
667
- ctx : IsLocalVariableDeclarationCtx ,
668
- param ?: IN
669
- ) : OUT ;
670
- isClassicSwitchLabel ( ctx : IsClassicSwitchLabelCtx , param ?: IN ) : OUT ;
671
607
expression ( ctx : ExpressionCtx , param ?: IN ) : OUT ;
672
608
lambdaExpression ( ctx : LambdaExpressionCtx , param ?: IN ) : OUT ;
673
609
lambdaParameters ( ctx : LambdaParametersCtx , param ?: IN ) : OUT ;
@@ -743,14 +679,6 @@ export abstract class JavaCstVisitorWithDefaults<IN, OUT>
743
679
componentPattern ( ctx : ComponentPatternCtx , param ?: IN ) : OUT ;
744
680
unnamedPattern ( ctx : UnnamedPatternCtx , param ?: IN ) : OUT ;
745
681
guard ( ctx : GuardCtx , param ?: IN ) : OUT ;
746
- identifyNewExpressionType ( ctx : IdentifyNewExpressionTypeCtx , param ?: IN ) : OUT ;
747
- isLambdaExpression ( ctx : IsLambdaExpressionCtx , param ?: IN ) : OUT ;
748
- isCastExpression ( ctx : IsCastExpressionCtx , param ?: IN ) : OUT ;
749
- isPrimitiveCastExpression ( ctx : IsPrimitiveCastExpressionCtx , param ?: IN ) : OUT ;
750
- isReferenceTypeCastExpression (
751
- ctx : IsReferenceTypeCastExpressionCtx ,
752
- param ?: IN
753
- ) : OUT ;
754
682
isRefTypeInMethodRef ( ctx : IsRefTypeInMethodRefCtx , param ?: IN ) : OUT ;
755
683
}
756
684
@@ -1836,39 +1764,6 @@ export type CompactConstructorDeclarationCtx = {
1836
1764
constructorBody : ConstructorBodyCstNode [ ] ;
1837
1765
} ;
1838
1766
1839
- export interface IsClassDeclarationCstNode extends CstNode {
1840
- name : "isClassDeclaration" ;
1841
- children : IsClassDeclarationCtx ;
1842
- }
1843
-
1844
- export type IsClassDeclarationCtx = {
1845
- Semicolon ?: IToken [ ] ;
1846
- classModifier ?: ClassModifierCstNode [ ] ;
1847
- } ;
1848
-
1849
- export interface IdentifyClassBodyDeclarationTypeCstNode extends CstNode {
1850
- name : "identifyClassBodyDeclarationType" ;
1851
- children : IdentifyClassBodyDeclarationTypeCtx ;
1852
- }
1853
-
1854
- export type IdentifyClassBodyDeclarationTypeCtx = {
1855
- annotation ?: AnnotationCstNode [ ] ;
1856
- Public ?: IToken [ ] ;
1857
- Protected ?: IToken [ ] ;
1858
- Private ?: IToken [ ] ;
1859
- Abstract ?: IToken [ ] ;
1860
- Static ?: IToken [ ] ;
1861
- Final ?: IToken [ ] ;
1862
- Transient ?: IToken [ ] ;
1863
- Volatile ?: IToken [ ] ;
1864
- Synchronized ?: IToken [ ] ;
1865
- Native ?: IToken [ ] ;
1866
- Sealed ?: IToken [ ] ;
1867
- NonSealed ?: IToken [ ] ;
1868
- Strictfp ?: IToken [ ] ;
1869
- unannType : UnannTypeCstNode [ ] ;
1870
- } ;
1871
-
1872
1767
export interface IsDimsCstNode extends CstNode {
1873
1768
name : "isDims" ;
1874
1769
children : IsDimsCtx ;
@@ -1883,20 +1778,6 @@ export type IsDimsCtx = {
1883
1778
RBrace ?: IToken [ ] ;
1884
1779
} ;
1885
1780
1886
- export interface IsCompactConstructorDeclarationCstNode extends CstNode {
1887
- name : "isCompactConstructorDeclaration" ;
1888
- children : IsCompactConstructorDeclarationCtx ;
1889
- }
1890
-
1891
- export type IsCompactConstructorDeclarationCtx = {
1892
- annotation ?: AnnotationCstNode [ ] ;
1893
- Public ?: IToken [ ] ;
1894
- Protected ?: IToken [ ] ;
1895
- Private ?: IToken [ ] ;
1896
- simpleTypeName : SimpleTypeNameCstNode [ ] ;
1897
- LCurly : IToken [ ] ;
1898
- } ;
1899
-
1900
1781
export interface CompilationUnitCstNode extends CstNode {
1901
1782
name : "compilationUnit" ;
1902
1783
children : CompilationUnitCtx ;
@@ -2090,17 +1971,6 @@ export type RequiresModifierCtx = {
2090
1971
Static ?: IToken [ ] ;
2091
1972
} ;
2092
1973
2093
- export interface IsModuleCompilationUnitCstNode extends CstNode {
2094
- name : "isModuleCompilationUnit" ;
2095
- children : IsModuleCompilationUnitCtx ;
2096
- }
2097
-
2098
- export type IsModuleCompilationUnitCtx = {
2099
- packageDeclaration ?: PackageDeclarationCstNode [ ] ;
2100
- importDeclaration ?: ImportDeclarationCstNode [ ] ;
2101
- annotation ?: AnnotationCstNode [ ] ;
2102
- } ;
2103
-
2104
1974
export interface InterfaceDeclarationCstNode extends CstNode {
2105
1975
name : "interfaceDeclaration" ;
2106
1976
children : InterfaceDeclarationCtx ;
@@ -2379,52 +2249,6 @@ export type ElementValueListCtx = {
2379
2249
Comma ?: IToken [ ] ;
2380
2250
} ;
2381
2251
2382
- export interface IdentifyInterfaceBodyDeclarationTypeCstNode extends CstNode {
2383
- name : "identifyInterfaceBodyDeclarationType" ;
2384
- children : IdentifyInterfaceBodyDeclarationTypeCtx ;
2385
- }
2386
-
2387
- export type IdentifyInterfaceBodyDeclarationTypeCtx = {
2388
- annotation ?: AnnotationCstNode [ ] ;
2389
- Public ?: IToken [ ] ;
2390
- Protected ?: IToken [ ] ;
2391
- Private ?: IToken [ ] ;
2392
- Abstract ?: IToken [ ] ;
2393
- Static ?: IToken [ ] ;
2394
- Sealed ?: IToken [ ] ;
2395
- NonSealed ?: IToken [ ] ;
2396
- Strictfp ?: IToken [ ] ;
2397
- Final ?: IToken [ ] ;
2398
- Default ?: IToken [ ] ;
2399
- unannType : UnannTypeCstNode [ ] ;
2400
- } ;
2401
-
2402
- export interface IdentifyAnnotationBodyDeclarationTypeCstNode extends CstNode {
2403
- name : "identifyAnnotationBodyDeclarationType" ;
2404
- children : IdentifyAnnotationBodyDeclarationTypeCtx ;
2405
- }
2406
-
2407
- export type IdentifyAnnotationBodyDeclarationTypeCtx = {
2408
- annotation ?: AnnotationCstNode [ ] ;
2409
- Public ?: IToken [ ] ;
2410
- Protected ?: IToken [ ] ;
2411
- Private ?: IToken [ ] ;
2412
- Abstract ?: IToken [ ] ;
2413
- Static ?: IToken [ ] ;
2414
- Final ?: IToken [ ] ;
2415
- Strictfp ?: IToken [ ] ;
2416
- unannType : UnannTypeCstNode [ ] ;
2417
- } ;
2418
-
2419
- export interface IsSimpleElementValueAnnotationCstNode extends CstNode {
2420
- name : "isSimpleElementValueAnnotation" ;
2421
- children : IsSimpleElementValueAnnotationCtx ;
2422
- }
2423
-
2424
- export type IsSimpleElementValueAnnotationCtx = {
2425
- annotation : AnnotationCstNode [ ] ;
2426
- } ;
2427
-
2428
2252
export interface ArrayInitializerCstNode extends CstNode {
2429
2253
name : "arrayInitializer" ;
2430
2254
children : ArrayInitializerCtx ;
@@ -2972,39 +2796,6 @@ export type VariableAccessCtx = {
2972
2796
primary : PrimaryCstNode [ ] ;
2973
2797
} ;
2974
2798
2975
- export interface IsBasicForStatementCstNode extends CstNode {
2976
- name : "isBasicForStatement" ;
2977
- children : IsBasicForStatementCtx ;
2978
- }
2979
-
2980
- export type IsBasicForStatementCtx = {
2981
- For : IToken [ ] ;
2982
- LBrace : IToken [ ] ;
2983
- forInit ?: ForInitCstNode [ ] ;
2984
- Semicolon : IToken [ ] ;
2985
- } ;
2986
-
2987
- export interface IsLocalVariableDeclarationCstNode extends CstNode {
2988
- name : "isLocalVariableDeclaration" ;
2989
- children : IsLocalVariableDeclarationCtx ;
2990
- }
2991
-
2992
- export type IsLocalVariableDeclarationCtx = {
2993
- variableModifier ?: VariableModifierCstNode [ ] ;
2994
- localVariableType : LocalVariableTypeCstNode [ ] ;
2995
- variableDeclaratorId : VariableDeclaratorIdCstNode [ ] ;
2996
- } ;
2997
-
2998
- export interface IsClassicSwitchLabelCstNode extends CstNode {
2999
- name : "isClassicSwitchLabel" ;
3000
- children : IsClassicSwitchLabelCtx ;
3001
- }
3002
-
3003
- export type IsClassicSwitchLabelCtx = {
3004
- switchLabel : SwitchLabelCstNode [ ] ;
3005
- Colon : IToken [ ] ;
3006
- } ;
3007
-
3008
2799
export interface ExpressionCstNode extends CstNode {
3009
2800
name : "expression" ;
3010
2801
children : ExpressionCtx ;
@@ -3543,53 +3334,6 @@ export type GuardCtx = {
3543
3334
expression : ExpressionCstNode [ ] ;
3544
3335
} ;
3545
3336
3546
- export interface IdentifyNewExpressionTypeCstNode extends CstNode {
3547
- name : "identifyNewExpressionType" ;
3548
- children : IdentifyNewExpressionTypeCtx ;
3549
- }
3550
-
3551
- export type IdentifyNewExpressionTypeCtx = {
3552
- New : IToken [ ] ;
3553
- classOrInterfaceTypeToInstantiate : ClassOrInterfaceTypeToInstantiateCstNode [ ] ;
3554
- } ;
3555
-
3556
- export interface IsLambdaExpressionCstNode extends CstNode {
3557
- name : "isLambdaExpression" ;
3558
- children : IsLambdaExpressionCtx ;
3559
- }
3560
-
3561
- export type IsLambdaExpressionCtx = { } ;
3562
-
3563
- export interface IsCastExpressionCstNode extends CstNode {
3564
- name : "isCastExpression" ;
3565
- children : IsCastExpressionCtx ;
3566
- }
3567
-
3568
- export type IsCastExpressionCtx = { } ;
3569
-
3570
- export interface IsPrimitiveCastExpressionCstNode extends CstNode {
3571
- name : "isPrimitiveCastExpression" ;
3572
- children : IsPrimitiveCastExpressionCtx ;
3573
- }
3574
-
3575
- export type IsPrimitiveCastExpressionCtx = {
3576
- LBrace : IToken [ ] ;
3577
- primitiveType : PrimitiveTypeCstNode [ ] ;
3578
- RBrace : IToken [ ] ;
3579
- } ;
3580
-
3581
- export interface IsReferenceTypeCastExpressionCstNode extends CstNode {
3582
- name : "isReferenceTypeCastExpression" ;
3583
- children : IsReferenceTypeCastExpressionCtx ;
3584
- }
3585
-
3586
- export type IsReferenceTypeCastExpressionCtx = {
3587
- LBrace : IToken [ ] ;
3588
- referenceType : ReferenceTypeCstNode [ ] ;
3589
- additionalBound ?: AdditionalBoundCstNode [ ] ;
3590
- RBrace : IToken [ ] ;
3591
- } ;
3592
-
3593
3337
export interface IsRefTypeInMethodRefCstNode extends CstNode {
3594
3338
name : "isRefTypeInMethodRef" ;
3595
3339
children : IsRefTypeInMethodRefCtx ;
0 commit comments