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.ParseTreeListener; 031 032/** 033 * This interface defines a complete listener for a parse tree produced by 034 * {@link FbsqlParser}. 035 */ 036public interface FbsqlListener extends ParseTreeListener { 037 /** 038 * Enter a parse tree produced by {@link FbsqlParser#native_sql}. 039 * @param ctx the parse tree 040 */ 041 void enterNative_sql(FbsqlParser.Native_sqlContext ctx); 042 /** 043 * Exit a parse tree produced by {@link FbsqlParser#native_sql}. 044 * @param ctx the parse tree 045 */ 046 void exitNative_sql(FbsqlParser.Native_sqlContext ctx); 047 /** 048 * Enter a parse tree produced by {@link FbsqlParser#parameter}. 049 * @param ctx the parse tree 050 */ 051 void enterParameter(FbsqlParser.ParameterContext ctx); 052 /** 053 * Exit a parse tree produced by {@link FbsqlParser#parameter}. 054 * @param ctx the parse tree 055 */ 056 void exitParameter(FbsqlParser.ParameterContext ctx); 057 /** 058 * Enter a parse tree produced by {@link FbsqlParser#procedure}. 059 * @param ctx the parse tree 060 */ 061 void enterProcedure(FbsqlParser.ProcedureContext ctx); 062 /** 063 * Exit a parse tree produced by {@link FbsqlParser#procedure}. 064 * @param ctx the parse tree 065 */ 066 void exitProcedure(FbsqlParser.ProcedureContext ctx); 067 /** 068 * Enter a parse tree produced by {@link FbsqlParser#role_name}. 069 * @param ctx the parse tree 070 */ 071 void enterRole_name(FbsqlParser.Role_nameContext ctx); 072 /** 073 * Exit a parse tree produced by {@link FbsqlParser#role_name}. 074 * @param ctx the parse tree 075 */ 076 void exitRole_name(FbsqlParser.Role_nameContext ctx); 077 /** 078 * Enter a parse tree produced by {@link FbsqlParser#trigger_before_procedure_name}. 079 * @param ctx the parse tree 080 */ 081 void enterTrigger_before_procedure_name(FbsqlParser.Trigger_before_procedure_nameContext ctx); 082 /** 083 * Exit a parse tree produced by {@link FbsqlParser#trigger_before_procedure_name}. 084 * @param ctx the parse tree 085 */ 086 void exitTrigger_before_procedure_name(FbsqlParser.Trigger_before_procedure_nameContext ctx); 087 /** 088 * Enter a parse tree produced by {@link FbsqlParser#trigger_after_procedure_name}. 089 * @param ctx the parse tree 090 */ 091 void enterTrigger_after_procedure_name(FbsqlParser.Trigger_after_procedure_nameContext ctx); 092 /** 093 * Exit a parse tree produced by {@link FbsqlParser#trigger_after_procedure_name}. 094 * @param ctx the parse tree 095 */ 096 void exitTrigger_after_procedure_name(FbsqlParser.Trigger_after_procedure_nameContext ctx); 097 /** 098 * Enter a parse tree produced by {@link FbsqlParser#compression_level}. 099 * @param ctx the parse tree 100 */ 101 void enterCompression_level(FbsqlParser.Compression_levelContext ctx); 102 /** 103 * Exit a parse tree produced by {@link FbsqlParser#compression_level}. 104 * @param ctx the parse tree 105 */ 106 void exitCompression_level(FbsqlParser.Compression_levelContext ctx); 107 /** 108 * Enter a parse tree produced by {@link FbsqlParser#connection_alias}. 109 * @param ctx the parse tree 110 */ 111 void enterConnection_alias(FbsqlParser.Connection_aliasContext ctx); 112 /** 113 * Exit a parse tree produced by {@link FbsqlParser#connection_alias}. 114 * @param ctx the parse tree 115 */ 116 void exitConnection_alias(FbsqlParser.Connection_aliasContext ctx); 117 /** 118 * Enter a parse tree produced by {@link FbsqlParser#statement_alias}. 119 * @param ctx the parse tree 120 */ 121 void enterStatement_alias(FbsqlParser.Statement_aliasContext ctx); 122 /** 123 * Exit a parse tree produced by {@link FbsqlParser#statement_alias}. 124 * @param ctx the parse tree 125 */ 126 void exitStatement_alias(FbsqlParser.Statement_aliasContext ctx); 127 /** 128 * Enter a parse tree produced by {@link FbsqlParser#procedure_name}. 129 * @param ctx the parse tree 130 */ 131 void enterProcedure_name(FbsqlParser.Procedure_nameContext ctx); 132 /** 133 * Exit a parse tree produced by {@link FbsqlParser#procedure_name}. 134 * @param ctx the parse tree 135 */ 136 void exitProcedure_name(FbsqlParser.Procedure_nameContext ctx); 137 /** 138 * Enter a parse tree produced by {@link FbsqlParser#json}. 139 * @param ctx the parse tree 140 */ 141 void enterJson(FbsqlParser.JsonContext ctx); 142 /** 143 * Exit a parse tree produced by {@link FbsqlParser#json}. 144 * @param ctx the parse tree 145 */ 146 void exitJson(FbsqlParser.JsonContext ctx); 147 /** 148 * Enter a parse tree produced by {@link FbsqlParser#jdbc_url}. 149 * @param ctx the parse tree 150 */ 151 void enterJdbc_url(FbsqlParser.Jdbc_urlContext ctx); 152 /** 153 * Exit a parse tree produced by {@link FbsqlParser#jdbc_url}. 154 * @param ctx the parse tree 155 */ 156 void exitJdbc_url(FbsqlParser.Jdbc_urlContext ctx); 157 /** 158 * Enter a parse tree produced by {@link FbsqlParser#user}. 159 * @param ctx the parse tree 160 */ 161 void enterUser(FbsqlParser.UserContext ctx); 162 /** 163 * Exit a parse tree produced by {@link FbsqlParser#user}. 164 * @param ctx the parse tree 165 */ 166 void exitUser(FbsqlParser.UserContext ctx); 167 /** 168 * Enter a parse tree produced by {@link FbsqlParser#password}. 169 * @param ctx the parse tree 170 */ 171 void enterPassword(FbsqlParser.PasswordContext ctx); 172 /** 173 * Exit a parse tree produced by {@link FbsqlParser#password}. 174 * @param ctx the parse tree 175 */ 176 void exitPassword(FbsqlParser.PasswordContext ctx); 177 /** 178 * Enter a parse tree produced by {@link FbsqlParser#jdbc_connection_properties}. 179 * @param ctx the parse tree 180 */ 181 void enterJdbc_connection_properties(FbsqlParser.Jdbc_connection_propertiesContext ctx); 182 /** 183 * Exit a parse tree produced by {@link FbsqlParser#jdbc_connection_properties}. 184 * @param ctx the parse tree 185 */ 186 void exitJdbc_connection_properties(FbsqlParser.Jdbc_connection_propertiesContext ctx); 187 /** 188 * Enter a parse tree produced by {@link FbsqlParser#jdbc_driver_class_name}. 189 * @param ctx the parse tree 190 */ 191 void enterJdbc_driver_class_name(FbsqlParser.Jdbc_driver_class_nameContext ctx); 192 /** 193 * Exit a parse tree produced by {@link FbsqlParser#jdbc_driver_class_name}. 194 * @param ctx the parse tree 195 */ 196 void exitJdbc_driver_class_name(FbsqlParser.Jdbc_driver_class_nameContext ctx); 197 /** 198 * Enter a parse tree produced by {@link FbsqlParser#jar_file}. 199 * @param ctx the parse tree 200 */ 201 void enterJar_file(FbsqlParser.Jar_fileContext ctx); 202 /** 203 * Exit a parse tree produced by {@link FbsqlParser#jar_file}. 204 * @param ctx the parse tree 205 */ 206 void exitJar_file(FbsqlParser.Jar_fileContext ctx); 207 /** 208 * Enter a parse tree produced by {@link FbsqlParser#connection_pool_size_min}. 209 * @param ctx the parse tree 210 */ 211 void enterConnection_pool_size_min(FbsqlParser.Connection_pool_size_minContext ctx); 212 /** 213 * Exit a parse tree produced by {@link FbsqlParser#connection_pool_size_min}. 214 * @param ctx the parse tree 215 */ 216 void exitConnection_pool_size_min(FbsqlParser.Connection_pool_size_minContext ctx); 217 /** 218 * Enter a parse tree produced by {@link FbsqlParser#connection_pool_size_max}. 219 * @param ctx the parse tree 220 */ 221 void enterConnection_pool_size_max(FbsqlParser.Connection_pool_size_maxContext ctx); 222 /** 223 * Exit a parse tree produced by {@link FbsqlParser#connection_pool_size_max}. 224 * @param ctx the parse tree 225 */ 226 void exitConnection_pool_size_max(FbsqlParser.Connection_pool_size_maxContext ctx); 227 /** 228 * Enter a parse tree produced by {@link FbsqlParser#sql_script_file}. 229 * @param ctx the parse tree 230 */ 231 void enterSql_script_file(FbsqlParser.Sql_script_fileContext ctx); 232 /** 233 * Exit a parse tree produced by {@link FbsqlParser#sql_script_file}. 234 * @param ctx the parse tree 235 */ 236 void exitSql_script_file(FbsqlParser.Sql_script_fileContext ctx); 237 /** 238 * Enter a parse tree produced by {@link FbsqlParser#json_file}. 239 * @param ctx the parse tree 240 */ 241 void enterJson_file(FbsqlParser.Json_fileContext ctx); 242 /** 243 * Exit a parse tree produced by {@link FbsqlParser#json_file}. 244 * @param ctx the parse tree 245 */ 246 void exitJson_file(FbsqlParser.Json_fileContext ctx); 247 /** 248 * Enter a parse tree produced by {@link FbsqlParser#cron_expression}. 249 * @param ctx the parse tree 250 */ 251 void enterCron_expression(FbsqlParser.Cron_expressionContext ctx); 252 /** 253 * Exit a parse tree produced by {@link FbsqlParser#cron_expression}. 254 * @param ctx the parse tree 255 */ 256 void exitCron_expression(FbsqlParser.Cron_expressionContext ctx); 257 /** 258 * Enter a parse tree produced by {@link FbsqlParser#connect_to_stmt}. 259 * @param ctx the parse tree 260 */ 261 void enterConnect_to_stmt(FbsqlParser.Connect_to_stmtContext ctx); 262 /** 263 * Exit a parse tree produced by {@link FbsqlParser#connect_to_stmt}. 264 * @param ctx the parse tree 265 */ 266 void exitConnect_to_stmt(FbsqlParser.Connect_to_stmtContext ctx); 267 /** 268 * Enter a parse tree produced by {@link FbsqlParser#switch_to_stmt}. 269 * @param ctx the parse tree 270 */ 271 void enterSwitch_to_stmt(FbsqlParser.Switch_to_stmtContext ctx); 272 /** 273 * Exit a parse tree produced by {@link FbsqlParser#switch_to_stmt}. 274 * @param ctx the parse tree 275 */ 276 void exitSwitch_to_stmt(FbsqlParser.Switch_to_stmtContext ctx); 277 /** 278 * Enter a parse tree produced by {@link FbsqlParser#declare_statement_stmt}. 279 * @param ctx the parse tree 280 */ 281 void enterDeclare_statement_stmt(FbsqlParser.Declare_statement_stmtContext ctx); 282 /** 283 * Exit a parse tree produced by {@link FbsqlParser#declare_statement_stmt}. 284 * @param ctx the parse tree 285 */ 286 void exitDeclare_statement_stmt(FbsqlParser.Declare_statement_stmtContext ctx); 287 /** 288 * Enter a parse tree produced by {@link FbsqlParser#declare_procedure_stmt}. 289 * @param ctx the parse tree 290 */ 291 void enterDeclare_procedure_stmt(FbsqlParser.Declare_procedure_stmtContext ctx); 292 /** 293 * Exit a parse tree produced by {@link FbsqlParser#declare_procedure_stmt}. 294 * @param ctx the parse tree 295 */ 296 void exitDeclare_procedure_stmt(FbsqlParser.Declare_procedure_stmtContext ctx); 297 /** 298 * Enter a parse tree produced by {@link FbsqlParser#include_script_file_stmt}. 299 * @param ctx the parse tree 300 */ 301 void enterInclude_script_file_stmt(FbsqlParser.Include_script_file_stmtContext ctx); 302 /** 303 * Exit a parse tree produced by {@link FbsqlParser#include_script_file_stmt}. 304 * @param ctx the parse tree 305 */ 306 void exitInclude_script_file_stmt(FbsqlParser.Include_script_file_stmtContext ctx); 307 /** 308 * Enter a parse tree produced by {@link FbsqlParser#schedule_stmt}. 309 * @param ctx the parse tree 310 */ 311 void enterSchedule_stmt(FbsqlParser.Schedule_stmtContext ctx); 312 /** 313 * Exit a parse tree produced by {@link FbsqlParser#schedule_stmt}. 314 * @param ctx the parse tree 315 */ 316 void exitSchedule_stmt(FbsqlParser.Schedule_stmtContext ctx); 317 /** 318 * Enter a parse tree produced by {@link FbsqlParser#native_stmt}. 319 * @param ctx the parse tree 320 */ 321 void enterNative_stmt(FbsqlParser.Native_stmtContext ctx); 322 /** 323 * Exit a parse tree produced by {@link FbsqlParser#native_stmt}. 324 * @param ctx the parse tree 325 */ 326 void exitNative_stmt(FbsqlParser.Native_stmtContext ctx); 327}