Class SnpSiftBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.snpsift.antlr.SnpSiftBaseVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
,SnpSiftVisitor<T>
public class SnpSiftBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements SnpSiftVisitor<T>
This class provides an empty implementation ofSnpSiftVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description SnpSiftBaseVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
visitCompilationUnit(SnpSiftParser.CompilationUnitContext ctx)
Visit a parse tree produced bySnpSiftParser.compilationUnit()
.T
visitExpressionComp(SnpSiftParser.ExpressionCompContext ctx)
Visit a parse tree produced by theexpressionComp
labeled alternative inSnpSiftParser.expression()
.T
visitExpressionCond(SnpSiftParser.ExpressionCondContext ctx)
Visit a parse tree produced by theexpressionCond
labeled alternative inSnpSiftParser.expression()
.T
visitExpressionExists(SnpSiftParser.ExpressionExistsContext ctx)
Visit a parse tree produced by theexpressionExists
labeled alternative inSnpSiftParser.expression()
.T
visitExpressionLogic(SnpSiftParser.ExpressionLogicContext ctx)
Visit a parse tree produced by theexpressionLogic
labeled alternative inSnpSiftParser.expression()
.T
visitExpressionParen(SnpSiftParser.ExpressionParenContext ctx)
Visit a parse tree produced by theexpressionParen
labeled alternative inSnpSiftParser.expression()
.T
visitExpressionPlus(SnpSiftParser.ExpressionPlusContext ctx)
Visit a parse tree produced by theexpressionPlus
labeled alternative inSnpSiftParser.expression()
.T
visitExpressionSet(SnpSiftParser.ExpressionSetContext ctx)
Visit a parse tree produced by theexpressionSet
labeled alternative inSnpSiftParser.expression()
.T
visitExpressionTimes(SnpSiftParser.ExpressionTimesContext ctx)
Visit a parse tree produced by theexpressionTimes
labeled alternative inSnpSiftParser.expression()
.T
visitExpressionUnary(SnpSiftParser.ExpressionUnaryContext ctx)
Visit a parse tree produced by theexpressionUnary
labeled alternative inSnpSiftParser.expression()
.T
visitFunctionCall(SnpSiftParser.FunctionCallContext ctx)
Visit a parse tree produced by thefunctionCall
labeled alternative inSnpSiftParser.expression()
.T
visitLiteralBool(SnpSiftParser.LiteralBoolContext ctx)
Visit a parse tree produced by theliteralBool
labeled alternative inSnpSiftParser.expression()
.T
visitLiteralFloat(SnpSiftParser.LiteralFloatContext ctx)
Visit a parse tree produced by theliteralFloat
labeled alternative inSnpSiftParser.expression()
.T
visitLiteralIndex(SnpSiftParser.LiteralIndexContext ctx)
Visit a parse tree produced by theliteralIndex
labeled alternative inSnpSiftParser.expression()
.T
visitLiteralInt(SnpSiftParser.LiteralIntContext ctx)
Visit a parse tree produced by theliteralInt
labeled alternative inSnpSiftParser.expression()
.T
visitLiteralString(SnpSiftParser.LiteralStringContext ctx)
Visit a parse tree produced by theliteralString
labeled alternative inSnpSiftParser.expression()
.T
visitVarReference(SnpSiftParser.VarReferenceContext ctx)
Visit a parse tree produced by thevarReference
labeled alternative inSnpSiftParser.expression()
.T
visitVarReferenceList(SnpSiftParser.VarReferenceListContext ctx)
Visit a parse tree produced by thevarReferenceList
labeled alternative inSnpSiftParser.expression()
.T
visitVarReferenceListSub(SnpSiftParser.VarReferenceListSubContext ctx)
Visit a parse tree produced by thevarReferenceListSub
labeled alternative inSnpSiftParser.expression()
.-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitCompilationUnit
public T visitCompilationUnit(SnpSiftParser.CompilationUnitContext ctx)
Visit a parse tree produced bySnpSiftParser.compilationUnit()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCompilationUnit
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionSet
public T visitExpressionSet(SnpSiftParser.ExpressionSetContext ctx)
Visit a parse tree produced by theexpressionSet
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpressionSet
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralString
public T visitLiteralString(SnpSiftParser.LiteralStringContext ctx)
Visit a parse tree produced by theliteralString
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralString
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionUnary
public T visitExpressionUnary(SnpSiftParser.ExpressionUnaryContext ctx)
Visit a parse tree produced by theexpressionUnary
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpressionUnary
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionComp
public T visitExpressionComp(SnpSiftParser.ExpressionCompContext ctx)
Visit a parse tree produced by theexpressionComp
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpressionComp
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralBool
public T visitLiteralBool(SnpSiftParser.LiteralBoolContext ctx)
Visit a parse tree produced by theliteralBool
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralBool
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVarReferenceList
public T visitVarReferenceList(SnpSiftParser.VarReferenceListContext ctx)
Visit a parse tree produced by thevarReferenceList
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVarReferenceList
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralFloat
public T visitLiteralFloat(SnpSiftParser.LiteralFloatContext ctx)
Visit a parse tree produced by theliteralFloat
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralFloat
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralIndex
public T visitLiteralIndex(SnpSiftParser.LiteralIndexContext ctx)
Visit a parse tree produced by theliteralIndex
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralIndex
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVarReference
public T visitVarReference(SnpSiftParser.VarReferenceContext ctx)
Visit a parse tree produced by thevarReference
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVarReference
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVarReferenceListSub
public T visitVarReferenceListSub(SnpSiftParser.VarReferenceListSubContext ctx)
Visit a parse tree produced by thevarReferenceListSub
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVarReferenceListSub
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionTimes
public T visitExpressionTimes(SnpSiftParser.ExpressionTimesContext ctx)
Visit a parse tree produced by theexpressionTimes
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpressionTimes
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionExists
public T visitExpressionExists(SnpSiftParser.ExpressionExistsContext ctx)
Visit a parse tree produced by theexpressionExists
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpressionExists
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionPlus
public T visitExpressionPlus(SnpSiftParser.ExpressionPlusContext ctx)
Visit a parse tree produced by theexpressionPlus
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpressionPlus
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionLogic
public T visitExpressionLogic(SnpSiftParser.ExpressionLogicContext ctx)
Visit a parse tree produced by theexpressionLogic
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpressionLogic
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionCall
public T visitFunctionCall(SnpSiftParser.FunctionCallContext ctx)
Visit a parse tree produced by thefunctionCall
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFunctionCall
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionParen
public T visitExpressionParen(SnpSiftParser.ExpressionParenContext ctx)
Visit a parse tree produced by theexpressionParen
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpressionParen
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionCond
public T visitExpressionCond(SnpSiftParser.ExpressionCondContext ctx)
Visit a parse tree produced by theexpressionCond
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpressionCond
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralInt
public T visitLiteralInt(SnpSiftParser.LiteralIntContext ctx)
Visit a parse tree produced by theliteralInt
labeled alternative inSnpSiftParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralInt
in interfaceSnpSiftVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-