com.github.harbby.dsxparser.antlr4.SqlBaseVisitor Maven / Gradle / Ivy
The newest version!
// Generated from com/github/harbby/dsxparser/antlr4/SqlBase.g4 by ANTLR 4.13.1
package com.github.harbby.dsxparser.antlr4;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link SqlBaseParser}.
*
* @param The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public interface SqlBaseVisitor extends ParseTreeVisitor {
/**
* Visit a parse tree produced by {@link SqlBaseParser#singleExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSingleExpression(SqlBaseParser.SingleExpressionContext ctx);
/**
* Visit a parse tree produced by {@link SqlBaseParser#sampleType}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSampleType(SqlBaseParser.SampleTypeContext ctx);
/**
* Visit a parse tree produced by {@link SqlBaseParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression(SqlBaseParser.ExpressionContext ctx);
/**
* Visit a parse tree produced by {@link SqlBaseParser#whenClause}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitWhenClause(SqlBaseParser.WhenClauseContext ctx);
/**
* Visit a parse tree produced by the {@code logicalNot}
* labeled alternative in {@link SqlBaseParser#booleanExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLogicalNot(SqlBaseParser.LogicalNotContext ctx);
/**
* Visit a parse tree produced by the {@code predicated}
* labeled alternative in {@link SqlBaseParser#booleanExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPredicated(SqlBaseParser.PredicatedContext ctx);
/**
* Visit a parse tree produced by the {@code logicalBinary}
* labeled alternative in {@link SqlBaseParser#booleanExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLogicalBinary(SqlBaseParser.LogicalBinaryContext ctx);
/**
* Visit a parse tree produced by the {@code comparison}
* labeled alternative in {@link SqlBaseParser#predicate}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitComparison(SqlBaseParser.ComparisonContext ctx);
/**
* Visit a parse tree produced by the {@code between}
* labeled alternative in {@link SqlBaseParser#predicate}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBetween(SqlBaseParser.BetweenContext ctx);
/**
* Visit a parse tree produced by the {@code inList}
* labeled alternative in {@link SqlBaseParser#predicate}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInList(SqlBaseParser.InListContext ctx);
/**
* Visit a parse tree produced by the {@code nullPredicate}
* labeled alternative in {@link SqlBaseParser#predicate}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNullPredicate(SqlBaseParser.NullPredicateContext ctx);
/**
* Visit a parse tree produced by the {@code valueExpressionDefault}
* labeled alternative in {@link SqlBaseParser#valueExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitValueExpressionDefault(SqlBaseParser.ValueExpressionDefaultContext ctx);
/**
* Visit a parse tree produced by the {@code concatenation}
* labeled alternative in {@link SqlBaseParser#valueExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitConcatenation(SqlBaseParser.ConcatenationContext ctx);
/**
* Visit a parse tree produced by the {@code arithmeticBinary}
* labeled alternative in {@link SqlBaseParser#valueExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitArithmeticBinary(SqlBaseParser.ArithmeticBinaryContext ctx);
/**
* Visit a parse tree produced by the {@code arithmeticUnary}
* labeled alternative in {@link SqlBaseParser#valueExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitArithmeticUnary(SqlBaseParser.ArithmeticUnaryContext ctx);
/**
* Visit a parse tree produced by {@link SqlBaseParser#setQuantifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSetQuantifier(SqlBaseParser.SetQuantifierContext ctx);
/**
* Visit a parse tree produced by the {@code dereference}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDereference(SqlBaseParser.DereferenceContext ctx);
/**
* Visit a parse tree produced by the {@code columnReference}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitColumnReference(SqlBaseParser.ColumnReferenceContext ctx);
/**
* Visit a parse tree produced by the {@code nullLiteral}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNullLiteral(SqlBaseParser.NullLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code subscript}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSubscript(SqlBaseParser.SubscriptContext ctx);
/**
* Visit a parse tree produced by the {@code typeConstructor}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTypeConstructor(SqlBaseParser.TypeConstructorContext ctx);
/**
* Visit a parse tree produced by the {@code specialDateTimeFunction}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSpecialDateTimeFunction(SqlBaseParser.SpecialDateTimeFunctionContext ctx);
/**
* Visit a parse tree produced by the {@code currentPath}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCurrentPath(SqlBaseParser.CurrentPathContext ctx);
/**
* Visit a parse tree produced by the {@code substring2}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSubstring2(SqlBaseParser.Substring2Context ctx);
/**
* Visit a parse tree produced by the {@code binaryLiteral}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBinaryLiteral(SqlBaseParser.BinaryLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code currentUser}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCurrentUser(SqlBaseParser.CurrentUserContext ctx);
/**
* Visit a parse tree produced by the {@code parenthesizedExpression}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitParenthesizedExpression(SqlBaseParser.ParenthesizedExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code stringLiteral}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStringLiteral(SqlBaseParser.StringLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code arrayConstructor}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitArrayConstructor(SqlBaseParser.ArrayConstructorContext ctx);
/**
* Visit a parse tree produced by the {@code parameter}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitParameter(SqlBaseParser.ParameterContext ctx);
/**
* Visit a parse tree produced by the {@code simpleIfThen}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSimpleIfThen(SqlBaseParser.SimpleIfThenContext ctx);
/**
* Visit a parse tree produced by the {@code functionCall}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFunctionCall(SqlBaseParser.FunctionCallContext ctx);
/**
* Visit a parse tree produced by the {@code normalize}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNormalize(SqlBaseParser.NormalizeContext ctx);
/**
* Visit a parse tree produced by the {@code position}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPosition(SqlBaseParser.PositionContext ctx);
/**
* Visit a parse tree produced by the {@code numericLiteral}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNumericLiteral(SqlBaseParser.NumericLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code booleanLiteral}
* labeled alternative in {@link SqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBooleanLiteral(SqlBaseParser.BooleanLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code basicStringLiteral}
* labeled alternative in {@link SqlBaseParser#string}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBasicStringLiteral(SqlBaseParser.BasicStringLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code unicodeStringLiteral}
* labeled alternative in {@link SqlBaseParser#string}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitUnicodeStringLiteral(SqlBaseParser.UnicodeStringLiteralContext ctx);
/**
* Visit a parse tree produced by {@link SqlBaseParser#comparisonOperator}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitComparisonOperator(SqlBaseParser.ComparisonOperatorContext ctx);
/**
* Visit a parse tree produced by {@link SqlBaseParser#comparisonQuantifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitComparisonQuantifier(SqlBaseParser.ComparisonQuantifierContext ctx);
/**
* Visit a parse tree produced by {@link SqlBaseParser#booleanValue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBooleanValue(SqlBaseParser.BooleanValueContext ctx);
/**
* Visit a parse tree produced by {@link SqlBaseParser#normalForm}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNormalForm(SqlBaseParser.NormalFormContext ctx);
/**
* Visit a parse tree produced by {@link SqlBaseParser#type}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitType(SqlBaseParser.TypeContext ctx);
/**
* Visit a parse tree produced by {@link SqlBaseParser#typeParameter}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTypeParameter(SqlBaseParser.TypeParameterContext ctx);
/**
* Visit a parse tree produced by {@link SqlBaseParser#baseType}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBaseType(SqlBaseParser.BaseTypeContext ctx);
/**
* Visit a parse tree produced by the {@code qualifiedArgument}
* labeled alternative in {@link SqlBaseParser#pathElement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitQualifiedArgument(SqlBaseParser.QualifiedArgumentContext ctx);
/**
* Visit a parse tree produced by the {@code unqualifiedArgument}
* labeled alternative in {@link SqlBaseParser#pathElement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitUnqualifiedArgument(SqlBaseParser.UnqualifiedArgumentContext ctx);
/**
* Visit a parse tree produced by {@link SqlBaseParser#pathSpecification}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPathSpecification(SqlBaseParser.PathSpecificationContext ctx);
/**
* Visit a parse tree produced by {@link SqlBaseParser#privilege}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPrivilege(SqlBaseParser.PrivilegeContext ctx);
/**
* Visit a parse tree produced by {@link SqlBaseParser#qualifiedName}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitQualifiedName(SqlBaseParser.QualifiedNameContext ctx);
/**
* Visit a parse tree produced by the {@code unquotedIdentifier}
* labeled alternative in {@link SqlBaseParser#identifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitUnquotedIdentifier(SqlBaseParser.UnquotedIdentifierContext ctx);
/**
* Visit a parse tree produced by the {@code quotedIdentifier}
* labeled alternative in {@link SqlBaseParser#identifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitQuotedIdentifier(SqlBaseParser.QuotedIdentifierContext ctx);
/**
* Visit a parse tree produced by the {@code backQuotedIdentifier}
* labeled alternative in {@link SqlBaseParser#identifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBackQuotedIdentifier(SqlBaseParser.BackQuotedIdentifierContext ctx);
/**
* Visit a parse tree produced by the {@code digitIdentifier}
* labeled alternative in {@link SqlBaseParser#identifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDigitIdentifier(SqlBaseParser.DigitIdentifierContext ctx);
/**
* Visit a parse tree produced by the {@code decimalLiteral}
* labeled alternative in {@link SqlBaseParser#number}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDecimalLiteral(SqlBaseParser.DecimalLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code doubleLiteral}
* labeled alternative in {@link SqlBaseParser#number}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDoubleLiteral(SqlBaseParser.DoubleLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code integerLiteral}
* labeled alternative in {@link SqlBaseParser#number}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIntegerLiteral(SqlBaseParser.IntegerLiteralContext ctx);
/**
* Visit a parse tree produced by {@link SqlBaseParser#nonReserved}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNonReserved(SqlBaseParser.NonReservedContext ctx);
}