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      * {@inheritDoc}
828      *
829      * <p>The default implementation does nothing.</p>
830      */
831     override public void enterShift_expr(RuleTranslatorParser.Shift_exprContext ctx) { }
832     /**
833      * {@inheritDoc}
834      *
835      * <p>The default implementation does nothing.</p>
836      */
837     override public void exitShift_expr(RuleTranslatorParser.Shift_exprContext ctx) { }
838     /**
839      * {@inheritDoc}
840      *
841      * <p>The default implementation does nothing.</p>
842      */
843     override public void enterArith_expr(RuleTranslatorParser.Arith_exprContext ctx) { }
844     /**
845      * {@inheritDoc}
846      *
847      * <p>The default implementation does nothing.</p>
848      */
849     override public void exitArith_expr(RuleTranslatorParser.Arith_exprContext ctx) { }
850     /**
851      * {@inheritDoc}
852      *
853      * <p>The default implementation does nothing.</p>
854      */
855     override public void enterTerm(RuleTranslatorParser.TermContext ctx) { }
856     /**
857      * {@inheritDoc}
858      *
859      * <p>The default implementation does nothing.</p>
860      */
861     override public void exitTerm(RuleTranslatorParser.TermContext ctx) { }
862     /**
863      * {@inheritDoc}
864      *
865      * <p>The default implementation does nothing.</p>
866      */
867     override public void enterFactor(RuleTranslatorParser.FactorContext ctx) { }
868     /**
869      * {@inheritDoc}
870      *
871      * <p>The default implementation does nothing.</p>
872      */
873     override public void exitFactor(RuleTranslatorParser.FactorContext ctx) { }
874     /**
875      * {@inheritDoc}
876      *
877      * <p>The default implementation does nothing.</p>
878      */
879     override public void enterAtom_dotted_name(RuleTranslatorParser.Atom_dotted_nameContext ctx) { }
880     /**
881      * {@inheritDoc}
882      *
883      * <p>The default implementation does nothing.</p>
884      */
885     override public void exitAtom_dotted_name(RuleTranslatorParser.Atom_dotted_nameContext ctx) { }
886     /**
887      * {@inheritDoc}
888      *
889      * <p>The default implementation does nothing.</p>
890      */
891     override public void enterAtom_funct_stmt(RuleTranslatorParser.Atom_funct_stmtContext ctx) { }
892     /**
893      * {@inheritDoc}
894      *
895      * <p>The default implementation does nothing.</p>
896      */
897     override public void exitAtom_funct_stmt(RuleTranslatorParser.Atom_funct_stmtContext ctx) { }
898     /**
899      * {@inheritDoc}
900      *
901      * <p>The default implementation does nothing.</p>
902      */
903     override public void enterNumber_e(RuleTranslatorParser.Number_eContext ctx) { }
904     /**
905      * {@inheritDoc}
906      *
907      * <p>The default implementation does nothing.</p>
908      */
909     override public void exitNumber_e(RuleTranslatorParser.Number_eContext ctx) { }
910     /**
911      * {@inheritDoc}
912      *
913      * <p>The default implementation does nothing.</p>
914      */
915     override public void enterString_e(RuleTranslatorParser.String_eContext ctx) { }
916     /**
917      * {@inheritDoc}
918      *
919      * <p>The default implementation does nothing.</p>
920      */
921     override public void exitString_e(RuleTranslatorParser.String_eContext ctx) { }
922     /**
923      * {@inheritDoc}
924      *
925      * <p>The default implementation does nothing.</p>
926      */
927     override public void enterTrue_e(RuleTranslatorParser.True_eContext ctx) { }
928     /**
929      * {@inheritDoc}
930      *
931      * <p>The default implementation does nothing.</p>
932      */
933     override public void exitTrue_e(RuleTranslatorParser.True_eContext ctx) { }
934     /**
935      * {@inheritDoc}
936      *
937      * <p>The default implementation does nothing.</p>
938      */
939     override public void enterFalse_e(RuleTranslatorParser.False_eContext ctx) { }
940     /**
941      * {@inheritDoc}
942      *
943      * <p>The default implementation does nothing.</p>
944      */
945     override public void exitFalse_e(RuleTranslatorParser.False_eContext ctx) { }
946     /**
947      * {@inheritDoc}
948      *
949      * <p>The default implementation does nothing.</p>
950      */
951     override public void enterLast_e(RuleTranslatorParser.Last_eContext ctx) { }
952     /**
953      * {@inheritDoc}
954      *
955      * <p>The default implementation does nothing.</p>
956      */
957     override public void exitLast_e(RuleTranslatorParser.Last_eContext ctx) { }
958     /**
959      * {@inheritDoc}
960      *
961      * <p>The default implementation does nothing.</p>
962      */
963     override public void enterFirst_e(RuleTranslatorParser.First_eContext ctx) { }
964     /**
965      * {@inheritDoc}
966      *
967      * <p>The default implementation does nothing.</p>
968      */
969     override public void exitFirst_e(RuleTranslatorParser.First_eContext ctx) { }
970     /**
971      * {@inheritDoc}
972      *
973      * <p>The default implementation does nothing.</p>
974      */
975     override public void enterTestlist_comp(RuleTranslatorParser.Testlist_compContext ctx) { }
976     /**
977      * {@inheritDoc}
978      *
979      * <p>The default implementation does nothing.</p>
980      */
981     override public void exitTestlist_comp(RuleTranslatorParser.Testlist_compContext ctx) { }
982     /**
983      * {@inheritDoc}
984      *
985      * <p>The default implementation does nothing.</p>
986      */
987     override public void enterTrailer(RuleTranslatorParser.TrailerContext ctx) { }
988     /**
989      * {@inheritDoc}
990      *
991      * <p>The default implementation does nothing.</p>
992      */
993     override public void exitTrailer(RuleTranslatorParser.TrailerContext ctx) { }
994     /**
995      * {@inheritDoc}
996      *
997      * <p>The default implementation does nothing.</p>
998      */
999     override public void enterSubscriptlist(RuleTranslatorParser.SubscriptlistContext ctx) { }
1000     /**
1001      * {@inheritDoc}
1002      *
1003      * <p>The default implementation does nothing.</p>
1004      */
1005     override public void exitSubscriptlist(RuleTranslatorParser.SubscriptlistContext ctx) { }
1006     /**
1007      * {@inheritDoc}
1008      *
1009      * <p>The default implementation does nothing.</p>
1010      */
1011     override public void enterSubscript(RuleTranslatorParser.SubscriptContext ctx) { }
1012     /**
1013      * {@inheritDoc}
1014      *
1015      * <p>The default implementation does nothing.</p>
1016      */
1017     override public void exitSubscript(RuleTranslatorParser.SubscriptContext ctx) { }
1018     /**
1019      * {@inheritDoc}
1020      *
1021      * <p>The default implementation does nothing.</p>
1022      */
1023     override public void enterSliceop(RuleTranslatorParser.SliceopContext ctx) { }
1024     /**
1025      * {@inheritDoc}
1026      *
1027      * <p>The default implementation does nothing.</p>
1028      */
1029     override public void exitSliceop(RuleTranslatorParser.SliceopContext ctx) { }
1030     /**
1031      * {@inheritDoc}
1032      *
1033      * <p>The default implementation does nothing.</p>
1034      */
1035     override public void enterExprlist(RuleTranslatorParser.ExprlistContext ctx) { }
1036     /**
1037      * {@inheritDoc}
1038      *
1039      * <p>The default implementation does nothing.</p>
1040      */
1041     override public void exitExprlist(RuleTranslatorParser.ExprlistContext ctx) { }
1042     /**
1043      * {@inheritDoc}
1044      *
1045      * <p>The default implementation does nothing.</p>
1046      */
1047     override public void enterTestlist(RuleTranslatorParser.TestlistContext ctx) { }
1048     /**
1049      * {@inheritDoc}
1050      *
1051      * <p>The default implementation does nothing.</p>
1052      */
1053     override public void exitTestlist(RuleTranslatorParser.TestlistContext ctx) { }
1054     /**
1055      * {@inheritDoc}
1056      *
1057      * <p>The default implementation does nothing.</p>
1058      */
1059     override public void enterDictorsetmaker(RuleTranslatorParser.DictorsetmakerContext ctx) { }
1060     /**
1061      * {@inheritDoc}
1062      *
1063      * <p>The default implementation does nothing.</p>
1064      */
1065     override public void exitDictorsetmaker(RuleTranslatorParser.DictorsetmakerContext ctx) { }
1066     /**
1067      * {@inheritDoc}
1068      *
1069      * <p>The default implementation does nothing.</p>
1070      */
1071     override public void enterArglist(RuleTranslatorParser.ArglistContext ctx) { }
1072     /**
1073      * {@inheritDoc}
1074      *
1075      * <p>The default implementation does nothing.</p>
1076      */
1077     override public void exitArglist(RuleTranslatorParser.ArglistContext ctx) { }
1078     /**
1079      * {@inheritDoc}
1080      *
1081      * <p>The default implementation does nothing.</p>
1082      */
1083     override public void enterArgument(RuleTranslatorParser.ArgumentContext ctx) { }
1084     /**
1085      * {@inheritDoc}
1086      *
1087      * <p>The default implementation does nothing.</p>
1088      */
1089     override public void exitArgument(RuleTranslatorParser.ArgumentContext ctx) { }
1090     /**
1091      * {@inheritDoc}
1092      *
1093      * <p>The default implementation does nothing.</p>
1094      */
1095     override public void enterLow(RuleTranslatorParser.LowContext ctx) { }
1096     /**
1097      * {@inheritDoc}
1098      *
1099      * <p>The default implementation does nothing.</p>
1100      */
1101     override public void exitLow(RuleTranslatorParser.LowContext ctx) { }
1102     /**
1103      * {@inheritDoc}
1104      *
1105      * <p>The default implementation does nothing.</p>
1106      */
1107     override public void enterHigh(RuleTranslatorParser.HighContext ctx) { }
1108     /**
1109      * {@inheritDoc}
1110      *
1111      * <p>The default implementation does nothing.</p>
1112      */
1113     override public void exitHigh(RuleTranslatorParser.HighContext ctx) { }
1114 
1115     /**
1116      * {@inheritDoc}
1117      *
1118      * <p>The default implementation does nothing.</p>
1119      */
1120     override public void enterEveryRule(ParserRuleContext ctx) { }
1121     /**
1122      * {@inheritDoc}
1123      *
1124      * <p>The default implementation does nothing.</p>
1125      */
1126     override public void exitEveryRule(ParserRuleContext ctx) { }
1127     /**
1128      * {@inheritDoc}
1129      *
1130      * <p>The default implementation does nothing.</p>
1131      */
1132     override public void visitTerminal(TerminalNode node) { }
1133     /**
1134      * {@inheritDoc}
1135      *
1136      * <p>The default implementation does nothing.</p>
1137      */
1138     override public void visitErrorNode(ErrorNode node) { }
1139 }