forked from amespi22/code_rewrite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CListener.py
903 lines (603 loc) · 29.8 KB
/
CListener.py
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
# Generated from C.g4 by ANTLR 4.9.2
from antlr4 import *
if __name__ is not None and "." in __name__:
from .CParser import CParser
else:
from CParser import CParser
# This class defines a complete listener for a parse tree produced by CParser.
class CListener(ParseTreeListener):
# Enter a parse tree produced by CParser#primaryExpression.
def enterPrimaryExpression(self, ctx:CParser.PrimaryExpressionContext):
pass
# Exit a parse tree produced by CParser#primaryExpression.
def exitPrimaryExpression(self, ctx:CParser.PrimaryExpressionContext):
pass
# Enter a parse tree produced by CParser#genericSelection.
def enterGenericSelection(self, ctx:CParser.GenericSelectionContext):
pass
# Exit a parse tree produced by CParser#genericSelection.
def exitGenericSelection(self, ctx:CParser.GenericSelectionContext):
pass
# Enter a parse tree produced by CParser#genericAssocList.
def enterGenericAssocList(self, ctx:CParser.GenericAssocListContext):
pass
# Exit a parse tree produced by CParser#genericAssocList.
def exitGenericAssocList(self, ctx:CParser.GenericAssocListContext):
pass
# Enter a parse tree produced by CParser#genericAssociation.
def enterGenericAssociation(self, ctx:CParser.GenericAssociationContext):
pass
# Exit a parse tree produced by CParser#genericAssociation.
def exitGenericAssociation(self, ctx:CParser.GenericAssociationContext):
pass
# Enter a parse tree produced by CParser#postfixExpression.
def enterPostfixExpression(self, ctx:CParser.PostfixExpressionContext):
pass
# Exit a parse tree produced by CParser#postfixExpression.
def exitPostfixExpression(self, ctx:CParser.PostfixExpressionContext):
pass
# Enter a parse tree produced by CParser#passignmentExpression.
def enterPassignmentExpression(self, ctx:CParser.PassignmentExpressionContext):
pass
# Exit a parse tree produced by CParser#passignmentExpression.
def exitPassignmentExpression(self, ctx:CParser.PassignmentExpressionContext):
pass
# Enter a parse tree produced by CParser#argumentExpressionList.
def enterArgumentExpressionList(self, ctx:CParser.ArgumentExpressionListContext):
pass
# Exit a parse tree produced by CParser#argumentExpressionList.
def exitArgumentExpressionList(self, ctx:CParser.ArgumentExpressionListContext):
pass
# Enter a parse tree produced by CParser#unaryExpression.
def enterUnaryExpression(self, ctx:CParser.UnaryExpressionContext):
pass
# Exit a parse tree produced by CParser#unaryExpression.
def exitUnaryExpression(self, ctx:CParser.UnaryExpressionContext):
pass
# Enter a parse tree produced by CParser#unaryOperator.
def enterUnaryOperator(self, ctx:CParser.UnaryOperatorContext):
pass
# Exit a parse tree produced by CParser#unaryOperator.
def exitUnaryOperator(self, ctx:CParser.UnaryOperatorContext):
pass
# Enter a parse tree produced by CParser#castExpression.
def enterCastExpression(self, ctx:CParser.CastExpressionContext):
pass
# Exit a parse tree produced by CParser#castExpression.
def exitCastExpression(self, ctx:CParser.CastExpressionContext):
pass
# Enter a parse tree produced by CParser#multiplicativeExpression.
def enterMultiplicativeExpression(self, ctx:CParser.MultiplicativeExpressionContext):
pass
# Exit a parse tree produced by CParser#multiplicativeExpression.
def exitMultiplicativeExpression(self, ctx:CParser.MultiplicativeExpressionContext):
pass
# Enter a parse tree produced by CParser#additiveExpression.
def enterAdditiveExpression(self, ctx:CParser.AdditiveExpressionContext):
pass
# Exit a parse tree produced by CParser#additiveExpression.
def exitAdditiveExpression(self, ctx:CParser.AdditiveExpressionContext):
pass
# Enter a parse tree produced by CParser#shiftExpression.
def enterShiftExpression(self, ctx:CParser.ShiftExpressionContext):
pass
# Exit a parse tree produced by CParser#shiftExpression.
def exitShiftExpression(self, ctx:CParser.ShiftExpressionContext):
pass
# Enter a parse tree produced by CParser#relationalExpression.
def enterRelationalExpression(self, ctx:CParser.RelationalExpressionContext):
pass
# Exit a parse tree produced by CParser#relationalExpression.
def exitRelationalExpression(self, ctx:CParser.RelationalExpressionContext):
pass
# Enter a parse tree produced by CParser#equalityExpression.
def enterEqualityExpression(self, ctx:CParser.EqualityExpressionContext):
pass
# Exit a parse tree produced by CParser#equalityExpression.
def exitEqualityExpression(self, ctx:CParser.EqualityExpressionContext):
pass
# Enter a parse tree produced by CParser#andExpression.
def enterAndExpression(self, ctx:CParser.AndExpressionContext):
pass
# Exit a parse tree produced by CParser#andExpression.
def exitAndExpression(self, ctx:CParser.AndExpressionContext):
pass
# Enter a parse tree produced by CParser#exclusiveOrExpression.
def enterExclusiveOrExpression(self, ctx:CParser.ExclusiveOrExpressionContext):
pass
# Exit a parse tree produced by CParser#exclusiveOrExpression.
def exitExclusiveOrExpression(self, ctx:CParser.ExclusiveOrExpressionContext):
pass
# Enter a parse tree produced by CParser#inclusiveOrExpression.
def enterInclusiveOrExpression(self, ctx:CParser.InclusiveOrExpressionContext):
pass
# Exit a parse tree produced by CParser#inclusiveOrExpression.
def exitInclusiveOrExpression(self, ctx:CParser.InclusiveOrExpressionContext):
pass
# Enter a parse tree produced by CParser#logicalAndExpression.
def enterLogicalAndExpression(self, ctx:CParser.LogicalAndExpressionContext):
pass
# Exit a parse tree produced by CParser#logicalAndExpression.
def exitLogicalAndExpression(self, ctx:CParser.LogicalAndExpressionContext):
pass
# Enter a parse tree produced by CParser#logicalOrExpression.
def enterLogicalOrExpression(self, ctx:CParser.LogicalOrExpressionContext):
pass
# Exit a parse tree produced by CParser#logicalOrExpression.
def exitLogicalOrExpression(self, ctx:CParser.LogicalOrExpressionContext):
pass
# Enter a parse tree produced by CParser#conditionalExpression.
def enterConditionalExpression(self, ctx:CParser.ConditionalExpressionContext):
pass
# Exit a parse tree produced by CParser#conditionalExpression.
def exitConditionalExpression(self, ctx:CParser.ConditionalExpressionContext):
pass
# Enter a parse tree produced by CParser#assignmentExpression.
def enterAssignmentExpression(self, ctx:CParser.AssignmentExpressionContext):
pass
# Exit a parse tree produced by CParser#assignmentExpression.
def exitAssignmentExpression(self, ctx:CParser.AssignmentExpressionContext):
pass
# Enter a parse tree produced by CParser#assignmentOperator.
def enterAssignmentOperator(self, ctx:CParser.AssignmentOperatorContext):
pass
# Exit a parse tree produced by CParser#assignmentOperator.
def exitAssignmentOperator(self, ctx:CParser.AssignmentOperatorContext):
pass
# Enter a parse tree produced by CParser#expression.
def enterExpression(self, ctx:CParser.ExpressionContext):
pass
# Exit a parse tree produced by CParser#expression.
def exitExpression(self, ctx:CParser.ExpressionContext):
pass
# Enter a parse tree produced by CParser#constantExpression.
def enterConstantExpression(self, ctx:CParser.ConstantExpressionContext):
pass
# Exit a parse tree produced by CParser#constantExpression.
def exitConstantExpression(self, ctx:CParser.ConstantExpressionContext):
pass
# Enter a parse tree produced by CParser#declaration.
def enterDeclaration(self, ctx:CParser.DeclarationContext):
pass
# Exit a parse tree produced by CParser#declaration.
def exitDeclaration(self, ctx:CParser.DeclarationContext):
pass
# Enter a parse tree produced by CParser#declarationSpecifiers.
def enterDeclarationSpecifiers(self, ctx:CParser.DeclarationSpecifiersContext):
pass
# Exit a parse tree produced by CParser#declarationSpecifiers.
def exitDeclarationSpecifiers(self, ctx:CParser.DeclarationSpecifiersContext):
pass
# Enter a parse tree produced by CParser#funcDeclarationSpecifiers.
def enterFuncDeclarationSpecifiers(self, ctx:CParser.FuncDeclarationSpecifiersContext):
pass
# Exit a parse tree produced by CParser#funcDeclarationSpecifiers.
def exitFuncDeclarationSpecifiers(self, ctx:CParser.FuncDeclarationSpecifiersContext):
pass
# Enter a parse tree produced by CParser#declarationSpecifiers2.
def enterDeclarationSpecifiers2(self, ctx:CParser.DeclarationSpecifiers2Context):
pass
# Exit a parse tree produced by CParser#declarationSpecifiers2.
def exitDeclarationSpecifiers2(self, ctx:CParser.DeclarationSpecifiers2Context):
pass
# Enter a parse tree produced by CParser#funcDeclarationSpecifier.
def enterFuncDeclarationSpecifier(self, ctx:CParser.FuncDeclarationSpecifierContext):
pass
# Exit a parse tree produced by CParser#funcDeclarationSpecifier.
def exitFuncDeclarationSpecifier(self, ctx:CParser.FuncDeclarationSpecifierContext):
pass
# Enter a parse tree produced by CParser#declarationSpecifier.
def enterDeclarationSpecifier(self, ctx:CParser.DeclarationSpecifierContext):
pass
# Exit a parse tree produced by CParser#declarationSpecifier.
def exitDeclarationSpecifier(self, ctx:CParser.DeclarationSpecifierContext):
pass
# Enter a parse tree produced by CParser#initDeclaratorList.
def enterInitDeclaratorList(self, ctx:CParser.InitDeclaratorListContext):
pass
# Exit a parse tree produced by CParser#initDeclaratorList.
def exitInitDeclaratorList(self, ctx:CParser.InitDeclaratorListContext):
pass
# Enter a parse tree produced by CParser#initDeclarator.
def enterInitDeclarator(self, ctx:CParser.InitDeclaratorContext):
pass
# Exit a parse tree produced by CParser#initDeclarator.
def exitInitDeclarator(self, ctx:CParser.InitDeclaratorContext):
pass
# Enter a parse tree produced by CParser#storageClassSpecifier.
def enterStorageClassSpecifier(self, ctx:CParser.StorageClassSpecifierContext):
pass
# Exit a parse tree produced by CParser#storageClassSpecifier.
def exitStorageClassSpecifier(self, ctx:CParser.StorageClassSpecifierContext):
pass
# Enter a parse tree produced by CParser#fptypeSpecifier.
def enterFptypeSpecifier(self, ctx:CParser.FptypeSpecifierContext):
pass
# Exit a parse tree produced by CParser#fptypeSpecifier.
def exitFptypeSpecifier(self, ctx:CParser.FptypeSpecifierContext):
pass
# Enter a parse tree produced by CParser#typeSpecifier.
def enterTypeSpecifier(self, ctx:CParser.TypeSpecifierContext):
pass
# Exit a parse tree produced by CParser#typeSpecifier.
def exitTypeSpecifier(self, ctx:CParser.TypeSpecifierContext):
pass
# Enter a parse tree produced by CParser#structOrUnionSpecifier.
def enterStructOrUnionSpecifier(self, ctx:CParser.StructOrUnionSpecifierContext):
pass
# Exit a parse tree produced by CParser#structOrUnionSpecifier.
def exitStructOrUnionSpecifier(self, ctx:CParser.StructOrUnionSpecifierContext):
pass
# Enter a parse tree produced by CParser#structOrUnion.
def enterStructOrUnion(self, ctx:CParser.StructOrUnionContext):
pass
# Exit a parse tree produced by CParser#structOrUnion.
def exitStructOrUnion(self, ctx:CParser.StructOrUnionContext):
pass
# Enter a parse tree produced by CParser#structDeclarationList.
def enterStructDeclarationList(self, ctx:CParser.StructDeclarationListContext):
pass
# Exit a parse tree produced by CParser#structDeclarationList.
def exitStructDeclarationList(self, ctx:CParser.StructDeclarationListContext):
pass
# Enter a parse tree produced by CParser#structDeclaration.
def enterStructDeclaration(self, ctx:CParser.StructDeclarationContext):
pass
# Exit a parse tree produced by CParser#structDeclaration.
def exitStructDeclaration(self, ctx:CParser.StructDeclarationContext):
pass
# Enter a parse tree produced by CParser#specifierQualifierList.
def enterSpecifierQualifierList(self, ctx:CParser.SpecifierQualifierListContext):
pass
# Exit a parse tree produced by CParser#specifierQualifierList.
def exitSpecifierQualifierList(self, ctx:CParser.SpecifierQualifierListContext):
pass
# Enter a parse tree produced by CParser#structDeclaratorList.
def enterStructDeclaratorList(self, ctx:CParser.StructDeclaratorListContext):
pass
# Exit a parse tree produced by CParser#structDeclaratorList.
def exitStructDeclaratorList(self, ctx:CParser.StructDeclaratorListContext):
pass
# Enter a parse tree produced by CParser#structDeclarator.
def enterStructDeclarator(self, ctx:CParser.StructDeclaratorContext):
pass
# Exit a parse tree produced by CParser#structDeclarator.
def exitStructDeclarator(self, ctx:CParser.StructDeclaratorContext):
pass
# Enter a parse tree produced by CParser#enumSpecifier.
def enterEnumSpecifier(self, ctx:CParser.EnumSpecifierContext):
pass
# Exit a parse tree produced by CParser#enumSpecifier.
def exitEnumSpecifier(self, ctx:CParser.EnumSpecifierContext):
pass
# Enter a parse tree produced by CParser#enumeratorList.
def enterEnumeratorList(self, ctx:CParser.EnumeratorListContext):
pass
# Exit a parse tree produced by CParser#enumeratorList.
def exitEnumeratorList(self, ctx:CParser.EnumeratorListContext):
pass
# Enter a parse tree produced by CParser#enumerator.
def enterEnumerator(self, ctx:CParser.EnumeratorContext):
pass
# Exit a parse tree produced by CParser#enumerator.
def exitEnumerator(self, ctx:CParser.EnumeratorContext):
pass
# Enter a parse tree produced by CParser#enumerationConstant.
def enterEnumerationConstant(self, ctx:CParser.EnumerationConstantContext):
pass
# Exit a parse tree produced by CParser#enumerationConstant.
def exitEnumerationConstant(self, ctx:CParser.EnumerationConstantContext):
pass
# Enter a parse tree produced by CParser#atomicTypeSpecifier.
def enterAtomicTypeSpecifier(self, ctx:CParser.AtomicTypeSpecifierContext):
pass
# Exit a parse tree produced by CParser#atomicTypeSpecifier.
def exitAtomicTypeSpecifier(self, ctx:CParser.AtomicTypeSpecifierContext):
pass
# Enter a parse tree produced by CParser#typeQualifier.
def enterTypeQualifier(self, ctx:CParser.TypeQualifierContext):
pass
# Exit a parse tree produced by CParser#typeQualifier.
def exitTypeQualifier(self, ctx:CParser.TypeQualifierContext):
pass
# Enter a parse tree produced by CParser#functionSpecifier.
def enterFunctionSpecifier(self, ctx:CParser.FunctionSpecifierContext):
pass
# Exit a parse tree produced by CParser#functionSpecifier.
def exitFunctionSpecifier(self, ctx:CParser.FunctionSpecifierContext):
pass
# Enter a parse tree produced by CParser#alignmentSpecifier.
def enterAlignmentSpecifier(self, ctx:CParser.AlignmentSpecifierContext):
pass
# Exit a parse tree produced by CParser#alignmentSpecifier.
def exitAlignmentSpecifier(self, ctx:CParser.AlignmentSpecifierContext):
pass
# Enter a parse tree produced by CParser#declarator.
def enterDeclarator(self, ctx:CParser.DeclaratorContext):
pass
# Exit a parse tree produced by CParser#declarator.
def exitDeclarator(self, ctx:CParser.DeclaratorContext):
pass
# Enter a parse tree produced by CParser#funcDeclarator.
def enterFuncDeclarator(self, ctx:CParser.FuncDeclaratorContext):
pass
# Exit a parse tree produced by CParser#funcDeclarator.
def exitFuncDeclarator(self, ctx:CParser.FuncDeclaratorContext):
pass
# Enter a parse tree produced by CParser#directFunctionDeclarator.
def enterDirectFunctionDeclarator(self, ctx:CParser.DirectFunctionDeclaratorContext):
pass
# Exit a parse tree produced by CParser#directFunctionDeclarator.
def exitDirectFunctionDeclarator(self, ctx:CParser.DirectFunctionDeclaratorContext):
pass
# Enter a parse tree produced by CParser#directDeclarator.
def enterDirectDeclarator(self, ctx:CParser.DirectDeclaratorContext):
pass
# Exit a parse tree produced by CParser#directDeclarator.
def exitDirectDeclarator(self, ctx:CParser.DirectDeclaratorContext):
pass
# Enter a parse tree produced by CParser#gccDeclaratorExtension.
def enterGccDeclaratorExtension(self, ctx:CParser.GccDeclaratorExtensionContext):
pass
# Exit a parse tree produced by CParser#gccDeclaratorExtension.
def exitGccDeclaratorExtension(self, ctx:CParser.GccDeclaratorExtensionContext):
pass
# Enter a parse tree produced by CParser#gccAttributeSpecifier.
def enterGccAttributeSpecifier(self, ctx:CParser.GccAttributeSpecifierContext):
pass
# Exit a parse tree produced by CParser#gccAttributeSpecifier.
def exitGccAttributeSpecifier(self, ctx:CParser.GccAttributeSpecifierContext):
pass
# Enter a parse tree produced by CParser#gccAttributeList.
def enterGccAttributeList(self, ctx:CParser.GccAttributeListContext):
pass
# Exit a parse tree produced by CParser#gccAttributeList.
def exitGccAttributeList(self, ctx:CParser.GccAttributeListContext):
pass
# Enter a parse tree produced by CParser#gccAttribute.
def enterGccAttribute(self, ctx:CParser.GccAttributeContext):
pass
# Exit a parse tree produced by CParser#gccAttribute.
def exitGccAttribute(self, ctx:CParser.GccAttributeContext):
pass
# Enter a parse tree produced by CParser#nestedParenthesesBlock.
def enterNestedParenthesesBlock(self, ctx:CParser.NestedParenthesesBlockContext):
pass
# Exit a parse tree produced by CParser#nestedParenthesesBlock.
def exitNestedParenthesesBlock(self, ctx:CParser.NestedParenthesesBlockContext):
pass
# Enter a parse tree produced by CParser#pointer.
def enterPointer(self, ctx:CParser.PointerContext):
pass
# Exit a parse tree produced by CParser#pointer.
def exitPointer(self, ctx:CParser.PointerContext):
pass
# Enter a parse tree produced by CParser#typeQualifierList.
def enterTypeQualifierList(self, ctx:CParser.TypeQualifierListContext):
pass
# Exit a parse tree produced by CParser#typeQualifierList.
def exitTypeQualifierList(self, ctx:CParser.TypeQualifierListContext):
pass
# Enter a parse tree produced by CParser#parameterTypeList.
def enterParameterTypeList(self, ctx:CParser.ParameterTypeListContext):
pass
# Exit a parse tree produced by CParser#parameterTypeList.
def exitParameterTypeList(self, ctx:CParser.ParameterTypeListContext):
pass
# Enter a parse tree produced by CParser#parameterList.
def enterParameterList(self, ctx:CParser.ParameterListContext):
pass
# Exit a parse tree produced by CParser#parameterList.
def exitParameterList(self, ctx:CParser.ParameterListContext):
pass
# Enter a parse tree produced by CParser#parameterDeclaration.
def enterParameterDeclaration(self, ctx:CParser.ParameterDeclarationContext):
pass
# Exit a parse tree produced by CParser#parameterDeclaration.
def exitParameterDeclaration(self, ctx:CParser.ParameterDeclarationContext):
pass
# Enter a parse tree produced by CParser#identifierList.
def enterIdentifierList(self, ctx:CParser.IdentifierListContext):
pass
# Exit a parse tree produced by CParser#identifierList.
def exitIdentifierList(self, ctx:CParser.IdentifierListContext):
pass
# Enter a parse tree produced by CParser#typeName.
def enterTypeName(self, ctx:CParser.TypeNameContext):
pass
# Exit a parse tree produced by CParser#typeName.
def exitTypeName(self, ctx:CParser.TypeNameContext):
pass
# Enter a parse tree produced by CParser#abstractDeclarator.
def enterAbstractDeclarator(self, ctx:CParser.AbstractDeclaratorContext):
pass
# Exit a parse tree produced by CParser#abstractDeclarator.
def exitAbstractDeclarator(self, ctx:CParser.AbstractDeclaratorContext):
pass
# Enter a parse tree produced by CParser#directAbstractDeclarator.
def enterDirectAbstractDeclarator(self, ctx:CParser.DirectAbstractDeclaratorContext):
pass
# Exit a parse tree produced by CParser#directAbstractDeclarator.
def exitDirectAbstractDeclarator(self, ctx:CParser.DirectAbstractDeclaratorContext):
pass
# Enter a parse tree produced by CParser#typedefName.
def enterTypedefName(self, ctx:CParser.TypedefNameContext):
pass
# Exit a parse tree produced by CParser#typedefName.
def exitTypedefName(self, ctx:CParser.TypedefNameContext):
pass
# Enter a parse tree produced by CParser#initializer.
def enterInitializer(self, ctx:CParser.InitializerContext):
pass
# Exit a parse tree produced by CParser#initializer.
def exitInitializer(self, ctx:CParser.InitializerContext):
pass
# Enter a parse tree produced by CParser#initializerList.
def enterInitializerList(self, ctx:CParser.InitializerListContext):
pass
# Exit a parse tree produced by CParser#initializerList.
def exitInitializerList(self, ctx:CParser.InitializerListContext):
pass
# Enter a parse tree produced by CParser#designation.
def enterDesignation(self, ctx:CParser.DesignationContext):
pass
# Exit a parse tree produced by CParser#designation.
def exitDesignation(self, ctx:CParser.DesignationContext):
pass
# Enter a parse tree produced by CParser#designatorList.
def enterDesignatorList(self, ctx:CParser.DesignatorListContext):
pass
# Exit a parse tree produced by CParser#designatorList.
def exitDesignatorList(self, ctx:CParser.DesignatorListContext):
pass
# Enter a parse tree produced by CParser#designator.
def enterDesignator(self, ctx:CParser.DesignatorContext):
pass
# Exit a parse tree produced by CParser#designator.
def exitDesignator(self, ctx:CParser.DesignatorContext):
pass
# Enter a parse tree produced by CParser#staticAssertDeclaration.
def enterStaticAssertDeclaration(self, ctx:CParser.StaticAssertDeclarationContext):
pass
# Exit a parse tree produced by CParser#staticAssertDeclaration.
def exitStaticAssertDeclaration(self, ctx:CParser.StaticAssertDeclarationContext):
pass
# Enter a parse tree produced by CParser#statement.
def enterStatement(self, ctx:CParser.StatementContext):
pass
# Exit a parse tree produced by CParser#statement.
def exitStatement(self, ctx:CParser.StatementContext):
pass
# Enter a parse tree produced by CParser#labeledStatement.
def enterLabeledStatement(self, ctx:CParser.LabeledStatementContext):
pass
# Exit a parse tree produced by CParser#labeledStatement.
def exitLabeledStatement(self, ctx:CParser.LabeledStatementContext):
pass
# Enter a parse tree produced by CParser#compoundStatement.
def enterCompoundStatement(self, ctx:CParser.CompoundStatementContext):
pass
# Exit a parse tree produced by CParser#compoundStatement.
def exitCompoundStatement(self, ctx:CParser.CompoundStatementContext):
pass
# Enter a parse tree produced by CParser#blockItemList.
def enterBlockItemList(self, ctx:CParser.BlockItemListContext):
pass
# Exit a parse tree produced by CParser#blockItemList.
def exitBlockItemList(self, ctx:CParser.BlockItemListContext):
pass
# Enter a parse tree produced by CParser#blockItem.
def enterBlockItem(self, ctx:CParser.BlockItemContext):
pass
# Exit a parse tree produced by CParser#blockItem.
def exitBlockItem(self, ctx:CParser.BlockItemContext):
pass
# Enter a parse tree produced by CParser#expressionStatement.
def enterExpressionStatement(self, ctx:CParser.ExpressionStatementContext):
pass
# Exit a parse tree produced by CParser#expressionStatement.
def exitExpressionStatement(self, ctx:CParser.ExpressionStatementContext):
pass
# Enter a parse tree produced by CParser#selectionStatement.
def enterSelectionStatement(self, ctx:CParser.SelectionStatementContext):
pass
# Exit a parse tree produced by CParser#selectionStatement.
def exitSelectionStatement(self, ctx:CParser.SelectionStatementContext):
pass
# Enter a parse tree produced by CParser#macroSelectionStatement.
def enterMacroSelectionStatement(self, ctx:CParser.MacroSelectionStatementContext):
pass
# Exit a parse tree produced by CParser#macroSelectionStatement.
def exitMacroSelectionStatement(self, ctx:CParser.MacroSelectionStatementContext):
pass
# Enter a parse tree produced by CParser#iterationStatement.
def enterIterationStatement(self, ctx:CParser.IterationStatementContext):
pass
# Exit a parse tree produced by CParser#iterationStatement.
def exitIterationStatement(self, ctx:CParser.IterationStatementContext):
pass
# Enter a parse tree produced by CParser#forCondition.
def enterForCondition(self, ctx:CParser.ForConditionContext):
pass
# Exit a parse tree produced by CParser#forCondition.
def exitForCondition(self, ctx:CParser.ForConditionContext):
pass
# Enter a parse tree produced by CParser#forDeclaration.
def enterForDeclaration(self, ctx:CParser.ForDeclarationContext):
pass
# Exit a parse tree produced by CParser#forDeclaration.
def exitForDeclaration(self, ctx:CParser.ForDeclarationContext):
pass
# Enter a parse tree produced by CParser#forExpression.
def enterForExpression(self, ctx:CParser.ForExpressionContext):
pass
# Exit a parse tree produced by CParser#forExpression.
def exitForExpression(self, ctx:CParser.ForExpressionContext):
pass
# Enter a parse tree produced by CParser#jumpStatement.
def enterJumpStatement(self, ctx:CParser.JumpStatementContext):
pass
# Exit a parse tree produced by CParser#jumpStatement.
def exitJumpStatement(self, ctx:CParser.JumpStatementContext):
pass
# Enter a parse tree produced by CParser#compilationUnit.
def enterCompilationUnit(self, ctx:CParser.CompilationUnitContext):
pass
# Exit a parse tree produced by CParser#compilationUnit.
def exitCompilationUnit(self, ctx:CParser.CompilationUnitContext):
pass
# Enter a parse tree produced by CParser#translationUnit.
def enterTranslationUnit(self, ctx:CParser.TranslationUnitContext):
pass
# Exit a parse tree produced by CParser#translationUnit.
def exitTranslationUnit(self, ctx:CParser.TranslationUnitContext):
pass
# Enter a parse tree produced by CParser#externalDeclaration.
def enterExternalDeclaration(self, ctx:CParser.ExternalDeclarationContext):
pass
# Exit a parse tree produced by CParser#externalDeclaration.
def exitExternalDeclaration(self, ctx:CParser.ExternalDeclarationContext):
pass
# Enter a parse tree produced by CParser#functionPtrDeclaration.
def enterFunctionPtrDeclaration(self, ctx:CParser.FunctionPtrDeclarationContext):
pass
# Exit a parse tree produced by CParser#functionPtrDeclaration.
def exitFunctionPtrDeclaration(self, ctx:CParser.FunctionPtrDeclarationContext):
pass
# Enter a parse tree produced by CParser#functionDeclaration.
def enterFunctionDeclaration(self, ctx:CParser.FunctionDeclarationContext):
pass
# Exit a parse tree produced by CParser#functionDeclaration.
def exitFunctionDeclaration(self, ctx:CParser.FunctionDeclarationContext):
pass
# Enter a parse tree produced by CParser#functionDefinition.
def enterFunctionDefinition(self, ctx:CParser.FunctionDefinitionContext):
pass
# Exit a parse tree produced by CParser#functionDefinition.
def exitFunctionDefinition(self, ctx:CParser.FunctionDefinitionContext):
pass
# Enter a parse tree produced by CParser#stringIdentifier.
def enterStringIdentifier(self, ctx:CParser.StringIdentifierContext):
pass
# Exit a parse tree produced by CParser#stringIdentifier.
def exitStringIdentifier(self, ctx:CParser.StringIdentifierContext):
pass
# Enter a parse tree produced by CParser#stringIdentifierList.
def enterStringIdentifierList(self, ctx:CParser.StringIdentifierListContext):
pass
# Exit a parse tree produced by CParser#stringIdentifierList.
def exitStringIdentifierList(self, ctx:CParser.StringIdentifierListContext):
pass
# Enter a parse tree produced by CParser#macroDefinition.
def enterMacroDefinition(self, ctx:CParser.MacroDefinitionContext):
pass
# Exit a parse tree produced by CParser#macroDefinition.
def exitMacroDefinition(self, ctx:CParser.MacroDefinitionContext):
pass
# Enter a parse tree produced by CParser#declarationList.
def enterDeclarationList(self, ctx:CParser.DeclarationListContext):
pass
# Exit a parse tree produced by CParser#declarationList.
def exitDeclarationList(self, ctx:CParser.DeclarationListContext):
pass
del CParser