Class SimpleBooleanBaseVisitor<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>
,SimpleBooleanVisitor<T>
- Direct Known Subclasses:
EvaluationVisitor
SimpleBooleanVisitor
,
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 bySimpleBooleanParser.binary()
.Visit a parse tree produced by thebinaryExpression
labeled alternative inSimpleBooleanParser.expression()
.Visit a parse tree produced bySimpleBooleanParser.bool()
.Visit a parse tree produced by theboolExpression
labeled alternative inSimpleBooleanParser.expression()
.Visit a parse tree produced bySimpleBooleanParser.comparator()
.Visit a parse tree produced by thecomparatorExpression
labeled alternative inSimpleBooleanParser.expression()
.Visit a parse tree produced by thecontextVariables
labeled alternative inSimpleBooleanParser.expression()
.Visit a parse tree produced by thedecimalExpression
labeled alternative inSimpleBooleanParser.expression()
.Visit a parse tree produced by thedoubleQuotedCSVText
labeled alternative inSimpleBooleanParser.expression()
.Visit a parse tree produced by thedoubleQuotedText
labeled alternative inSimpleBooleanParser.expression()
.Visit a parse tree produced by thenotExpression
labeled alternative inSimpleBooleanParser.expression()
.Visit a parse tree produced by theparenExpression
labeled alternative inSimpleBooleanParser.expression()
.Visit a parse tree produced bySimpleBooleanParser.parse()
.Visit a parse tree produced by thequotedCSVText
labeled alternative inSimpleBooleanParser.expression()
.Visit a parse tree produced by thequotedText
labeled alternative inSimpleBooleanParser.expression()
.Visit a parse tree produced by thetext
labeled alternative inSimpleBooleanParser.expression()
.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
-
SimpleBooleanBaseVisitor
public SimpleBooleanBaseVisitor()
-
-
Method Details
-
visitParse
Visit a parse tree produced bySimpleBooleanParser.parse()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParse
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBinaryExpression
Visit a parse tree produced by thebinaryExpression
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBinaryExpression
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDecimalExpression
Visit a parse tree produced by thedecimalExpression
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDecimalExpression
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBoolExpression
Visit a parse tree produced by theboolExpression
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBoolExpression
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDoubleQuotedCSVText
Visit a parse tree produced by thedoubleQuotedCSVText
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDoubleQuotedCSVText
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitContextVariables
Visit a parse tree produced by thecontextVariables
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitContextVariables
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQuotedCSVText
Visit a parse tree produced by thequotedCSVText
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQuotedCSVText
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNotExpression
Visit a parse tree produced by thenotExpression
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNotExpression
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParenExpression
Visit a parse tree produced by theparenExpression
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParenExpression
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitText
Visit a parse tree produced by thetext
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitText
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQuotedText
Visit a parse tree produced by thequotedText
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQuotedText
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDoubleQuotedText
Visit a parse tree produced by thedoubleQuotedText
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDoubleQuotedText
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitComparatorExpression
Visit a parse tree produced by thecomparatorExpression
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitComparatorExpression
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitComparator
Visit a parse tree produced bySimpleBooleanParser.comparator()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitComparator
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBinary
Visit a parse tree produced bySimpleBooleanParser.binary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBinary
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBool
Visit a parse tree produced bySimpleBooleanParser.bool()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBool
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-