T - The return type of the visit operation. Use Void for
operations with no return type.public class PolicyRuleBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements PolicyRuleVisitor<T>
PolicyRuleVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.| Constructor and Description |
|---|
PolicyRuleBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalpublic T visitProgram(PolicyRuleParser.ProgramContext ctx)
PolicyRuleParser.program().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitProgram in interface PolicyRuleVisitor<T>ctx - the parse treepublic T visitExpressionAbstractOperatorExpr(PolicyRuleParser.ExpressionAbstractOperatorExprContext ctx)
ExpressionAbstractOperatorExpr
labeled alternative in PolicyRuleParser.expression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpressionAbstractOperatorExpr in interface PolicyRuleVisitor<T>ctx - the parse treepublic T visitExpressionFunctionCallExpr(PolicyRuleParser.ExpressionFunctionCallExprContext ctx)
ExpressionFunctionCallExpr
labeled alternative in PolicyRuleParser.expression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpressionFunctionCallExpr in interface PolicyRuleVisitor<T>ctx - the parse treepublic T visitExpressionLogicalAndExpr(PolicyRuleParser.ExpressionLogicalAndExprContext ctx)
ExpressionLogicalAndExpr
labeled alternative in PolicyRuleParser.expression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpressionLogicalAndExpr in interface PolicyRuleVisitor<T>ctx - the parse treepublic T visitExpressionNestedExpr(PolicyRuleParser.ExpressionNestedExprContext ctx)
ExpressionNestedExpr
labeled alternative in PolicyRuleParser.expression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpressionNestedExpr in interface PolicyRuleVisitor<T>ctx - the parse treepublic T visitExpressionLogicalOrExpr(PolicyRuleParser.ExpressionLogicalOrExprContext ctx)
ExpressionLogicalOrExpr
labeled alternative in PolicyRuleParser.expression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpressionLogicalOrExpr in interface PolicyRuleVisitor<T>ctx - the parse treepublic T visitExpressionLogicalNotExpr(PolicyRuleParser.ExpressionLogicalNotExprContext ctx)
ExpressionLogicalNotExpr
labeled alternative in PolicyRuleParser.expression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpressionLogicalNotExpr in interface PolicyRuleVisitor<T>ctx - the parse treepublic T visitOperatorEqualsExpr(PolicyRuleParser.OperatorEqualsExprContext ctx)
OperatorEqualsExpr
labeled alternative in PolicyRuleParser.operatorExpr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitOperatorEqualsExpr in interface PolicyRuleVisitor<T>ctx - the parse treepublic T visitOperatorNotEqualsExpr(PolicyRuleParser.OperatorNotEqualsExprContext ctx)
OperatorNotEqualsExpr
labeled alternative in PolicyRuleParser.operatorExpr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitOperatorNotEqualsExpr in interface PolicyRuleVisitor<T>ctx - the parse treepublic T visitStringArray(PolicyRuleParser.StringArrayContext ctx)
PolicyRuleParser.stringArray().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStringArray in interface PolicyRuleVisitor<T>ctx - the parse treepublic T visitParameterVariableExpr(PolicyRuleParser.ParameterVariableExprContext ctx)
ParameterVariableExpr
labeled alternative in PolicyRuleParser.parameter().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitParameterVariableExpr in interface PolicyRuleVisitor<T>ctx - the parse treepublic T visitParameterStringLiteralExpr(PolicyRuleParser.ParameterStringLiteralExprContext ctx)
ParameterStringLiteralExpr
labeled alternative in PolicyRuleParser.parameter().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitParameterStringLiteralExpr in interface PolicyRuleVisitor<T>ctx - the parse treepublic T visitParameterStringArrayExpr(PolicyRuleParser.ParameterStringArrayExprContext ctx)
ParameterStringArrayExpr
labeled alternative in PolicyRuleParser.parameter().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitParameterStringArrayExpr in interface PolicyRuleVisitor<T>ctx - the parse treepublic T visitParameterList(PolicyRuleParser.ParameterListContext ctx)
PolicyRuleParser.parameterList().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitParameterList in interface PolicyRuleVisitor<T>ctx - the parse tree