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 voidenterCompilationUnit(SnpSiftParser.CompilationUnitContext ctx)Enter a parse tree produced bySnpSiftParser.compilationUnit().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidenterExpressionComp(SnpSiftParser.ExpressionCompContext ctx)Enter a parse tree produced by theexpressionComplabeled alternative inSnpSiftParser.expression().voidenterExpressionCond(SnpSiftParser.ExpressionCondContext ctx)Enter a parse tree produced by theexpressionCondlabeled alternative inSnpSiftParser.expression().voidenterExpressionExists(SnpSiftParser.ExpressionExistsContext ctx)Enter a parse tree produced by theexpressionExistslabeled alternative inSnpSiftParser.expression().voidenterExpressionLogic(SnpSiftParser.ExpressionLogicContext ctx)Enter a parse tree produced by theexpressionLogiclabeled alternative inSnpSiftParser.expression().voidenterExpressionParen(SnpSiftParser.ExpressionParenContext ctx)Enter a parse tree produced by theexpressionParenlabeled alternative inSnpSiftParser.expression().voidenterExpressionPlus(SnpSiftParser.ExpressionPlusContext ctx)Enter a parse tree produced by theexpressionPluslabeled alternative inSnpSiftParser.expression().voidenterExpressionSet(SnpSiftParser.ExpressionSetContext ctx)Enter a parse tree produced by theexpressionSetlabeled alternative inSnpSiftParser.expression().voidenterExpressionTimes(SnpSiftParser.ExpressionTimesContext ctx)Enter a parse tree produced by theexpressionTimeslabeled alternative inSnpSiftParser.expression().voidenterExpressionUnary(SnpSiftParser.ExpressionUnaryContext ctx)Enter a parse tree produced by theexpressionUnarylabeled alternative inSnpSiftParser.expression().voidenterFunctionCall(SnpSiftParser.FunctionCallContext ctx)Enter a parse tree produced by thefunctionCalllabeled alternative inSnpSiftParser.expression().voidenterLiteralBool(SnpSiftParser.LiteralBoolContext ctx)Enter a parse tree produced by theliteralBoollabeled alternative inSnpSiftParser.expression().voidenterLiteralFloat(SnpSiftParser.LiteralFloatContext ctx)Enter a parse tree produced by theliteralFloatlabeled alternative inSnpSiftParser.expression().voidenterLiteralIndex(SnpSiftParser.LiteralIndexContext ctx)Enter a parse tree produced by theliteralIndexlabeled alternative inSnpSiftParser.expression().voidenterLiteralInt(SnpSiftParser.LiteralIntContext ctx)Enter a parse tree produced by theliteralIntlabeled alternative inSnpSiftParser.expression().voidenterLiteralString(SnpSiftParser.LiteralStringContext ctx)Enter a parse tree produced by theliteralStringlabeled alternative inSnpSiftParser.expression().voidenterVarReference(SnpSiftParser.VarReferenceContext ctx)Enter a parse tree produced by thevarReferencelabeled alternative inSnpSiftParser.expression().voidenterVarReferenceList(SnpSiftParser.VarReferenceListContext ctx)Enter a parse tree produced by thevarReferenceListlabeled alternative inSnpSiftParser.expression().voidenterVarReferenceListSub(SnpSiftParser.VarReferenceListSubContext ctx)Enter a parse tree produced by thevarReferenceListSublabeled alternative inSnpSiftParser.expression().voidexitCompilationUnit(SnpSiftParser.CompilationUnitContext ctx)Exit a parse tree produced bySnpSiftParser.compilationUnit().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidexitExpressionComp(SnpSiftParser.ExpressionCompContext ctx)Exit a parse tree produced by theexpressionComplabeled alternative inSnpSiftParser.expression().voidexitExpressionCond(SnpSiftParser.ExpressionCondContext ctx)Exit a parse tree produced by theexpressionCondlabeled alternative inSnpSiftParser.expression().voidexitExpressionExists(SnpSiftParser.ExpressionExistsContext ctx)Exit a parse tree produced by theexpressionExistslabeled alternative inSnpSiftParser.expression().voidexitExpressionLogic(SnpSiftParser.ExpressionLogicContext ctx)Exit a parse tree produced by theexpressionLogiclabeled alternative inSnpSiftParser.expression().voidexitExpressionParen(SnpSiftParser.ExpressionParenContext ctx)Exit a parse tree produced by theexpressionParenlabeled alternative inSnpSiftParser.expression().voidexitExpressionPlus(SnpSiftParser.ExpressionPlusContext ctx)Exit a parse tree produced by theexpressionPluslabeled alternative inSnpSiftParser.expression().voidexitExpressionSet(SnpSiftParser.ExpressionSetContext ctx)Exit a parse tree produced by theexpressionSetlabeled alternative inSnpSiftParser.expression().voidexitExpressionTimes(SnpSiftParser.ExpressionTimesContext ctx)Exit a parse tree produced by theexpressionTimeslabeled alternative inSnpSiftParser.expression().voidexitExpressionUnary(SnpSiftParser.ExpressionUnaryContext ctx)Exit a parse tree produced by theexpressionUnarylabeled alternative inSnpSiftParser.expression().voidexitFunctionCall(SnpSiftParser.FunctionCallContext ctx)Exit a parse tree produced by thefunctionCalllabeled alternative inSnpSiftParser.expression().voidexitLiteralBool(SnpSiftParser.LiteralBoolContext ctx)Exit a parse tree produced by theliteralBoollabeled alternative inSnpSiftParser.expression().voidexitLiteralFloat(SnpSiftParser.LiteralFloatContext ctx)Exit a parse tree produced by theliteralFloatlabeled alternative inSnpSiftParser.expression().voidexitLiteralIndex(SnpSiftParser.LiteralIndexContext ctx)Exit a parse tree produced by theliteralIndexlabeled alternative inSnpSiftParser.expression().voidexitLiteralInt(SnpSiftParser.LiteralIntContext ctx)Exit a parse tree produced by theliteralIntlabeled alternative inSnpSiftParser.expression().voidexitLiteralString(SnpSiftParser.LiteralStringContext ctx)Exit a parse tree produced by theliteralStringlabeled alternative inSnpSiftParser.expression().voidexitVarReference(SnpSiftParser.VarReferenceContext ctx)Exit a parse tree produced by thevarReferencelabeled alternative inSnpSiftParser.expression().voidexitVarReferenceList(SnpSiftParser.VarReferenceListContext ctx)Exit a parse tree produced by thevarReferenceListlabeled alternative inSnpSiftParser.expression().voidexitVarReferenceListSub(SnpSiftParser.VarReferenceListSubContext ctx)Exit a parse tree produced by thevarReferenceListSublabeled alternative inSnpSiftParser.expression().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)voidvisitTerminal(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:
enterCompilationUnitin 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:
exitCompilationUnitin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterExpressionSet
public void enterExpressionSet(SnpSiftParser.ExpressionSetContext ctx)
Enter a parse tree produced by theexpressionSetlabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterExpressionSetin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitExpressionSet
public void exitExpressionSet(SnpSiftParser.ExpressionSetContext ctx)
Exit a parse tree produced by theexpressionSetlabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitExpressionSetin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterLiteralString
public void enterLiteralString(SnpSiftParser.LiteralStringContext ctx)
Enter a parse tree produced by theliteralStringlabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterLiteralStringin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitLiteralString
public void exitLiteralString(SnpSiftParser.LiteralStringContext ctx)
Exit a parse tree produced by theliteralStringlabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitLiteralStringin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterExpressionUnary
public void enterExpressionUnary(SnpSiftParser.ExpressionUnaryContext ctx)
Enter a parse tree produced by theexpressionUnarylabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterExpressionUnaryin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitExpressionUnary
public void exitExpressionUnary(SnpSiftParser.ExpressionUnaryContext ctx)
Exit a parse tree produced by theexpressionUnarylabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitExpressionUnaryin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterExpressionComp
public void enterExpressionComp(SnpSiftParser.ExpressionCompContext ctx)
Enter a parse tree produced by theexpressionComplabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterExpressionCompin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitExpressionComp
public void exitExpressionComp(SnpSiftParser.ExpressionCompContext ctx)
Exit a parse tree produced by theexpressionComplabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitExpressionCompin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterLiteralBool
public void enterLiteralBool(SnpSiftParser.LiteralBoolContext ctx)
Enter a parse tree produced by theliteralBoollabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterLiteralBoolin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitLiteralBool
public void exitLiteralBool(SnpSiftParser.LiteralBoolContext ctx)
Exit a parse tree produced by theliteralBoollabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitLiteralBoolin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterVarReferenceList
public void enterVarReferenceList(SnpSiftParser.VarReferenceListContext ctx)
Enter a parse tree produced by thevarReferenceListlabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterVarReferenceListin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitVarReferenceList
public void exitVarReferenceList(SnpSiftParser.VarReferenceListContext ctx)
Exit a parse tree produced by thevarReferenceListlabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitVarReferenceListin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterLiteralFloat
public void enterLiteralFloat(SnpSiftParser.LiteralFloatContext ctx)
Enter a parse tree produced by theliteralFloatlabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterLiteralFloatin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitLiteralFloat
public void exitLiteralFloat(SnpSiftParser.LiteralFloatContext ctx)
Exit a parse tree produced by theliteralFloatlabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitLiteralFloatin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterLiteralIndex
public void enterLiteralIndex(SnpSiftParser.LiteralIndexContext ctx)
Enter a parse tree produced by theliteralIndexlabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterLiteralIndexin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitLiteralIndex
public void exitLiteralIndex(SnpSiftParser.LiteralIndexContext ctx)
Exit a parse tree produced by theliteralIndexlabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitLiteralIndexin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterVarReference
public void enterVarReference(SnpSiftParser.VarReferenceContext ctx)
Enter a parse tree produced by thevarReferencelabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterVarReferencein interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitVarReference
public void exitVarReference(SnpSiftParser.VarReferenceContext ctx)
Exit a parse tree produced by thevarReferencelabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitVarReferencein interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterVarReferenceListSub
public void enterVarReferenceListSub(SnpSiftParser.VarReferenceListSubContext ctx)
Enter a parse tree produced by thevarReferenceListSublabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterVarReferenceListSubin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitVarReferenceListSub
public void exitVarReferenceListSub(SnpSiftParser.VarReferenceListSubContext ctx)
Exit a parse tree produced by thevarReferenceListSublabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitVarReferenceListSubin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterExpressionTimes
public void enterExpressionTimes(SnpSiftParser.ExpressionTimesContext ctx)
Enter a parse tree produced by theexpressionTimeslabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterExpressionTimesin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitExpressionTimes
public void exitExpressionTimes(SnpSiftParser.ExpressionTimesContext ctx)
Exit a parse tree produced by theexpressionTimeslabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitExpressionTimesin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterExpressionExists
public void enterExpressionExists(SnpSiftParser.ExpressionExistsContext ctx)
Enter a parse tree produced by theexpressionExistslabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterExpressionExistsin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitExpressionExists
public void exitExpressionExists(SnpSiftParser.ExpressionExistsContext ctx)
Exit a parse tree produced by theexpressionExistslabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitExpressionExistsin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterExpressionPlus
public void enterExpressionPlus(SnpSiftParser.ExpressionPlusContext ctx)
Enter a parse tree produced by theexpressionPluslabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterExpressionPlusin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitExpressionPlus
public void exitExpressionPlus(SnpSiftParser.ExpressionPlusContext ctx)
Exit a parse tree produced by theexpressionPluslabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitExpressionPlusin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterExpressionLogic
public void enterExpressionLogic(SnpSiftParser.ExpressionLogicContext ctx)
Enter a parse tree produced by theexpressionLogiclabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterExpressionLogicin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitExpressionLogic
public void exitExpressionLogic(SnpSiftParser.ExpressionLogicContext ctx)
Exit a parse tree produced by theexpressionLogiclabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitExpressionLogicin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterFunctionCall
public void enterFunctionCall(SnpSiftParser.FunctionCallContext ctx)
Enter a parse tree produced by thefunctionCalllabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterFunctionCallin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitFunctionCall
public void exitFunctionCall(SnpSiftParser.FunctionCallContext ctx)
Exit a parse tree produced by thefunctionCalllabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitFunctionCallin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterExpressionParen
public void enterExpressionParen(SnpSiftParser.ExpressionParenContext ctx)
Enter a parse tree produced by theexpressionParenlabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterExpressionParenin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitExpressionParen
public void exitExpressionParen(SnpSiftParser.ExpressionParenContext ctx)
Exit a parse tree produced by theexpressionParenlabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitExpressionParenin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterExpressionCond
public void enterExpressionCond(SnpSiftParser.ExpressionCondContext ctx)
Enter a parse tree produced by theexpressionCondlabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterExpressionCondin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitExpressionCond
public void exitExpressionCond(SnpSiftParser.ExpressionCondContext ctx)
Exit a parse tree produced by theexpressionCondlabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitExpressionCondin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
enterLiteralInt
public void enterLiteralInt(SnpSiftParser.LiteralIntContext ctx)
Enter a parse tree produced by theliteralIntlabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
enterLiteralIntin interfaceSnpSiftListener- Parameters:
ctx- the parse tree
-
exitLiteralInt
public void exitLiteralInt(SnpSiftParser.LiteralIntContext ctx)
Exit a parse tree produced by theliteralIntlabeled alternative inSnpSiftParser.expression().The default implementation does nothing.
- Specified by:
exitLiteralIntin interfaceSnpSiftListener- 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
-
-