T - The return type of the visit operation. Use Void for
operations with no return type.public class ArithmeticBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements ArithmeticVisitor<T>
ArithmeticVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.| 构造器和说明 |
|---|
ArithmeticBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalpublic T visitArithmetic(ArithmeticParser.ArithmeticContext ctx)
ArithmeticParser.arithmetic().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArithmetic 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitExpression(ArithmeticParser.ExpressionContext ctx)
ArithmeticParser.expression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpression 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitLogicalNot(ArithmeticParser.LogicalNotContext ctx)
logicalNot
labeled alternative in ArithmeticParser.booleanExpression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitLogicalNot 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitPredicated(ArithmeticParser.PredicatedContext ctx)
predicated
labeled alternative in ArithmeticParser.booleanExpression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPredicated 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitLogicalBinary(ArithmeticParser.LogicalBinaryContext ctx)
logicalBinary
labeled alternative in ArithmeticParser.booleanExpression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitLogicalBinary 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitPredicate(ArithmeticParser.PredicateContext ctx)
ArithmeticParser.predicate().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPredicate 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitValueExpressionDefault(ArithmeticParser.ValueExpressionDefaultContext ctx)
valueExpressionDefault
labeled alternative in ArithmeticParser.valueExpression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitValueExpressionDefault 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitComparison(ArithmeticParser.ComparisonContext ctx)
comparison
labeled alternative in ArithmeticParser.valueExpression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitComparison 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitArithmeticBinary(ArithmeticParser.ArithmeticBinaryContext ctx)
arithmeticBinary
labeled alternative in ArithmeticParser.valueExpression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArithmeticBinary 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitArithmeticUnary(ArithmeticParser.ArithmeticUnaryContext ctx)
arithmeticUnary
labeled alternative in ArithmeticParser.valueExpression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArithmeticUnary 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitSimpleCase(ArithmeticParser.SimpleCaseContext ctx)
simpleCase
labeled alternative in ArithmeticParser.primaryExpression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSimpleCase 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitConstantDefault(ArithmeticParser.ConstantDefaultContext ctx)
constantDefault
labeled alternative in ArithmeticParser.primaryExpression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitConstantDefault 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitLambda(ArithmeticParser.LambdaContext ctx)
lambda
labeled alternative in ArithmeticParser.primaryExpression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitLambda 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitColumnReference(ArithmeticParser.ColumnReferenceContext ctx)
columnReference
labeled alternative in ArithmeticParser.primaryExpression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitColumnReference 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitParenthesizedExpression(ArithmeticParser.ParenthesizedExpressionContext ctx)
parenthesizedExpression
labeled alternative in ArithmeticParser.primaryExpression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitParenthesizedExpression 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitSubscript(ArithmeticParser.SubscriptContext ctx)
subscript
labeled alternative in ArithmeticParser.primaryExpression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSubscript 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitFunctionCall(ArithmeticParser.FunctionCallContext ctx)
functionCall
labeled alternative in ArithmeticParser.primaryExpression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFunctionCall 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitSearchedCase(ArithmeticParser.SearchedCaseContext ctx)
searchedCase
labeled alternative in ArithmeticParser.primaryExpression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSearchedCase 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitComparisonOperator(ArithmeticParser.ComparisonOperatorContext ctx)
ArithmeticParser.comparisonOperator().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitComparisonOperator 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitWhenClause(ArithmeticParser.WhenClauseContext ctx)
ArithmeticParser.whenClause().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitWhenClause 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitFunctionName(ArithmeticParser.FunctionNameContext ctx)
ArithmeticParser.functionName().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFunctionName 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitIdentifier(ArithmeticParser.IdentifierContext ctx)
ArithmeticParser.identifier().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitIdentifier 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitNullLiteral(ArithmeticParser.NullLiteralContext ctx)
nullLiteral
labeled alternative in ArithmeticParser.constant().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNullLiteral 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitNumericLiteral(ArithmeticParser.NumericLiteralContext ctx)
numericLiteral
labeled alternative in ArithmeticParser.constant().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNumericLiteral 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitBooleanLiteral(ArithmeticParser.BooleanLiteralContext ctx)
booleanLiteral
labeled alternative in ArithmeticParser.constant().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitBooleanLiteral 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitStringLiteral(ArithmeticParser.StringLiteralContext ctx)
stringLiteral
labeled alternative in ArithmeticParser.constant().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStringLiteral 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitSetQuantifier(ArithmeticParser.SetQuantifierContext ctx)
ArithmeticParser.setQuantifier().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSetQuantifier 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitIntegerLiteral(ArithmeticParser.IntegerLiteralContext ctx)
integerLiteral
labeled alternative in ArithmeticParser.number().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitIntegerLiteral 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitBigIntLiteral(ArithmeticParser.BigIntLiteralContext ctx)
bigIntLiteral
labeled alternative in ArithmeticParser.number().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitBigIntLiteral 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitSmallIntLiteral(ArithmeticParser.SmallIntLiteralContext ctx)
smallIntLiteral
labeled alternative in ArithmeticParser.number().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSmallIntLiteral 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitTinyIntLiteral(ArithmeticParser.TinyIntLiteralContext ctx)
tinyIntLiteral
labeled alternative in ArithmeticParser.number().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTinyIntLiteral 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitDoubleLiteral(ArithmeticParser.DoubleLiteralContext ctx)
doubleLiteral
labeled alternative in ArithmeticParser.number().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDoubleLiteral 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitBigDecimalLiteral(ArithmeticParser.BigDecimalLiteralContext ctx)
bigDecimalLiteral
labeled alternative in ArithmeticParser.number().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitBigDecimalLiteral 在接口中 ArithmeticVisitor<T>ctx - the parse treepublic T visitBooleanValue(ArithmeticParser.BooleanValueContext ctx)
ArithmeticParser.booleanValue().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitBooleanValue 在接口中 ArithmeticVisitor<T>ctx - the parse treeCopyright © 2022. All rights reserved.