Class ExpressionBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
ExpressionVisitor<T>,ParseTreeVisitor<T>
ExpressionVisitor,
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 by theAddExprlabeled alternative inExpressionParser.additiveExpression().Visit a parse tree produced by theAdFallthroughlabeled alternative inExpressionParser.additiveExpression().Visit a parse tree produced byExpressionParser.allStatements().Visit a parse tree produced byExpressionParser.assignment().Visit a parse tree produced byExpressionParser.assignmentExpression().Visit a parse tree produced byExpressionParser.assignmentOperator().Visit a parse tree produced byExpressionParser.block().Visit a parse tree produced byExpressionParser.breakStatement().Visit a parse tree produced by theCAFallthroughlabeled alternative inExpressionParser.conditionalAndExpression().Visit a parse tree produced by theCaselabeled alternative inExpressionParser.switchLabel().Visit a parse tree produced by theCEFallthroughlabeled alternative inExpressionParser.conditionalExpression().Visit a parse tree produced by theCOFallthroughlabeled alternative inExpressionParser.conditionalOrExpression().Visit a parse tree produced by theComplementExprlabeled alternative inExpressionParser.unaryExpression().Visit a parse tree produced by theConditionalAndExprlabeled alternative inExpressionParser.conditionalAndExpression().Visit a parse tree produced by theConditionalOrExprlabeled alternative inExpressionParser.conditionalOrExpression().Visit a parse tree produced by theConstantExprlabeled alternative inExpressionParser.unprioritizedExpression().Visit a parse tree produced byExpressionParser.constantExpression().Visit a parse tree produced byExpressionParser.continueStatement().Visit a parse tree produced by theDefaultlabeled alternative inExpressionParser.switchLabel().Visit a parse tree produced byExpressionParser.doStatement().Visit a parse tree produced byExpressionParser.emptyStatement().Visit a parse tree produced by theEqFallthroughlabeled alternative inExpressionParser.equalityExpression().Visit a parse tree produced by theEqualityExprlabeled alternative inExpressionParser.equalityExpression().Visit a parse tree produced byExpressionParser.expression().Visit a parse tree produced byExpressionParser.expressionStatement().Visit a parse tree produced byExpressionParser.forStatement().Visit a parse tree produced byExpressionParser.functionCall().Visit a parse tree produced by theFunctionCallExprlabeled alternative inExpressionParser.unprioritizedExpression().Visit a parse tree produced by theIdExprlabeled alternative inExpressionParser.unprioritizedExpression().Visit a parse tree produced byExpressionParser.ifStatement().Visit a parse tree produced by theMuFallthroughlabeled alternative inExpressionParser.multiplicativeExpression().Visit a parse tree produced by theMultiplicativeExprlabeled alternative inExpressionParser.multiplicativeExpression().Visit a parse tree produced by theNotExprlabeled alternative inExpressionParser.unaryExpression().Visit a parse tree produced by thePlusMinusExprlabeled alternative inExpressionParser.unaryExpression().Visit a parse tree produced by thePoFallthroughlabeled alternative inExpressionParser.postfixExpression().Visit a parse tree produced by thePostCrementExprlabeled alternative inExpressionParser.postfixExpression().Visit a parse tree produced by thePostfixExprlabeled alternative inExpressionParser.postfixExpression().Visit a parse tree produced by thePowerExprlabeled alternative inExpressionParser.powerExpression().Visit a parse tree produced by thePreCrementExprlabeled alternative inExpressionParser.unaryExpression().Visit a parse tree produced by thePwFallthroughlabeled alternative inExpressionParser.powerExpression().Visit a parse tree produced by theReFallthroughlabeled alternative inExpressionParser.relationalExpression().Visit a parse tree produced by theRelationalExprlabeled alternative inExpressionParser.relationalExpression().Visit a parse tree produced byExpressionParser.returnStatement().Visit a parse tree produced by theShFallthroughlabeled alternative inExpressionParser.shiftExpression().Visit a parse tree produced by theShiftExprlabeled alternative inExpressionParser.shiftExpression().Visit a parse tree produced byExpressionParser.simpleForStatement().Visit a parse tree produced byExpressionParser.statement().Visit a parse tree produced byExpressionParser.statements().Visit a parse tree produced byExpressionParser.switchStatement().Visit a parse tree produced by theTernaryExprlabeled alternative inExpressionParser.conditionalExpression().Visit a parse tree produced by theUaFallthroughlabeled alternative inExpressionParser.unaryExpression().Visit a parse tree produced byExpressionParser.whileStatement().Visit a parse tree produced by theWrappedExprlabeled alternative inExpressionParser.unprioritizedExpression().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
-
ExpressionBaseVisitor
public ExpressionBaseVisitor()
-
-
Method Details
-
visitAllStatements
Visit a parse tree produced byExpressionParser.allStatements().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAllStatementsin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatements
Visit a parse tree produced byExpressionParser.statements().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStatementsin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatement
Visit a parse tree produced byExpressionParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStatementin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlock
Visit a parse tree produced byExpressionParser.block().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBlockin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfStatement
Visit a parse tree produced byExpressionParser.ifStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIfStatementin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhileStatement
Visit a parse tree produced byExpressionParser.whileStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWhileStatementin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoStatement
Visit a parse tree produced byExpressionParser.doStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDoStatementin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForStatement
Visit a parse tree produced byExpressionParser.forStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForStatementin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimpleForStatement
Visit a parse tree produced byExpressionParser.simpleForStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSimpleForStatementin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreakStatement
Visit a parse tree produced byExpressionParser.breakStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBreakStatementin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContinueStatement
Visit a parse tree produced byExpressionParser.continueStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContinueStatementin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReturnStatement
Visit a parse tree produced byExpressionParser.returnStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReturnStatementin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchStatement
Visit a parse tree produced byExpressionParser.switchStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchStatementin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCase
Visit a parse tree produced by theCaselabeled alternative inExpressionParser.switchLabel().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCasein interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefault
Visit a parse tree produced by theDefaultlabeled alternative inExpressionParser.switchLabel().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDefaultin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionStatement
Visit a parse tree produced byExpressionParser.expressionStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionStatementin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyStatement
Visit a parse tree produced byExpressionParser.emptyStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEmptyStatementin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
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 interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignmentExpression
Visit a parse tree produced byExpressionParser.assignmentExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssignmentExpressionin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignment
Visit a parse tree produced byExpressionParser.assignment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssignmentin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignmentOperator
Visit a parse tree produced byExpressionParser.assignmentOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssignmentOperatorin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCEFallthrough
Visit a parse tree produced by theCEFallthroughlabeled alternative inExpressionParser.conditionalExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCEFallthroughin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTernaryExpr
Visit a parse tree produced by theTernaryExprlabeled alternative inExpressionParser.conditionalExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTernaryExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCOFallthrough
Visit a parse tree produced by theCOFallthroughlabeled alternative inExpressionParser.conditionalOrExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCOFallthroughin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConditionalOrExpr
Visit a parse tree produced by theConditionalOrExprlabeled alternative inExpressionParser.conditionalOrExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConditionalOrExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCAFallthrough
Visit a parse tree produced by theCAFallthroughlabeled alternative inExpressionParser.conditionalAndExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCAFallthroughin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConditionalAndExpr
Visit a parse tree produced by theConditionalAndExprlabeled alternative inExpressionParser.conditionalAndExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConditionalAndExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqualityExpr
Visit a parse tree produced by theEqualityExprlabeled alternative inExpressionParser.equalityExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEqualityExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqFallthrough
Visit a parse tree produced by theEqFallthroughlabeled alternative inExpressionParser.equalityExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEqFallthroughin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReFallthrough
Visit a parse tree produced by theReFallthroughlabeled alternative inExpressionParser.relationalExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReFallthroughin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelationalExpr
Visit a parse tree produced by theRelationalExprlabeled alternative inExpressionParser.relationalExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRelationalExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShFallthrough
Visit a parse tree produced by theShFallthroughlabeled alternative inExpressionParser.shiftExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitShFallthroughin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShiftExpr
Visit a parse tree produced by theShiftExprlabeled alternative inExpressionParser.shiftExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitShiftExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAddExpr
Visit a parse tree produced by theAddExprlabeled alternative inExpressionParser.additiveExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAddExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAdFallthrough
Visit a parse tree produced by theAdFallthroughlabeled alternative inExpressionParser.additiveExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAdFallthroughin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiplicativeExpr
Visit a parse tree produced by theMultiplicativeExprlabeled alternative inExpressionParser.multiplicativeExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultiplicativeExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMuFallthrough
Visit a parse tree produced by theMuFallthroughlabeled alternative inExpressionParser.multiplicativeExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMuFallthroughin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPowerExpr
Visit a parse tree produced by thePowerExprlabeled alternative inExpressionParser.powerExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPowerExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPwFallthrough
Visit a parse tree produced by thePwFallthroughlabeled alternative inExpressionParser.powerExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPwFallthroughin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreCrementExpr
Visit a parse tree produced by thePreCrementExprlabeled alternative inExpressionParser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPreCrementExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPlusMinusExpr
Visit a parse tree produced by thePlusMinusExprlabeled alternative inExpressionParser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPlusMinusExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUaFallthrough
Visit a parse tree produced by theUaFallthroughlabeled alternative inExpressionParser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUaFallthroughin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComplementExpr
Visit a parse tree produced by theComplementExprlabeled alternative inExpressionParser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComplementExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNotExpr
Visit a parse tree produced by theNotExprlabeled alternative inExpressionParser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNotExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostfixExpr
Visit a parse tree produced by thePostfixExprlabeled alternative inExpressionParser.postfixExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPostfixExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPoFallthrough
Visit a parse tree produced by thePoFallthroughlabeled alternative inExpressionParser.postfixExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPoFallthroughin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostCrementExpr
Visit a parse tree produced by thePostCrementExprlabeled alternative inExpressionParser.postfixExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPostCrementExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionCallExpr
Visit a parse tree produced by theFunctionCallExprlabeled alternative inExpressionParser.unprioritizedExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionCallExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstantExpr
Visit a parse tree produced by theConstantExprlabeled alternative inExpressionParser.unprioritizedExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConstantExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdExpr
Visit a parse tree produced by theIdExprlabeled alternative inExpressionParser.unprioritizedExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWrappedExpr
Visit a parse tree produced by theWrappedExprlabeled alternative inExpressionParser.unprioritizedExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWrappedExprin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstantExpression
Visit a parse tree produced byExpressionParser.constantExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConstantExpressionin interfaceExpressionVisitor<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 interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-