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.ParseTreeVisitor; 031 032/** 033 * This interface defines a complete generic visitor for a parse tree produced 034 * by {@link FbsqlParser}. 035 * 036 * @param <T> The return type of the visit operation. Use {@link Void} for 037 * operations with no return type. 038 */ 039public interface FbsqlVisitor<T> extends ParseTreeVisitor<T> { 040 /** 041 * Visit a parse tree produced by {@link FbsqlParser#native_sql}. 042 * @param ctx the parse tree 043 * @return the visitor result 044 */ 045 T visitNative_sql(FbsqlParser.Native_sqlContext ctx); 046 /** 047 * Visit a parse tree produced by {@link FbsqlParser#parameter}. 048 * @param ctx the parse tree 049 * @return the visitor result 050 */ 051 T visitParameter(FbsqlParser.ParameterContext ctx); 052 /** 053 * Visit a parse tree produced by {@link FbsqlParser#procedure}. 054 * @param ctx the parse tree 055 * @return the visitor result 056 */ 057 T visitProcedure(FbsqlParser.ProcedureContext ctx); 058 /** 059 * Visit a parse tree produced by {@link FbsqlParser#role_name}. 060 * @param ctx the parse tree 061 * @return the visitor result 062 */ 063 T visitRole_name(FbsqlParser.Role_nameContext ctx); 064 /** 065 * Visit a parse tree produced by {@link FbsqlParser#trigger_before_procedure_name}. 066 * @param ctx the parse tree 067 * @return the visitor result 068 */ 069 T visitTrigger_before_procedure_name(FbsqlParser.Trigger_before_procedure_nameContext ctx); 070 /** 071 * Visit a parse tree produced by {@link FbsqlParser#trigger_after_procedure_name}. 072 * @param ctx the parse tree 073 * @return the visitor result 074 */ 075 T visitTrigger_after_procedure_name(FbsqlParser.Trigger_after_procedure_nameContext ctx); 076 /** 077 * Visit a parse tree produced by {@link FbsqlParser#compression_level}. 078 * @param ctx the parse tree 079 * @return the visitor result 080 */ 081 T visitCompression_level(FbsqlParser.Compression_levelContext ctx); 082 /** 083 * Visit a parse tree produced by {@link FbsqlParser#connection_alias}. 084 * @param ctx the parse tree 085 * @return the visitor result 086 */ 087 T visitConnection_alias(FbsqlParser.Connection_aliasContext ctx); 088 /** 089 * Visit a parse tree produced by {@link FbsqlParser#statement_alias}. 090 * @param ctx the parse tree 091 * @return the visitor result 092 */ 093 T visitStatement_alias(FbsqlParser.Statement_aliasContext ctx); 094 /** 095 * Visit a parse tree produced by {@link FbsqlParser#procedure_name}. 096 * @param ctx the parse tree 097 * @return the visitor result 098 */ 099 T visitProcedure_name(FbsqlParser.Procedure_nameContext ctx); 100 /** 101 * Visit a parse tree produced by {@link FbsqlParser#json}. 102 * @param ctx the parse tree 103 * @return the visitor result 104 */ 105 T visitJson(FbsqlParser.JsonContext ctx); 106 /** 107 * Visit a parse tree produced by {@link FbsqlParser#jdbc_url}. 108 * @param ctx the parse tree 109 * @return the visitor result 110 */ 111 T visitJdbc_url(FbsqlParser.Jdbc_urlContext ctx); 112 /** 113 * Visit a parse tree produced by {@link FbsqlParser#user}. 114 * @param ctx the parse tree 115 * @return the visitor result 116 */ 117 T visitUser(FbsqlParser.UserContext ctx); 118 /** 119 * Visit a parse tree produced by {@link FbsqlParser#password}. 120 * @param ctx the parse tree 121 * @return the visitor result 122 */ 123 T visitPassword(FbsqlParser.PasswordContext ctx); 124 /** 125 * Visit a parse tree produced by {@link FbsqlParser#jdbc_connection_properties}. 126 * @param ctx the parse tree 127 * @return the visitor result 128 */ 129 T visitJdbc_connection_properties(FbsqlParser.Jdbc_connection_propertiesContext ctx); 130 /** 131 * Visit a parse tree produced by {@link FbsqlParser#jdbc_driver_class_name}. 132 * @param ctx the parse tree 133 * @return the visitor result 134 */ 135 T visitJdbc_driver_class_name(FbsqlParser.Jdbc_driver_class_nameContext ctx); 136 /** 137 * Visit a parse tree produced by {@link FbsqlParser#jar_file}. 138 * @param ctx the parse tree 139 * @return the visitor result 140 */ 141 T visitJar_file(FbsqlParser.Jar_fileContext ctx); 142 /** 143 * Visit a parse tree produced by {@link FbsqlParser#connection_pool_size_min}. 144 * @param ctx the parse tree 145 * @return the visitor result 146 */ 147 T visitConnection_pool_size_min(FbsqlParser.Connection_pool_size_minContext ctx); 148 /** 149 * Visit a parse tree produced by {@link FbsqlParser#connection_pool_size_max}. 150 * @param ctx the parse tree 151 * @return the visitor result 152 */ 153 T visitConnection_pool_size_max(FbsqlParser.Connection_pool_size_maxContext ctx); 154 /** 155 * Visit a parse tree produced by {@link FbsqlParser#sql_script_file}. 156 * @param ctx the parse tree 157 * @return the visitor result 158 */ 159 T visitSql_script_file(FbsqlParser.Sql_script_fileContext ctx); 160 /** 161 * Visit a parse tree produced by {@link FbsqlParser#json_file}. 162 * @param ctx the parse tree 163 * @return the visitor result 164 */ 165 T visitJson_file(FbsqlParser.Json_fileContext ctx); 166 /** 167 * Visit a parse tree produced by {@link FbsqlParser#cron_expression}. 168 * @param ctx the parse tree 169 * @return the visitor result 170 */ 171 T visitCron_expression(FbsqlParser.Cron_expressionContext ctx); 172 /** 173 * Visit a parse tree produced by {@link FbsqlParser#connect_to_stmt}. 174 * @param ctx the parse tree 175 * @return the visitor result 176 */ 177 T visitConnect_to_stmt(FbsqlParser.Connect_to_stmtContext ctx); 178 /** 179 * Visit a parse tree produced by {@link FbsqlParser#switch_to_stmt}. 180 * @param ctx the parse tree 181 * @return the visitor result 182 */ 183 T visitSwitch_to_stmt(FbsqlParser.Switch_to_stmtContext ctx); 184 /** 185 * Visit a parse tree produced by {@link FbsqlParser#declare_statement_stmt}. 186 * @param ctx the parse tree 187 * @return the visitor result 188 */ 189 T visitDeclare_statement_stmt(FbsqlParser.Declare_statement_stmtContext ctx); 190 /** 191 * Visit a parse tree produced by {@link FbsqlParser#declare_procedure_stmt}. 192 * @param ctx the parse tree 193 * @return the visitor result 194 */ 195 T visitDeclare_procedure_stmt(FbsqlParser.Declare_procedure_stmtContext ctx); 196 /** 197 * Visit a parse tree produced by {@link FbsqlParser#include_script_file_stmt}. 198 * @param ctx the parse tree 199 * @return the visitor result 200 */ 201 T visitInclude_script_file_stmt(FbsqlParser.Include_script_file_stmtContext ctx); 202 /** 203 * Visit a parse tree produced by {@link FbsqlParser#schedule_stmt}. 204 * @param ctx the parse tree 205 * @return the visitor result 206 */ 207 T visitSchedule_stmt(FbsqlParser.Schedule_stmtContext ctx); 208 /** 209 * Visit a parse tree produced by {@link FbsqlParser#native_stmt}. 210 * @param ctx the parse tree 211 * @return the visitor result 212 */ 213 T visitNative_stmt(FbsqlParser.Native_stmtContext ctx); 214}