Package eu.simuline.relana.parser
Class FormulaBaseListener
- java.lang.Object
-
- eu.simuline.relana.parser.FormulaBaseListener
-
- All Implemented Interfaces:
FormulaListener
,ParseTreeListener
public class FormulaBaseListener extends Object implements FormulaListener
This class provides an empty implementation ofFormulaListener
, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description FormulaBaseListener()
-
Method Summary
-
-
-
Method Detail
-
enterFormula
public void enterFormula(FormulaParser.FormulaContext ctx)
Enter a parse tree produced byFormulaParser.formula()
.The default implementation does nothing.
- Specified by:
enterFormula
in interfaceFormulaListener
- Parameters:
ctx
- the parse tree
-
exitFormula
public void exitFormula(FormulaParser.FormulaContext ctx)
Exit a parse tree produced byFormulaParser.formula()
.The default implementation does nothing.
- Specified by:
exitFormula
in interfaceFormulaListener
- Parameters:
ctx
- the parse tree
-
enterConstFormula
public void enterConstFormula(FormulaParser.ConstFormulaContext ctx)
Enter a parse tree produced byFormulaParser.constFormula()
.The default implementation does nothing.
- Specified by:
enterConstFormula
in interfaceFormulaListener
- Parameters:
ctx
- the parse tree
-
exitConstFormula
public void exitConstFormula(FormulaParser.ConstFormulaContext ctx)
Exit a parse tree produced byFormulaParser.constFormula()
.The default implementation does nothing.
- Specified by:
exitConstFormula
in interfaceFormulaListener
- Parameters:
ctx
- the parse tree
-
enterVarFormula
public void enterVarFormula(FormulaParser.VarFormulaContext ctx)
Enter a parse tree produced byFormulaParser.varFormula()
.The default implementation does nothing.
- Specified by:
enterVarFormula
in interfaceFormulaListener
- Parameters:
ctx
- the parse tree
-
exitVarFormula
public void exitVarFormula(FormulaParser.VarFormulaContext ctx)
Exit a parse tree produced byFormulaParser.varFormula()
.The default implementation does nothing.
- Specified by:
exitVarFormula
in interfaceFormulaListener
- Parameters:
ctx
- the parse tree
-
enterCompFormula
public void enterCompFormula(FormulaParser.CompFormulaContext ctx)
Enter a parse tree produced byFormulaParser.compFormula()
.The default implementation does nothing.
- Specified by:
enterCompFormula
in interfaceFormulaListener
- Parameters:
ctx
- the parse tree
-
exitCompFormula
public void exitCompFormula(FormulaParser.CompFormulaContext ctx)
Exit a parse tree produced byFormulaParser.compFormula()
.The default implementation does nothing.
- Specified by:
exitCompFormula
in interfaceFormulaListener
- Parameters:
ctx
- the parse tree
-
enterAddFormula
public void enterAddFormula(FormulaParser.AddFormulaContext ctx)
Enter a parse tree produced byFormulaParser.addFormula()
.The default implementation does nothing.
- Specified by:
enterAddFormula
in interfaceFormulaListener
- Parameters:
ctx
- the parse tree
-
exitAddFormula
public void exitAddFormula(FormulaParser.AddFormulaContext ctx)
Exit a parse tree produced byFormulaParser.addFormula()
.The default implementation does nothing.
- Specified by:
exitAddFormula
in interfaceFormulaListener
- Parameters:
ctx
- the parse tree
-
enterPath
public void enterPath(FormulaParser.PathContext ctx)
Enter a parse tree produced byFormulaParser.path
.The default implementation does nothing.
- Specified by:
enterPath
in interfaceFormulaListener
- Parameters:
ctx
- the parse tree
-
exitPath
public void exitPath(FormulaParser.PathContext ctx)
Exit a parse tree produced byFormulaParser.path
.The default implementation does nothing.
- Specified by:
exitPath
in interfaceFormulaListener
- Parameters:
ctx
- the parse tree
-
enterEveryRule
public void enterEveryRule(ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRule
in interfaceParseTreeListener
-
exitEveryRule
public void exitEveryRule(ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRule
in interfaceParseTreeListener
-
visitTerminal
public void visitTerminal(TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminal
in interfaceParseTreeListener
-
visitErrorNode
public void visitErrorNode(ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNode
in interfaceParseTreeListener
-
-