Class BooleanConditionParserBaseVisitor<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>,BooleanConditionParserVisitor<T>
- Direct Known Subclasses:
ConditionEvaluator,PredicateEvaluator
BooleanConditionParserVisitor,
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 byBooleanConditionParser.andExpression().Visit a parse tree produced byBooleanConditionParser.atom().Visit a parse tree produced byBooleanConditionParser.conditionCall().Visit a parse tree produced byBooleanConditionParser.evaluator().Visit a parse tree produced byBooleanConditionParser.expression().Visit a parse tree produced byBooleanConditionParser.notExpression().Visit a parse tree produced byBooleanConditionParser.parameter().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
-
BooleanConditionParserBaseVisitor
public BooleanConditionParserBaseVisitor()
-
-
Method Details
-
visitEvaluator
Visit a parse tree produced byBooleanConditionParser.evaluator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEvaluatorin interfaceBooleanConditionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byBooleanConditionParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionin interfaceBooleanConditionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAndExpression
Visit a parse tree produced byBooleanConditionParser.andExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAndExpressionin interfaceBooleanConditionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNotExpression
Visit a parse tree produced byBooleanConditionParser.notExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNotExpressionin interfaceBooleanConditionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAtom
Visit a parse tree produced byBooleanConditionParser.atom().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAtomin interfaceBooleanConditionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConditionCall
Visit a parse tree produced byBooleanConditionParser.conditionCall().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConditionCallin interfaceBooleanConditionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameter
Visit a parse tree produced byBooleanConditionParser.parameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParameterin interfaceBooleanConditionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-