Class ExpressionParserBaseVisitor<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>,ExpressionParserVisitor<T>
- Direct Known Subclasses:
ExpressionVisitor
ExpressionParserVisitor,
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 byExpressionParser.addExpression().Visit a parse tree produced byExpressionParser.addOperator().Visit a parse tree produced byExpressionParser.andExpression().Visit a parse tree produced byExpressionParser.andOperator().Visit a parse tree produced byExpressionParser.attributeKind().Visit a parse tree produced byExpressionParser.attributeReference().Visit a parse tree produced byExpressionParser.booleanLiteral().Visit a parse tree produced byExpressionParser.comparisonExpression().Visit a parse tree produced byExpressionParser.comparisonOperator().Visit a parse tree produced byExpressionParser.constantReference().Visit a parse tree produced byExpressionParser.equalityExpression().Visit a parse tree produced byExpressionParser.equalityOperator().Visit a parse tree produced byExpressionParser.expression().Visit a parse tree produced byExpressionParser.expressionInBraces().Visit a parse tree produced byExpressionParser.functionCall().Visit a parse tree produced byExpressionParser.functionName().Visit a parse tree produced byExpressionParser.functionParameters().Visit a parse tree produced byExpressionParser.literal().Visit a parse tree produced byExpressionParser.multExpression().Visit a parse tree produced byExpressionParser.multOperator().Visit a parse tree produced byExpressionParser.nullLiteral().Visit a parse tree produced byExpressionParser.numberLiteral().Visit a parse tree produced byExpressionParser.orExpression().Visit a parse tree produced byExpressionParser.orOperator().Visit a parse tree produced byExpressionParser.path().Visit a parse tree produced byExpressionParser.pathElement().Visit a parse tree produced byExpressionParser.primaryExpression().Visit a parse tree produced byExpressionParser.stringLiteral().Visit a parse tree produced byExpressionParser.unaryExpression().Visit a parse tree produced byExpressionParser.unaryOperator().Visit a parse tree produced byExpressionParser.variable().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
-
ExpressionParserBaseVisitor
public ExpressionParserBaseVisitor()
-
-
Method Details
-
visitExpression
Visit a parse tree produced byExpressionParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOrExpression
Visit a parse tree produced byExpressionParser.orExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOrExpressionin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOrOperator
Visit a parse tree produced byExpressionParser.orOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOrOperatorin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAndExpression
Visit a parse tree produced byExpressionParser.andExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAndExpressionin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAndOperator
Visit a parse tree produced byExpressionParser.andOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAndOperatorin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqualityExpression
Visit a parse tree produced byExpressionParser.equalityExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEqualityExpressionin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqualityOperator
Visit a parse tree produced byExpressionParser.equalityOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEqualityOperatorin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparisonExpression
Visit a parse tree produced byExpressionParser.comparisonExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparisonExpressionin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparisonOperator
Visit a parse tree produced byExpressionParser.comparisonOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparisonOperatorin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAddExpression
Visit a parse tree produced byExpressionParser.addExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAddExpressionin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAddOperator
Visit a parse tree produced byExpressionParser.addOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAddOperatorin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultExpression
Visit a parse tree produced byExpressionParser.multExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultExpressionin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultOperator
Visit a parse tree produced byExpressionParser.multOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultOperatorin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryExpression
Visit a parse tree produced byExpressionParser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryExpressionin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryOperator
Visit a parse tree produced byExpressionParser.unaryOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryOperatorin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimaryExpression
Visit a parse tree produced byExpressionParser.primaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrimaryExpressionin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionInBraces
Visit a parse tree produced byExpressionParser.expressionInBraces().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionInBracesin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionCall
Visit a parse tree produced byExpressionParser.functionCall().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionCallin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionName
Visit a parse tree produced byExpressionParser.functionName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionNamein interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionParameters
Visit a parse tree produced byExpressionParser.functionParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionParametersin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariable
Visit a parse tree produced byExpressionParser.variable().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariablein interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAttributeReference
Visit a parse tree produced byExpressionParser.attributeReference().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAttributeReferencein interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAttributeKind
Visit a parse tree produced byExpressionParser.attributeKind().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAttributeKindin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPath
Visit a parse tree produced byExpressionParser.path().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPathin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPathElement
Visit a parse tree produced byExpressionParser.pathElement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPathElementin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstantReference
Visit a parse tree produced byExpressionParser.constantReference().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConstantReferencein interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral
Visit a parse tree produced byExpressionParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNullLiteral
Visit a parse tree produced byExpressionParser.nullLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNullLiteralin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberLiteral
Visit a parse tree produced byExpressionParser.numberLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNumberLiteralin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringLiteral
Visit a parse tree produced byExpressionParser.stringLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringLiteralin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBooleanLiteral
Visit a parse tree produced byExpressionParser.booleanLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBooleanLiteralin interfaceExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-