001/* 002MIT License 003 004Copyright (c) 2020 FBSQL Team 005 006Permission is hereby granted, free of charge, to any person obtaining a copy 007of this software and associated documentation files (the "Software"), to deal 008in the Software without restriction, including without limitation the rights 009to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 010copies of the Software, and to permit persons to whom the Software is 011furnished to do so, subject to the following conditions: 012 013The above copyright notice and this permission notice shall be included in all 014copies or substantial portions of the Software. 015 016THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 017IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 018FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 019AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 020LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 021OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 022SOFTWARE. 023 024Home: https://fbsql.github.io 025E-Mail: fbsql.team@gmail.com 026*/ 027 028package org.fbsql.antlr4.generated; 029 030import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor; 031 032/** 033 * This class provides an empty implementation of {@link FbsqlVisitor}, 034 * which can be extended to create a visitor which only needs to handle a subset 035 * of the available methods. 036 * 037 * @param <T> The return type of the visit operation. Use {@link Void} for 038 * operations with no return type. 039 */ 040public class FbsqlBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements FbsqlVisitor<T> { 041 /** 042 * {@inheritDoc} 043 * 044 * <p>The default implementation returns the result of calling 045 * {@link #visitChildren} on {@code ctx}.</p> 046 */ 047 @Override public T visitNative_sql(FbsqlParser.Native_sqlContext ctx) { return visitChildren(ctx); } 048 /** 049 * {@inheritDoc} 050 * 051 * <p>The default implementation returns the result of calling 052 * {@link #visitChildren} on {@code ctx}.</p> 053 */ 054 @Override public T visitParameter(FbsqlParser.ParameterContext ctx) { return visitChildren(ctx); } 055 /** 056 * {@inheritDoc} 057 * 058 * <p>The default implementation returns the result of calling 059 * {@link #visitChildren} on {@code ctx}.</p> 060 */ 061 @Override public T visitProcedure(FbsqlParser.ProcedureContext ctx) { return visitChildren(ctx); } 062 /** 063 * {@inheritDoc} 064 * 065 * <p>The default implementation returns the result of calling 066 * {@link #visitChildren} on {@code ctx}.</p> 067 */ 068 @Override public T visitRole_name(FbsqlParser.Role_nameContext ctx) { return visitChildren(ctx); } 069 /** 070 * {@inheritDoc} 071 * 072 * <p>The default implementation returns the result of calling 073 * {@link #visitChildren} on {@code ctx}.</p> 074 */ 075 @Override public T visitTrigger_before_procedure_name(FbsqlParser.Trigger_before_procedure_nameContext ctx) { return visitChildren(ctx); } 076 /** 077 * {@inheritDoc} 078 * 079 * <p>The default implementation returns the result of calling 080 * {@link #visitChildren} on {@code ctx}.</p> 081 */ 082 @Override public T visitTrigger_after_procedure_name(FbsqlParser.Trigger_after_procedure_nameContext ctx) { return visitChildren(ctx); } 083 /** 084 * {@inheritDoc} 085 * 086 * <p>The default implementation returns the result of calling 087 * {@link #visitChildren} on {@code ctx}.</p> 088 */ 089 @Override public T visitCompression_level(FbsqlParser.Compression_levelContext ctx) { return visitChildren(ctx); } 090 /** 091 * {@inheritDoc} 092 * 093 * <p>The default implementation returns the result of calling 094 * {@link #visitChildren} on {@code ctx}.</p> 095 */ 096 @Override public T visitConnection_alias(FbsqlParser.Connection_aliasContext ctx) { return visitChildren(ctx); } 097 /** 098 * {@inheritDoc} 099 * 100 * <p>The default implementation returns the result of calling 101 * {@link #visitChildren} on {@code ctx}.</p> 102 */ 103 @Override public T visitStatement_alias(FbsqlParser.Statement_aliasContext ctx) { return visitChildren(ctx); } 104 /** 105 * {@inheritDoc} 106 * 107 * <p>The default implementation returns the result of calling 108 * {@link #visitChildren} on {@code ctx}.</p> 109 */ 110 @Override public T visitProcedure_name(FbsqlParser.Procedure_nameContext ctx) { return visitChildren(ctx); } 111 /** 112 * {@inheritDoc} 113 * 114 * <p>The default implementation returns the result of calling 115 * {@link #visitChildren} on {@code ctx}.</p> 116 */ 117 @Override public T visitJson(FbsqlParser.JsonContext ctx) { return visitChildren(ctx); } 118 /** 119 * {@inheritDoc} 120 * 121 * <p>The default implementation returns the result of calling 122 * {@link #visitChildren} on {@code ctx}.</p> 123 */ 124 @Override public T visitJdbc_url(FbsqlParser.Jdbc_urlContext ctx) { return visitChildren(ctx); } 125 /** 126 * {@inheritDoc} 127 * 128 * <p>The default implementation returns the result of calling 129 * {@link #visitChildren} on {@code ctx}.</p> 130 */ 131 @Override public T visitUser(FbsqlParser.UserContext ctx) { return visitChildren(ctx); } 132 /** 133 * {@inheritDoc} 134 * 135 * <p>The default implementation returns the result of calling 136 * {@link #visitChildren} on {@code ctx}.</p> 137 */ 138 @Override public T visitPassword(FbsqlParser.PasswordContext ctx) { return visitChildren(ctx); } 139 /** 140 * {@inheritDoc} 141 * 142 * <p>The default implementation returns the result of calling 143 * {@link #visitChildren} on {@code ctx}.</p> 144 */ 145 @Override public T visitJdbc_connection_properties(FbsqlParser.Jdbc_connection_propertiesContext ctx) { return visitChildren(ctx); } 146 /** 147 * {@inheritDoc} 148 * 149 * <p>The default implementation returns the result of calling 150 * {@link #visitChildren} on {@code ctx}.</p> 151 */ 152 @Override public T visitJdbc_driver_class_name(FbsqlParser.Jdbc_driver_class_nameContext ctx) { return visitChildren(ctx); } 153 /** 154 * {@inheritDoc} 155 * 156 * <p>The default implementation returns the result of calling 157 * {@link #visitChildren} on {@code ctx}.</p> 158 */ 159 @Override public T visitJar_file(FbsqlParser.Jar_fileContext ctx) { return visitChildren(ctx); } 160 /** 161 * {@inheritDoc} 162 * 163 * <p>The default implementation returns the result of calling 164 * {@link #visitChildren} on {@code ctx}.</p> 165 */ 166 @Override public T visitConnection_pool_size_min(FbsqlParser.Connection_pool_size_minContext ctx) { return visitChildren(ctx); } 167 /** 168 * {@inheritDoc} 169 * 170 * <p>The default implementation returns the result of calling 171 * {@link #visitChildren} on {@code ctx}.</p> 172 */ 173 @Override public T visitConnection_pool_size_max(FbsqlParser.Connection_pool_size_maxContext ctx) { return visitChildren(ctx); } 174 /** 175 * {@inheritDoc} 176 * 177 * <p>The default implementation returns the result of calling 178 * {@link #visitChildren} on {@code ctx}.</p> 179 */ 180 @Override public T visitSql_script_file(FbsqlParser.Sql_script_fileContext ctx) { return visitChildren(ctx); } 181 /** 182 * {@inheritDoc} 183 * 184 * <p>The default implementation returns the result of calling 185 * {@link #visitChildren} on {@code ctx}.</p> 186 */ 187 @Override public T visitJson_file(FbsqlParser.Json_fileContext ctx) { return visitChildren(ctx); } 188 /** 189 * {@inheritDoc} 190 * 191 * <p>The default implementation returns the result of calling 192 * {@link #visitChildren} on {@code ctx}.</p> 193 */ 194 @Override public T visitCron_expression(FbsqlParser.Cron_expressionContext ctx) { return visitChildren(ctx); } 195 /** 196 * {@inheritDoc} 197 * 198 * <p>The default implementation returns the result of calling 199 * {@link #visitChildren} on {@code ctx}.</p> 200 */ 201 @Override public T visitConnect_to_stmt(FbsqlParser.Connect_to_stmtContext ctx) { return visitChildren(ctx); } 202 /** 203 * {@inheritDoc} 204 * 205 * <p>The default implementation returns the result of calling 206 * {@link #visitChildren} on {@code ctx}.</p> 207 */ 208 @Override public T visitSwitch_to_stmt(FbsqlParser.Switch_to_stmtContext ctx) { return visitChildren(ctx); } 209 /** 210 * {@inheritDoc} 211 * 212 * <p>The default implementation returns the result of calling 213 * {@link #visitChildren} on {@code ctx}.</p> 214 */ 215 @Override public T visitDeclare_statement_stmt(FbsqlParser.Declare_statement_stmtContext ctx) { return visitChildren(ctx); } 216 /** 217 * {@inheritDoc} 218 * 219 * <p>The default implementation returns the result of calling 220 * {@link #visitChildren} on {@code ctx}.</p> 221 */ 222 @Override public T visitDeclare_procedure_stmt(FbsqlParser.Declare_procedure_stmtContext ctx) { return visitChildren(ctx); } 223 /** 224 * {@inheritDoc} 225 * 226 * <p>The default implementation returns the result of calling 227 * {@link #visitChildren} on {@code ctx}.</p> 228 */ 229 @Override public T visitInclude_script_file_stmt(FbsqlParser.Include_script_file_stmtContext ctx) { return visitChildren(ctx); } 230 /** 231 * {@inheritDoc} 232 * 233 * <p>The default implementation returns the result of calling 234 * {@link #visitChildren} on {@code ctx}.</p> 235 */ 236 @Override public T visitSchedule_stmt(FbsqlParser.Schedule_stmtContext ctx) { return visitChildren(ctx); } 237 /** 238 * {@inheritDoc} 239 * 240 * <p>The default implementation returns the result of calling 241 * {@link #visitChildren} on {@code ctx}.</p> 242 */ 243 @Override public T visitNative_stmt(FbsqlParser.Native_stmtContext ctx) { return visitChildren(ctx); } 244}