T - The return type of the visit operation. Use Void for
operations with no return type.public class ExprBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements ExprVisitor<T>
ExprVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.| Constructor and Description |
|---|
ExprBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalpublic T visitObject(ExprParser.ObjectContext ctx)
ExprParser.object().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitObject in interface ExprVisitor<T>ctx - the parse treepublic T visitObjectEntry(ExprParser.ObjectEntryContext ctx)
ExprParser.objectEntry().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitObjectEntry in interface ExprVisitor<T>ctx - the parse treepublic T visitLambda(ExprParser.LambdaContext ctx)
ExprParser.lambda().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitLambda in interface ExprVisitor<T>ctx - the parse treepublic T visitLambdaBoundVars(ExprParser.LambdaBoundVarsContext ctx)
ExprParser.lambdaBoundVars().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitLambdaBoundVars in interface ExprVisitor<T>ctx - the parse treepublic T visitLambdaBoundVar(ExprParser.LambdaBoundVarContext ctx)
ExprParser.lambdaBoundVar().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitLambdaBoundVar in interface ExprVisitor<T>ctx - the parse treepublic T visitLambdaIdentifier(ExprParser.LambdaIdentifierContext ctx)
ExprParser.lambdaIdentifier().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitLambdaIdentifier in interface ExprVisitor<T>ctx - the parse treepublic T visitAssignment(ExprParser.AssignmentContext ctx)
ExprParser.assignment().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAssignment in interface ExprVisitor<T>ctx - the parse treepublic T visitExpression(ExprParser.ExpressionContext ctx)
ExprParser.expression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpression in interface ExprVisitor<T>ctx - the parse treepublic T visitTernaryCondition(ExprParser.TernaryConditionContext ctx)
ExprParser.ternaryCondition().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTernaryCondition in interface ExprVisitor<T>ctx - the parse treepublic T visitOr(ExprParser.OrContext ctx)
ExprParser.or().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitOr in interface ExprVisitor<T>ctx - the parse treepublic T visitAnd(ExprParser.AndContext ctx)
ExprParser.and().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAnd in interface ExprVisitor<T>ctx - the parse treepublic T visitNot(ExprParser.NotContext ctx)
ExprParser.not().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNot in interface ExprVisitor<T>ctx - the parse treepublic T visitComparison(ExprParser.ComparisonContext ctx)
ExprParser.comparison().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitComparison in interface ExprVisitor<T>ctx - the parse treepublic T visitComparisonOperation(ExprParser.ComparisonOperationContext ctx)
ExprParser.comparisonOperation().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitComparisonOperation in interface ExprVisitor<T>ctx - the parse treepublic T visitAdditive(ExprParser.AdditiveContext ctx)
ExprParser.additive().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAdditive in interface ExprVisitor<T>ctx - the parse treepublic T visitMultiplicative(ExprParser.MultiplicativeContext ctx)
ExprParser.multiplicative().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitMultiplicative in interface ExprVisitor<T>ctx - the parse treepublic T visitTrueArithmetic(ExprParser.TrueArithmeticContext ctx)
trueArithmetic
labeled alternative in ExprParser.arithmetic().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTrueArithmetic in interface ExprVisitor<T>ctx - the parse treepublic T visitArithmeticFallback(ExprParser.ArithmeticFallbackContext ctx)
arithmeticFallback
labeled alternative in ExprParser.arithmetic().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArithmeticFallback in interface ExprVisitor<T>ctx - the parse treepublic T visitPathCast(ExprParser.PathCastContext ctx)
pathCast
labeled alternative in ExprParser.path().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPathCast in interface ExprVisitor<T>ctx - the parse treepublic T visitPathNavigated(ExprParser.PathNavigatedContext ctx)
pathNavigated
labeled alternative in ExprParser.path().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPathNavigated in interface ExprVisitor<T>ctx - the parse treepublic T visitPropertyNavigation(ExprParser.PropertyNavigationContext ctx)
propertyNavigation
labeled alternative in ExprParser.navigation().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPropertyNavigation in interface ExprVisitor<T>ctx - the parse treepublic T visitArrayNavigation(ExprParser.ArrayNavigationContext ctx)
arrayNavigation
labeled alternative in ExprParser.navigation().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArrayNavigation in interface ExprVisitor<T>ctx - the parse treepublic T visitInstanceOf(ExprParser.InstanceOfContext ctx)
ExprParser.instanceOf().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitInstanceOf in interface ExprVisitor<T>ctx - the parse treepublic T visitNumberPrimitive(ExprParser.NumberPrimitiveContext ctx)
numberPrimitive
labeled alternative in ExprParser.primitive().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNumberPrimitive in interface ExprVisitor<T>ctx - the parse treepublic T visitStringPrimitive(ExprParser.StringPrimitiveContext ctx)
stringPrimitive
labeled alternative in ExprParser.primitive().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStringPrimitive in interface ExprVisitor<T>ctx - the parse treepublic T visitThisPrimitive(ExprParser.ThisPrimitiveContext ctx)
thisPrimitive
labeled alternative in ExprParser.primitive().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitThisPrimitive in interface ExprVisitor<T>ctx - the parse treepublic T visitTruePrimitive(ExprParser.TruePrimitiveContext ctx)
truePrimitive
labeled alternative in ExprParser.primitive().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTruePrimitive in interface ExprVisitor<T>ctx - the parse treepublic T visitFalsePrimitive(ExprParser.FalsePrimitiveContext ctx)
falsePrimitive
labeled alternative in ExprParser.primitive().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFalsePrimitive in interface ExprVisitor<T>ctx - the parse treepublic T visitNullPrimitive(ExprParser.NullPrimitiveContext ctx)
nullPrimitive
labeled alternative in ExprParser.primitive().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNullPrimitive in interface ExprVisitor<T>ctx - the parse treepublic T visitFunctionCall(ExprParser.FunctionCallContext ctx)
functionCall
labeled alternative in ExprParser.primitive().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFunctionCall in interface ExprVisitor<T>ctx - the parse treepublic T visitIdPrimitive(ExprParser.IdPrimitiveContext ctx)
idPrimitive
labeled alternative in ExprParser.primitive().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitIdPrimitive in interface ExprVisitor<T>ctx - the parse treepublic T visitParenthesized(ExprParser.ParenthesizedContext ctx)
parenthesized
labeled alternative in ExprParser.primitive().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitParenthesized in interface ExprVisitor<T>ctx - the parse treepublic T visitExpressionList(ExprParser.ExpressionListContext ctx)
ExprParser.expressionList().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpressionList in interface ExprVisitor<T>ctx - the parse treepublic T visitType(ExprParser.TypeContext ctx)
ExprParser.type().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitType in interface ExprVisitor<T>ctx - the parse treepublic T visitGenericType(ExprParser.GenericTypeContext ctx)
ExprParser.genericType().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitGenericType in interface ExprVisitor<T>ctx - the parse treepublic T visitArraySuffix(ExprParser.ArraySuffixContext ctx)
ExprParser.arraySuffix().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArraySuffix in interface ExprVisitor<T>ctx - the parse treepublic T visitBooleanType(ExprParser.BooleanTypeContext ctx)
booleanType
labeled alternative in ExprParser.nonArrayType().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitBooleanType in interface ExprVisitor<T>ctx - the parse treepublic T visitCharType(ExprParser.CharTypeContext ctx)
charType
labeled alternative in ExprParser.nonArrayType().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitCharType in interface ExprVisitor<T>ctx - the parse treepublic T visitByteType(ExprParser.ByteTypeContext ctx)
byteType
labeled alternative in ExprParser.nonArrayType().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitByteType in interface ExprVisitor<T>ctx - the parse treepublic T visitShortType(ExprParser.ShortTypeContext ctx)
shortType
labeled alternative in ExprParser.nonArrayType().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitShortType in interface ExprVisitor<T>ctx - the parse treepublic T visitIntType(ExprParser.IntTypeContext ctx)
intType
labeled alternative in ExprParser.nonArrayType().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitIntType in interface ExprVisitor<T>ctx - the parse treepublic T visitLongType(ExprParser.LongTypeContext ctx)
longType
labeled alternative in ExprParser.nonArrayType().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitLongType in interface ExprVisitor<T>ctx - the parse treepublic T visitFloatType(ExprParser.FloatTypeContext ctx)
floatType
labeled alternative in ExprParser.nonArrayType().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFloatType in interface ExprVisitor<T>ctx - the parse treepublic T visitDoubleType(ExprParser.DoubleTypeContext ctx)
doubleType
labeled alternative in ExprParser.nonArrayType().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDoubleType in interface ExprVisitor<T>ctx - the parse treepublic T visitClassType(ExprParser.ClassTypeContext ctx)
classType
labeled alternative in ExprParser.nonArrayType().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitClassType in interface ExprVisitor<T>ctx - the parse treepublic T visitQualifiedClassType(ExprParser.QualifiedClassTypeContext ctx)
ExprParser.qualifiedClassType().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitQualifiedClassType in interface ExprVisitor<T>ctx - the parse treepublic T visitRawClassType(ExprParser.RawClassTypeContext ctx)
ExprParser.rawClassType().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitRawClassType in interface ExprVisitor<T>ctx - the parse treepublic T visitTypeArguments(ExprParser.TypeArgumentsContext ctx)
ExprParser.typeArguments().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTypeArguments in interface ExprVisitor<T>ctx - the parse treeCopyright © 2019. All rights reserved.