Class ValidWhenBaseVisitor<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>
,ValidWhenVisitor<T>
- Direct Known Subclasses:
ValidWhenEvaluator
ValidWhenVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byValidWhenParser.comparison()
.Visit a parse tree produced byValidWhenParser.comparisonExpression()
.Visit a parse tree produced byValidWhenParser.decimal()
.Visit a parse tree produced by theexprComp
labeled alternative inValidWhenParser.expr()
.Visit a parse tree produced byValidWhenParser.expression()
.Visit a parse tree produced by theexprJoin
labeled alternative inValidWhenParser.expr()
.Visit a parse tree produced by thefield1
labeled alternative inValidWhenParser.field()
.Visit a parse tree produced by thefield2
labeled alternative inValidWhenParser.field()
.Visit a parse tree produced by thefield3
labeled alternative inValidWhenParser.field()
.Visit a parse tree produced by thefield4
labeled alternative inValidWhenParser.field()
.Visit a parse tree produced by thefield5
labeled alternative inValidWhenParser.field()
.Visit a parse tree produced byValidWhenParser.identifier()
.Visit a parse tree produced byValidWhenParser.integer()
.Visit a parse tree produced byValidWhenParser.joinedExpression()
.Visit a parse tree produced by theliteralNull
labeled alternative inValidWhenParser.literal()
.Visit a parse tree produced by theliteralNum
labeled alternative inValidWhenParser.literal()
.Visit a parse tree produced by theliteralStr
labeled alternative inValidWhenParser.literal()
.Visit a parse tree produced by theliteralThis
labeled alternative inValidWhenParser.literal()
.Visit a parse tree produced byValidWhenParser.number()
.Visit a parse tree produced byValidWhenParser.string()
.Visit a parse tree produced byValidWhenParser.value()
.Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
ValidWhenBaseVisitor
public ValidWhenBaseVisitor()
-
-
Method Details
-
visitDecimal
Visit a parse tree produced byValidWhenParser.decimal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDecimal
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInteger
Visit a parse tree produced byValidWhenParser.integer()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInteger
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumber
Visit a parse tree produced byValidWhenParser.number()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNumber
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitString
Visit a parse tree produced byValidWhenParser.string()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitString
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIdentifier
Visit a parse tree produced byValidWhenParser.identifier()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIdentifier
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitField1
Visit a parse tree produced by thefield1
labeled alternative inValidWhenParser.field()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitField1
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitField2
Visit a parse tree produced by thefield2
labeled alternative inValidWhenParser.field()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitField2
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitField3
Visit a parse tree produced by thefield3
labeled alternative inValidWhenParser.field()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitField3
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitField4
Visit a parse tree produced by thefield4
labeled alternative inValidWhenParser.field()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitField4
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitField5
Visit a parse tree produced by thefield5
labeled alternative inValidWhenParser.field()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitField5
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralNum
Visit a parse tree produced by theliteralNum
labeled alternative inValidWhenParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralNum
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralStr
Visit a parse tree produced by theliteralStr
labeled alternative inValidWhenParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralStr
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralNull
Visit a parse tree produced by theliteralNull
labeled alternative inValidWhenParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralNull
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralThis
Visit a parse tree produced by theliteralThis
labeled alternative inValidWhenParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralThis
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitValue
Visit a parse tree produced byValidWhenParser.value()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitValue
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byValidWhenParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpression
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprComp
Visit a parse tree produced by theexprComp
labeled alternative inValidWhenParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprComp
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprJoin
Visit a parse tree produced by theexprJoin
labeled alternative inValidWhenParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprJoin
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitJoinedExpression
Visit a parse tree produced byValidWhenParser.joinedExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitJoinedExpression
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitComparison
Visit a parse tree produced byValidWhenParser.comparison()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitComparison
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitComparisonExpression
Visit a parse tree produced byValidWhenParser.comparisonExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitComparisonExpression
in interfaceValidWhenVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-