Class JPPExpressionBaseVisitor<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>
,JPPExpressionVisitor<T>
JPPExpressionVisitor
,
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 byJPPExpressionParser.comparisonExpression()
.Visit a parse tree produced byJPPExpressionParser.definedExpression()
.Visit a parse tree produced byJPPExpressionParser.expression()
.Visit a parse tree produced byJPPExpressionParser.logicalAndExpression()
.Visit a parse tree produced byJPPExpressionParser.logicalOrExpression()
.Visit a parse tree produced byJPPExpressionParser.operand()
.Visit a parse tree produced byJPPExpressionParser.primaryExpression()
.Visit a parse tree produced byJPPExpressionParser.propertyExpression()
.Visit a parse tree produced byJPPExpressionParser.unaryOperator()
.Visit a parse tree produced byJPPExpressionParser.undefinedExpression()
.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
-
JPPExpressionBaseVisitor
public JPPExpressionBaseVisitor()
-
-
Method Details
-
visitExpression
Visit a parse tree produced byJPPExpressionParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpression
in interfaceJPPExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLogicalOrExpression
Visit a parse tree produced byJPPExpressionParser.logicalOrExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLogicalOrExpression
in interfaceJPPExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLogicalAndExpression
Visit a parse tree produced byJPPExpressionParser.logicalAndExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLogicalAndExpression
in interfaceJPPExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimaryExpression
Visit a parse tree produced byJPPExpressionParser.primaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPrimaryExpression
in interfaceJPPExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitComparisonExpression
Visit a parse tree produced byJPPExpressionParser.comparisonExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitComparisonExpression
in interfaceJPPExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOperand
Visit a parse tree produced byJPPExpressionParser.operand()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOperand
in interfaceJPPExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDefinedExpression
Visit a parse tree produced byJPPExpressionParser.definedExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDefinedExpression
in interfaceJPPExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUndefinedExpression
Visit a parse tree produced byJPPExpressionParser.undefinedExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUndefinedExpression
in interfaceJPPExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPropertyExpression
Visit a parse tree produced byJPPExpressionParser.propertyExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPropertyExpression
in interfaceJPPExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnaryOperator
Visit a parse tree produced byJPPExpressionParser.unaryOperator()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUnaryOperator
in interfaceJPPExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-