Class EvaluationVisitor
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<Object>,SimpleBooleanVisitor<Object>
- Author:
- hengsin
-
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
-
EvaluationVisitor
-
-
Method Details
-
visitParse
Description copied from class:SimpleBooleanBaseVisitorVisit 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<Object>- Overrides:
visitParsein classSimpleBooleanBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDecimalExpression
Description copied from class:SimpleBooleanBaseVisitorVisit 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<Object>- Overrides:
visitDecimalExpressionin classSimpleBooleanBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuotedCSVText
Description copied from class:SimpleBooleanBaseVisitorVisit 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<Object>- Overrides:
visitQuotedCSVTextin classSimpleBooleanBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuotedText
Description copied from class:SimpleBooleanBaseVisitorVisit 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<Object>- Overrides:
visitQuotedTextin classSimpleBooleanBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoubleQuotedCSVText
Description copied from class:SimpleBooleanBaseVisitorVisit 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<Object>- Overrides:
visitDoubleQuotedCSVTextin classSimpleBooleanBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoubleQuotedText
Description copied from class:SimpleBooleanBaseVisitorVisit 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<Object>- Overrides:
visitDoubleQuotedTextin classSimpleBooleanBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitText
Description copied from class:SimpleBooleanBaseVisitorVisit 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<Object>- Overrides:
visitTextin classSimpleBooleanBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNotExpression
Description copied from class:SimpleBooleanBaseVisitorVisit 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<Object>- Overrides:
visitNotExpressionin classSimpleBooleanBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenExpression
Description copied from class:SimpleBooleanBaseVisitorVisit 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<Object>- Overrides:
visitParenExpressionin classSimpleBooleanBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparatorExpression
Description copied from class:SimpleBooleanBaseVisitorVisit 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<Object>- Overrides:
visitComparatorExpressionin classSimpleBooleanBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryExpression
Description copied from class:SimpleBooleanBaseVisitorVisit 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<Object>- Overrides:
visitBinaryExpressionin classSimpleBooleanBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolExpression
Description copied from class:SimpleBooleanBaseVisitorVisit 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<Object>- Overrides:
visitBoolExpressionin classSimpleBooleanBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparator
Description copied from class:SimpleBooleanBaseVisitorVisit 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<Object>- Overrides:
visitComparatorin classSimpleBooleanBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBool
Description copied from class:SimpleBooleanBaseVisitorVisit 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<Object>- Overrides:
visitBoolin classSimpleBooleanBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinary
Description copied from class:SimpleBooleanBaseVisitorVisit 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<Object>- Overrides:
visitBinaryin classSimpleBooleanBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContextVariables
Description copied from class:SimpleBooleanBaseVisitorVisit 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<Object>- Overrides:
visitContextVariablesin classSimpleBooleanBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-