forked from natural/java2python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJavaParserListener.py
More file actions
955 lines (638 loc) · 32.7 KB
/
JavaParserListener.py
File metadata and controls
955 lines (638 loc) · 32.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
# Generated from JavaParser.g4 by ANTLR 4.7.2
from antlr4 import *
if __name__ is not None and "." in __name__:
from .JavaParser import JavaParser
else:
from JavaParser import JavaParser
# This class defines a complete listener for a parse tree produced by JavaParser.
class JavaParserListener(ParseTreeListener):
# Enter a parse tree produced by JavaParser#compilationUnit.
def enterCompilationUnit(self, ctx:JavaParser.CompilationUnitContext):
pass
# Exit a parse tree produced by JavaParser#compilationUnit.
def exitCompilationUnit(self, ctx:JavaParser.CompilationUnitContext):
pass
# Enter a parse tree produced by JavaParser#packageDeclaration.
def enterPackageDeclaration(self, ctx:JavaParser.PackageDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#packageDeclaration.
def exitPackageDeclaration(self, ctx:JavaParser.PackageDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#importDeclaration.
def enterImportDeclaration(self, ctx:JavaParser.ImportDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#importDeclaration.
def exitImportDeclaration(self, ctx:JavaParser.ImportDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#typeDeclaration.
def enterTypeDeclaration(self, ctx:JavaParser.TypeDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#typeDeclaration.
def exitTypeDeclaration(self, ctx:JavaParser.TypeDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#modifier.
def enterModifier(self, ctx:JavaParser.ModifierContext):
pass
# Exit a parse tree produced by JavaParser#modifier.
def exitModifier(self, ctx:JavaParser.ModifierContext):
pass
# Enter a parse tree produced by JavaParser#classOrInterfaceModifier.
def enterClassOrInterfaceModifier(self, ctx:JavaParser.ClassOrInterfaceModifierContext):
pass
# Exit a parse tree produced by JavaParser#classOrInterfaceModifier.
def exitClassOrInterfaceModifier(self, ctx:JavaParser.ClassOrInterfaceModifierContext):
pass
# Enter a parse tree produced by JavaParser#variableModifier.
def enterVariableModifier(self, ctx:JavaParser.VariableModifierContext):
pass
# Exit a parse tree produced by JavaParser#variableModifier.
def exitVariableModifier(self, ctx:JavaParser.VariableModifierContext):
pass
# Enter a parse tree produced by JavaParser#classDeclaration.
def enterClassDeclaration(self, ctx:JavaParser.ClassDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#classDeclaration.
def exitClassDeclaration(self, ctx:JavaParser.ClassDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#typeParameters.
def enterTypeParameters(self, ctx:JavaParser.TypeParametersContext):
pass
# Exit a parse tree produced by JavaParser#typeParameters.
def exitTypeParameters(self, ctx:JavaParser.TypeParametersContext):
pass
# Enter a parse tree produced by JavaParser#typeParameter.
def enterTypeParameter(self, ctx:JavaParser.TypeParameterContext):
pass
# Exit a parse tree produced by JavaParser#typeParameter.
def exitTypeParameter(self, ctx:JavaParser.TypeParameterContext):
pass
# Enter a parse tree produced by JavaParser#typeBound.
def enterTypeBound(self, ctx:JavaParser.TypeBoundContext):
pass
# Exit a parse tree produced by JavaParser#typeBound.
def exitTypeBound(self, ctx:JavaParser.TypeBoundContext):
pass
# Enter a parse tree produced by JavaParser#enumDeclaration.
def enterEnumDeclaration(self, ctx:JavaParser.EnumDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#enumDeclaration.
def exitEnumDeclaration(self, ctx:JavaParser.EnumDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#enumConstants.
def enterEnumConstants(self, ctx:JavaParser.EnumConstantsContext):
pass
# Exit a parse tree produced by JavaParser#enumConstants.
def exitEnumConstants(self, ctx:JavaParser.EnumConstantsContext):
pass
# Enter a parse tree produced by JavaParser#enumConstant.
def enterEnumConstant(self, ctx:JavaParser.EnumConstantContext):
pass
# Exit a parse tree produced by JavaParser#enumConstant.
def exitEnumConstant(self, ctx:JavaParser.EnumConstantContext):
pass
# Enter a parse tree produced by JavaParser#enumBodyDeclarations.
def enterEnumBodyDeclarations(self, ctx:JavaParser.EnumBodyDeclarationsContext):
pass
# Exit a parse tree produced by JavaParser#enumBodyDeclarations.
def exitEnumBodyDeclarations(self, ctx:JavaParser.EnumBodyDeclarationsContext):
pass
# Enter a parse tree produced by JavaParser#interfaceDeclaration.
def enterInterfaceDeclaration(self, ctx:JavaParser.InterfaceDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#interfaceDeclaration.
def exitInterfaceDeclaration(self, ctx:JavaParser.InterfaceDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#classBody.
def enterClassBody(self, ctx:JavaParser.ClassBodyContext):
pass
# Exit a parse tree produced by JavaParser#classBody.
def exitClassBody(self, ctx:JavaParser.ClassBodyContext):
pass
# Enter a parse tree produced by JavaParser#interfaceBody.
def enterInterfaceBody(self, ctx:JavaParser.InterfaceBodyContext):
pass
# Exit a parse tree produced by JavaParser#interfaceBody.
def exitInterfaceBody(self, ctx:JavaParser.InterfaceBodyContext):
pass
# Enter a parse tree produced by JavaParser#classBodyDeclaration.
def enterClassBodyDeclaration(self, ctx:JavaParser.ClassBodyDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#classBodyDeclaration.
def exitClassBodyDeclaration(self, ctx:JavaParser.ClassBodyDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#memberDeclaration.
def enterMemberDeclaration(self, ctx:JavaParser.MemberDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#memberDeclaration.
def exitMemberDeclaration(self, ctx:JavaParser.MemberDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#methodDeclaration.
def enterMethodDeclaration(self, ctx:JavaParser.MethodDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#methodDeclaration.
def exitMethodDeclaration(self, ctx:JavaParser.MethodDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#methodBody.
def enterMethodBody(self, ctx:JavaParser.MethodBodyContext):
pass
# Exit a parse tree produced by JavaParser#methodBody.
def exitMethodBody(self, ctx:JavaParser.MethodBodyContext):
pass
# Enter a parse tree produced by JavaParser#typeTypeOrVoid.
def enterTypeTypeOrVoid(self, ctx:JavaParser.TypeTypeOrVoidContext):
pass
# Exit a parse tree produced by JavaParser#typeTypeOrVoid.
def exitTypeTypeOrVoid(self, ctx:JavaParser.TypeTypeOrVoidContext):
pass
# Enter a parse tree produced by JavaParser#genericMethodDeclaration.
def enterGenericMethodDeclaration(self, ctx:JavaParser.GenericMethodDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#genericMethodDeclaration.
def exitGenericMethodDeclaration(self, ctx:JavaParser.GenericMethodDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#genericConstructorDeclaration.
def enterGenericConstructorDeclaration(self, ctx:JavaParser.GenericConstructorDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#genericConstructorDeclaration.
def exitGenericConstructorDeclaration(self, ctx:JavaParser.GenericConstructorDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#constructorDeclaration.
def enterConstructorDeclaration(self, ctx:JavaParser.ConstructorDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#constructorDeclaration.
def exitConstructorDeclaration(self, ctx:JavaParser.ConstructorDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#fieldDeclaration.
def enterFieldDeclaration(self, ctx:JavaParser.FieldDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#fieldDeclaration.
def exitFieldDeclaration(self, ctx:JavaParser.FieldDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#interfaceBodyDeclaration.
def enterInterfaceBodyDeclaration(self, ctx:JavaParser.InterfaceBodyDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#interfaceBodyDeclaration.
def exitInterfaceBodyDeclaration(self, ctx:JavaParser.InterfaceBodyDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#interfaceMemberDeclaration.
def enterInterfaceMemberDeclaration(self, ctx:JavaParser.InterfaceMemberDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#interfaceMemberDeclaration.
def exitInterfaceMemberDeclaration(self, ctx:JavaParser.InterfaceMemberDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#constDeclaration.
def enterConstDeclaration(self, ctx:JavaParser.ConstDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#constDeclaration.
def exitConstDeclaration(self, ctx:JavaParser.ConstDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#constantDeclarator.
def enterConstantDeclarator(self, ctx:JavaParser.ConstantDeclaratorContext):
pass
# Exit a parse tree produced by JavaParser#constantDeclarator.
def exitConstantDeclarator(self, ctx:JavaParser.ConstantDeclaratorContext):
pass
# Enter a parse tree produced by JavaParser#interfaceMethodDeclaration.
def enterInterfaceMethodDeclaration(self, ctx:JavaParser.InterfaceMethodDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#interfaceMethodDeclaration.
def exitInterfaceMethodDeclaration(self, ctx:JavaParser.InterfaceMethodDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#interfaceMethodModifier.
def enterInterfaceMethodModifier(self, ctx:JavaParser.InterfaceMethodModifierContext):
pass
# Exit a parse tree produced by JavaParser#interfaceMethodModifier.
def exitInterfaceMethodModifier(self, ctx:JavaParser.InterfaceMethodModifierContext):
pass
# Enter a parse tree produced by JavaParser#genericInterfaceMethodDeclaration.
def enterGenericInterfaceMethodDeclaration(self, ctx:JavaParser.GenericInterfaceMethodDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#genericInterfaceMethodDeclaration.
def exitGenericInterfaceMethodDeclaration(self, ctx:JavaParser.GenericInterfaceMethodDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#variableDeclarators.
def enterVariableDeclarators(self, ctx:JavaParser.VariableDeclaratorsContext):
pass
# Exit a parse tree produced by JavaParser#variableDeclarators.
def exitVariableDeclarators(self, ctx:JavaParser.VariableDeclaratorsContext):
pass
# Enter a parse tree produced by JavaParser#variableDeclarator.
def enterVariableDeclarator(self, ctx:JavaParser.VariableDeclaratorContext):
pass
# Exit a parse tree produced by JavaParser#variableDeclarator.
def exitVariableDeclarator(self, ctx:JavaParser.VariableDeclaratorContext):
pass
# Enter a parse tree produced by JavaParser#variableDeclaratorId.
def enterVariableDeclaratorId(self, ctx:JavaParser.VariableDeclaratorIdContext):
pass
# Exit a parse tree produced by JavaParser#variableDeclaratorId.
def exitVariableDeclaratorId(self, ctx:JavaParser.VariableDeclaratorIdContext):
pass
# Enter a parse tree produced by JavaParser#variableInitializer.
def enterVariableInitializer(self, ctx:JavaParser.VariableInitializerContext):
pass
# Exit a parse tree produced by JavaParser#variableInitializer.
def exitVariableInitializer(self, ctx:JavaParser.VariableInitializerContext):
pass
# Enter a parse tree produced by JavaParser#arrayInitializer.
def enterArrayInitializer(self, ctx:JavaParser.ArrayInitializerContext):
pass
# Exit a parse tree produced by JavaParser#arrayInitializer.
def exitArrayInitializer(self, ctx:JavaParser.ArrayInitializerContext):
pass
# Enter a parse tree produced by JavaParser#classOrInterfaceType.
def enterClassOrInterfaceType(self, ctx:JavaParser.ClassOrInterfaceTypeContext):
pass
# Exit a parse tree produced by JavaParser#classOrInterfaceType.
def exitClassOrInterfaceType(self, ctx:JavaParser.ClassOrInterfaceTypeContext):
pass
# Enter a parse tree produced by JavaParser#typeArgument.
def enterTypeArgument(self, ctx:JavaParser.TypeArgumentContext):
pass
# Exit a parse tree produced by JavaParser#typeArgument.
def exitTypeArgument(self, ctx:JavaParser.TypeArgumentContext):
pass
# Enter a parse tree produced by JavaParser#qualifiedNameList.
def enterQualifiedNameList(self, ctx:JavaParser.QualifiedNameListContext):
pass
# Exit a parse tree produced by JavaParser#qualifiedNameList.
def exitQualifiedNameList(self, ctx:JavaParser.QualifiedNameListContext):
pass
# Enter a parse tree produced by JavaParser#formalParameters.
def enterFormalParameters(self, ctx:JavaParser.FormalParametersContext):
pass
# Exit a parse tree produced by JavaParser#formalParameters.
def exitFormalParameters(self, ctx:JavaParser.FormalParametersContext):
pass
# Enter a parse tree produced by JavaParser#formalParameterList.
def enterFormalParameterList(self, ctx:JavaParser.FormalParameterListContext):
pass
# Exit a parse tree produced by JavaParser#formalParameterList.
def exitFormalParameterList(self, ctx:JavaParser.FormalParameterListContext):
pass
# Enter a parse tree produced by JavaParser#formalParameter.
def enterFormalParameter(self, ctx:JavaParser.FormalParameterContext):
pass
# Exit a parse tree produced by JavaParser#formalParameter.
def exitFormalParameter(self, ctx:JavaParser.FormalParameterContext):
pass
# Enter a parse tree produced by JavaParser#lastFormalParameter.
def enterLastFormalParameter(self, ctx:JavaParser.LastFormalParameterContext):
pass
# Exit a parse tree produced by JavaParser#lastFormalParameter.
def exitLastFormalParameter(self, ctx:JavaParser.LastFormalParameterContext):
pass
# Enter a parse tree produced by JavaParser#qualifiedName.
def enterQualifiedName(self, ctx:JavaParser.QualifiedNameContext):
pass
# Exit a parse tree produced by JavaParser#qualifiedName.
def exitQualifiedName(self, ctx:JavaParser.QualifiedNameContext):
pass
# Enter a parse tree produced by JavaParser#literal.
def enterLiteral(self, ctx:JavaParser.LiteralContext):
pass
# Exit a parse tree produced by JavaParser#literal.
def exitLiteral(self, ctx:JavaParser.LiteralContext):
pass
# Enter a parse tree produced by JavaParser#integerLiteral.
def enterIntegerLiteral(self, ctx:JavaParser.IntegerLiteralContext):
pass
# Exit a parse tree produced by JavaParser#integerLiteral.
def exitIntegerLiteral(self, ctx:JavaParser.IntegerLiteralContext):
pass
# Enter a parse tree produced by JavaParser#floatLiteral.
def enterFloatLiteral(self, ctx:JavaParser.FloatLiteralContext):
pass
# Exit a parse tree produced by JavaParser#floatLiteral.
def exitFloatLiteral(self, ctx:JavaParser.FloatLiteralContext):
pass
# Enter a parse tree produced by JavaParser#altAnnotationQualifiedName.
def enterAltAnnotationQualifiedName(self, ctx:JavaParser.AltAnnotationQualifiedNameContext):
pass
# Exit a parse tree produced by JavaParser#altAnnotationQualifiedName.
def exitAltAnnotationQualifiedName(self, ctx:JavaParser.AltAnnotationQualifiedNameContext):
pass
# Enter a parse tree produced by JavaParser#annotation.
def enterAnnotation(self, ctx:JavaParser.AnnotationContext):
pass
# Exit a parse tree produced by JavaParser#annotation.
def exitAnnotation(self, ctx:JavaParser.AnnotationContext):
pass
# Enter a parse tree produced by JavaParser#elementValuePairs.
def enterElementValuePairs(self, ctx:JavaParser.ElementValuePairsContext):
pass
# Exit a parse tree produced by JavaParser#elementValuePairs.
def exitElementValuePairs(self, ctx:JavaParser.ElementValuePairsContext):
pass
# Enter a parse tree produced by JavaParser#elementValuePair.
def enterElementValuePair(self, ctx:JavaParser.ElementValuePairContext):
pass
# Exit a parse tree produced by JavaParser#elementValuePair.
def exitElementValuePair(self, ctx:JavaParser.ElementValuePairContext):
pass
# Enter a parse tree produced by JavaParser#elementValue.
def enterElementValue(self, ctx:JavaParser.ElementValueContext):
pass
# Exit a parse tree produced by JavaParser#elementValue.
def exitElementValue(self, ctx:JavaParser.ElementValueContext):
pass
# Enter a parse tree produced by JavaParser#elementValueArrayInitializer.
def enterElementValueArrayInitializer(self, ctx:JavaParser.ElementValueArrayInitializerContext):
pass
# Exit a parse tree produced by JavaParser#elementValueArrayInitializer.
def exitElementValueArrayInitializer(self, ctx:JavaParser.ElementValueArrayInitializerContext):
pass
# Enter a parse tree produced by JavaParser#annotationTypeDeclaration.
def enterAnnotationTypeDeclaration(self, ctx:JavaParser.AnnotationTypeDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#annotationTypeDeclaration.
def exitAnnotationTypeDeclaration(self, ctx:JavaParser.AnnotationTypeDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#annotationTypeBody.
def enterAnnotationTypeBody(self, ctx:JavaParser.AnnotationTypeBodyContext):
pass
# Exit a parse tree produced by JavaParser#annotationTypeBody.
def exitAnnotationTypeBody(self, ctx:JavaParser.AnnotationTypeBodyContext):
pass
# Enter a parse tree produced by JavaParser#annotationTypeElementDeclaration.
def enterAnnotationTypeElementDeclaration(self, ctx:JavaParser.AnnotationTypeElementDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#annotationTypeElementDeclaration.
def exitAnnotationTypeElementDeclaration(self, ctx:JavaParser.AnnotationTypeElementDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#annotationTypeElementRest.
def enterAnnotationTypeElementRest(self, ctx:JavaParser.AnnotationTypeElementRestContext):
pass
# Exit a parse tree produced by JavaParser#annotationTypeElementRest.
def exitAnnotationTypeElementRest(self, ctx:JavaParser.AnnotationTypeElementRestContext):
pass
# Enter a parse tree produced by JavaParser#annotationMethodOrConstantRest.
def enterAnnotationMethodOrConstantRest(self, ctx:JavaParser.AnnotationMethodOrConstantRestContext):
pass
# Exit a parse tree produced by JavaParser#annotationMethodOrConstantRest.
def exitAnnotationMethodOrConstantRest(self, ctx:JavaParser.AnnotationMethodOrConstantRestContext):
pass
# Enter a parse tree produced by JavaParser#annotationMethodRest.
def enterAnnotationMethodRest(self, ctx:JavaParser.AnnotationMethodRestContext):
pass
# Exit a parse tree produced by JavaParser#annotationMethodRest.
def exitAnnotationMethodRest(self, ctx:JavaParser.AnnotationMethodRestContext):
pass
# Enter a parse tree produced by JavaParser#annotationConstantRest.
def enterAnnotationConstantRest(self, ctx:JavaParser.AnnotationConstantRestContext):
pass
# Exit a parse tree produced by JavaParser#annotationConstantRest.
def exitAnnotationConstantRest(self, ctx:JavaParser.AnnotationConstantRestContext):
pass
# Enter a parse tree produced by JavaParser#defaultValue.
def enterDefaultValue(self, ctx:JavaParser.DefaultValueContext):
pass
# Exit a parse tree produced by JavaParser#defaultValue.
def exitDefaultValue(self, ctx:JavaParser.DefaultValueContext):
pass
# Enter a parse tree produced by JavaParser#block.
def enterBlock(self, ctx:JavaParser.BlockContext):
pass
# Exit a parse tree produced by JavaParser#block.
def exitBlock(self, ctx:JavaParser.BlockContext):
pass
# Enter a parse tree produced by JavaParser#blockStatement.
def enterBlockStatement(self, ctx:JavaParser.BlockStatementContext):
pass
# Exit a parse tree produced by JavaParser#blockStatement.
def exitBlockStatement(self, ctx:JavaParser.BlockStatementContext):
pass
# Enter a parse tree produced by JavaParser#localVariableDeclaration.
def enterLocalVariableDeclaration(self, ctx:JavaParser.LocalVariableDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#localVariableDeclaration.
def exitLocalVariableDeclaration(self, ctx:JavaParser.LocalVariableDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#localTypeDeclaration.
def enterLocalTypeDeclaration(self, ctx:JavaParser.LocalTypeDeclarationContext):
pass
# Exit a parse tree produced by JavaParser#localTypeDeclaration.
def exitLocalTypeDeclaration(self, ctx:JavaParser.LocalTypeDeclarationContext):
pass
# Enter a parse tree produced by JavaParser#statement.
def enterStatement(self, ctx:JavaParser.StatementContext):
pass
# Exit a parse tree produced by JavaParser#statement.
def exitStatement(self, ctx:JavaParser.StatementContext):
pass
# Enter a parse tree produced by JavaParser#catchClause.
def enterCatchClause(self, ctx:JavaParser.CatchClauseContext):
pass
# Exit a parse tree produced by JavaParser#catchClause.
def exitCatchClause(self, ctx:JavaParser.CatchClauseContext):
pass
# Enter a parse tree produced by JavaParser#catchType.
def enterCatchType(self, ctx:JavaParser.CatchTypeContext):
pass
# Exit a parse tree produced by JavaParser#catchType.
def exitCatchType(self, ctx:JavaParser.CatchTypeContext):
pass
# Enter a parse tree produced by JavaParser#finallyBlock.
def enterFinallyBlock(self, ctx:JavaParser.FinallyBlockContext):
pass
# Exit a parse tree produced by JavaParser#finallyBlock.
def exitFinallyBlock(self, ctx:JavaParser.FinallyBlockContext):
pass
# Enter a parse tree produced by JavaParser#resourceSpecification.
def enterResourceSpecification(self, ctx:JavaParser.ResourceSpecificationContext):
pass
# Exit a parse tree produced by JavaParser#resourceSpecification.
def exitResourceSpecification(self, ctx:JavaParser.ResourceSpecificationContext):
pass
# Enter a parse tree produced by JavaParser#resources.
def enterResources(self, ctx:JavaParser.ResourcesContext):
pass
# Exit a parse tree produced by JavaParser#resources.
def exitResources(self, ctx:JavaParser.ResourcesContext):
pass
# Enter a parse tree produced by JavaParser#resource.
def enterResource(self, ctx:JavaParser.ResourceContext):
pass
# Exit a parse tree produced by JavaParser#resource.
def exitResource(self, ctx:JavaParser.ResourceContext):
pass
# Enter a parse tree produced by JavaParser#switchBlockStatementGroup.
def enterSwitchBlockStatementGroup(self, ctx:JavaParser.SwitchBlockStatementGroupContext):
pass
# Exit a parse tree produced by JavaParser#switchBlockStatementGroup.
def exitSwitchBlockStatementGroup(self, ctx:JavaParser.SwitchBlockStatementGroupContext):
pass
# Enter a parse tree produced by JavaParser#switchLabel.
def enterSwitchLabel(self, ctx:JavaParser.SwitchLabelContext):
pass
# Exit a parse tree produced by JavaParser#switchLabel.
def exitSwitchLabel(self, ctx:JavaParser.SwitchLabelContext):
pass
# Enter a parse tree produced by JavaParser#forControl.
def enterForControl(self, ctx:JavaParser.ForControlContext):
pass
# Exit a parse tree produced by JavaParser#forControl.
def exitForControl(self, ctx:JavaParser.ForControlContext):
pass
# Enter a parse tree produced by JavaParser#forInit.
def enterForInit(self, ctx:JavaParser.ForInitContext):
pass
# Exit a parse tree produced by JavaParser#forInit.
def exitForInit(self, ctx:JavaParser.ForInitContext):
pass
# Enter a parse tree produced by JavaParser#enhancedForControl.
def enterEnhancedForControl(self, ctx:JavaParser.EnhancedForControlContext):
pass
# Exit a parse tree produced by JavaParser#enhancedForControl.
def exitEnhancedForControl(self, ctx:JavaParser.EnhancedForControlContext):
pass
# Enter a parse tree produced by JavaParser#parExpression.
def enterParExpression(self, ctx:JavaParser.ParExpressionContext):
pass
# Exit a parse tree produced by JavaParser#parExpression.
def exitParExpression(self, ctx:JavaParser.ParExpressionContext):
pass
# Enter a parse tree produced by JavaParser#expressionList.
def enterExpressionList(self, ctx:JavaParser.ExpressionListContext):
pass
# Exit a parse tree produced by JavaParser#expressionList.
def exitExpressionList(self, ctx:JavaParser.ExpressionListContext):
pass
# Enter a parse tree produced by JavaParser#methodCall.
def enterMethodCall(self, ctx:JavaParser.MethodCallContext):
pass
# Exit a parse tree produced by JavaParser#methodCall.
def exitMethodCall(self, ctx:JavaParser.MethodCallContext):
pass
# Enter a parse tree produced by JavaParser#expression.
def enterExpression(self, ctx:JavaParser.ExpressionContext):
pass
# Exit a parse tree produced by JavaParser#expression.
def exitExpression(self, ctx:JavaParser.ExpressionContext):
pass
# Enter a parse tree produced by JavaParser#lambdaExpression.
def enterLambdaExpression(self, ctx:JavaParser.LambdaExpressionContext):
pass
# Exit a parse tree produced by JavaParser#lambdaExpression.
def exitLambdaExpression(self, ctx:JavaParser.LambdaExpressionContext):
pass
# Enter a parse tree produced by JavaParser#lambdaParameters.
def enterLambdaParameters(self, ctx:JavaParser.LambdaParametersContext):
pass
# Exit a parse tree produced by JavaParser#lambdaParameters.
def exitLambdaParameters(self, ctx:JavaParser.LambdaParametersContext):
pass
# Enter a parse tree produced by JavaParser#lambdaBody.
def enterLambdaBody(self, ctx:JavaParser.LambdaBodyContext):
pass
# Exit a parse tree produced by JavaParser#lambdaBody.
def exitLambdaBody(self, ctx:JavaParser.LambdaBodyContext):
pass
# Enter a parse tree produced by JavaParser#primary.
def enterPrimary(self, ctx:JavaParser.PrimaryContext):
pass
# Exit a parse tree produced by JavaParser#primary.
def exitPrimary(self, ctx:JavaParser.PrimaryContext):
pass
# Enter a parse tree produced by JavaParser#classType.
def enterClassType(self, ctx:JavaParser.ClassTypeContext):
pass
# Exit a parse tree produced by JavaParser#classType.
def exitClassType(self, ctx:JavaParser.ClassTypeContext):
pass
# Enter a parse tree produced by JavaParser#creator.
def enterCreator(self, ctx:JavaParser.CreatorContext):
pass
# Exit a parse tree produced by JavaParser#creator.
def exitCreator(self, ctx:JavaParser.CreatorContext):
pass
# Enter a parse tree produced by JavaParser#createdName.
def enterCreatedName(self, ctx:JavaParser.CreatedNameContext):
pass
# Exit a parse tree produced by JavaParser#createdName.
def exitCreatedName(self, ctx:JavaParser.CreatedNameContext):
pass
# Enter a parse tree produced by JavaParser#innerCreator.
def enterInnerCreator(self, ctx:JavaParser.InnerCreatorContext):
pass
# Exit a parse tree produced by JavaParser#innerCreator.
def exitInnerCreator(self, ctx:JavaParser.InnerCreatorContext):
pass
# Enter a parse tree produced by JavaParser#arrayCreatorRest.
def enterArrayCreatorRest(self, ctx:JavaParser.ArrayCreatorRestContext):
pass
# Exit a parse tree produced by JavaParser#arrayCreatorRest.
def exitArrayCreatorRest(self, ctx:JavaParser.ArrayCreatorRestContext):
pass
# Enter a parse tree produced by JavaParser#classCreatorRest.
def enterClassCreatorRest(self, ctx:JavaParser.ClassCreatorRestContext):
pass
# Exit a parse tree produced by JavaParser#classCreatorRest.
def exitClassCreatorRest(self, ctx:JavaParser.ClassCreatorRestContext):
pass
# Enter a parse tree produced by JavaParser#explicitGenericInvocation.
def enterExplicitGenericInvocation(self, ctx:JavaParser.ExplicitGenericInvocationContext):
pass
# Exit a parse tree produced by JavaParser#explicitGenericInvocation.
def exitExplicitGenericInvocation(self, ctx:JavaParser.ExplicitGenericInvocationContext):
pass
# Enter a parse tree produced by JavaParser#typeArgumentsOrDiamond.
def enterTypeArgumentsOrDiamond(self, ctx:JavaParser.TypeArgumentsOrDiamondContext):
pass
# Exit a parse tree produced by JavaParser#typeArgumentsOrDiamond.
def exitTypeArgumentsOrDiamond(self, ctx:JavaParser.TypeArgumentsOrDiamondContext):
pass
# Enter a parse tree produced by JavaParser#nonWildcardTypeArgumentsOrDiamond.
def enterNonWildcardTypeArgumentsOrDiamond(self, ctx:JavaParser.NonWildcardTypeArgumentsOrDiamondContext):
pass
# Exit a parse tree produced by JavaParser#nonWildcardTypeArgumentsOrDiamond.
def exitNonWildcardTypeArgumentsOrDiamond(self, ctx:JavaParser.NonWildcardTypeArgumentsOrDiamondContext):
pass
# Enter a parse tree produced by JavaParser#nonWildcardTypeArguments.
def enterNonWildcardTypeArguments(self, ctx:JavaParser.NonWildcardTypeArgumentsContext):
pass
# Exit a parse tree produced by JavaParser#nonWildcardTypeArguments.
def exitNonWildcardTypeArguments(self, ctx:JavaParser.NonWildcardTypeArgumentsContext):
pass
# Enter a parse tree produced by JavaParser#typeList.
def enterTypeList(self, ctx:JavaParser.TypeListContext):
pass
# Exit a parse tree produced by JavaParser#typeList.
def exitTypeList(self, ctx:JavaParser.TypeListContext):
pass
# Enter a parse tree produced by JavaParser#typeType.
def enterTypeType(self, ctx:JavaParser.TypeTypeContext):
pass
# Exit a parse tree produced by JavaParser#typeType.
def exitTypeType(self, ctx:JavaParser.TypeTypeContext):
pass
# Enter a parse tree produced by JavaParser#primitiveType.
def enterPrimitiveType(self, ctx:JavaParser.PrimitiveTypeContext):
pass
# Exit a parse tree produced by JavaParser#primitiveType.
def exitPrimitiveType(self, ctx:JavaParser.PrimitiveTypeContext):
pass
# Enter a parse tree produced by JavaParser#typeArguments.
def enterTypeArguments(self, ctx:JavaParser.TypeArgumentsContext):
pass
# Exit a parse tree produced by JavaParser#typeArguments.
def exitTypeArguments(self, ctx:JavaParser.TypeArgumentsContext):
pass
# Enter a parse tree produced by JavaParser#superSuffix.
def enterSuperSuffix(self, ctx:JavaParser.SuperSuffixContext):
pass
# Exit a parse tree produced by JavaParser#superSuffix.
def exitSuperSuffix(self, ctx:JavaParser.SuperSuffixContext):
pass
# Enter a parse tree produced by JavaParser#explicitGenericInvocationSuffix.
def enterExplicitGenericInvocationSuffix(self, ctx:JavaParser.ExplicitGenericInvocationSuffixContext):
pass
# Exit a parse tree produced by JavaParser#explicitGenericInvocationSuffix.
def exitExplicitGenericInvocationSuffix(self, ctx:JavaParser.ExplicitGenericInvocationSuffixContext):
pass
# Enter a parse tree produced by JavaParser#arguments.
def enterArguments(self, ctx:JavaParser.ArgumentsContext):
pass
# Exit a parse tree produced by JavaParser#arguments.
def exitArguments(self, ctx:JavaParser.ArgumentsContext):
pass