Class ValidWhenBaseVisitor<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>,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
Constructors -
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 theexprComplabeled alternative inValidWhenParser.expr().Visit a parse tree produced byValidWhenParser.expression().Visit a parse tree produced by theexprJoinlabeled alternative inValidWhenParser.expr().Visit a parse tree produced by thefield1labeled alternative inValidWhenParser.field().Visit a parse tree produced by thefield2labeled alternative inValidWhenParser.field().Visit a parse tree produced by thefield3labeled alternative inValidWhenParser.field().Visit a parse tree produced by thefield4labeled alternative inValidWhenParser.field().Visit a parse tree produced by thefield5labeled 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 theliteralNulllabeled alternative inValidWhenParser.literal().Visit a parse tree produced by theliteralNumlabeled alternative inValidWhenParser.literal().Visit a parse tree produced by theliteralStrlabeled alternative inValidWhenParser.literal().Visit a parse tree produced by theliteralThislabeled 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, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
visitDecimalin 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:
visitIntegerin 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:
visitNumberin 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:
visitStringin 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:
visitIdentifierin interfaceValidWhenVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField1
Visit a parse tree produced by thefield1labeled alternative inValidWhenParser.field().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitField1in interfaceValidWhenVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField2
Visit a parse tree produced by thefield2labeled alternative inValidWhenParser.field().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitField2in interfaceValidWhenVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField3
Visit a parse tree produced by thefield3labeled alternative inValidWhenParser.field().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitField3in interfaceValidWhenVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField4
Visit a parse tree produced by thefield4labeled alternative inValidWhenParser.field().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitField4in interfaceValidWhenVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField5
Visit a parse tree produced by thefield5labeled alternative inValidWhenParser.field().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitField5in interfaceValidWhenVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralNum
Visit a parse tree produced by theliteralNumlabeled alternative inValidWhenParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralNumin interfaceValidWhenVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralStr
Visit a parse tree produced by theliteralStrlabeled alternative inValidWhenParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralStrin interfaceValidWhenVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralNull
Visit a parse tree produced by theliteralNulllabeled alternative inValidWhenParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralNullin interfaceValidWhenVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralThis
Visit a parse tree produced by theliteralThislabeled alternative inValidWhenParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralThisin 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:
visitValuein 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:
visitExpressionin interfaceValidWhenVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprComp
Visit a parse tree produced by theexprComplabeled alternative inValidWhenParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExprCompin interfaceValidWhenVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprJoin
Visit a parse tree produced by theexprJoinlabeled alternative inValidWhenParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExprJoinin 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:
visitJoinedExpressionin 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:
visitComparisonin 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:
visitComparisonExpressionin interfaceValidWhenVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-