1 // Generated from doc/examples/simple_expression/Expr.g4 by ANTLR 4.9.2
2 module ExprBaseListener;
3
4 import antlr.v4.runtime.ParserRuleContext;
5 import antlr.v4.runtime.tree.ErrorNode;
6 import antlr.v4.runtime.tree.TerminalNode;
7 import ExprListener : ExprListener;
8 import ExprParser : ExprParser;
9
10 /**
11 * This class provides an empty implementation of {@link ExprListener},
12 * which can be extended to create a listener which only needs to handle a subset
13 * of the available methods.
14 */
15 public class ExprBaseListener : ExprListener {
16 /**
17 * {@inheritDoc}
18 *
19 * <p>The default implementation does nothing.</p>
20 */
21 override public void enterProg(ExprParser.ProgContext ctx) { }
22 /**
23 * {@inheritDoc}
24 *
25 * <p>The default implementation does nothing.</p>
26 */
27 override public void exitProg(ExprParser.ProgContext ctx) { }
28 /**
29 * {@inheritDoc}
30 *
31 * <p>The default implementation does nothing.</p>
32 */
33 override public void enterDiv(ExprParser.DivContext ctx) { }
34 /**
35 * {@inheritDoc}
36 *
37 * <p>The default implementation does nothing.</p>
38 */
39 override public void exitDiv(ExprParser.DivContext ctx) { }
40 /**
41 * {@inheritDoc}
42 *
43 * <p>The default implementation does nothing.</p>
44 */
45 override public void enterAdd(ExprParser.AddContext ctx) { }
46 /**
47 * {@inheritDoc}
48 *
49 * <p>The default implementation does nothing.</p>
50 */
51 override public void exitAdd(ExprParser.AddContext ctx) { }
52 /**
53 * {@inheritDoc}
54 *
55 * <p>The default implementation does nothing.</p>
56 */
57 override public void enterSub(ExprParser.SubContext ctx) { }
58 /**
59 * {@inheritDoc}
60 *
61 * <p>The default implementation does nothing.</p>
62 */
63 override public void exitSub(ExprParser.SubContext ctx) { }
64 /**
65 * {@inheritDoc}
66 *
67 * <p>The default implementation does nothing.</p>
68 */
69 override public void enterMul(ExprParser.MulContext ctx) { }
70 /**
71 * {@inheritDoc}
72 *
73 * <p>The default implementation does nothing.</p>
74 */
75 override public void exitMul(ExprParser.MulContext ctx) { }
76 /**
77 * {@inheritDoc}
78 *
79 * <p>The default implementation does nothing.</p>
80 */
81 override public void enterBracketExpr(ExprParser.BracketExprContext ctx) { }
82 /**
83 * {@inheritDoc}
84 *
85 * <p>The default implementation does nothing.</p>
86 */
87 override public void exitBracketExpr(ExprParser.BracketExprContext ctx) { }
88 /**
89 * {@inheritDoc}
90 *
91 * <p>The default implementation does nothing.</p>
92 */
93 override public void enterInt(ExprParser.IntContext ctx) { }
94 /**
95 * {@inheritDoc}
96 *
97 * <p>The default implementation does nothing.</p>
98 */
99 override public void exitInt(ExprParser.IntContext ctx) { }
100
101 /**
102 * {@inheritDoc}
103 *
104 * <p>The default implementation does nothing.</p>
105 */
106 override public void enterEveryRule(ParserRuleContext ctx) { }
107 /**
108 * {@inheritDoc}
109 *
110 * <p>The default implementation does nothing.</p>
111 */
112 override public void exitEveryRule(ParserRuleContext ctx) { }
113 /**
114 * {@inheritDoc}
115 *
116 * <p>The default implementation does nothing.</p>
117 */
118 override public void visitTerminal(TerminalNode node) { }
119 /**
120 * {@inheritDoc}
121 *
122 * <p>The default implementation does nothing.</p>
123 */
124 override public void visitErrorNode(ErrorNode node) { }
125 }