Class PluralExpressionBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
PluralExpressionVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
PluralExpressionVisitor,
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 byPluralExpressionParser.additiveExpression().Visit a parse tree produced byPluralExpressionParser.andExpression().Visit a parse tree produced byPluralExpressionParser.cmpOperator().Visit a parse tree produced byPluralExpressionParser.eqExpression().Visit a parse tree produced byPluralExpressionParser.eqOperator().Visit a parse tree produced byPluralExpressionParser.expression().Visit a parse tree produced byPluralExpressionParser.factor().Visit a parse tree produced byPluralExpressionParser.group().Visit a parse tree produced byPluralExpressionParser.literal().Visit a parse tree produced byPluralExpressionParser.orExpression().Visit a parse tree produced byPluralExpressionParser.prodOperator().Visit a parse tree produced byPluralExpressionParser.relationalExpression().Visit a parse tree produced byPluralExpressionParser.statement().Visit a parse tree produced byPluralExpressionParser.sumOperator().Visit a parse tree produced byPluralExpressionParser.term().Visit a parse tree produced byPluralExpressionParser.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
-
PluralExpressionBaseVisitor
public PluralExpressionBaseVisitor()
-
-
Method Details
-
visitStatement
Visit a parse tree produced byPluralExpressionParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStatementin interfacePluralExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byPluralExpressionParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionin interfacePluralExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOrExpression
Visit a parse tree produced byPluralExpressionParser.orExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOrExpressionin interfacePluralExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAndExpression
Visit a parse tree produced byPluralExpressionParser.andExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAndExpressionin interfacePluralExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqExpression
Visit a parse tree produced byPluralExpressionParser.eqExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEqExpressionin interfacePluralExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelationalExpression
Visit a parse tree produced byPluralExpressionParser.relationalExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRelationalExpressionin interfacePluralExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAdditiveExpression
Visit a parse tree produced byPluralExpressionParser.additiveExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAdditiveExpressionin interfacePluralExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTerm
Visit a parse tree produced byPluralExpressionParser.term().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTermin interfacePluralExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFactor
Visit a parse tree produced byPluralExpressionParser.factor().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFactorin interfacePluralExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral
Visit a parse tree produced byPluralExpressionParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralin interfacePluralExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGroup
Visit a parse tree produced byPluralExpressionParser.group().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGroupin interfacePluralExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariable
Visit a parse tree produced byPluralExpressionParser.variable().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariablein interfacePluralExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqOperator
Visit a parse tree produced byPluralExpressionParser.eqOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEqOperatorin interfacePluralExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCmpOperator
Visit a parse tree produced byPluralExpressionParser.cmpOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCmpOperatorin interfacePluralExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSumOperator
Visit a parse tree produced byPluralExpressionParser.sumOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSumOperatorin interfacePluralExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitProdOperator
Visit a parse tree produced byPluralExpressionParser.prodOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitProdOperatorin interfacePluralExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-