1 module IBAListener;
2 
3 import RuleTranslatorBaseListener;
4 import RuleTranslatorParser: RuleTranslatorParser;
5 import RuleWriter: RuleWriter;
6 import antlr.v4.runtime.ParserRuleContext;
7 import antlr.v4.runtime.tree.ErrorNode;
8 import antlr.v4.runtime.tree.ParseTreeProperty;
9 import antlr.v4.runtime.tree.TerminalNode;
10 import std.stdio;
11 
12 auto header = r"<?xml version='1.0' encoding='UTF-8'?>";
13 
14 /**
15  * This class provides an empty implementation of {@link RuleTranslatorListener},
16  * which can be extended to create a listener which only needs to handle a subset
17  * of the available methods.
18  */
19 public class IBAListener : RuleTranslatorBaseListener {
20 
21     public RuleWriter writer;   
22 
23     struct Result {
24         string s;
25     }
26     
27     auto values = new ParseTreeProperty!Result;
28     /**
29      * {@inheritDoc}
30      *
31      * <p>The default implementation does nothing.</p>
32      */
33     override public void enterFile_input(RuleTranslatorParser.File_inputContext ctx) {
34         Result result;
35         result.s = header;
36         values.put(ctx, result);
37     }
38     /**
39      * {@inheritDoc}
40      *
41      * <p>The default implementation does nothing.</p>
42      */
43     override public void exitFile_input(RuleTranslatorParser.File_inputContext ctx) {
44         writefln(values.get(ctx).s);
45     }
46     /**
47      * {@inheritDoc}
48      *
49      * <p>The default implementation does nothing.</p>
50      */
51     override public void enterRuledef(RuleTranslatorParser.RuledefContext ctx) { }
52     /**
53      * {@inheritDoc}
54      *
55      * <p>The default implementation does nothing.</p>
56      */
57     override public void exitRuledef(RuleTranslatorParser.RuledefContext ctx) { }
58     /**
59      * {@inheritDoc}
60      *
61      * <p>The default implementation does nothing.</p>
62      */
63     override public void enterImport_stmts(RuleTranslatorParser.Import_stmtsContext ctx) { }
64     /**
65      * {@inheritDoc}
66      *
67      * <p>The default implementation does nothing.</p>
68      */
69     override public void exitImport_stmts(RuleTranslatorParser.Import_stmtsContext ctx) { }
70     /**
71      * {@inheritDoc}
72      *
73      * <p>The default implementation does nothing.</p>
74      */
75     override public void enterRule_setting(RuleTranslatorParser.Rule_settingContext ctx) { }
76     /**
77      * {@inheritDoc}
78      *
79      * <p>The default implementation does nothing.</p>
80      */
81     override public void exitRule_setting(RuleTranslatorParser.Rule_settingContext ctx) { }
82     /**
83      * {@inheritDoc}
84      *
85      * <p>The default implementation does nothing.</p>
86      */
87     override public void enterClass_name(RuleTranslatorParser.Class_nameContext ctx) { }
88     /**
89      * {@inheritDoc}
90      *
91      * <p>The default implementation does nothing.</p>
92      */
93     override public void exitClass_name(RuleTranslatorParser.Class_nameContext ctx) { }
94     /**
95      * {@inheritDoc}
96      *
97      * <p>The default implementation does nothing.</p>
98      */
99     override public void enterRule_name(RuleTranslatorParser.Rule_nameContext ctx) { }
100     /**
101      * {@inheritDoc}
102      *
103      * <p>The default implementation does nothing.</p>
104      */
105     override public void exitRule_name(RuleTranslatorParser.Rule_nameContext ctx) { }
106     /**
107      * {@inheritDoc}
108      *
109      * <p>The default implementation does nothing.</p>
110      */
111     override public void enterLanguage(RuleTranslatorParser.LanguageContext ctx) { }
112     /**
113      * {@inheritDoc}
114      *
115      * <p>The default implementation does nothing.</p>
116      */
117     override public void exitLanguage(RuleTranslatorParser.LanguageContext ctx) { }
118     /**
119      * {@inheritDoc}
120      *
121      * <p>The default implementation does nothing.</p>
122      */
123     override public void enterImport_stmt(RuleTranslatorParser.Import_stmtContext ctx) { }
124     /**
125      * {@inheritDoc}
126      *
127      * <p>The default implementation does nothing.</p>
128      */
129     override public void exitImport_stmt(RuleTranslatorParser.Import_stmtContext ctx) { }
130     /**
131      * {@inheritDoc}
132      *
133      * <p>The default implementation does nothing.</p>
134      */
135     override public void enterBase_rules(RuleTranslatorParser.Base_rulesContext ctx) { }
136     /**
137      * {@inheritDoc}
138      *
139      * <p>The default implementation does nothing.</p>
140      */
141     override public void exitBase_rules(RuleTranslatorParser.Base_rulesContext ctx) { }
142     /**
143      * {@inheritDoc}
144      *
145      * <p>The default implementation does nothing.</p>
146      */
147     override public void enterFuncdef(RuleTranslatorParser.FuncdefContext ctx) { }
148     /**
149      * {@inheritDoc}
150      *
151      * <p>The default implementation does nothing.</p>
152      */
153     override public void exitFuncdef(RuleTranslatorParser.FuncdefContext ctx) { }
154     /**
155      * {@inheritDoc}
156      *
157      * <p>The default implementation does nothing.</p>
158      */
159     override public void enterFunctionName(RuleTranslatorParser.FunctionNameContext ctx) { }
160     /**
161      * {@inheritDoc}
162      *
163      * <p>The default implementation does nothing.</p>
164      */
165     override public void exitFunctionName(RuleTranslatorParser.FunctionNameContext ctx) { }
166     /**
167      * {@inheritDoc}
168      *
169      * <p>The default implementation does nothing.</p>
170      */
171     override public void enterParameters(RuleTranslatorParser.ParametersContext ctx) { }
172     /**
173      * {@inheritDoc}
174      *
175      * <p>The default implementation does nothing.</p>
176      */
177     override public void exitParameters(RuleTranslatorParser.ParametersContext ctx) { }
178     /**
179      * {@inheritDoc}
180      *
181      * <p>The default implementation does nothing.</p>
182      */
183     override public void enterTypedargslist(RuleTranslatorParser.TypedargslistContext ctx) { }
184     /**
185      * {@inheritDoc}
186      *
187      * <p>The default implementation does nothing.</p>
188      */
189     override public void exitTypedargslist(RuleTranslatorParser.TypedargslistContext ctx) { }
190     /**
191      * {@inheritDoc}
192      *
193      * <p>The default implementation does nothing.</p>
194      */
195     override public void enterTfpdef_name(RuleTranslatorParser.Tfpdef_nameContext ctx) { }
196     /**
197      * {@inheritDoc}
198      *
199      * <p>The default implementation does nothing.</p>
200      */
201     override public void exitTfpdef_name(RuleTranslatorParser.Tfpdef_nameContext ctx) { }
202     /**
203      * {@inheritDoc}
204      *
205      * <p>The default implementation does nothing.</p>
206      */
207     override public void enterTfpdef_number(RuleTranslatorParser.Tfpdef_numberContext ctx) { }
208     /**
209      * {@inheritDoc}
210      *
211      * <p>The default implementation does nothing.</p>
212      */
213     override public void exitTfpdef_number(RuleTranslatorParser.Tfpdef_numberContext ctx) { }
214     /**
215      * {@inheritDoc}
216      *
217      * <p>The default implementation does nothing.</p>
218      */
219     override public void enterTfpdef_string(RuleTranslatorParser.Tfpdef_stringContext ctx) { }
220     /**
221      * {@inheritDoc}
222      *
223      * <p>The default implementation does nothing.</p>
224      */
225     override public void exitTfpdef_string(RuleTranslatorParser.Tfpdef_stringContext ctx) { }
226     /**
227      * {@inheritDoc}
228      *
229      * <p>The default implementation does nothing.</p>
230      */
231     override public void enterTfpdef_funct_stm(RuleTranslatorParser.Tfpdef_funct_stmContext ctx) { }
232     /**
233      * {@inheritDoc}
234      *
235      * <p>The default implementation does nothing.</p>
236      */
237     override public void exitTfpdef_funct_stm(RuleTranslatorParser.Tfpdef_funct_stmContext ctx) { }
238     /**
239      * {@inheritDoc}
240      *
241      * <p>The default implementation does nothing.</p>
242      */
243     override public void enterStmt(RuleTranslatorParser.StmtContext ctx) { }
244     /**
245      * {@inheritDoc}
246      *
247      * <p>The default implementation does nothing.</p>
248      */
249     override public void exitStmt(RuleTranslatorParser.StmtContext ctx) { }
250     /**
251      * {@inheritDoc}
252      *
253      * <p>The default implementation does nothing.</p>
254      */
255     override public void enterSimple_stmt(RuleTranslatorParser.Simple_stmtContext ctx) { }
256     /**
257      * {@inheritDoc}
258      *
259      * <p>The default implementation does nothing.</p>
260      */
261     override public void exitSimple_stmt(RuleTranslatorParser.Simple_stmtContext ctx) { }
262     /**
263      * {@inheritDoc}
264      *
265      * <p>The default implementation does nothing.</p>
266      */
267     override public void enterSmall_stmt(RuleTranslatorParser.Small_stmtContext ctx) { }
268     /**
269      * {@inheritDoc}
270      *
271      * <p>The default implementation does nothing.</p>
272      */
273     override public void exitSmall_stmt(RuleTranslatorParser.Small_stmtContext ctx) { }
274     /**
275      * {@inheritDoc}
276      *
277      * <p>The default implementation does nothing.</p>
278      */
279     override public void enterString_stmt(RuleTranslatorParser.String_stmtContext ctx) { }
280     /**
281      * {@inheritDoc}
282      *
283      * <p>The default implementation does nothing.</p>
284      */
285     override public void exitString_stmt(RuleTranslatorParser.String_stmtContext ctx) { }
286     /**
287      * {@inheritDoc}
288      *
289      * <p>The default implementation does nothing.</p>
290      */
291     override public void enterFunct_stmt(RuleTranslatorParser.Funct_stmtContext ctx) { }
292     /**
293      * {@inheritDoc}
294      *
295      * <p>The default implementation does nothing.</p>
296      */
297     override public void exitFunct_stmt(RuleTranslatorParser.Funct_stmtContext ctx) { }
298     /**
299      * {@inheritDoc}
300      *
301      * <p>The default implementation does nothing.</p>
302      */
303     override public void enterFunct_name(RuleTranslatorParser.Funct_nameContext ctx) { }
304     /**
305      * {@inheritDoc}
306      *
307      * <p>The default implementation does nothing.</p>
308      */
309     override public void exitFunct_name(RuleTranslatorParser.Funct_nameContext ctx) { }
310     /**
311      * {@inheritDoc}
312      *
313      * <p>The default implementation does nothing.</p>
314      */
315     override public void enterDot_e(RuleTranslatorParser.Dot_eContext ctx) { }
316     /**
317      * {@inheritDoc}
318      *
319      * <p>The default implementation does nothing.</p>
320      */
321     override public void exitDot_e(RuleTranslatorParser.Dot_eContext ctx) { }
322     /**
323      * {@inheritDoc}
324      *
325      * <p>The default implementation does nothing.</p>
326      */
327     override public void enterFunct_parameters(RuleTranslatorParser.Funct_parametersContext ctx) { }
328     /**
329      * {@inheritDoc}
330      *
331      * <p>The default implementation does nothing.</p>
332      */
333     override public void exitFunct_parameters(RuleTranslatorParser.Funct_parametersContext ctx) { }
334     /**
335      * {@inheritDoc}
336      *
337      * <p>The default implementation does nothing.</p>
338      */
339     override public void enterVar_stmt(RuleTranslatorParser.Var_stmtContext ctx) { }
340     /**
341      * {@inheritDoc}
342      *
343      * <p>The default implementation does nothing.</p>
344      */
345     override public void exitVar_stmt(RuleTranslatorParser.Var_stmtContext ctx) { }
346     /**
347      * {@inheritDoc}
348      *
349      * <p>The default implementation does nothing.</p>
350      */
351     override public void enterFlow_stmt(RuleTranslatorParser.Flow_stmtContext ctx) { }
352     /**
353      * {@inheritDoc}
354      *
355      * <p>The default implementation does nothing.</p>
356      */
357     override public void exitFlow_stmt(RuleTranslatorParser.Flow_stmtContext ctx) { }
358     /**
359      * {@inheritDoc}
360      *
361      * <p>The default implementation does nothing.</p>
362      */
363     override public void enterBreak_stmt(RuleTranslatorParser.Break_stmtContext ctx) { }
364     /**
365      * {@inheritDoc}
366      *
367      * <p>The default implementation does nothing.</p>
368      */
369     override public void exitBreak_stmt(RuleTranslatorParser.Break_stmtContext ctx) { }
370     /**
371      * {@inheritDoc}
372      *
373      * <p>The default implementation does nothing.</p>
374      */
375     override public void enterContinue_stmt(RuleTranslatorParser.Continue_stmtContext ctx) { }
376     /**
377      * {@inheritDoc}
378      *
379      * <p>The default implementation does nothing.</p>
380      */
381     override public void exitContinue_stmt(RuleTranslatorParser.Continue_stmtContext ctx) { }
382     /**
383      * {@inheritDoc}
384      *
385      * <p>The default implementation does nothing.</p>
386      */
387     override public void enterDotted_as_name(RuleTranslatorParser.Dotted_as_nameContext ctx) { }
388     /**
389      * {@inheritDoc}
390      *
391      * <p>The default implementation does nothing.</p>
392      */
393     override public void exitDotted_as_name(RuleTranslatorParser.Dotted_as_nameContext ctx) { }
394     /**
395      * {@inheritDoc}
396      *
397      * <p>The default implementation does nothing.</p>
398      */
399     override public void enterDotted_as_names(RuleTranslatorParser.Dotted_as_namesContext ctx) { }
400     /**
401      * {@inheritDoc}
402      *
403      * <p>The default implementation does nothing.</p>
404      */
405     override public void exitDotted_as_names(RuleTranslatorParser.Dotted_as_namesContext ctx) { }
406     /**
407      * {@inheritDoc}
408      *
409      * <p>The default implementation does nothing.</p>
410      */
411     override public void enterDotted_name(RuleTranslatorParser.Dotted_nameContext ctx) { }
412     /**
413      * {@inheritDoc}
414      *
415      * <p>The default implementation does nothing.</p>
416      */
417     override public void exitDotted_name(RuleTranslatorParser.Dotted_nameContext ctx) { }
418     /**
419      * {@inheritDoc}
420      *
421      * <p>The default implementation does nothing.</p>
422      */
423     override public void enterDotted_name_first_part(RuleTranslatorParser.Dotted_name_first_partContext ctx) { }
424     /**
425      * {@inheritDoc}
426      *
427      * <p>The default implementation does nothing.</p>
428      */
429     override public void exitDotted_name_first_part(RuleTranslatorParser.Dotted_name_first_partContext ctx) { }
430     /**
431      * {@inheritDoc}
432      *
433      * <p>The default implementation does nothing.</p>
434      */
435     override public void enterDotted_name_part(RuleTranslatorParser.Dotted_name_partContext ctx) { }
436     /**
437      * {@inheritDoc}
438      *
439      * <p>The default implementation does nothing.</p>
440      */
441     override public void exitDotted_name_part(RuleTranslatorParser.Dotted_name_partContext ctx) { }
442     /**
443      * {@inheritDoc}
444      *
445      * <p>The default implementation does nothing.</p>
446      */
447     override public void enterFirst_part_of_dotted_name(RuleTranslatorParser.First_part_of_dotted_nameContext ctx) { }
448     /**
449      * {@inheritDoc}
450      *
451      * <p>The default implementation does nothing.</p>
452      */
453     override public void exitFirst_part_of_dotted_name(RuleTranslatorParser.First_part_of_dotted_nameContext ctx) { }
454     /**
455      * {@inheritDoc}
456      *
457      * <p>The default implementation does nothing.</p>
458      */
459     override public void enterCompound_stmt(RuleTranslatorParser.Compound_stmtContext ctx) { }
460     /**
461      * {@inheritDoc}
462      *
463      * <p>The default implementation does nothing.</p>
464      */
465     override public void exitCompound_stmt(RuleTranslatorParser.Compound_stmtContext ctx) { }
466     /**
467      * {@inheritDoc}
468      *
469      * <p>The default implementation does nothing.</p>
470      */
471     override public void enterIf_stmt(RuleTranslatorParser.If_stmtContext ctx) { }
472     /**
473      * {@inheritDoc}
474      *
475      * <p>The default implementation does nothing.</p>
476      */
477     override public void exitIf_stmt(RuleTranslatorParser.If_stmtContext ctx) { }
478     /**
479      * {@inheritDoc}
480      *
481      * <p>The default implementation does nothing.</p>
482      */
483     override public void enterCondition(RuleTranslatorParser.ConditionContext ctx) { }
484     /**
485      * {@inheritDoc}
486      *
487      * <p>The default implementation does nothing.</p>
488      */
489     override public void exitCondition(RuleTranslatorParser.ConditionContext ctx) { }
490     /**
491      * {@inheritDoc}
492      *
493      * <p>The default implementation does nothing.</p>
494      */
495     override public void enterElif_e(RuleTranslatorParser.Elif_eContext ctx) { }
496     /**
497      * {@inheritDoc}
498      *
499      * <p>The default implementation does nothing.</p>
500      */
501     override public void exitElif_e(RuleTranslatorParser.Elif_eContext ctx) { }
502     /**
503      * {@inheritDoc}
504      *
505      * <p>The default implementation does nothing.</p>
506      */
507     override public void enterElse_e(RuleTranslatorParser.Else_eContext ctx) { }
508     /**
509      * {@inheritDoc}
510      *
511      * <p>The default implementation does nothing.</p>
512      */
513     override public void exitElse_e(RuleTranslatorParser.Else_eContext ctx) { }
514     /**
515      * {@inheritDoc}
516      *
517      * <p>The default implementation does nothing.</p>
518      */
519     override public void enterFor_stmt(RuleTranslatorParser.For_stmtContext ctx) { }
520     /**
521      * {@inheritDoc}
522      *
523      * <p>The default implementation does nothing.</p>
524      */
525     override public void exitFor_stmt(RuleTranslatorParser.For_stmtContext ctx) { }
526     /**
527      * {@inheritDoc}
528      *
529      * <p>The default implementation does nothing.</p>
530      */
531     override public void enterFor_testlist(RuleTranslatorParser.For_testlistContext ctx) { }
532     /**
533      * {@inheritDoc}
534      *
535      * <p>The default implementation does nothing.</p>
536      */
537     override public void exitFor_testlist(RuleTranslatorParser.For_testlistContext ctx) { }
538     /**
539      * {@inheritDoc}
540      *
541      * <p>The default implementation does nothing.</p>
542      */
543     override public void enterFor_exprlist(RuleTranslatorParser.For_exprlistContext ctx) { }
544     /**
545      * {@inheritDoc}
546      *
547      * <p>The default implementation does nothing.</p>
548      */
549     override public void exitFor_exprlist(RuleTranslatorParser.For_exprlistContext ctx) { }
550     /**
551      * {@inheritDoc}
552      *
553      * <p>The default implementation does nothing.</p>
554      */
555     override public void enterBlock_stmt(RuleTranslatorParser.Block_stmtContext ctx) { }
556     /**
557      * {@inheritDoc}
558      *
559      * <p>The default implementation does nothing.</p>
560      */
561     override public void exitBlock_stmt(RuleTranslatorParser.Block_stmtContext ctx) { }
562     /**
563      * {@inheritDoc}
564      *
565      * <p>The default implementation does nothing.</p>
566      */
567     override public void enterBlock_suite(RuleTranslatorParser.Block_suiteContext ctx) { }
568     /**
569      * {@inheritDoc}
570      *
571      * <p>The default implementation does nothing.</p>
572      */
573     override public void exitBlock_suite(RuleTranslatorParser.Block_suiteContext ctx) { }
574     /**
575      * {@inheritDoc}
576      *
577      * <p>The default implementation does nothing.</p>
578      */
579     override public void enterWith_stmt(RuleTranslatorParser.With_stmtContext ctx) { }
580     /**
581      * {@inheritDoc}
582      *
583      * <p>The default implementation does nothing.</p>
584      */
585     override public void exitWith_stmt(RuleTranslatorParser.With_stmtContext ctx) { }
586     /**
587      * {@inheritDoc}
588      *
589      * <p>The default implementation does nothing.</p>
590      */
591     override public void enterWith_item(RuleTranslatorParser.With_itemContext ctx) { }
592     /**
593      * {@inheritDoc}
594      *
595      * <p>The default implementation does nothing.</p>
596      */
597     override public void exitWith_item(RuleTranslatorParser.With_itemContext ctx) { }
598     /**
599      * {@inheritDoc}
600      *
601      * <p>The default implementation does nothing.</p>
602      */
603     override public void enterSuite(RuleTranslatorParser.SuiteContext ctx) { }
604     /**
605      * {@inheritDoc}
606      *
607      * <p>The default implementation does nothing.</p>
608      */
609     override public void exitSuite(RuleTranslatorParser.SuiteContext ctx) { }
610     /**
611      * {@inheritDoc}
612      *
613      * <p>The default implementation does nothing.</p>
614      */
615     override public void enterTest(RuleTranslatorParser.TestContext ctx) { }
616     /**
617      * {@inheritDoc}
618      *
619      * <p>The default implementation does nothing.</p>
620      */
621     override public void exitTest(RuleTranslatorParser.TestContext ctx) { }
622     /**
623      * {@inheritDoc}
624      *
625      * <p>The default implementation does nothing.</p>
626      */
627     override public void enterTest_nocond(RuleTranslatorParser.Test_nocondContext ctx) { }
628     /**
629      * {@inheritDoc}
630      *
631      * <p>The default implementation does nothing.</p>
632      */
633     override public void exitTest_nocond(RuleTranslatorParser.Test_nocondContext ctx) { }
634     /**
635      * {@inheritDoc}
636      *
637      * <p>The default implementation does nothing.</p>
638      */
639     override public void enterOr_test(RuleTranslatorParser.Or_testContext ctx) { }
640     /**
641      * {@inheritDoc}
642      *
643      * <p>The default implementation does nothing.</p>
644      */
645     override public void exitOr_test(RuleTranslatorParser.Or_testContext ctx) { }
646     /**
647      * {@inheritDoc}
648      *
649      * <p>The default implementation does nothing.</p>
650      */
651     override public void enterOr_e(RuleTranslatorParser.Or_eContext ctx) { }
652     /**
653      * {@inheritDoc}
654      *
655      * <p>The default implementation does nothing.</p>
656      */
657     override public void exitOr_e(RuleTranslatorParser.Or_eContext ctx) { }
658     /**
659      * {@inheritDoc}
660      *
661      * <p>The default implementation does nothing.</p>
662      */
663     override public void enterAnd_test(RuleTranslatorParser.And_testContext ctx) { }
664     /**
665      * {@inheritDoc}
666      *
667      * <p>The default implementation does nothing.</p>
668      */
669     override public void exitAnd_test(RuleTranslatorParser.And_testContext ctx) { }
670     /**
671      * {@inheritDoc}
672      *
673      * <p>The default implementation does nothing.</p>
674      */
675     override public void enterAnd_e(RuleTranslatorParser.And_eContext ctx) { }
676     /**
677      * {@inheritDoc}
678      *
679      * <p>The default implementation does nothing.</p>
680      */
681     override public void exitAnd_e(RuleTranslatorParser.And_eContext ctx) { }
682     /**
683      * {@inheritDoc}
684      *
685      * <p>The default implementation does nothing.</p>
686      */
687     override public void enterNot_test(RuleTranslatorParser.Not_testContext ctx) { }
688     /**
689      * {@inheritDoc}
690      *
691      * <p>The default implementation does nothing.</p>
692      */
693     override public void exitNot_test(RuleTranslatorParser.Not_testContext ctx) { }
694     /**
695      * {@inheritDoc}
696      *
697      * <p>The default implementation does nothing.</p>
698      */
699     override public void enterNot(RuleTranslatorParser.NotContext ctx) { }
700     /**
701      * {@inheritDoc}
702      *
703      * <p>The default implementation does nothing.</p>
704      */
705     override public void exitNot(RuleTranslatorParser.NotContext ctx) { }
706     /**
707      * {@inheritDoc}
708      *
709      * <p>The default implementation does nothing.</p>
710      */
711     override public void enterComparison(RuleTranslatorParser.ComparisonContext ctx) { }
712     /**
713      * {@inheritDoc}
714      *
715      * <p>The default implementation does nothing.</p>
716      */
717     override public void exitComparison(RuleTranslatorParser.ComparisonContext ctx) { }
718     /**
719      * {@inheritDoc}
720      *
721      * <p>The default implementation does nothing.</p>
722      */
723     override public void enterLess_than(RuleTranslatorParser.Less_thanContext ctx) { }
724     /**
725      * {@inheritDoc}
726      *
727      * <p>The default implementation does nothing.</p>
728      */
729     override public void exitLess_than(RuleTranslatorParser.Less_thanContext ctx) { }
730     /**
731      * {@inheritDoc}
732      *
733      * <p>The default implementation does nothing.</p>
734      */
735     override public void enterGreater_than(RuleTranslatorParser.Greater_thanContext ctx) { }
736     /**
737      * {@inheritDoc}
738      *
739      * <p>The default implementation does nothing.</p>
740      */
741     override public void exitGreater_than(RuleTranslatorParser.Greater_thanContext ctx) { }
742     /**
743      * {@inheritDoc}
744      *
745      * <p>The default implementation does nothing.</p>
746      */
747     override public void enterEquals(RuleTranslatorParser.EqualsContext ctx) { }
748     /**
749      * {@inheritDoc}
750      *
751      * <p>The default implementation does nothing.</p>
752      */
753     override public void exitEquals(RuleTranslatorParser.EqualsContext ctx) { }
754     /**
755      * {@inheritDoc}
756      *
757      * <p>The default implementation does nothing.</p>
758      */
759     override public void enterGreater_equal(RuleTranslatorParser.Greater_equalContext ctx) { }
760     /**
761      * {@inheritDoc}
762      *
763      * <p>The default implementation does nothing.</p>
764      */
765     override public void exitGreater_equal(RuleTranslatorParser.Greater_equalContext ctx) { }
766     /**
767      * {@inheritDoc}
768      *
769      * <p>The default implementation does nothing.</p>
770      */
771     override public void enterLess_equal(RuleTranslatorParser.Less_equalContext ctx) { }
772     /**
773      * {@inheritDoc}
774      *
775      * <p>The default implementation does nothing.</p>
776      */
777     override public void exitLess_equal(RuleTranslatorParser.Less_equalContext ctx) { }
778     /**
779      * {@inheritDoc}
780      *
781      * <p>The default implementation does nothing.</p>
782      */
783     override public void enterNot_equal(RuleTranslatorParser.Not_equalContext ctx) { }
784     /**
785      * {@inheritDoc}
786      *
787      * <p>The default implementation does nothing.</p>
788      */
789     override public void exitNot_equal(RuleTranslatorParser.Not_equalContext ctx) { }
790     /**
791      * {@inheritDoc}
792      *
793      * <p>The default implementation does nothing.</p>
794      */
795     override public void enterExpr(RuleTranslatorParser.ExprContext ctx) { }
796     /**
797      * {@inheritDoc}
798      *
799      * <p>The default implementation does nothing.</p>
800      */
801     override public void exitExpr(RuleTranslatorParser.ExprContext ctx) { }
802     /**
803      * {@inheritDoc}
804      *
805      * <p>The default implementation does nothing.</p>
806      */
807     override public void enterXor_expr(RuleTranslatorParser.Xor_exprContext ctx) { }
808     /**
809      * {@inheritDoc}
810      *
811      * <p>The default implementation does nothing.</p>
812      */
813     override public void exitXor_expr(RuleTranslatorParser.Xor_exprContext ctx) { }
814     /**
815      * {@inheritDoc}
816      *
817      * <p>The default implementation does nothing.</p>
818      */
819     override public void enterAnd_expr(RuleTranslatorParser.And_exprContext ctx) { }
820     /**
821      * {@inheritDoc}
822      *
823      * <p>The default implementation does nothing.</p>
824      */
825     override public void exitAnd_expr(RuleTranslatorParser.And_exprContext ctx) { }
826 
827     /**
828      * {@inheritDoc}
829      *
830      * <p>The default implementation does nothing.</p>
831      */
832     override public void enterArith_expr(RuleTranslatorParser.Arith_exprContext ctx) { }
833     /**
834      * {@inheritDoc}
835      *
836      * <p>The default implementation does nothing.</p>
837      */
838     override public void exitArith_expr(RuleTranslatorParser.Arith_exprContext ctx) { }
839     /**
840      * {@inheritDoc}
841      *
842      * <p>The default implementation does nothing.</p>
843      */
844     override public void enterTerm(RuleTranslatorParser.TermContext ctx) { }
845     /**
846      * {@inheritDoc}
847      *
848      * <p>The default implementation does nothing.</p>
849      */
850     override public void exitTerm(RuleTranslatorParser.TermContext ctx) { }
851     /**
852      * {@inheritDoc}
853      *
854      * <p>The default implementation does nothing.</p>
855      */
856     override public void enterFactor(RuleTranslatorParser.FactorContext ctx) { }
857     /**
858      * {@inheritDoc}
859      *
860      * <p>The default implementation does nothing.</p>
861      */
862     override public void exitFactor(RuleTranslatorParser.FactorContext ctx) { }
863     /**
864      * {@inheritDoc}
865      *
866      * <p>The default implementation does nothing.</p>
867      */
868     override public void enterAtom_dotted_name(RuleTranslatorParser.Atom_dotted_nameContext ctx) { }
869     /**
870      * {@inheritDoc}
871      *
872      * <p>The default implementation does nothing.</p>
873      */
874     override public void exitAtom_dotted_name(RuleTranslatorParser.Atom_dotted_nameContext ctx) { }
875     /**
876      * {@inheritDoc}
877      *
878      * <p>The default implementation does nothing.</p>
879      */
880     override public void enterAtom_funct_stmt(RuleTranslatorParser.Atom_funct_stmtContext ctx) { }
881     /**
882      * {@inheritDoc}
883      *
884      * <p>The default implementation does nothing.</p>
885      */
886     override public void exitAtom_funct_stmt(RuleTranslatorParser.Atom_funct_stmtContext ctx) { }
887     /**
888      * {@inheritDoc}
889      *
890      * <p>The default implementation does nothing.</p>
891      */
892     override public void enterNumber_e(RuleTranslatorParser.Number_eContext ctx) { }
893     /**
894      * {@inheritDoc}
895      *
896      * <p>The default implementation does nothing.</p>
897      */
898     override public void exitNumber_e(RuleTranslatorParser.Number_eContext ctx) { }
899     /**
900      * {@inheritDoc}
901      *
902      * <p>The default implementation does nothing.</p>
903      */
904     override public void enterString_e(RuleTranslatorParser.String_eContext ctx) { }
905     /**
906      * {@inheritDoc}
907      *
908      * <p>The default implementation does nothing.</p>
909      */
910     override public void exitString_e(RuleTranslatorParser.String_eContext ctx) { }
911     /**
912      * {@inheritDoc}
913      *
914      * <p>The default implementation does nothing.</p>
915      */
916     override public void enterTrue_e(RuleTranslatorParser.True_eContext ctx) { }
917     /**
918      * {@inheritDoc}
919      *
920      * <p>The default implementation does nothing.</p>
921      */
922     override public void exitTrue_e(RuleTranslatorParser.True_eContext ctx) { }
923     /**
924      * {@inheritDoc}
925      *
926      * <p>The default implementation does nothing.</p>
927      */
928     override public void enterFalse_e(RuleTranslatorParser.False_eContext ctx) { }
929     /**
930      * {@inheritDoc}
931      *
932      * <p>The default implementation does nothing.</p>
933      */
934     override public void exitFalse_e(RuleTranslatorParser.False_eContext ctx) { }
935     /**
936      * {@inheritDoc}
937      *
938      * <p>The default implementation does nothing.</p>
939      */
940     override public void enterLast_e(RuleTranslatorParser.Last_eContext ctx) { }
941     /**
942      * {@inheritDoc}
943      *
944      * <p>The default implementation does nothing.</p>
945      */
946     override public void exitLast_e(RuleTranslatorParser.Last_eContext ctx) { }
947     /**
948      * {@inheritDoc}
949      *
950      * <p>The default implementation does nothing.</p>
951      */
952     override public void enterFirst_e(RuleTranslatorParser.First_eContext ctx) { }
953     /**
954      * {@inheritDoc}
955      *
956      * <p>The default implementation does nothing.</p>
957      */
958     override public void exitFirst_e(RuleTranslatorParser.First_eContext ctx) { }
959     /**
960      * {@inheritDoc}
961      *
962      * <p>The default implementation does nothing.</p>
963      */
964     override public void enterTestlist_comp(RuleTranslatorParser.Testlist_compContext ctx) { }
965     /**
966      * {@inheritDoc}
967      *
968      * <p>The default implementation does nothing.</p>
969      */
970     override public void exitTestlist_comp(RuleTranslatorParser.Testlist_compContext ctx) { }
971     /**
972      * {@inheritDoc}
973      *
974      * <p>The default implementation does nothing.</p>
975      */
976     override public void enterTrailer(RuleTranslatorParser.TrailerContext ctx) { }
977     /**
978      * {@inheritDoc}
979      *
980      * <p>The default implementation does nothing.</p>
981      */
982     override public void exitTrailer(RuleTranslatorParser.TrailerContext ctx) { }
983     /**
984      * {@inheritDoc}
985      *
986      * <p>The default implementation does nothing.</p>
987      */
988     override public void enterSubscriptlist(RuleTranslatorParser.SubscriptlistContext ctx) { }
989     /**
990      * {@inheritDoc}
991      *
992      * <p>The default implementation does nothing.</p>
993      */
994     override public void exitSubscriptlist(RuleTranslatorParser.SubscriptlistContext ctx) { }
995     /**
996      * {@inheritDoc}
997      *
998      * <p>The default implementation does nothing.</p>
999      */
1000     override public void enterSubscript(RuleTranslatorParser.SubscriptContext ctx) { }
1001     /**
1002      * {@inheritDoc}
1003      *
1004      * <p>The default implementation does nothing.</p>
1005      */
1006     override public void exitSubscript(RuleTranslatorParser.SubscriptContext ctx) { }
1007     /**
1008      * {@inheritDoc}
1009      *
1010      * <p>The default implementation does nothing.</p>
1011      */
1012     override public void enterSliceop(RuleTranslatorParser.SliceopContext ctx) { }
1013     /**
1014      * {@inheritDoc}
1015      *
1016      * <p>The default implementation does nothing.</p>
1017      */
1018     override public void exitSliceop(RuleTranslatorParser.SliceopContext ctx) { }
1019     /**
1020      * {@inheritDoc}
1021      *
1022      * <p>The default implementation does nothing.</p>
1023      */
1024     override public void enterExprlist(RuleTranslatorParser.ExprlistContext ctx) { }
1025     /**
1026      * {@inheritDoc}
1027      *
1028      * <p>The default implementation does nothing.</p>
1029      */
1030     override public void exitExprlist(RuleTranslatorParser.ExprlistContext ctx) { }
1031     /**
1032      * {@inheritDoc}
1033      *
1034      * <p>The default implementation does nothing.</p>
1035      */
1036     override public void enterTestlist(RuleTranslatorParser.TestlistContext ctx) { }
1037     /**
1038      * {@inheritDoc}
1039      *
1040      * <p>The default implementation does nothing.</p>
1041      */
1042     override public void exitTestlist(RuleTranslatorParser.TestlistContext ctx) { }
1043     /**
1044      * {@inheritDoc}
1045      *
1046      * <p>The default implementation does nothing.</p>
1047      */
1048     override public void enterDictorsetmaker(RuleTranslatorParser.DictorsetmakerContext ctx) { }
1049     /**
1050      * {@inheritDoc}
1051      *
1052      * <p>The default implementation does nothing.</p>
1053      */
1054     override public void exitDictorsetmaker(RuleTranslatorParser.DictorsetmakerContext ctx) { }
1055     /**
1056      * {@inheritDoc}
1057      *
1058      * <p>The default implementation does nothing.</p>
1059      */
1060     override public void enterArglist(RuleTranslatorParser.ArglistContext ctx) { }
1061     /**
1062      * {@inheritDoc}
1063      *
1064      * <p>The default implementation does nothing.</p>
1065      */
1066     override public void exitArglist(RuleTranslatorParser.ArglistContext ctx) { }
1067     /**
1068      * {@inheritDoc}
1069      *
1070      * <p>The default implementation does nothing.</p>
1071      */
1072     override public void enterArgument(RuleTranslatorParser.ArgumentContext ctx) { }
1073     /**
1074      * {@inheritDoc}
1075      *
1076      * <p>The default implementation does nothing.</p>
1077      */
1078     override public void exitArgument(RuleTranslatorParser.ArgumentContext ctx) { }
1079 
1080     /**
1081      * {@inheritDoc}
1082      *
1083      * <p>The default implementation does nothing.</p>
1084      */
1085     override public void enterEveryRule(ParserRuleContext ctx) { }
1086     /**
1087      * {@inheritDoc}
1088      *
1089      * <p>The default implementation does nothing.</p>
1090      */
1091     override public void exitEveryRule(ParserRuleContext ctx) { }
1092     /**
1093      * {@inheritDoc}
1094      *
1095      * <p>The default implementation does nothing.</p>
1096      */
1097     override public void visitTerminal(TerminalNode node) { }
1098     /**
1099      * {@inheritDoc}
1100      *
1101      * <p>The default implementation does nothing.</p>
1102      */
1103     override public void visitErrorNode(ErrorNode node) { }
1104 }