Class SnpSiftBaseListener
- java.lang.Object
-
- org.snpsift.antlr.SnpSiftBaseListener
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
,SnpSiftListener
public class SnpSiftBaseListener extends java.lang.Object implements SnpSiftListener
This class provides an empty implementation ofSnpSiftListener
, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description SnpSiftBaseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enterCompilationUnit(SnpSiftParser.CompilationUnitContext ctx)
Enter a parse tree produced bySnpSiftParser.compilationUnit()
.void
enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
void
enterExpressionComp(SnpSiftParser.ExpressionCompContext ctx)
Enter a parse tree produced by theexpressionComp
labeled alternative inSnpSiftParser.expression()
.void
enterExpressionCond(SnpSiftParser.ExpressionCondContext ctx)
Enter a parse tree produced by theexpressionCond
labeled alternative inSnpSiftParser.expression()
.void
enterExpressionExists(SnpSiftParser.ExpressionExistsContext ctx)
Enter a parse tree produced by theexpressionExists
labeled alternative inSnpSiftParser.expression()
.void
enterExpressionLogic(SnpSiftParser.ExpressionLogicContext ctx)
Enter a parse tree produced by theexpressionLogic
labeled alternative inSnpSiftParser.expression()
.void
enterExpressionParen(SnpSiftParser.ExpressionParenContext ctx)
Enter a parse tree produced by theexpressionParen
labeled alternative inSnpSiftParser.expression()
.void
enterExpressionPlus(SnpSiftParser.ExpressionPlusContext ctx)
Enter a parse tree produced by theexpressionPlus
labeled alternative inSnpSiftParser.expression()
.void
enterExpressionSet(SnpSiftParser.ExpressionSetContext ctx)
Enter a parse tree produced by theexpressionSet
labeled alternative inSnpSiftParser.expression()
.void
enterExpressionTimes(SnpSiftParser.ExpressionTimesContext ctx)
Enter a parse tree produced by theexpressionTimes
labeled alternative inSnpSiftParser.expression()
.void
enterExpressionUnary(SnpSiftParser.ExpressionUnaryContext ctx)
Enter a parse tree produced by theexpressionUnary
labeled alternative inSnpSiftParser.expression()
.void
enterFunctionCall(SnpSiftParser.FunctionCallContext ctx)
Enter a parse tree produced by thefunctionCall
labeled alternative inSnpSiftParser.expression()
.void
enterLiteralBool(SnpSiftParser.LiteralBoolContext ctx)
Enter a parse tree produced by theliteralBool
labeled alternative inSnpSiftParser.expression()
.void
enterLiteralFloat(SnpSiftParser.LiteralFloatContext ctx)
Enter a parse tree produced by theliteralFloat
labeled alternative inSnpSiftParser.expression()
.void
enterLiteralIndex(SnpSiftParser.LiteralIndexContext ctx)
Enter a parse tree produced by theliteralIndex
labeled alternative inSnpSiftParser.expression()
.void
enterLiteralInt(SnpSiftParser.LiteralIntContext ctx)
Enter a parse tree produced by theliteralInt
labeled alternative inSnpSiftParser.expression()
.void
enterLiteralString(SnpSiftParser.LiteralStringContext ctx)
Enter a parse tree produced by theliteralString
labeled alternative inSnpSiftParser.expression()
.void
enterVarReference(SnpSiftParser.VarReferenceContext ctx)
Enter a parse tree produced by thevarReference
labeled alternative inSnpSiftParser.expression()
.void
enterVarReferenceList(SnpSiftParser.VarReferenceListContext ctx)
Enter a parse tree produced by thevarReferenceList
labeled alternative inSnpSiftParser.expression()
.void
enterVarReferenceListSub(SnpSiftParser.VarReferenceListSubContext ctx)
Enter a parse tree produced by thevarReferenceListSub
labeled alternative inSnpSiftParser.expression()
.void
exitCompilationUnit(SnpSiftParser.CompilationUnitContext ctx)
Exit a parse tree produced bySnpSiftParser.compilationUnit()
.void
exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
void
exitExpressionComp(SnpSiftParser.ExpressionCompContext ctx)
Exit a parse tree produced by theexpressionComp
labeled alternative inSnpSiftParser.expression()
.void
exitExpressionCond(SnpSiftParser.ExpressionCondContext ctx)
Exit a parse tree produced by theexpressionCond
labeled alternative inSnpSiftParser.expression()
.void
exitExpressionExists(SnpSiftParser.ExpressionExistsContext ctx)
Exit a parse tree produced by theexpressionExists
labeled alternative inSnpSiftParser.expression()
.void
exitExpressionLogic(SnpSiftParser.ExpressionLogicContext ctx)
Exit a parse tree produced by theexpressionLogic
labeled alternative inSnpSiftParser.expression()
.void
exitExpressionParen(SnpSiftParser.ExpressionParenContext ctx)
Exit a parse tree produced by theexpressionParen
labeled alternative inSnpSiftParser.expression()
.void
exitExpressionPlus(SnpSiftParser.ExpressionPlusContext ctx)
Exit a parse tree produced by theexpressionPlus
labeled alternative inSnpSiftParser.expression()
.void
exitExpressionSet(SnpSiftParser.ExpressionSetContext ctx)
Exit a parse tree produced by theexpressionSet
labeled alternative inSnpSiftParser.expression()
.void
exitExpressionTimes(SnpSiftParser.ExpressionTimesContext ctx)
Exit a parse tree produced by theexpressionTimes
labeled alternative inSnpSiftParser.expression()
.void
exitExpressionUnary(SnpSiftParser.ExpressionUnaryContext ctx)
Exit a parse tree produced by theexpressionUnary
labeled alternative inSnpSiftParser.expression()
.void
exitFunctionCall(SnpSiftParser.FunctionCallContext ctx)
Exit a parse tree produced by thefunctionCall
labeled alternative inSnpSiftParser.expression()
.void
exitLiteralBool(SnpSiftParser.LiteralBoolContext ctx)
Exit a parse tree produced by theliteralBool
labeled alternative inSnpSiftParser.expression()
.void
exitLiteralFloat(SnpSiftParser.LiteralFloatContext ctx)
Exit a parse tree produced by theliteralFloat
labeled alternative inSnpSiftParser.expression()
.void
exitLiteralIndex(SnpSiftParser.LiteralIndexContext ctx)
Exit a parse tree produced by theliteralIndex
labeled alternative inSnpSiftParser.expression()
.void
exitLiteralInt(SnpSiftParser.LiteralIntContext ctx)
Exit a parse tree produced by theliteralInt
labeled alternative inSnpSiftParser.expression()
.void
exitLiteralString(SnpSiftParser.LiteralStringContext ctx)
Exit a parse tree produced by theliteralString
labeled alternative inSnpSiftParser.expression()
.void
exitVarReference(SnpSiftParser.VarReferenceContext ctx)
Exit a parse tree produced by thevarReference
labeled alternative inSnpSiftParser.expression()
.void
exitVarReferenceList(SnpSiftParser.VarReferenceListContext ctx)
Exit a parse tree produced by thevarReferenceList
labeled alternative inSnpSiftParser.expression()
.void
exitVarReferenceListSub(SnpSiftParser.VarReferenceListSubContext ctx)
Exit a parse tree produced by thevarReferenceListSub
labeled alternative inSnpSiftParser.expression()
.void
visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
void
visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
-
-
Method Detail
-
enterCompilationUnit
public void enterCompilationUnit(SnpSiftParser.CompilationUnitContext ctx)
Enter a parse tree produced bySnpSiftParser.compilationUnit()
.The default implementation does nothing.
- Specified by:
enterCompilationUnit
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitCompilationUnit
public void exitCompilationUnit(SnpSiftParser.CompilationUnitContext ctx)
Exit a parse tree produced bySnpSiftParser.compilationUnit()
.The default implementation does nothing.
- Specified by:
exitCompilationUnit
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterExpressionSet
public void enterExpressionSet(SnpSiftParser.ExpressionSetContext ctx)
Enter a parse tree produced by theexpressionSet
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterExpressionSet
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitExpressionSet
public void exitExpressionSet(SnpSiftParser.ExpressionSetContext ctx)
Exit a parse tree produced by theexpressionSet
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitExpressionSet
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterLiteralString
public void enterLiteralString(SnpSiftParser.LiteralStringContext ctx)
Enter a parse tree produced by theliteralString
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterLiteralString
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitLiteralString
public void exitLiteralString(SnpSiftParser.LiteralStringContext ctx)
Exit a parse tree produced by theliteralString
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitLiteralString
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterExpressionUnary
public void enterExpressionUnary(SnpSiftParser.ExpressionUnaryContext ctx)
Enter a parse tree produced by theexpressionUnary
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterExpressionUnary
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitExpressionUnary
public void exitExpressionUnary(SnpSiftParser.ExpressionUnaryContext ctx)
Exit a parse tree produced by theexpressionUnary
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitExpressionUnary
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterExpressionComp
public void enterExpressionComp(SnpSiftParser.ExpressionCompContext ctx)
Enter a parse tree produced by theexpressionComp
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterExpressionComp
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitExpressionComp
public void exitExpressionComp(SnpSiftParser.ExpressionCompContext ctx)
Exit a parse tree produced by theexpressionComp
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitExpressionComp
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterLiteralBool
public void enterLiteralBool(SnpSiftParser.LiteralBoolContext ctx)
Enter a parse tree produced by theliteralBool
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterLiteralBool
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitLiteralBool
public void exitLiteralBool(SnpSiftParser.LiteralBoolContext ctx)
Exit a parse tree produced by theliteralBool
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitLiteralBool
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterVarReferenceList
public void enterVarReferenceList(SnpSiftParser.VarReferenceListContext ctx)
Enter a parse tree produced by thevarReferenceList
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterVarReferenceList
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitVarReferenceList
public void exitVarReferenceList(SnpSiftParser.VarReferenceListContext ctx)
Exit a parse tree produced by thevarReferenceList
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitVarReferenceList
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterLiteralFloat
public void enterLiteralFloat(SnpSiftParser.LiteralFloatContext ctx)
Enter a parse tree produced by theliteralFloat
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterLiteralFloat
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitLiteralFloat
public void exitLiteralFloat(SnpSiftParser.LiteralFloatContext ctx)
Exit a parse tree produced by theliteralFloat
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitLiteralFloat
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterLiteralIndex
public void enterLiteralIndex(SnpSiftParser.LiteralIndexContext ctx)
Enter a parse tree produced by theliteralIndex
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterLiteralIndex
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitLiteralIndex
public void exitLiteralIndex(SnpSiftParser.LiteralIndexContext ctx)
Exit a parse tree produced by theliteralIndex
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitLiteralIndex
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterVarReference
public void enterVarReference(SnpSiftParser.VarReferenceContext ctx)
Enter a parse tree produced by thevarReference
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterVarReference
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitVarReference
public void exitVarReference(SnpSiftParser.VarReferenceContext ctx)
Exit a parse tree produced by thevarReference
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitVarReference
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterVarReferenceListSub
public void enterVarReferenceListSub(SnpSiftParser.VarReferenceListSubContext ctx)
Enter a parse tree produced by thevarReferenceListSub
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterVarReferenceListSub
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitVarReferenceListSub
public void exitVarReferenceListSub(SnpSiftParser.VarReferenceListSubContext ctx)
Exit a parse tree produced by thevarReferenceListSub
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitVarReferenceListSub
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterExpressionTimes
public void enterExpressionTimes(SnpSiftParser.ExpressionTimesContext ctx)
Enter a parse tree produced by theexpressionTimes
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterExpressionTimes
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitExpressionTimes
public void exitExpressionTimes(SnpSiftParser.ExpressionTimesContext ctx)
Exit a parse tree produced by theexpressionTimes
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitExpressionTimes
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterExpressionExists
public void enterExpressionExists(SnpSiftParser.ExpressionExistsContext ctx)
Enter a parse tree produced by theexpressionExists
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterExpressionExists
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitExpressionExists
public void exitExpressionExists(SnpSiftParser.ExpressionExistsContext ctx)
Exit a parse tree produced by theexpressionExists
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitExpressionExists
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterExpressionPlus
public void enterExpressionPlus(SnpSiftParser.ExpressionPlusContext ctx)
Enter a parse tree produced by theexpressionPlus
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterExpressionPlus
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitExpressionPlus
public void exitExpressionPlus(SnpSiftParser.ExpressionPlusContext ctx)
Exit a parse tree produced by theexpressionPlus
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitExpressionPlus
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterExpressionLogic
public void enterExpressionLogic(SnpSiftParser.ExpressionLogicContext ctx)
Enter a parse tree produced by theexpressionLogic
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterExpressionLogic
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitExpressionLogic
public void exitExpressionLogic(SnpSiftParser.ExpressionLogicContext ctx)
Exit a parse tree produced by theexpressionLogic
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitExpressionLogic
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterFunctionCall
public void enterFunctionCall(SnpSiftParser.FunctionCallContext ctx)
Enter a parse tree produced by thefunctionCall
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterFunctionCall
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitFunctionCall
public void exitFunctionCall(SnpSiftParser.FunctionCallContext ctx)
Exit a parse tree produced by thefunctionCall
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitFunctionCall
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterExpressionParen
public void enterExpressionParen(SnpSiftParser.ExpressionParenContext ctx)
Enter a parse tree produced by theexpressionParen
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterExpressionParen
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitExpressionParen
public void exitExpressionParen(SnpSiftParser.ExpressionParenContext ctx)
Exit a parse tree produced by theexpressionParen
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitExpressionParen
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterExpressionCond
public void enterExpressionCond(SnpSiftParser.ExpressionCondContext ctx)
Enter a parse tree produced by theexpressionCond
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterExpressionCond
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitExpressionCond
public void exitExpressionCond(SnpSiftParser.ExpressionCondContext ctx)
Exit a parse tree produced by theexpressionCond
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitExpressionCond
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterLiteralInt
public void enterLiteralInt(SnpSiftParser.LiteralIntContext ctx)
Enter a parse tree produced by theliteralInt
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
enterLiteralInt
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
exitLiteralInt
public void exitLiteralInt(SnpSiftParser.LiteralIntContext ctx)
Exit a parse tree produced by theliteralInt
labeled alternative inSnpSiftParser.expression()
.The default implementation does nothing.
- Specified by:
exitLiteralInt
in interfaceSnpSiftListener
- Parameters:
ctx
- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminal
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNode
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
-