Class SimpleBooleanBaseVisitor<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>,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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced bySimpleBooleanParser.binary().Visit a parse tree produced by thebinaryExpressionlabeled alternative inSimpleBooleanParser.expression().Visit a parse tree produced bySimpleBooleanParser.bool().Visit a parse tree produced by theboolExpressionlabeled alternative inSimpleBooleanParser.expression().Visit a parse tree produced bySimpleBooleanParser.comparator().Visit a parse tree produced by thecomparatorExpressionlabeled alternative inSimpleBooleanParser.expression().Visit a parse tree produced by thecontextVariableslabeled alternative inSimpleBooleanParser.expression().Visit a parse tree produced by thedecimalExpressionlabeled alternative inSimpleBooleanParser.expression().Visit a parse tree produced by thedoubleQuotedCSVTextlabeled alternative inSimpleBooleanParser.expression().Visit a parse tree produced by thedoubleQuotedTextlabeled alternative inSimpleBooleanParser.expression().Visit a parse tree produced by thenotExpressionlabeled alternative inSimpleBooleanParser.expression().Visit a parse tree produced by theparenExpressionlabeled alternative inSimpleBooleanParser.expression().Visit a parse tree produced bySimpleBooleanParser.parse().Visit a parse tree produced by thequotedCSVTextlabeled alternative inSimpleBooleanParser.expression().Visit a parse tree produced by thequotedTextlabeled alternative inSimpleBooleanParser.expression().Visit a parse tree produced by thetextlabeled alternative inSimpleBooleanParser.expression().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
-
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:
visitParsein interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryExpression
Visit a parse tree produced by thebinaryExpressionlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBinaryExpressionin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDecimalExpression
Visit a parse tree produced by thedecimalExpressionlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDecimalExpressionin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolExpression
Visit a parse tree produced by theboolExpressionlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBoolExpressionin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoubleQuotedCSVText
Visit a parse tree produced by thedoubleQuotedCSVTextlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDoubleQuotedCSVTextin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContextVariables
Visit a parse tree produced by thecontextVariableslabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContextVariablesin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuotedCSVText
Visit a parse tree produced by thequotedCSVTextlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQuotedCSVTextin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNotExpression
Visit a parse tree produced by thenotExpressionlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNotExpressionin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenExpression
Visit a parse tree produced by theparenExpressionlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParenExpressionin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitText
Visit a parse tree produced by thetextlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTextin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuotedText
Visit a parse tree produced by thequotedTextlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQuotedTextin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoubleQuotedText
Visit a parse tree produced by thedoubleQuotedTextlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDoubleQuotedTextin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparatorExpression
Visit a parse tree produced by thecomparatorExpressionlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparatorExpressionin 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:
visitComparatorin 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:
visitBinaryin 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:
visitBoolin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-