Class DialobRuleBaseListener
- java.lang.Object
-
- io.dialob.rule.parser.DialobRuleBaseListener
-
- All Implemented Interfaces:
DialobRuleListener,org.antlr.v4.runtime.tree.ParseTreeListener
- Direct Known Subclasses:
ASTBuilderWalker
public class DialobRuleBaseListener extends Object implements DialobRuleListener
This class provides an empty implementation ofDialobRuleListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description DialobRuleBaseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenterArithExpr(DialobRuleParser.ArithExprContext ctx)Enter a parse tree produced by thearithExprlabeled alternative inDialobRuleParser.expr().voidenterCallExpr(DialobRuleParser.CallExprContext ctx)Enter a parse tree produced by thecallExprlabeled alternative inDialobRuleParser.arithExprRule().voidenterCompileUnit(DialobRuleParser.CompileUnitContext ctx)Enter a parse tree produced byDialobRuleParser.compileUnit().voidenterConstExpr(DialobRuleParser.ConstExprContext ctx)Enter a parse tree produced by theconstExprlabeled alternative inDialobRuleParser.arithExprRule().voidenterConstExprRule(DialobRuleParser.ConstExprRuleContext ctx)Enter a parse tree produced byDialobRuleParser.constExprRule().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidenterGroupExpr(DialobRuleParser.GroupExprContext ctx)Enter a parse tree produced by thegroupExprlabeled alternative inDialobRuleParser.expr().voidenterIdExpr(DialobRuleParser.IdExprContext ctx)Enter a parse tree produced by theidExprlabeled alternative inDialobRuleParser.arithExprRule().voidenterIdExprRule(DialobRuleParser.IdExprRuleContext ctx)Enter a parse tree produced byDialobRuleParser.idExprRule().voidenterInfixExpr(DialobRuleParser.InfixExprContext ctx)Enter a parse tree produced by theinfixExprlabeled alternative inDialobRuleParser.arithExprRule().voidenterInOperExpr(DialobRuleParser.InOperExprContext ctx)Enter a parse tree produced by theinOperExprlabeled alternative inDialobRuleParser.expr().voidenterIsExpr(DialobRuleParser.IsExprContext ctx)Enter a parse tree produced by theisExprlabeled alternative inDialobRuleParser.isExprRule().voidenterIsExprRl(DialobRuleParser.IsExprRlContext ctx)Enter a parse tree produced by theisExprRllabeled alternative inDialobRuleParser.expr().voidenterListExpr(DialobRuleParser.ListExprContext ctx)Enter a parse tree produced byDialobRuleParser.listExpr().voidenterLogicExpr(DialobRuleParser.LogicExprContext ctx)Enter a parse tree produced by thelogicExprlabeled alternative inDialobRuleParser.expr().voidenterMatchesExpr(DialobRuleParser.MatchesExprContext ctx)Enter a parse tree produced by thematchesExprlabeled alternative inDialobRuleParser.expr().voidenterNegateExpr(DialobRuleParser.NegateExprContext ctx)Enter a parse tree produced by thenegateExprlabeled alternative inDialobRuleParser.arithExprRule().voidenterNotExpr(DialobRuleParser.NotExprContext ctx)Enter a parse tree produced by thenotExprlabeled alternative inDialobRuleParser.expr().voidenterOfExpr(DialobRuleParser.OfExprContext ctx)Enter a parse tree produced by theofExprlabeled alternative inDialobRuleParser.arithExprRule().voidenterParensExpr(DialobRuleParser.ParensExprContext ctx)Enter a parse tree produced by theparensExprlabeled alternative inDialobRuleParser.arithExprRule().voidenterReducerExprRule(DialobRuleParser.ReducerExprRuleContext ctx)Enter a parse tree produced byDialobRuleParser.reducerExprRule().voidenterRelationExpr(DialobRuleParser.RelationExprContext ctx)Enter a parse tree produced by therelationExprlabeled alternative inDialobRuleParser.expr().voidexitArithExpr(DialobRuleParser.ArithExprContext ctx)Exit a parse tree produced by thearithExprlabeled alternative inDialobRuleParser.expr().voidexitCallExpr(DialobRuleParser.CallExprContext ctx)Exit a parse tree produced by thecallExprlabeled alternative inDialobRuleParser.arithExprRule().voidexitCompileUnit(DialobRuleParser.CompileUnitContext ctx)Exit a parse tree produced byDialobRuleParser.compileUnit().voidexitConstExpr(DialobRuleParser.ConstExprContext ctx)Exit a parse tree produced by theconstExprlabeled alternative inDialobRuleParser.arithExprRule().voidexitConstExprRule(DialobRuleParser.ConstExprRuleContext ctx)Exit a parse tree produced byDialobRuleParser.constExprRule().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidexitGroupExpr(DialobRuleParser.GroupExprContext ctx)Exit a parse tree produced by thegroupExprlabeled alternative inDialobRuleParser.expr().voidexitIdExpr(DialobRuleParser.IdExprContext ctx)Exit a parse tree produced by theidExprlabeled alternative inDialobRuleParser.arithExprRule().voidexitIdExprRule(DialobRuleParser.IdExprRuleContext ctx)Exit a parse tree produced byDialobRuleParser.idExprRule().voidexitInfixExpr(DialobRuleParser.InfixExprContext ctx)Exit a parse tree produced by theinfixExprlabeled alternative inDialobRuleParser.arithExprRule().voidexitInOperExpr(DialobRuleParser.InOperExprContext ctx)Exit a parse tree produced by theinOperExprlabeled alternative inDialobRuleParser.expr().voidexitIsExpr(DialobRuleParser.IsExprContext ctx)Exit a parse tree produced by theisExprlabeled alternative inDialobRuleParser.isExprRule().voidexitIsExprRl(DialobRuleParser.IsExprRlContext ctx)Exit a parse tree produced by theisExprRllabeled alternative inDialobRuleParser.expr().voidexitListExpr(DialobRuleParser.ListExprContext ctx)Exit a parse tree produced byDialobRuleParser.listExpr().voidexitLogicExpr(DialobRuleParser.LogicExprContext ctx)Exit a parse tree produced by thelogicExprlabeled alternative inDialobRuleParser.expr().voidexitMatchesExpr(DialobRuleParser.MatchesExprContext ctx)Exit a parse tree produced by thematchesExprlabeled alternative inDialobRuleParser.expr().voidexitNegateExpr(DialobRuleParser.NegateExprContext ctx)Exit a parse tree produced by thenegateExprlabeled alternative inDialobRuleParser.arithExprRule().voidexitNotExpr(DialobRuleParser.NotExprContext ctx)Exit a parse tree produced by thenotExprlabeled alternative inDialobRuleParser.expr().voidexitOfExpr(DialobRuleParser.OfExprContext ctx)Exit a parse tree produced by theofExprlabeled alternative inDialobRuleParser.arithExprRule().voidexitParensExpr(DialobRuleParser.ParensExprContext ctx)Exit a parse tree produced by theparensExprlabeled alternative inDialobRuleParser.arithExprRule().voidexitReducerExprRule(DialobRuleParser.ReducerExprRuleContext ctx)Exit a parse tree produced byDialobRuleParser.reducerExprRule().voidexitRelationExpr(DialobRuleParser.RelationExprContext ctx)Exit a parse tree produced by therelationExprlabeled alternative inDialobRuleParser.expr().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
-
-
Method Detail
-
enterCompileUnit
public void enterCompileUnit(DialobRuleParser.CompileUnitContext ctx)
Enter a parse tree produced byDialobRuleParser.compileUnit().The default implementation does nothing.
- Specified by:
enterCompileUnitin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitCompileUnit
public void exitCompileUnit(DialobRuleParser.CompileUnitContext ctx)
Exit a parse tree produced byDialobRuleParser.compileUnit().The default implementation does nothing.
- Specified by:
exitCompileUnitin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterGroupExpr
public void enterGroupExpr(DialobRuleParser.GroupExprContext ctx)
Enter a parse tree produced by thegroupExprlabeled alternative inDialobRuleParser.expr().The default implementation does nothing.
- Specified by:
enterGroupExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitGroupExpr
public void exitGroupExpr(DialobRuleParser.GroupExprContext ctx)
Exit a parse tree produced by thegroupExprlabeled alternative inDialobRuleParser.expr().The default implementation does nothing.
- Specified by:
exitGroupExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterNotExpr
public void enterNotExpr(DialobRuleParser.NotExprContext ctx)
Enter a parse tree produced by thenotExprlabeled alternative inDialobRuleParser.expr().The default implementation does nothing.
- Specified by:
enterNotExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitNotExpr
public void exitNotExpr(DialobRuleParser.NotExprContext ctx)
Exit a parse tree produced by thenotExprlabeled alternative inDialobRuleParser.expr().The default implementation does nothing.
- Specified by:
exitNotExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterInOperExpr
public void enterInOperExpr(DialobRuleParser.InOperExprContext ctx)
Enter a parse tree produced by theinOperExprlabeled alternative inDialobRuleParser.expr().The default implementation does nothing.
- Specified by:
enterInOperExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitInOperExpr
public void exitInOperExpr(DialobRuleParser.InOperExprContext ctx)
Exit a parse tree produced by theinOperExprlabeled alternative inDialobRuleParser.expr().The default implementation does nothing.
- Specified by:
exitInOperExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterLogicExpr
public void enterLogicExpr(DialobRuleParser.LogicExprContext ctx)
Enter a parse tree produced by thelogicExprlabeled alternative inDialobRuleParser.expr().The default implementation does nothing.
- Specified by:
enterLogicExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitLogicExpr
public void exitLogicExpr(DialobRuleParser.LogicExprContext ctx)
Exit a parse tree produced by thelogicExprlabeled alternative inDialobRuleParser.expr().The default implementation does nothing.
- Specified by:
exitLogicExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterMatchesExpr
public void enterMatchesExpr(DialobRuleParser.MatchesExprContext ctx)
Enter a parse tree produced by thematchesExprlabeled alternative inDialobRuleParser.expr().The default implementation does nothing.
- Specified by:
enterMatchesExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitMatchesExpr
public void exitMatchesExpr(DialobRuleParser.MatchesExprContext ctx)
Exit a parse tree produced by thematchesExprlabeled alternative inDialobRuleParser.expr().The default implementation does nothing.
- Specified by:
exitMatchesExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterRelationExpr
public void enterRelationExpr(DialobRuleParser.RelationExprContext ctx)
Enter a parse tree produced by therelationExprlabeled alternative inDialobRuleParser.expr().The default implementation does nothing.
- Specified by:
enterRelationExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitRelationExpr
public void exitRelationExpr(DialobRuleParser.RelationExprContext ctx)
Exit a parse tree produced by therelationExprlabeled alternative inDialobRuleParser.expr().The default implementation does nothing.
- Specified by:
exitRelationExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterArithExpr
public void enterArithExpr(DialobRuleParser.ArithExprContext ctx)
Enter a parse tree produced by thearithExprlabeled alternative inDialobRuleParser.expr().The default implementation does nothing.
- Specified by:
enterArithExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitArithExpr
public void exitArithExpr(DialobRuleParser.ArithExprContext ctx)
Exit a parse tree produced by thearithExprlabeled alternative inDialobRuleParser.expr().The default implementation does nothing.
- Specified by:
exitArithExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterIsExprRl
public void enterIsExprRl(DialobRuleParser.IsExprRlContext ctx)
Enter a parse tree produced by theisExprRllabeled alternative inDialobRuleParser.expr().The default implementation does nothing.
- Specified by:
enterIsExprRlin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitIsExprRl
public void exitIsExprRl(DialobRuleParser.IsExprRlContext ctx)
Exit a parse tree produced by theisExprRllabeled alternative inDialobRuleParser.expr().The default implementation does nothing.
- Specified by:
exitIsExprRlin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterListExpr
public void enterListExpr(DialobRuleParser.ListExprContext ctx)
Enter a parse tree produced byDialobRuleParser.listExpr().The default implementation does nothing.
- Specified by:
enterListExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitListExpr
public void exitListExpr(DialobRuleParser.ListExprContext ctx)
Exit a parse tree produced byDialobRuleParser.listExpr().The default implementation does nothing.
- Specified by:
exitListExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterNegateExpr
public void enterNegateExpr(DialobRuleParser.NegateExprContext ctx)
Enter a parse tree produced by thenegateExprlabeled alternative inDialobRuleParser.arithExprRule().The default implementation does nothing.
- Specified by:
enterNegateExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitNegateExpr
public void exitNegateExpr(DialobRuleParser.NegateExprContext ctx)
Exit a parse tree produced by thenegateExprlabeled alternative inDialobRuleParser.arithExprRule().The default implementation does nothing.
- Specified by:
exitNegateExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterInfixExpr
public void enterInfixExpr(DialobRuleParser.InfixExprContext ctx)
Enter a parse tree produced by theinfixExprlabeled alternative inDialobRuleParser.arithExprRule().The default implementation does nothing.
- Specified by:
enterInfixExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitInfixExpr
public void exitInfixExpr(DialobRuleParser.InfixExprContext ctx)
Exit a parse tree produced by theinfixExprlabeled alternative inDialobRuleParser.arithExprRule().The default implementation does nothing.
- Specified by:
exitInfixExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterOfExpr
public void enterOfExpr(DialobRuleParser.OfExprContext ctx)
Enter a parse tree produced by theofExprlabeled alternative inDialobRuleParser.arithExprRule().The default implementation does nothing.
- Specified by:
enterOfExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitOfExpr
public void exitOfExpr(DialobRuleParser.OfExprContext ctx)
Exit a parse tree produced by theofExprlabeled alternative inDialobRuleParser.arithExprRule().The default implementation does nothing.
- Specified by:
exitOfExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterParensExpr
public void enterParensExpr(DialobRuleParser.ParensExprContext ctx)
Enter a parse tree produced by theparensExprlabeled alternative inDialobRuleParser.arithExprRule().The default implementation does nothing.
- Specified by:
enterParensExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitParensExpr
public void exitParensExpr(DialobRuleParser.ParensExprContext ctx)
Exit a parse tree produced by theparensExprlabeled alternative inDialobRuleParser.arithExprRule().The default implementation does nothing.
- Specified by:
exitParensExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterCallExpr
public void enterCallExpr(DialobRuleParser.CallExprContext ctx)
Enter a parse tree produced by thecallExprlabeled alternative inDialobRuleParser.arithExprRule().The default implementation does nothing.
- Specified by:
enterCallExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitCallExpr
public void exitCallExpr(DialobRuleParser.CallExprContext ctx)
Exit a parse tree produced by thecallExprlabeled alternative inDialobRuleParser.arithExprRule().The default implementation does nothing.
- Specified by:
exitCallExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterConstExpr
public void enterConstExpr(DialobRuleParser.ConstExprContext ctx)
Enter a parse tree produced by theconstExprlabeled alternative inDialobRuleParser.arithExprRule().The default implementation does nothing.
- Specified by:
enterConstExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitConstExpr
public void exitConstExpr(DialobRuleParser.ConstExprContext ctx)
Exit a parse tree produced by theconstExprlabeled alternative inDialobRuleParser.arithExprRule().The default implementation does nothing.
- Specified by:
exitConstExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterIdExpr
public void enterIdExpr(DialobRuleParser.IdExprContext ctx)
Enter a parse tree produced by theidExprlabeled alternative inDialobRuleParser.arithExprRule().The default implementation does nothing.
- Specified by:
enterIdExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitIdExpr
public void exitIdExpr(DialobRuleParser.IdExprContext ctx)
Exit a parse tree produced by theidExprlabeled alternative inDialobRuleParser.arithExprRule().The default implementation does nothing.
- Specified by:
exitIdExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterIsExpr
public void enterIsExpr(DialobRuleParser.IsExprContext ctx)
Enter a parse tree produced by theisExprlabeled alternative inDialobRuleParser.isExprRule().The default implementation does nothing.
- Specified by:
enterIsExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitIsExpr
public void exitIsExpr(DialobRuleParser.IsExprContext ctx)
Exit a parse tree produced by theisExprlabeled alternative inDialobRuleParser.isExprRule().The default implementation does nothing.
- Specified by:
exitIsExprin interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterReducerExprRule
public void enterReducerExprRule(DialobRuleParser.ReducerExprRuleContext ctx)
Enter a parse tree produced byDialobRuleParser.reducerExprRule().The default implementation does nothing.
- Specified by:
enterReducerExprRulein interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitReducerExprRule
public void exitReducerExprRule(DialobRuleParser.ReducerExprRuleContext ctx)
Exit a parse tree produced byDialobRuleParser.reducerExprRule().The default implementation does nothing.
- Specified by:
exitReducerExprRulein interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterIdExprRule
public void enterIdExprRule(DialobRuleParser.IdExprRuleContext ctx)
Enter a parse tree produced byDialobRuleParser.idExprRule().The default implementation does nothing.
- Specified by:
enterIdExprRulein interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitIdExprRule
public void exitIdExprRule(DialobRuleParser.IdExprRuleContext ctx)
Exit a parse tree produced byDialobRuleParser.idExprRule().The default implementation does nothing.
- Specified by:
exitIdExprRulein interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterConstExprRule
public void enterConstExprRule(DialobRuleParser.ConstExprRuleContext ctx)
Enter a parse tree produced byDialobRuleParser.constExprRule().The default implementation does nothing.
- Specified by:
enterConstExprRulein interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
exitConstExprRule
public void exitConstExprRule(DialobRuleParser.ConstExprRuleContext ctx)
Exit a parse tree produced byDialobRuleParser.constExprRule().The default implementation does nothing.
- Specified by:
exitConstExprRulein interfaceDialobRuleListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
-