Class ExpressionBaseVisitor<T>
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for 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
-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced by theAddExpr
labeled alternative inExpressionParser.additiveExpression()
.Visit a parse tree produced by theAdFallthrough
labeled 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 theCAFallthrough
labeled alternative inExpressionParser.conditionalAndExpression()
.Visit a parse tree produced by theCase
labeled alternative inExpressionParser.switchLabel()
.Visit a parse tree produced by theCEFallthrough
labeled alternative inExpressionParser.conditionalExpression()
.Visit a parse tree produced by theCOFallthrough
labeled alternative inExpressionParser.conditionalOrExpression()
.Visit a parse tree produced by theComplementExpr
labeled alternative inExpressionParser.unaryExpression()
.Visit a parse tree produced by theConditionalAndExpr
labeled alternative inExpressionParser.conditionalAndExpression()
.Visit a parse tree produced by theConditionalOrExpr
labeled alternative inExpressionParser.conditionalOrExpression()
.Visit a parse tree produced by theConstantExpr
labeled alternative inExpressionParser.unprioritizedExpression()
.Visit a parse tree produced byExpressionParser.constantExpression()
.Visit a parse tree produced byExpressionParser.continueStatement()
.Visit a parse tree produced by theDefault
labeled alternative inExpressionParser.switchLabel()
.Visit a parse tree produced byExpressionParser.doStatement()
.Visit a parse tree produced byExpressionParser.emptyStatement()
.Visit a parse tree produced by theEqFallthrough
labeled alternative inExpressionParser.equalityExpression()
.Visit a parse tree produced by theEqualityExpr
labeled 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 theFunctionCallExpr
labeled alternative inExpressionParser.unprioritizedExpression()
.Visit a parse tree produced by theIdExpr
labeled alternative inExpressionParser.unprioritizedExpression()
.Visit a parse tree produced byExpressionParser.ifStatement()
.Visit a parse tree produced by theMuFallthrough
labeled alternative inExpressionParser.multiplicativeExpression()
.Visit a parse tree produced by theMultiplicativeExpr
labeled alternative inExpressionParser.multiplicativeExpression()
.Visit a parse tree produced by theNotExpr
labeled alternative inExpressionParser.unaryExpression()
.Visit a parse tree produced by thePlusMinusExpr
labeled alternative inExpressionParser.unaryExpression()
.Visit a parse tree produced by thePoFallthrough
labeled alternative inExpressionParser.postfixExpression()
.Visit a parse tree produced by thePostCrementExpr
labeled alternative inExpressionParser.postfixExpression()
.Visit a parse tree produced by thePostfixExpr
labeled alternative inExpressionParser.postfixExpression()
.Visit a parse tree produced by thePowerExpr
labeled alternative inExpressionParser.powerExpression()
.Visit a parse tree produced by thePreCrementExpr
labeled alternative inExpressionParser.unaryExpression()
.Visit a parse tree produced by thePwFallthrough
labeled alternative inExpressionParser.powerExpression()
.Visit a parse tree produced by theReFallthrough
labeled alternative inExpressionParser.relationalExpression()
.Visit a parse tree produced by theRelationalExpr
labeled alternative inExpressionParser.relationalExpression()
.Visit a parse tree produced byExpressionParser.returnStatement()
.Visit a parse tree produced by theShFallthrough
labeled alternative inExpressionParser.shiftExpression()
.Visit a parse tree produced by theShiftExpr
labeled 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 theTernaryExpr
labeled alternative inExpressionParser.conditionalExpression()
.Visit a parse tree produced by theUaFallthrough
labeled alternative inExpressionParser.unaryExpression()
.Visit a parse tree produced byExpressionParser.whileStatement()
.Visit a parse tree produced by theWrappedExpr
labeled alternative inExpressionParser.unprioritizedExpression()
.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
-
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:
visitAllStatements
in 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:
visitStatements
in 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:
visitStatement
in 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:
visitBlock
in 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:
visitIfStatement
in 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:
visitWhileStatement
in 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:
visitDoStatement
in 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:
visitForStatement
in 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:
visitSimpleForStatement
in 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:
visitBreakStatement
in 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:
visitContinueStatement
in 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:
visitReturnStatement
in 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:
visitSwitchStatement
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCase
Visit a parse tree produced by theCase
labeled alternative inExpressionParser.switchLabel()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCase
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDefault
Visit a parse tree produced by theDefault
labeled alternative inExpressionParser.switchLabel()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDefault
in 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:
visitExpressionStatement
in 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:
visitEmptyStatement
in 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:
visitExpression
in 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:
visitAssignmentExpression
in 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:
visitAssignment
in 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:
visitAssignmentOperator
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCEFallthrough
Visit a parse tree produced by theCEFallthrough
labeled alternative inExpressionParser.conditionalExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCEFallthrough
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTernaryExpr
Visit a parse tree produced by theTernaryExpr
labeled alternative inExpressionParser.conditionalExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTernaryExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCOFallthrough
Visit a parse tree produced by theCOFallthrough
labeled alternative inExpressionParser.conditionalOrExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCOFallthrough
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitConditionalOrExpr
Visit a parse tree produced by theConditionalOrExpr
labeled alternative inExpressionParser.conditionalOrExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitConditionalOrExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCAFallthrough
Visit a parse tree produced by theCAFallthrough
labeled alternative inExpressionParser.conditionalAndExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCAFallthrough
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitConditionalAndExpr
Visit a parse tree produced by theConditionalAndExpr
labeled alternative inExpressionParser.conditionalAndExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitConditionalAndExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEqualityExpr
Visit a parse tree produced by theEqualityExpr
labeled alternative inExpressionParser.equalityExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEqualityExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEqFallthrough
Visit a parse tree produced by theEqFallthrough
labeled alternative inExpressionParser.equalityExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEqFallthrough
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitReFallthrough
Visit a parse tree produced by theReFallthrough
labeled alternative inExpressionParser.relationalExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitReFallthrough
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRelationalExpr
Visit a parse tree produced by theRelationalExpr
labeled alternative inExpressionParser.relationalExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRelationalExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitShFallthrough
Visit a parse tree produced by theShFallthrough
labeled alternative inExpressionParser.shiftExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitShFallthrough
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitShiftExpr
Visit a parse tree produced by theShiftExpr
labeled alternative inExpressionParser.shiftExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitShiftExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAddExpr
Visit a parse tree produced by theAddExpr
labeled alternative inExpressionParser.additiveExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAddExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAdFallthrough
Visit a parse tree produced by theAdFallthrough
labeled alternative inExpressionParser.additiveExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAdFallthrough
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMultiplicativeExpr
Visit a parse tree produced by theMultiplicativeExpr
labeled alternative inExpressionParser.multiplicativeExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMultiplicativeExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMuFallthrough
Visit a parse tree produced by theMuFallthrough
labeled alternative inExpressionParser.multiplicativeExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMuFallthrough
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPowerExpr
Visit a parse tree produced by thePowerExpr
labeled alternative inExpressionParser.powerExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPowerExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPwFallthrough
Visit a parse tree produced by thePwFallthrough
labeled alternative inExpressionParser.powerExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPwFallthrough
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPreCrementExpr
Visit a parse tree produced by thePreCrementExpr
labeled alternative inExpressionParser.unaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPreCrementExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPlusMinusExpr
Visit a parse tree produced by thePlusMinusExpr
labeled alternative inExpressionParser.unaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPlusMinusExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUaFallthrough
Visit a parse tree produced by theUaFallthrough
labeled alternative inExpressionParser.unaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUaFallthrough
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitComplementExpr
Visit a parse tree produced by theComplementExpr
labeled alternative inExpressionParser.unaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitComplementExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNotExpr
Visit a parse tree produced by theNotExpr
labeled alternative inExpressionParser.unaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNotExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPostfixExpr
Visit a parse tree produced by thePostfixExpr
labeled alternative inExpressionParser.postfixExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPostfixExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPoFallthrough
Visit a parse tree produced by thePoFallthrough
labeled alternative inExpressionParser.postfixExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPoFallthrough
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPostCrementExpr
Visit a parse tree produced by thePostCrementExpr
labeled alternative inExpressionParser.postfixExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPostCrementExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionCallExpr
Visit a parse tree produced by theFunctionCallExpr
labeled alternative inExpressionParser.unprioritizedExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFunctionCallExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitConstantExpr
Visit a parse tree produced by theConstantExpr
labeled alternative inExpressionParser.unprioritizedExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitConstantExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIdExpr
Visit a parse tree produced by theIdExpr
labeled alternative inExpressionParser.unprioritizedExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIdExpr
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWrappedExpr
Visit a parse tree produced by theWrappedExpr
labeled alternative inExpressionParser.unprioritizedExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWrappedExpr
in 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:
visitConstantExpression
in 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:
visitFunctionCall
in interfaceExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-