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. UseVoidfor 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 TvisitCompilationUnit(SnpSiftParser.CompilationUnitContext ctx)Visit a parse tree produced bySnpSiftParser.compilationUnit().TvisitExpressionComp(SnpSiftParser.ExpressionCompContext ctx)Visit a parse tree produced by theexpressionComplabeled alternative inSnpSiftParser.expression().TvisitExpressionCond(SnpSiftParser.ExpressionCondContext ctx)Visit a parse tree produced by theexpressionCondlabeled alternative inSnpSiftParser.expression().TvisitExpressionExists(SnpSiftParser.ExpressionExistsContext ctx)Visit a parse tree produced by theexpressionExistslabeled alternative inSnpSiftParser.expression().TvisitExpressionLogic(SnpSiftParser.ExpressionLogicContext ctx)Visit a parse tree produced by theexpressionLogiclabeled alternative inSnpSiftParser.expression().TvisitExpressionParen(SnpSiftParser.ExpressionParenContext ctx)Visit a parse tree produced by theexpressionParenlabeled alternative inSnpSiftParser.expression().TvisitExpressionPlus(SnpSiftParser.ExpressionPlusContext ctx)Visit a parse tree produced by theexpressionPluslabeled alternative inSnpSiftParser.expression().TvisitExpressionSet(SnpSiftParser.ExpressionSetContext ctx)Visit a parse tree produced by theexpressionSetlabeled alternative inSnpSiftParser.expression().TvisitExpressionTimes(SnpSiftParser.ExpressionTimesContext ctx)Visit a parse tree produced by theexpressionTimeslabeled alternative inSnpSiftParser.expression().TvisitExpressionUnary(SnpSiftParser.ExpressionUnaryContext ctx)Visit a parse tree produced by theexpressionUnarylabeled alternative inSnpSiftParser.expression().TvisitFunctionCall(SnpSiftParser.FunctionCallContext ctx)Visit a parse tree produced by thefunctionCalllabeled alternative inSnpSiftParser.expression().TvisitLiteralBool(SnpSiftParser.LiteralBoolContext ctx)Visit a parse tree produced by theliteralBoollabeled alternative inSnpSiftParser.expression().TvisitLiteralFloat(SnpSiftParser.LiteralFloatContext ctx)Visit a parse tree produced by theliteralFloatlabeled alternative inSnpSiftParser.expression().TvisitLiteralIndex(SnpSiftParser.LiteralIndexContext ctx)Visit a parse tree produced by theliteralIndexlabeled alternative inSnpSiftParser.expression().TvisitLiteralInt(SnpSiftParser.LiteralIntContext ctx)Visit a parse tree produced by theliteralIntlabeled alternative inSnpSiftParser.expression().TvisitLiteralString(SnpSiftParser.LiteralStringContext ctx)Visit a parse tree produced by theliteralStringlabeled alternative inSnpSiftParser.expression().TvisitVarReference(SnpSiftParser.VarReferenceContext ctx)Visit a parse tree produced by thevarReferencelabeled alternative inSnpSiftParser.expression().TvisitVarReferenceList(SnpSiftParser.VarReferenceListContext ctx)Visit a parse tree produced by thevarReferenceListlabeled alternative inSnpSiftParser.expression().TvisitVarReferenceListSub(SnpSiftParser.VarReferenceListSubContext ctx)Visit a parse tree produced by thevarReferenceListSublabeled 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:
visitCompilationUnitin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionSet
public T visitExpressionSet(SnpSiftParser.ExpressionSetContext ctx)
Visit a parse tree produced by theexpressionSetlabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionSetin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralString
public T visitLiteralString(SnpSiftParser.LiteralStringContext ctx)
Visit a parse tree produced by theliteralStringlabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralStringin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionUnary
public T visitExpressionUnary(SnpSiftParser.ExpressionUnaryContext ctx)
Visit a parse tree produced by theexpressionUnarylabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionUnaryin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionComp
public T visitExpressionComp(SnpSiftParser.ExpressionCompContext ctx)
Visit a parse tree produced by theexpressionComplabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionCompin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralBool
public T visitLiteralBool(SnpSiftParser.LiteralBoolContext ctx)
Visit a parse tree produced by theliteralBoollabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralBoolin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarReferenceList
public T visitVarReferenceList(SnpSiftParser.VarReferenceListContext ctx)
Visit a parse tree produced by thevarReferenceListlabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVarReferenceListin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralFloat
public T visitLiteralFloat(SnpSiftParser.LiteralFloatContext ctx)
Visit a parse tree produced by theliteralFloatlabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralFloatin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralIndex
public T visitLiteralIndex(SnpSiftParser.LiteralIndexContext ctx)
Visit a parse tree produced by theliteralIndexlabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralIndexin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarReference
public T visitVarReference(SnpSiftParser.VarReferenceContext ctx)
Visit a parse tree produced by thevarReferencelabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVarReferencein interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarReferenceListSub
public T visitVarReferenceListSub(SnpSiftParser.VarReferenceListSubContext ctx)
Visit a parse tree produced by thevarReferenceListSublabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVarReferenceListSubin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionTimes
public T visitExpressionTimes(SnpSiftParser.ExpressionTimesContext ctx)
Visit a parse tree produced by theexpressionTimeslabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionTimesin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionExists
public T visitExpressionExists(SnpSiftParser.ExpressionExistsContext ctx)
Visit a parse tree produced by theexpressionExistslabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionExistsin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionPlus
public T visitExpressionPlus(SnpSiftParser.ExpressionPlusContext ctx)
Visit a parse tree produced by theexpressionPluslabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionPlusin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionLogic
public T visitExpressionLogic(SnpSiftParser.ExpressionLogicContext ctx)
Visit a parse tree produced by theexpressionLogiclabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionLogicin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionCall
public T visitFunctionCall(SnpSiftParser.FunctionCallContext ctx)
Visit a parse tree produced by thefunctionCalllabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionCallin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionParen
public T visitExpressionParen(SnpSiftParser.ExpressionParenContext ctx)
Visit a parse tree produced by theexpressionParenlabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionParenin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionCond
public T visitExpressionCond(SnpSiftParser.ExpressionCondContext ctx)
Visit a parse tree produced by theexpressionCondlabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionCondin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralInt
public T visitLiteralInt(SnpSiftParser.LiteralIntContext ctx)
Visit a parse tree produced by theliteralIntlabeled alternative inSnpSiftParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralIntin interfaceSnpSiftVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-