Class PluralExpressionBaseVisitor<T>
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for 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
-
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, 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
-
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:
visitStatement
in 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:
visitExpression
in 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:
visitOrExpression
in 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:
visitAndExpression
in 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:
visitEqExpression
in 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:
visitRelationalExpression
in 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:
visitAdditiveExpression
in 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:
visitTerm
in 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:
visitFactor
in 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:
visitLiteral
in 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:
visitGroup
in 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:
visitVariable
in 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:
visitEqOperator
in 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:
visitCmpOperator
in 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:
visitSumOperator
in 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:
visitProdOperator
in interfacePluralExpressionVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-