Class CExpressionBaseVisitor<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>,CExpressionVisitor<T>
CExpressionVisitor,
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 byCExpressionParser.additiveExpression().Visit a parse tree produced byCExpressionParser.andExpression().Visit a parse tree produced byCExpressionParser.argumentExpressionList().Visit a parse tree produced byCExpressionParser.assignmentExpression().Visit a parse tree produced byCExpressionParser.assignmentOperator().Visit a parse tree produced byCExpressionParser.conditionalExpression().Visit a parse tree produced byCExpressionParser.equalityExpression().Visit a parse tree produced byCExpressionParser.exclusiveOrExpression().Visit a parse tree produced byCExpressionParser.expression().Visit a parse tree produced byCExpressionParser.inclusiveOrExpression().Visit a parse tree produced byCExpressionParser.logicalAndExpression().Visit a parse tree produced byCExpressionParser.logicalOperand().Visit a parse tree produced byCExpressionParser.logicalOrExpression().Visit a parse tree produced byCExpressionParser.macroExpression().Visit a parse tree produced byCExpressionParser.multiplicativeExpression().Visit a parse tree produced byCExpressionParser.namespaceExpression().Visit a parse tree produced byCExpressionParser.primaryExpression().Visit a parse tree produced byCExpressionParser.relationalExpression().Visit a parse tree produced byCExpressionParser.shiftExpression().Visit a parse tree produced byCExpressionParser.specialOperator().Visit a parse tree produced byCExpressionParser.specialOperatorArgument().Visit a parse tree produced byCExpressionParser.unaryOperator().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
-
CExpressionBaseVisitor
public CExpressionBaseVisitor()
-
-
Method Details
-
visitExpression
Visit a parse tree produced byCExpressionParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConditionalExpression
Visit a parse tree produced byCExpressionParser.conditionalExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConditionalExpressionin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimaryExpression
Visit a parse tree produced byCExpressionParser.primaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrimaryExpressionin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSpecialOperator
Visit a parse tree produced byCExpressionParser.specialOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSpecialOperatorin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSpecialOperatorArgument
Visit a parse tree produced byCExpressionParser.specialOperatorArgument().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSpecialOperatorArgumentin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryOperator
Visit a parse tree produced byCExpressionParser.unaryOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryOperatorin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNamespaceExpression
Visit a parse tree produced byCExpressionParser.namespaceExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNamespaceExpressionin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiplicativeExpression
Visit a parse tree produced byCExpressionParser.multiplicativeExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultiplicativeExpressionin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAdditiveExpression
Visit a parse tree produced byCExpressionParser.additiveExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAdditiveExpressionin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShiftExpression
Visit a parse tree produced byCExpressionParser.shiftExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitShiftExpressionin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelationalExpression
Visit a parse tree produced byCExpressionParser.relationalExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRelationalExpressionin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqualityExpression
Visit a parse tree produced byCExpressionParser.equalityExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEqualityExpressionin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAndExpression
Visit a parse tree produced byCExpressionParser.andExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAndExpressionin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExclusiveOrExpression
Visit a parse tree produced byCExpressionParser.exclusiveOrExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExclusiveOrExpressionin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInclusiveOrExpression
Visit a parse tree produced byCExpressionParser.inclusiveOrExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInclusiveOrExpressionin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalAndExpression
Visit a parse tree produced byCExpressionParser.logicalAndExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLogicalAndExpressionin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalOrExpression
Visit a parse tree produced byCExpressionParser.logicalOrExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLogicalOrExpressionin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalOperand
Visit a parse tree produced byCExpressionParser.logicalOperand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLogicalOperandin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMacroExpression
Visit a parse tree produced byCExpressionParser.macroExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMacroExpressionin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentExpressionList
Visit a parse tree produced byCExpressionParser.argumentExpressionList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentExpressionListin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignmentExpression
Visit a parse tree produced byCExpressionParser.assignmentExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssignmentExpressionin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignmentOperator
Visit a parse tree produced byCExpressionParser.assignmentOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssignmentOperatorin interfaceCExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-