dt-sql-parser 4.0.0-ng.2 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/README.md +119 -112
  2. package/dist/index.d.ts +14 -6
  3. package/dist/index.js +11 -4
  4. package/dist/lib/SQLParserBase.d.ts +8 -0
  5. package/dist/lib/SQLParserBase.js +14 -0
  6. package/dist/lib/{flinksql → flink}/FlinkSqlLexer.d.ts +2 -2
  7. package/dist/lib/{flinksql → flink}/FlinkSqlLexer.js +2 -1
  8. package/dist/lib/{flinksql → flink}/FlinkSqlParser.d.ts +5 -11
  9. package/dist/lib/{flinksql → flink}/FlinkSqlParser.js +2065 -2054
  10. package/dist/lib/{flinksql → flink}/FlinkSqlParserListener.d.ts +0 -13
  11. package/dist/lib/{flinksql → flink}/FlinkSqlParserListener.js +1 -1
  12. package/dist/lib/{flinksql → flink}/FlinkSqlParserVisitor.d.ts +0 -8
  13. package/dist/lib/{flinksql → flink}/FlinkSqlParserVisitor.js +2 -1
  14. package/dist/lib/hive/HiveSqlLexer.d.ts +258 -257
  15. package/dist/lib/hive/HiveSqlLexer.js +1794 -1786
  16. package/dist/lib/hive/HiveSqlParser.d.ts +1266 -3176
  17. package/dist/lib/hive/HiveSqlParser.js +23046 -33454
  18. package/dist/lib/hive/HiveSqlParserListener.d.ts +141 -2036
  19. package/dist/lib/hive/HiveSqlParserVisitor.d.ts +151 -1358
  20. package/dist/lib/hive/HiveSqlParserVisitor.js +1 -0
  21. package/dist/lib/impala/ImpalaSqlLexer.d.ts +170 -154
  22. package/dist/lib/impala/ImpalaSqlLexer.js +1179 -1099
  23. package/dist/lib/impala/ImpalaSqlParser.d.ts +282 -240
  24. package/dist/lib/impala/ImpalaSqlParser.js +3881 -3744
  25. package/dist/lib/impala/ImpalaSqlParserListener.d.ts +22 -11
  26. package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +14 -7
  27. package/dist/lib/impala/ImpalaSqlParserVisitor.js +1 -0
  28. package/dist/lib/index.d.ts +6 -6
  29. package/dist/lib/index.js +6 -6
  30. package/dist/lib/mysql/MySqlLexer.d.ts +2 -2
  31. package/dist/lib/mysql/MySqlLexer.js +1 -0
  32. package/dist/lib/mysql/MySqlParser.d.ts +347 -418
  33. package/dist/lib/mysql/MySqlParser.js +10484 -11099
  34. package/dist/lib/mysql/MySqlParserListener.d.ts +41 -126
  35. package/dist/lib/mysql/MySqlParserVisitor.d.ts +23 -76
  36. package/dist/lib/mysql/MySqlParserVisitor.js +1 -0
  37. package/dist/lib/plsql/PlSqlBaseLexer.d.ts +1 -2
  38. package/dist/lib/plsql/PlSqlBaseLexer.js +1 -1
  39. package/dist/lib/plsql/PlSqlBaseParser.d.ts +3 -2
  40. package/dist/lib/plsql/PlSqlBaseParser.js +2 -2
  41. package/dist/lib/plsql/PlSqlLexer.d.ts +3 -3
  42. package/dist/lib/plsql/PlSqlLexer.js +2 -1
  43. package/dist/lib/plsql/PlSqlParser.d.ts +3 -3
  44. package/dist/lib/plsql/PlSqlParser.js +2 -1
  45. package/dist/lib/plsql/PlSqlParserVisitor.js +1 -0
  46. package/dist/lib/{pgsql/PostgreSQLLexer.d.ts → postgresql/PostgreSqlLexer.d.ts} +3 -3
  47. package/dist/lib/{pgsql/PostgreSQLLexer.js → postgresql/PostgreSqlLexer.js} +618 -617
  48. package/dist/lib/{pgsql/PostgreSQLParser.d.ts → postgresql/PostgreSqlParser.d.ts} +3598 -3484
  49. package/dist/lib/{pgsql/PostgreSQLParser.js → postgresql/PostgreSqlParser.js} +41502 -42831
  50. package/dist/lib/{pgsql/PostgreSQLParserListener.d.ts → postgresql/PostgreSqlParserListener.d.ts} +2797 -2730
  51. package/dist/lib/{pgsql/PostgreSQLParserListener.js → postgresql/PostgreSqlParserListener.js} +3 -3
  52. package/dist/lib/{pgsql/PostgreSQLParserVisitor.d.ts → postgresql/PostgreSqlParserVisitor.d.ts} +1845 -1810
  53. package/dist/lib/{pgsql/PostgreSQLParserVisitor.js → postgresql/PostgreSqlParserVisitor.js} +4 -3
  54. package/dist/lib/spark/SparkSqlLexer.d.ts +305 -298
  55. package/dist/lib/spark/SparkSqlLexer.js +1777 -1735
  56. package/dist/lib/spark/SparkSqlParser.d.ts +1764 -669
  57. package/dist/lib/spark/SparkSqlParser.js +15460 -10769
  58. package/dist/lib/spark/SparkSqlParserListener.d.ts +1285 -35
  59. package/dist/lib/spark/SparkSqlParserVisitor.d.ts +790 -21
  60. package/dist/lib/spark/SparkSqlParserVisitor.js +1 -0
  61. package/dist/lib/{trinosql → trino}/TrinoSqlLexer.d.ts +2 -2
  62. package/dist/lib/{trinosql → trino}/TrinoSqlLexer.js +2 -1
  63. package/dist/lib/{trinosql → trino}/TrinoSqlListener.d.ts +7 -5
  64. package/dist/lib/{trinosql → trino}/TrinoSqlListener.js +1 -1
  65. package/dist/lib/{trinosql → trino}/TrinoSqlParser.d.ts +11 -5
  66. package/dist/lib/{trinosql → trino}/TrinoSqlParser.js +360 -320
  67. package/dist/lib/{trinosql → trino}/TrinoSqlVisitor.d.ts +4 -3
  68. package/dist/lib/{trinosql → trino}/TrinoSqlVisitor.js +2 -1
  69. package/dist/parser/common/{basicParser.d.ts → basicSQL.d.ts} +22 -19
  70. package/dist/parser/common/{basicParser.js → basicSQL.js} +52 -34
  71. package/dist/parser/common/entityCollector.d.ts +78 -0
  72. package/dist/parser/common/entityCollector.js +191 -0
  73. package/dist/parser/common/{utils/findCaretTokenIndex.d.ts → findCaretTokenIndex.d.ts} +2 -2
  74. package/dist/parser/common/{utils/findCaretTokenIndex.js → findCaretTokenIndex.js} +3 -2
  75. package/dist/parser/common/parseErrorListener.d.ts +6 -6
  76. package/dist/parser/common/parseErrorListener.js +1 -1
  77. package/dist/parser/common/simpleStack.d.ts +10 -0
  78. package/dist/parser/common/simpleStack.js +23 -0
  79. package/dist/parser/common/splitListener.d.ts +8 -0
  80. package/dist/parser/common/splitListener.js +12 -0
  81. package/dist/parser/common/textAndWord.d.ts +52 -0
  82. package/dist/parser/common/textAndWord.js +58 -0
  83. package/dist/parser/common/{basic-parser-types.d.ts → types.d.ts} +4 -31
  84. package/dist/parser/common/types.js +34 -0
  85. package/dist/parser/flink/flinkEntityCollector.d.ts +33 -0
  86. package/dist/parser/flink/flinkEntityCollector.js +84 -0
  87. package/dist/parser/flink/flinkSplitListener.d.ts +6 -0
  88. package/dist/parser/flink/flinkSplitListener.js +6 -0
  89. package/dist/parser/flink/index.d.ts +17 -0
  90. package/dist/parser/{flinksql.js → flink/index.js} +26 -37
  91. package/dist/parser/hive/hiveEntityCollector.d.ts +35 -0
  92. package/dist/parser/hive/hiveEntityCollector.js +90 -0
  93. package/dist/parser/hive/hiveSplitListener.d.ts +6 -0
  94. package/dist/parser/hive/hiveSplitListener.js +6 -0
  95. package/dist/parser/hive/index.d.ts +17 -0
  96. package/dist/parser/{hive.js → hive/index.js} +24 -34
  97. package/dist/parser/impala/impalaEntityCollector.d.ts +35 -0
  98. package/dist/parser/impala/impalaEntityCollector.js +90 -0
  99. package/dist/parser/impala/impalaSplitListener.d.ts +6 -0
  100. package/dist/parser/impala/impalaSplitListener.js +6 -0
  101. package/dist/parser/impala/index.d.ts +17 -0
  102. package/dist/parser/{impala.js → impala/index.js} +24 -34
  103. package/dist/parser/index.d.ts +8 -8
  104. package/dist/parser/index.js +8 -8
  105. package/dist/parser/mysql/index.d.ts +17 -0
  106. package/dist/parser/{mysql.js → mysql/index.js} +24 -34
  107. package/dist/parser/mysql/mysqlEntityCollector.d.ts +37 -0
  108. package/dist/parser/mysql/mysqlEntityCollector.js +96 -0
  109. package/dist/parser/mysql/mysqlSplitListener.d.ts +6 -0
  110. package/dist/parser/mysql/mysqlSplitListener.js +6 -0
  111. package/dist/parser/plsql.d.ts +7 -6
  112. package/dist/parser/plsql.js +6 -4
  113. package/dist/parser/postgresql/index.d.ts +17 -0
  114. package/dist/parser/postgresql/index.js +130 -0
  115. package/dist/parser/postgresql/postgreEntityCollector.d.ts +37 -0
  116. package/dist/parser/postgresql/postgreEntityCollector.js +96 -0
  117. package/dist/parser/postgresql/postgreSplitListener.d.ts +6 -0
  118. package/dist/parser/postgresql/postgreSplitListener.js +6 -0
  119. package/dist/parser/spark/index.d.ts +17 -0
  120. package/dist/parser/{spark.js → spark/index.js} +29 -40
  121. package/dist/parser/spark/sparkEntityCollector.d.ts +37 -0
  122. package/dist/parser/spark/sparkEntityCollector.js +96 -0
  123. package/dist/parser/spark/sparkSplitListener.d.ts +6 -0
  124. package/dist/parser/spark/sparkSplitListener.js +6 -0
  125. package/dist/parser/trino/index.d.ts +17 -0
  126. package/dist/parser/{trinosql.js → trino/index.js} +25 -36
  127. package/dist/parser/trino/trinoEntityCollector.d.ts +30 -0
  128. package/dist/parser/trino/trinoEntityCollector.js +75 -0
  129. package/dist/parser/trino/trinoSplitListener.d.ts +6 -0
  130. package/dist/parser/trino/trinoSplitListener.js +6 -0
  131. package/dist/utils/index.d.ts +1 -1
  132. package/dist/utils/token.d.ts +1 -1
  133. package/package.json +1 -1
  134. package/dist/parser/common/basic-parser-types.js +0 -34
  135. package/dist/parser/flinksql.d.ts +0 -23
  136. package/dist/parser/hive.d.ts +0 -23
  137. package/dist/parser/impala.d.ts +0 -23
  138. package/dist/parser/mysql.d.ts +0 -23
  139. package/dist/parser/pgsql.d.ts +0 -23
  140. package/dist/parser/pgsql.js +0 -140
  141. package/dist/parser/spark.d.ts +0 -23
  142. package/dist/parser/trinosql.d.ts +0 -23
@@ -2,7 +2,8 @@ import * as antlr from "antlr4ng";
2
2
  import { Token } from "antlr4ng";
3
3
  import { MySqlParserListener } from "./MySqlParserListener.js";
4
4
  import { MySqlParserVisitor } from "./MySqlParserVisitor.js";
5
- export declare class MySqlParser extends antlr.Parser {
5
+ import { SQLParserBase } from '../SQLParserBase';
6
+ export declare class MySqlParser extends SQLParserBase {
6
7
  static readonly SPACE = 1;
7
8
  static readonly SPEC_MYSQL_COMMENT = 2;
8
9
  static readonly COMMENT_INPUT = 3;
@@ -1035,291 +1036,288 @@ export declare class MySqlParser extends antlr.Parser {
1035
1036
  static readonly RULE_joinPart = 134;
1036
1037
  static readonly RULE_joinSpec = 135;
1037
1038
  static readonly RULE_queryExpression = 136;
1038
- static readonly RULE_queryExpressionNointo = 137;
1039
- static readonly RULE_querySpecification = 138;
1040
- static readonly RULE_querySpecificationNointo = 139;
1041
- static readonly RULE_unionParenthesis = 140;
1042
- static readonly RULE_unionStatement = 141;
1043
- static readonly RULE_lateralStatement = 142;
1044
- static readonly RULE_jsonTable = 143;
1045
- static readonly RULE_jsonColumnList = 144;
1046
- static readonly RULE_jsonColumn = 145;
1047
- static readonly RULE_jsonOnEmpty = 146;
1048
- static readonly RULE_jsonOnError = 147;
1049
- static readonly RULE_selectSpec = 148;
1050
- static readonly RULE_selectElements = 149;
1051
- static readonly RULE_selectElement = 150;
1052
- static readonly RULE_intoClause = 151;
1053
- static readonly RULE_selectFieldsInto = 152;
1054
- static readonly RULE_selectLinesInto = 153;
1055
- static readonly RULE_fromClause = 154;
1056
- static readonly RULE_groupByClause = 155;
1057
- static readonly RULE_havingClause = 156;
1058
- static readonly RULE_windowClause = 157;
1059
- static readonly RULE_groupByItem = 158;
1060
- static readonly RULE_limitClause = 159;
1061
- static readonly RULE_limitClauseAtom = 160;
1062
- static readonly RULE_startTransaction = 161;
1063
- static readonly RULE_beginWork = 162;
1064
- static readonly RULE_commitWork = 163;
1065
- static readonly RULE_rollbackWork = 164;
1066
- static readonly RULE_savepointStatement = 165;
1067
- static readonly RULE_rollbackStatement = 166;
1068
- static readonly RULE_releaseStatement = 167;
1069
- static readonly RULE_lockTables = 168;
1070
- static readonly RULE_unlockTables = 169;
1071
- static readonly RULE_setAutocommitStatement = 170;
1072
- static readonly RULE_setTransactionStatement = 171;
1073
- static readonly RULE_transactionMode = 172;
1074
- static readonly RULE_lockTableElement = 173;
1075
- static readonly RULE_lockAction = 174;
1076
- static readonly RULE_transactionOption = 175;
1077
- static readonly RULE_transactionLevel = 176;
1078
- static readonly RULE_changeMaster = 177;
1079
- static readonly RULE_changeReplicationFilter = 178;
1080
- static readonly RULE_changeReplicationSource = 179;
1081
- static readonly RULE_purgeBinaryLogs = 180;
1082
- static readonly RULE_startSlaveOrReplica = 181;
1083
- static readonly RULE_stopSlaveOrReplica = 182;
1084
- static readonly RULE_startGroupReplication = 183;
1085
- static readonly RULE_stopGroupReplication = 184;
1086
- static readonly RULE_masterOption = 185;
1087
- static readonly RULE_stringMasterOption = 186;
1088
- static readonly RULE_decimalMasterOption = 187;
1089
- static readonly RULE_boolMasterOption = 188;
1090
- static readonly RULE_v8NewMasterOption = 189;
1091
- static readonly RULE_replicationSourceOption = 190;
1092
- static readonly RULE_stringSourceOption = 191;
1093
- static readonly RULE_decimalSourceOption = 192;
1094
- static readonly RULE_boolSourceOption = 193;
1095
- static readonly RULE_otherSourceOption = 194;
1096
- static readonly RULE_channelOption = 195;
1097
- static readonly RULE_replicationFilter = 196;
1098
- static readonly RULE_tablePair = 197;
1099
- static readonly RULE_threadType = 198;
1100
- static readonly RULE_untilOption = 199;
1101
- static readonly RULE_connectionOptions = 200;
1102
- static readonly RULE_gtuidSet = 201;
1103
- static readonly RULE_xaStartTransaction = 202;
1104
- static readonly RULE_xaEndTransaction = 203;
1105
- static readonly RULE_xaPrepareStatement = 204;
1106
- static readonly RULE_xaCommitWork = 205;
1107
- static readonly RULE_xaRollbackWork = 206;
1108
- static readonly RULE_xaRecoverWork = 207;
1109
- static readonly RULE_prepareStatement = 208;
1110
- static readonly RULE_executeStatement = 209;
1111
- static readonly RULE_deallocatePrepare = 210;
1112
- static readonly RULE_routineBody = 211;
1113
- static readonly RULE_blockStatement = 212;
1114
- static readonly RULE_caseStatement = 213;
1115
- static readonly RULE_ifStatement = 214;
1116
- static readonly RULE_iterateStatement = 215;
1117
- static readonly RULE_leaveStatement = 216;
1118
- static readonly RULE_loopStatement = 217;
1119
- static readonly RULE_repeatStatement = 218;
1120
- static readonly RULE_returnStatement = 219;
1121
- static readonly RULE_whileStatement = 220;
1122
- static readonly RULE_cursorStatement = 221;
1123
- static readonly RULE_declareVariable = 222;
1124
- static readonly RULE_declareCondition = 223;
1125
- static readonly RULE_declareCursor = 224;
1126
- static readonly RULE_declareHandler = 225;
1127
- static readonly RULE_handlerConditionValue = 226;
1128
- static readonly RULE_procedureSqlStatement = 227;
1129
- static readonly RULE_caseAlternative = 228;
1130
- static readonly RULE_elifAlternative = 229;
1131
- static readonly RULE_alterUser = 230;
1132
- static readonly RULE_createUser = 231;
1133
- static readonly RULE_dropUser = 232;
1134
- static readonly RULE_grantStatement = 233;
1135
- static readonly RULE_roleOption = 234;
1136
- static readonly RULE_grantProxy = 235;
1137
- static readonly RULE_alterResourceGroup = 236;
1138
- static readonly RULE_createResourceGroup = 237;
1139
- static readonly RULE_dropResourceGroup = 238;
1140
- static readonly RULE_setResourceGroup = 239;
1141
- static readonly RULE_resourceGroupVcpuSpec = 240;
1142
- static readonly RULE_renameUser = 241;
1143
- static readonly RULE_revokeStatement = 242;
1144
- static readonly RULE_ignoreUnknownUser = 243;
1145
- static readonly RULE_privilegeObjectType = 244;
1146
- static readonly RULE_setPasswordStatement = 245;
1147
- static readonly RULE_userSpecification = 246;
1148
- static readonly RULE_alterUserAuthOption = 247;
1149
- static readonly RULE_createUserAuthOption = 248;
1150
- static readonly RULE_createUserInitialAuthOption = 249;
1151
- static readonly RULE_userAuthOption = 250;
1152
- static readonly RULE_authOptionClause = 251;
1153
- static readonly RULE_authenticationRule = 252;
1154
- static readonly RULE_tlsOption = 253;
1155
- static readonly RULE_userResourceOption = 254;
1156
- static readonly RULE_userPasswordOption = 255;
1157
- static readonly RULE_userLockOption = 256;
1158
- static readonly RULE_factorAuthOption = 257;
1159
- static readonly RULE_registrationOption = 258;
1160
- static readonly RULE_factor = 259;
1161
- static readonly RULE_privelegeClause = 260;
1162
- static readonly RULE_privilege = 261;
1163
- static readonly RULE_privilegeLevel = 262;
1164
- static readonly RULE_renameUserClause = 263;
1165
- static readonly RULE_analyzeTable = 264;
1166
- static readonly RULE_checkTable = 265;
1167
- static readonly RULE_checksumTable = 266;
1168
- static readonly RULE_optimizeTable = 267;
1169
- static readonly RULE_repairTable = 268;
1170
- static readonly RULE_tableActionOption = 269;
1171
- static readonly RULE_checkTableOption = 270;
1172
- static readonly RULE_createFunction = 271;
1173
- static readonly RULE_installComponent = 272;
1174
- static readonly RULE_variableExpr = 273;
1175
- static readonly RULE_uninstallComponent = 274;
1176
- static readonly RULE_installPlugin = 275;
1177
- static readonly RULE_uninstallPlugin = 276;
1178
- static readonly RULE_cloneStatement = 277;
1179
- static readonly RULE_setStatement = 278;
1180
- static readonly RULE_showStatement = 279;
1181
- static readonly RULE_variableClause = 280;
1182
- static readonly RULE_showCommonEntity = 281;
1183
- static readonly RULE_showFilter = 282;
1184
- static readonly RULE_showGlobalInfoClause = 283;
1185
- static readonly RULE_showSchemaEntity = 284;
1186
- static readonly RULE_showProfileType = 285;
1187
- static readonly RULE_binlogStatement = 286;
1188
- static readonly RULE_cacheIndexStatement = 287;
1189
- static readonly RULE_flushStatement = 288;
1190
- static readonly RULE_killStatement = 289;
1191
- static readonly RULE_loadIndexIntoCache = 290;
1192
- static readonly RULE_resetStatement = 291;
1193
- static readonly RULE_resetOption = 292;
1194
- static readonly RULE_resetPersist = 293;
1195
- static readonly RULE_resetAllChannel = 294;
1196
- static readonly RULE_reStartStatement = 295;
1197
- static readonly RULE_shutdownStatement = 296;
1198
- static readonly RULE_tableIndex = 297;
1199
- static readonly RULE_flushOption = 298;
1200
- static readonly RULE_flushTableOption = 299;
1201
- static readonly RULE_loadedTableIndexes = 300;
1202
- static readonly RULE_simpleDescribeStatement = 301;
1203
- static readonly RULE_fullDescribeStatement = 302;
1204
- static readonly RULE_analyzeDescribeStatement = 303;
1205
- static readonly RULE_helpStatement = 304;
1206
- static readonly RULE_useStatement = 305;
1207
- static readonly RULE_signalStatement = 306;
1208
- static readonly RULE_resignalStatement = 307;
1209
- static readonly RULE_signalConditionInformation = 308;
1210
- static readonly RULE_withStatement = 309;
1211
- static readonly RULE_tableStatement = 310;
1212
- static readonly RULE_diagnosticsStatement = 311;
1213
- static readonly RULE_diagnosticsConditionInformationName = 312;
1214
- static readonly RULE_describeObjectClause = 313;
1215
- static readonly RULE_databaseNameCreate = 314;
1216
- static readonly RULE_databaseName = 315;
1217
- static readonly RULE_functionNameCreate = 316;
1218
- static readonly RULE_functionName = 317;
1219
- static readonly RULE_viewNameCreate = 318;
1220
- static readonly RULE_viewName = 319;
1221
- static readonly RULE_indexNameCreate = 320;
1222
- static readonly RULE_indexNames = 321;
1223
- static readonly RULE_indexName = 322;
1224
- static readonly RULE_groupNameCreate = 323;
1225
- static readonly RULE_groupName = 324;
1226
- static readonly RULE_tableNameCreate = 325;
1227
- static readonly RULE_tableNames = 326;
1228
- static readonly RULE_tableName = 327;
1229
- static readonly RULE_userOrRoleNames = 328;
1230
- static readonly RULE_userOrRoleName = 329;
1231
- static readonly RULE_columnNameCreate = 330;
1232
- static readonly RULE_columnNames = 331;
1233
- static readonly RULE_columnName = 332;
1234
- static readonly RULE_tablespaceNameCreate = 333;
1235
- static readonly RULE_tablespaceName = 334;
1236
- static readonly RULE_partitionNameCreate = 335;
1237
- static readonly RULE_partitionNames = 336;
1238
- static readonly RULE_partitionName = 337;
1239
- static readonly RULE_indexColumnName = 338;
1240
- static readonly RULE_userHostPort = 339;
1241
- static readonly RULE_userAtHost = 340;
1242
- static readonly RULE_simpleUserName = 341;
1243
- static readonly RULE_hostName = 342;
1244
- static readonly RULE_userName = 343;
1245
- static readonly RULE_mysqlVariable = 344;
1246
- static readonly RULE_charsetName = 345;
1247
- static readonly RULE_collationName = 346;
1248
- static readonly RULE_engineName = 347;
1249
- static readonly RULE_engineNameBase = 348;
1250
- static readonly RULE_uuidSet = 349;
1251
- static readonly RULE_xid = 350;
1252
- static readonly RULE_xuidStringId = 351;
1253
- static readonly RULE_fullId = 352;
1254
- static readonly RULE_uidList = 353;
1255
- static readonly RULE_uid = 354;
1256
- static readonly RULE_simpleId = 355;
1257
- static readonly RULE_dottedId = 356;
1258
- static readonly RULE_decimalLiteral = 357;
1259
- static readonly RULE_fileSizeLiteral = 358;
1260
- static readonly RULE_stringLiteral = 359;
1261
- static readonly RULE_booleanLiteral = 360;
1262
- static readonly RULE_hexadecimalLiteral = 361;
1263
- static readonly RULE_nullNotnull = 362;
1264
- static readonly RULE_constant = 363;
1265
- static readonly RULE_dataType = 364;
1266
- static readonly RULE_collectionOptions = 365;
1267
- static readonly RULE_convertedDataType = 366;
1268
- static readonly RULE_lengthOneDimension = 367;
1269
- static readonly RULE_lengthTwoDimension = 368;
1270
- static readonly RULE_lengthTwoOptionalDimension = 369;
1271
- static readonly RULE_indexColumnNames = 370;
1272
- static readonly RULE_expressions = 371;
1273
- static readonly RULE_valuesOrValueList = 372;
1274
- static readonly RULE_expressionsWithDefaults = 373;
1275
- static readonly RULE_expressionOrDefault = 374;
1276
- static readonly RULE_constants = 375;
1277
- static readonly RULE_simpleStrings = 376;
1278
- static readonly RULE_userVariables = 377;
1279
- static readonly RULE_defaultValue = 378;
1280
- static readonly RULE_currentTimestamp = 379;
1281
- static readonly RULE_ifExists = 380;
1282
- static readonly RULE_ifNotExists = 381;
1283
- static readonly RULE_orReplace = 382;
1284
- static readonly RULE_functionCall = 383;
1285
- static readonly RULE_specificFunction = 384;
1286
- static readonly RULE_caseFuncAlternative = 385;
1287
- static readonly RULE_levelsInWeightString = 386;
1288
- static readonly RULE_levelInWeightListElement = 387;
1289
- static readonly RULE_aggregateWindowedFunction = 388;
1290
- static readonly RULE_nonAggregateWindowedFunction = 389;
1291
- static readonly RULE_overClause = 390;
1292
- static readonly RULE_windowSpec = 391;
1293
- static readonly RULE_windowName = 392;
1294
- static readonly RULE_frameClause = 393;
1295
- static readonly RULE_frameUnits = 394;
1296
- static readonly RULE_frameExtent = 395;
1297
- static readonly RULE_frameBetween = 396;
1298
- static readonly RULE_frameRange = 397;
1299
- static readonly RULE_partitionClause = 398;
1300
- static readonly RULE_scalarFunctionName = 399;
1301
- static readonly RULE_passwordFunctionClause = 400;
1302
- static readonly RULE_functionArgs = 401;
1303
- static readonly RULE_functionArg = 402;
1304
- static readonly RULE_expression = 403;
1305
- static readonly RULE_predicate = 404;
1306
- static readonly RULE_expressionAtom = 405;
1307
- static readonly RULE_unaryOperator = 406;
1308
- static readonly RULE_comparisonOperator = 407;
1309
- static readonly RULE_comparisonBase = 408;
1310
- static readonly RULE_logicalOperator = 409;
1311
- static readonly RULE_bitOperator = 410;
1312
- static readonly RULE_mathOperator = 411;
1313
- static readonly RULE_jsonOperator = 412;
1314
- static readonly RULE_charsetNameBase = 413;
1315
- static readonly RULE_transactionLevelBase = 414;
1316
- static readonly RULE_privilegesBase = 415;
1317
- static readonly RULE_intervalTypeBase = 416;
1318
- static readonly RULE_dataTypeBase = 417;
1319
- static readonly RULE_keywordsCanBeId = 418;
1320
- static readonly RULE_functionNameBase = 419;
1321
- static readonly literalNames: string[];
1322
- static readonly symbolicNames: string[];
1039
+ static readonly RULE_querySpecification = 137;
1040
+ static readonly RULE_unionStatement = 138;
1041
+ static readonly RULE_lateralStatement = 139;
1042
+ static readonly RULE_jsonTable = 140;
1043
+ static readonly RULE_jsonColumnList = 141;
1044
+ static readonly RULE_jsonColumn = 142;
1045
+ static readonly RULE_jsonOnEmpty = 143;
1046
+ static readonly RULE_jsonOnError = 144;
1047
+ static readonly RULE_selectSpec = 145;
1048
+ static readonly RULE_selectElements = 146;
1049
+ static readonly RULE_selectElement = 147;
1050
+ static readonly RULE_intoClause = 148;
1051
+ static readonly RULE_selectFieldsInto = 149;
1052
+ static readonly RULE_selectLinesInto = 150;
1053
+ static readonly RULE_fromClause = 151;
1054
+ static readonly RULE_groupByClause = 152;
1055
+ static readonly RULE_havingClause = 153;
1056
+ static readonly RULE_windowClause = 154;
1057
+ static readonly RULE_groupByItem = 155;
1058
+ static readonly RULE_limitClause = 156;
1059
+ static readonly RULE_limitClauseAtom = 157;
1060
+ static readonly RULE_startTransaction = 158;
1061
+ static readonly RULE_beginWork = 159;
1062
+ static readonly RULE_commitWork = 160;
1063
+ static readonly RULE_rollbackWork = 161;
1064
+ static readonly RULE_savepointStatement = 162;
1065
+ static readonly RULE_rollbackStatement = 163;
1066
+ static readonly RULE_releaseStatement = 164;
1067
+ static readonly RULE_lockTables = 165;
1068
+ static readonly RULE_unlockTables = 166;
1069
+ static readonly RULE_setAutocommitStatement = 167;
1070
+ static readonly RULE_setTransactionStatement = 168;
1071
+ static readonly RULE_transactionMode = 169;
1072
+ static readonly RULE_lockTableElement = 170;
1073
+ static readonly RULE_lockAction = 171;
1074
+ static readonly RULE_transactionOption = 172;
1075
+ static readonly RULE_transactionLevel = 173;
1076
+ static readonly RULE_changeMaster = 174;
1077
+ static readonly RULE_changeReplicationFilter = 175;
1078
+ static readonly RULE_changeReplicationSource = 176;
1079
+ static readonly RULE_purgeBinaryLogs = 177;
1080
+ static readonly RULE_startSlaveOrReplica = 178;
1081
+ static readonly RULE_stopSlaveOrReplica = 179;
1082
+ static readonly RULE_startGroupReplication = 180;
1083
+ static readonly RULE_stopGroupReplication = 181;
1084
+ static readonly RULE_masterOption = 182;
1085
+ static readonly RULE_stringMasterOption = 183;
1086
+ static readonly RULE_decimalMasterOption = 184;
1087
+ static readonly RULE_boolMasterOption = 185;
1088
+ static readonly RULE_v8NewMasterOption = 186;
1089
+ static readonly RULE_replicationSourceOption = 187;
1090
+ static readonly RULE_stringSourceOption = 188;
1091
+ static readonly RULE_decimalSourceOption = 189;
1092
+ static readonly RULE_boolSourceOption = 190;
1093
+ static readonly RULE_otherSourceOption = 191;
1094
+ static readonly RULE_channelOption = 192;
1095
+ static readonly RULE_replicationFilter = 193;
1096
+ static readonly RULE_tablePair = 194;
1097
+ static readonly RULE_threadType = 195;
1098
+ static readonly RULE_untilOption = 196;
1099
+ static readonly RULE_connectionOptions = 197;
1100
+ static readonly RULE_gtuidSet = 198;
1101
+ static readonly RULE_xaStartTransaction = 199;
1102
+ static readonly RULE_xaEndTransaction = 200;
1103
+ static readonly RULE_xaPrepareStatement = 201;
1104
+ static readonly RULE_xaCommitWork = 202;
1105
+ static readonly RULE_xaRollbackWork = 203;
1106
+ static readonly RULE_xaRecoverWork = 204;
1107
+ static readonly RULE_prepareStatement = 205;
1108
+ static readonly RULE_executeStatement = 206;
1109
+ static readonly RULE_deallocatePrepare = 207;
1110
+ static readonly RULE_routineBody = 208;
1111
+ static readonly RULE_blockStatement = 209;
1112
+ static readonly RULE_caseStatement = 210;
1113
+ static readonly RULE_ifStatement = 211;
1114
+ static readonly RULE_iterateStatement = 212;
1115
+ static readonly RULE_leaveStatement = 213;
1116
+ static readonly RULE_loopStatement = 214;
1117
+ static readonly RULE_repeatStatement = 215;
1118
+ static readonly RULE_returnStatement = 216;
1119
+ static readonly RULE_whileStatement = 217;
1120
+ static readonly RULE_cursorStatement = 218;
1121
+ static readonly RULE_declareVariable = 219;
1122
+ static readonly RULE_declareCondition = 220;
1123
+ static readonly RULE_declareCursor = 221;
1124
+ static readonly RULE_declareHandler = 222;
1125
+ static readonly RULE_handlerConditionValue = 223;
1126
+ static readonly RULE_procedureSqlStatement = 224;
1127
+ static readonly RULE_caseAlternative = 225;
1128
+ static readonly RULE_elifAlternative = 226;
1129
+ static readonly RULE_alterUser = 227;
1130
+ static readonly RULE_createUser = 228;
1131
+ static readonly RULE_dropUser = 229;
1132
+ static readonly RULE_grantStatement = 230;
1133
+ static readonly RULE_roleOption = 231;
1134
+ static readonly RULE_grantProxy = 232;
1135
+ static readonly RULE_alterResourceGroup = 233;
1136
+ static readonly RULE_createResourceGroup = 234;
1137
+ static readonly RULE_dropResourceGroup = 235;
1138
+ static readonly RULE_setResourceGroup = 236;
1139
+ static readonly RULE_resourceGroupVcpuSpec = 237;
1140
+ static readonly RULE_renameUser = 238;
1141
+ static readonly RULE_revokeStatement = 239;
1142
+ static readonly RULE_ignoreUnknownUser = 240;
1143
+ static readonly RULE_privilegeObjectType = 241;
1144
+ static readonly RULE_setPasswordStatement = 242;
1145
+ static readonly RULE_userSpecification = 243;
1146
+ static readonly RULE_alterUserAuthOption = 244;
1147
+ static readonly RULE_createUserAuthOption = 245;
1148
+ static readonly RULE_createUserInitialAuthOption = 246;
1149
+ static readonly RULE_userAuthOption = 247;
1150
+ static readonly RULE_authOptionClause = 248;
1151
+ static readonly RULE_authenticationRule = 249;
1152
+ static readonly RULE_tlsOption = 250;
1153
+ static readonly RULE_userResourceOption = 251;
1154
+ static readonly RULE_userPasswordOption = 252;
1155
+ static readonly RULE_userLockOption = 253;
1156
+ static readonly RULE_factorAuthOption = 254;
1157
+ static readonly RULE_registrationOption = 255;
1158
+ static readonly RULE_factor = 256;
1159
+ static readonly RULE_privelegeClause = 257;
1160
+ static readonly RULE_privilege = 258;
1161
+ static readonly RULE_privilegeLevel = 259;
1162
+ static readonly RULE_renameUserClause = 260;
1163
+ static readonly RULE_analyzeTable = 261;
1164
+ static readonly RULE_checkTable = 262;
1165
+ static readonly RULE_checksumTable = 263;
1166
+ static readonly RULE_optimizeTable = 264;
1167
+ static readonly RULE_repairTable = 265;
1168
+ static readonly RULE_tableActionOption = 266;
1169
+ static readonly RULE_checkTableOption = 267;
1170
+ static readonly RULE_createFunction = 268;
1171
+ static readonly RULE_installComponent = 269;
1172
+ static readonly RULE_variableExpr = 270;
1173
+ static readonly RULE_uninstallComponent = 271;
1174
+ static readonly RULE_installPlugin = 272;
1175
+ static readonly RULE_uninstallPlugin = 273;
1176
+ static readonly RULE_cloneStatement = 274;
1177
+ static readonly RULE_setStatement = 275;
1178
+ static readonly RULE_showStatement = 276;
1179
+ static readonly RULE_variableClause = 277;
1180
+ static readonly RULE_showCommonEntity = 278;
1181
+ static readonly RULE_showFilter = 279;
1182
+ static readonly RULE_showGlobalInfoClause = 280;
1183
+ static readonly RULE_showSchemaEntity = 281;
1184
+ static readonly RULE_showProfileType = 282;
1185
+ static readonly RULE_binlogStatement = 283;
1186
+ static readonly RULE_cacheIndexStatement = 284;
1187
+ static readonly RULE_flushStatement = 285;
1188
+ static readonly RULE_killStatement = 286;
1189
+ static readonly RULE_loadIndexIntoCache = 287;
1190
+ static readonly RULE_resetStatement = 288;
1191
+ static readonly RULE_resetOption = 289;
1192
+ static readonly RULE_resetPersist = 290;
1193
+ static readonly RULE_resetAllChannel = 291;
1194
+ static readonly RULE_reStartStatement = 292;
1195
+ static readonly RULE_shutdownStatement = 293;
1196
+ static readonly RULE_tableIndex = 294;
1197
+ static readonly RULE_flushOption = 295;
1198
+ static readonly RULE_flushTableOption = 296;
1199
+ static readonly RULE_loadedTableIndexes = 297;
1200
+ static readonly RULE_simpleDescribeStatement = 298;
1201
+ static readonly RULE_fullDescribeStatement = 299;
1202
+ static readonly RULE_analyzeDescribeStatement = 300;
1203
+ static readonly RULE_helpStatement = 301;
1204
+ static readonly RULE_useStatement = 302;
1205
+ static readonly RULE_signalStatement = 303;
1206
+ static readonly RULE_resignalStatement = 304;
1207
+ static readonly RULE_signalConditionInformation = 305;
1208
+ static readonly RULE_withStatement = 306;
1209
+ static readonly RULE_tableStatement = 307;
1210
+ static readonly RULE_diagnosticsStatement = 308;
1211
+ static readonly RULE_diagnosticsConditionInformationName = 309;
1212
+ static readonly RULE_describeObjectClause = 310;
1213
+ static readonly RULE_databaseNameCreate = 311;
1214
+ static readonly RULE_databaseName = 312;
1215
+ static readonly RULE_functionNameCreate = 313;
1216
+ static readonly RULE_functionName = 314;
1217
+ static readonly RULE_viewNameCreate = 315;
1218
+ static readonly RULE_viewName = 316;
1219
+ static readonly RULE_indexNameCreate = 317;
1220
+ static readonly RULE_indexNames = 318;
1221
+ static readonly RULE_indexName = 319;
1222
+ static readonly RULE_groupNameCreate = 320;
1223
+ static readonly RULE_groupName = 321;
1224
+ static readonly RULE_tableNameCreate = 322;
1225
+ static readonly RULE_tableNames = 323;
1226
+ static readonly RULE_tableName = 324;
1227
+ static readonly RULE_userOrRoleNames = 325;
1228
+ static readonly RULE_userOrRoleName = 326;
1229
+ static readonly RULE_columnNameCreate = 327;
1230
+ static readonly RULE_columnNames = 328;
1231
+ static readonly RULE_columnName = 329;
1232
+ static readonly RULE_tablespaceNameCreate = 330;
1233
+ static readonly RULE_tablespaceName = 331;
1234
+ static readonly RULE_partitionNameCreate = 332;
1235
+ static readonly RULE_partitionNames = 333;
1236
+ static readonly RULE_partitionName = 334;
1237
+ static readonly RULE_indexColumnName = 335;
1238
+ static readonly RULE_userHostPort = 336;
1239
+ static readonly RULE_userAtHost = 337;
1240
+ static readonly RULE_simpleUserName = 338;
1241
+ static readonly RULE_hostName = 339;
1242
+ static readonly RULE_userName = 340;
1243
+ static readonly RULE_mysqlVariable = 341;
1244
+ static readonly RULE_charsetName = 342;
1245
+ static readonly RULE_collationName = 343;
1246
+ static readonly RULE_engineName = 344;
1247
+ static readonly RULE_engineNameBase = 345;
1248
+ static readonly RULE_uuidSet = 346;
1249
+ static readonly RULE_xid = 347;
1250
+ static readonly RULE_xuidStringId = 348;
1251
+ static readonly RULE_fullId = 349;
1252
+ static readonly RULE_uidList = 350;
1253
+ static readonly RULE_uid = 351;
1254
+ static readonly RULE_simpleId = 352;
1255
+ static readonly RULE_dottedId = 353;
1256
+ static readonly RULE_decimalLiteral = 354;
1257
+ static readonly RULE_fileSizeLiteral = 355;
1258
+ static readonly RULE_stringLiteral = 356;
1259
+ static readonly RULE_booleanLiteral = 357;
1260
+ static readonly RULE_hexadecimalLiteral = 358;
1261
+ static readonly RULE_nullNotnull = 359;
1262
+ static readonly RULE_constant = 360;
1263
+ static readonly RULE_dataType = 361;
1264
+ static readonly RULE_collectionOptions = 362;
1265
+ static readonly RULE_convertedDataType = 363;
1266
+ static readonly RULE_lengthOneDimension = 364;
1267
+ static readonly RULE_lengthTwoDimension = 365;
1268
+ static readonly RULE_lengthTwoOptionalDimension = 366;
1269
+ static readonly RULE_indexColumnNames = 367;
1270
+ static readonly RULE_expressions = 368;
1271
+ static readonly RULE_valuesOrValueList = 369;
1272
+ static readonly RULE_expressionsWithDefaults = 370;
1273
+ static readonly RULE_expressionOrDefault = 371;
1274
+ static readonly RULE_constants = 372;
1275
+ static readonly RULE_simpleStrings = 373;
1276
+ static readonly RULE_userVariables = 374;
1277
+ static readonly RULE_defaultValue = 375;
1278
+ static readonly RULE_currentTimestamp = 376;
1279
+ static readonly RULE_ifExists = 377;
1280
+ static readonly RULE_ifNotExists = 378;
1281
+ static readonly RULE_orReplace = 379;
1282
+ static readonly RULE_functionCall = 380;
1283
+ static readonly RULE_specificFunction = 381;
1284
+ static readonly RULE_caseFuncAlternative = 382;
1285
+ static readonly RULE_levelsInWeightString = 383;
1286
+ static readonly RULE_levelInWeightListElement = 384;
1287
+ static readonly RULE_aggregateWindowedFunction = 385;
1288
+ static readonly RULE_nonAggregateWindowedFunction = 386;
1289
+ static readonly RULE_overClause = 387;
1290
+ static readonly RULE_windowSpec = 388;
1291
+ static readonly RULE_windowName = 389;
1292
+ static readonly RULE_frameClause = 390;
1293
+ static readonly RULE_frameUnits = 391;
1294
+ static readonly RULE_frameExtent = 392;
1295
+ static readonly RULE_frameBetween = 393;
1296
+ static readonly RULE_frameRange = 394;
1297
+ static readonly RULE_partitionClause = 395;
1298
+ static readonly RULE_scalarFunctionName = 396;
1299
+ static readonly RULE_passwordFunctionClause = 397;
1300
+ static readonly RULE_functionArgs = 398;
1301
+ static readonly RULE_functionArg = 399;
1302
+ static readonly RULE_expression = 400;
1303
+ static readonly RULE_predicate = 401;
1304
+ static readonly RULE_expressionAtom = 402;
1305
+ static readonly RULE_unaryOperator = 403;
1306
+ static readonly RULE_comparisonOperator = 404;
1307
+ static readonly RULE_comparisonBase = 405;
1308
+ static readonly RULE_logicalOperator = 406;
1309
+ static readonly RULE_bitOperator = 407;
1310
+ static readonly RULE_mathOperator = 408;
1311
+ static readonly RULE_jsonOperator = 409;
1312
+ static readonly RULE_charsetNameBase = 410;
1313
+ static readonly RULE_transactionLevelBase = 411;
1314
+ static readonly RULE_privilegesBase = 412;
1315
+ static readonly RULE_intervalTypeBase = 413;
1316
+ static readonly RULE_dataTypeBase = 414;
1317
+ static readonly RULE_keywordsCanBeId = 415;
1318
+ static readonly RULE_functionNameBase = 416;
1319
+ static readonly literalNames: (string | null)[];
1320
+ static readonly symbolicNames: (string | null)[];
1323
1321
  static readonly ruleNames: string[];
1324
1322
  get grammarFileName(): string;
1325
1323
  get literalNames(): (string | null)[];
@@ -1467,10 +1465,7 @@ export declare class MySqlParser extends antlr.Parser {
1467
1465
  joinPart(): JoinPartContext;
1468
1466
  joinSpec(): JoinSpecContext;
1469
1467
  queryExpression(): QueryExpressionContext;
1470
- queryExpressionNointo(): QueryExpressionNointoContext;
1471
1468
  querySpecification(): QuerySpecificationContext;
1472
- querySpecificationNointo(): QuerySpecificationNointoContext;
1473
- unionParenthesis(): UnionParenthesisContext;
1474
1469
  unionStatement(): UnionStatementContext;
1475
1470
  lateralStatement(): LateralStatementContext;
1476
1471
  jsonTable(): JsonTableContext;
@@ -1756,6 +1751,7 @@ export declare class MySqlParser extends antlr.Parser {
1756
1751
  sempred(localContext: antlr.RuleContext | null, ruleIndex: number, predIndex: number): boolean;
1757
1752
  private queryExpressionBody_sempred;
1758
1753
  private queryItem_sempred;
1754
+ private columnName_sempred;
1759
1755
  private expression_sempred;
1760
1756
  private predicate_sempred;
1761
1757
  private expressionAtom_sempred;
@@ -1984,8 +1980,8 @@ export declare class AdministrationStatementContext extends antlr.ParserRuleCont
1984
1980
  }
1985
1981
  export declare class UtilityStatementContext extends antlr.ParserRuleContext {
1986
1982
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
1987
- simpleDescribeStatement(): SimpleDescribeStatementContext | null;
1988
1983
  fullDescribeStatement(): FullDescribeStatementContext | null;
1984
+ simpleDescribeStatement(): SimpleDescribeStatementContext | null;
1989
1985
  analyzeDescribeStatement(): AnalyzeDescribeStatementContext | null;
1990
1986
  helpStatement(): HelpStatementContext | null;
1991
1987
  useStatement(): UseStatementContext | null;
@@ -2182,14 +2178,12 @@ export declare class CopyCreateTableContext extends CreateTableContext {
2182
2178
  KW_CREATE(): antlr.TerminalNode;
2183
2179
  KW_TABLE(): antlr.TerminalNode;
2184
2180
  tableNameCreate(): TableNameCreateContext;
2185
- createDefinitions(): CreateDefinitionsContext;
2181
+ KW_LIKE(): antlr.TerminalNode | null;
2182
+ tableName(): TableNameContext | null;
2183
+ LR_BRACKET(): antlr.TerminalNode | null;
2184
+ RR_BRACKET(): antlr.TerminalNode | null;
2186
2185
  KW_TEMPORARY(): antlr.TerminalNode | null;
2187
2186
  ifNotExists(): IfNotExistsContext | null;
2188
- tableOption(): TableOptionContext[];
2189
- tableOption(i: number): TableOptionContext | null;
2190
- partitionDefinitions(): PartitionDefinitionsContext | null;
2191
- COMMA(): antlr.TerminalNode[];
2192
- COMMA(i: number): antlr.TerminalNode | null;
2193
2187
  enterRule(listener: MySqlParserListener): void;
2194
2188
  exitRule(listener: MySqlParserListener): void;
2195
2189
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
@@ -2199,16 +2193,12 @@ export declare class ColumnCreateTableContext extends CreateTableContext {
2199
2193
  KW_CREATE(): antlr.TerminalNode;
2200
2194
  KW_TABLE(): antlr.TerminalNode;
2201
2195
  tableNameCreate(): TableNameCreateContext;
2202
- selectStatement(): SelectStatementContext;
2196
+ createDefinitions(): CreateDefinitionsContext;
2203
2197
  KW_TEMPORARY(): antlr.TerminalNode | null;
2204
2198
  ifNotExists(): IfNotExistsContext | null;
2205
- createDefinitions(): CreateDefinitionsContext | null;
2206
2199
  tableOption(): TableOptionContext[];
2207
2200
  tableOption(i: number): TableOptionContext | null;
2208
2201
  partitionDefinitions(): PartitionDefinitionsContext | null;
2209
- KW_AS(): antlr.TerminalNode | null;
2210
- KW_IGNORE(): antlr.TerminalNode | null;
2211
- KW_REPLACE(): antlr.TerminalNode | null;
2212
2202
  COMMA(): antlr.TerminalNode[];
2213
2203
  COMMA(i: number): antlr.TerminalNode | null;
2214
2204
  enterRule(listener: MySqlParserListener): void;
@@ -2216,16 +2206,24 @@ export declare class ColumnCreateTableContext extends CreateTableContext {
2216
2206
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
2217
2207
  }
2218
2208
  export declare class QueryCreateTableContext extends CreateTableContext {
2209
+ _tb?: TableNameCreateContext;
2210
+ _col?: CreateDefinitionsContext;
2219
2211
  constructor(ctx: CreateTableContext);
2220
2212
  KW_CREATE(): antlr.TerminalNode;
2221
2213
  KW_TABLE(): antlr.TerminalNode;
2214
+ selectStatement(): SelectStatementContext;
2222
2215
  tableNameCreate(): TableNameCreateContext;
2223
- KW_LIKE(): antlr.TerminalNode | null;
2224
- tableName(): TableNameContext | null;
2225
- LR_BRACKET(): antlr.TerminalNode | null;
2226
- RR_BRACKET(): antlr.TerminalNode | null;
2227
2216
  KW_TEMPORARY(): antlr.TerminalNode | null;
2228
2217
  ifNotExists(): IfNotExistsContext | null;
2218
+ tableOption(): TableOptionContext[];
2219
+ tableOption(i: number): TableOptionContext | null;
2220
+ partitionDefinitions(): PartitionDefinitionsContext | null;
2221
+ KW_AS(): antlr.TerminalNode | null;
2222
+ createDefinitions(): CreateDefinitionsContext | null;
2223
+ KW_IGNORE(): antlr.TerminalNode | null;
2224
+ KW_REPLACE(): antlr.TerminalNode | null;
2225
+ COMMA(): antlr.TerminalNode[];
2226
+ COMMA(i: number): antlr.TerminalNode | null;
2229
2227
  enterRule(listener: MySqlParserListener): void;
2230
2228
  exitRule(listener: MySqlParserListener): void;
2231
2229
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
@@ -2379,7 +2377,8 @@ export declare class CreateViewContext extends antlr.ParserRuleContext {
2379
2377
  ownerStatement(): OwnerStatementContext | null;
2380
2378
  KW_SQL(): antlr.TerminalNode | null;
2381
2379
  KW_SECURITY(): antlr.TerminalNode | null;
2382
- columnNames(): ColumnNamesContext | null;
2380
+ columnNameCreate(): ColumnNameCreateContext[];
2381
+ columnNameCreate(i: number): ColumnNameCreateContext | null;
2383
2382
  KW_UNDEFINED(): antlr.TerminalNode | null;
2384
2383
  KW_MERGE(): antlr.TerminalNode | null;
2385
2384
  KW_TEMPTABLE(): antlr.TerminalNode | null;
@@ -2389,6 +2388,8 @@ export declare class CreateViewContext extends antlr.ParserRuleContext {
2389
2388
  KW_WITH(): antlr.TerminalNode | null;
2390
2389
  KW_CHECK(): antlr.TerminalNode | null;
2391
2390
  KW_OPTION(): antlr.TerminalNode | null;
2391
+ COMMA(): antlr.TerminalNode[];
2392
+ COMMA(i: number): antlr.TerminalNode | null;
2392
2393
  KW_CASCADED(): antlr.TerminalNode | null;
2393
2394
  KW_LOCAL(): antlr.TerminalNode | null;
2394
2395
  get ruleIndex(): number;
@@ -2667,7 +2668,7 @@ export declare class CreateDefinitionsContext extends antlr.ParserRuleContext {
2667
2668
  }
2668
2669
  export declare class CreateDefinitionContext extends antlr.ParserRuleContext {
2669
2670
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2670
- columnName(): ColumnNameContext | null;
2671
+ columnNameCreate(): ColumnNameCreateContext | null;
2671
2672
  columnDefinition(): ColumnDefinitionContext | null;
2672
2673
  indexColumnNames(): IndexColumnNamesContext | null;
2673
2674
  KW_INDEX(): antlr.TerminalNode | null;
@@ -4885,17 +4886,22 @@ export declare class SelectStatementContext extends antlr.ParserRuleContext {
4885
4886
  get ruleIndex(): number;
4886
4887
  copyFrom(ctx: SelectStatementContext): void;
4887
4888
  }
4888
- export declare class UnionSelectContext extends SelectStatementContext {
4889
+ export declare class UnionAndLateralSelectContext extends SelectStatementContext {
4889
4890
  _unionType?: Token | null;
4890
4891
  constructor(ctx: SelectStatementContext);
4891
- querySpecificationNointo(): QuerySpecificationNointoContext;
4892
+ querySpecification(): QuerySpecificationContext[];
4893
+ querySpecification(i: number): QuerySpecificationContext | null;
4892
4894
  unionStatement(): UnionStatementContext[];
4893
4895
  unionStatement(i: number): UnionStatementContext | null;
4894
4896
  KW_UNION(): antlr.TerminalNode | null;
4897
+ COMMA(): antlr.TerminalNode[];
4898
+ COMMA(i: number): antlr.TerminalNode | null;
4899
+ lateralStatement(): LateralStatementContext[];
4900
+ lateralStatement(i: number): LateralStatementContext | null;
4895
4901
  orderByClause(): OrderByClauseContext | null;
4896
4902
  limitClause(): LimitClauseContext | null;
4897
4903
  lockClause(): LockClauseContext | null;
4898
- querySpecification(): QuerySpecificationContext | null;
4904
+ intoClause(): IntoClauseContext | null;
4899
4905
  queryExpression(): QueryExpressionContext | null;
4900
4906
  KW_ALL(): antlr.TerminalNode | null;
4901
4907
  KW_DISTINCT(): antlr.TerminalNode | null;
@@ -4903,14 +4909,14 @@ export declare class UnionSelectContext extends SelectStatementContext {
4903
4909
  exitRule(listener: MySqlParserListener): void;
4904
4910
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
4905
4911
  }
4906
- export declare class UnionParenthesisSelectContext extends SelectStatementContext {
4912
+ export declare class SelectExpressionContext extends SelectStatementContext {
4907
4913
  _unionType?: Token | null;
4908
4914
  constructor(ctx: SelectStatementContext);
4909
- queryExpressionNointo(): QueryExpressionNointoContext;
4910
- unionParenthesis(): UnionParenthesisContext[];
4911
- unionParenthesis(i: number): UnionParenthesisContext | null;
4915
+ queryExpression(): QueryExpressionContext[];
4916
+ queryExpression(i: number): QueryExpressionContext | null;
4917
+ unionStatement(): UnionStatementContext[];
4918
+ unionStatement(i: number): UnionStatementContext | null;
4912
4919
  KW_UNION(): antlr.TerminalNode | null;
4913
- queryExpression(): QueryExpressionContext | null;
4914
4920
  orderByClause(): OrderByClauseContext | null;
4915
4921
  limitClause(): LimitClauseContext | null;
4916
4922
  lockClause(): LockClauseContext | null;
@@ -4920,35 +4926,6 @@ export declare class UnionParenthesisSelectContext extends SelectStatementContex
4920
4926
  exitRule(listener: MySqlParserListener): void;
4921
4927
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
4922
4928
  }
4923
- export declare class SimpleSelectContext extends SelectStatementContext {
4924
- constructor(ctx: SelectStatementContext);
4925
- querySpecification(): QuerySpecificationContext | null;
4926
- lockClause(): LockClauseContext | null;
4927
- querySpecificationNointo(): QuerySpecificationNointoContext | null;
4928
- intoClause(): IntoClauseContext | null;
4929
- enterRule(listener: MySqlParserListener): void;
4930
- exitRule(listener: MySqlParserListener): void;
4931
- accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
4932
- }
4933
- export declare class ParenthesisSelectContext extends SelectStatementContext {
4934
- constructor(ctx: SelectStatementContext);
4935
- queryExpression(): QueryExpressionContext;
4936
- lockClause(): LockClauseContext | null;
4937
- enterRule(listener: MySqlParserListener): void;
4938
- exitRule(listener: MySqlParserListener): void;
4939
- accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
4940
- }
4941
- export declare class WithLateralStatementContext extends SelectStatementContext {
4942
- constructor(ctx: SelectStatementContext);
4943
- querySpecificationNointo(): QuerySpecificationNointoContext;
4944
- COMMA(): antlr.TerminalNode[];
4945
- COMMA(i: number): antlr.TerminalNode | null;
4946
- lateralStatement(): LateralStatementContext[];
4947
- lateralStatement(i: number): LateralStatementContext | null;
4948
- enterRule(listener: MySqlParserListener): void;
4949
- exitRule(listener: MySqlParserListener): void;
4950
- accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
4951
- }
4952
4929
  export declare class SetOperationsContext extends antlr.ParserRuleContext {
4953
4930
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
4954
4931
  queryExpressionBody(): QueryExpressionBodyContext;
@@ -5537,17 +5514,6 @@ export declare class QueryExpressionContext extends antlr.ParserRuleContext {
5537
5514
  exitRule(listener: MySqlParserListener): void;
5538
5515
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
5539
5516
  }
5540
- export declare class QueryExpressionNointoContext extends antlr.ParserRuleContext {
5541
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5542
- LR_BRACKET(): antlr.TerminalNode;
5543
- querySpecificationNointo(): QuerySpecificationNointoContext | null;
5544
- RR_BRACKET(): antlr.TerminalNode;
5545
- queryExpressionNointo(): QueryExpressionNointoContext | null;
5546
- get ruleIndex(): number;
5547
- enterRule(listener: MySqlParserListener): void;
5548
- exitRule(listener: MySqlParserListener): void;
5549
- accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
5550
- }
5551
5517
  export declare class QuerySpecificationContext extends antlr.ParserRuleContext {
5552
5518
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5553
5519
  KW_SELECT(): antlr.TerminalNode;
@@ -5555,24 +5521,8 @@ export declare class QuerySpecificationContext extends antlr.ParserRuleContext {
5555
5521
  fromClause(): FromClauseContext;
5556
5522
  selectSpec(): SelectSpecContext[];
5557
5523
  selectSpec(i: number): SelectSpecContext | null;
5558
- intoClause(): IntoClauseContext | null;
5559
- groupByClause(): GroupByClauseContext | null;
5560
- havingClause(): HavingClauseContext | null;
5561
- windowClause(): WindowClauseContext | null;
5562
- orderByClause(): OrderByClauseContext | null;
5563
- limitClause(): LimitClauseContext | null;
5564
- get ruleIndex(): number;
5565
- enterRule(listener: MySqlParserListener): void;
5566
- exitRule(listener: MySqlParserListener): void;
5567
- accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
5568
- }
5569
- export declare class QuerySpecificationNointoContext extends antlr.ParserRuleContext {
5570
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5571
- KW_SELECT(): antlr.TerminalNode;
5572
- selectElements(): SelectElementsContext;
5573
- fromClause(): FromClauseContext;
5574
- selectSpec(): SelectSpecContext[];
5575
- selectSpec(i: number): SelectSpecContext | null;
5524
+ intoClause(): IntoClauseContext[];
5525
+ intoClause(i: number): IntoClauseContext | null;
5576
5526
  groupByClause(): GroupByClauseContext | null;
5577
5527
  havingClause(): HavingClauseContext | null;
5578
5528
  windowClause(): WindowClauseContext | null;
@@ -5583,24 +5533,12 @@ export declare class QuerySpecificationNointoContext extends antlr.ParserRuleCon
5583
5533
  exitRule(listener: MySqlParserListener): void;
5584
5534
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
5585
5535
  }
5586
- export declare class UnionParenthesisContext extends antlr.ParserRuleContext {
5587
- _unionType?: Token | null;
5588
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5589
- KW_UNION(): antlr.TerminalNode;
5590
- queryExpressionNointo(): QueryExpressionNointoContext;
5591
- KW_ALL(): antlr.TerminalNode | null;
5592
- KW_DISTINCT(): antlr.TerminalNode | null;
5593
- get ruleIndex(): number;
5594
- enterRule(listener: MySqlParserListener): void;
5595
- exitRule(listener: MySqlParserListener): void;
5596
- accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
5597
- }
5598
5536
  export declare class UnionStatementContext extends antlr.ParserRuleContext {
5599
5537
  _unionType?: Token | null;
5600
5538
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5601
5539
  KW_UNION(): antlr.TerminalNode;
5602
- querySpecificationNointo(): QuerySpecificationNointoContext | null;
5603
- queryExpressionNointo(): QueryExpressionNointoContext | null;
5540
+ querySpecification(): QuerySpecificationContext | null;
5541
+ queryExpression(): QueryExpressionContext | null;
5604
5542
  KW_ALL(): antlr.TerminalNode | null;
5605
5543
  KW_DISTINCT(): antlr.TerminalNode | null;
5606
5544
  get ruleIndex(): number;
@@ -5612,8 +5550,8 @@ export declare class LateralStatementContext extends antlr.ParserRuleContext {
5612
5550
  _alias?: UidContext;
5613
5551
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
5614
5552
  KW_LATERAL(): antlr.TerminalNode;
5615
- querySpecificationNointo(): QuerySpecificationNointoContext | null;
5616
- queryExpressionNointo(): QueryExpressionNointoContext | null;
5553
+ querySpecification(): QuerySpecificationContext | null;
5554
+ queryExpression(): QueryExpressionContext | null;
5617
5555
  LR_BRACKET(): antlr.TerminalNode | null;
5618
5556
  RR_BRACKET(): antlr.TerminalNode | null;
5619
5557
  uid(): UidContext | null;
@@ -7613,6 +7551,7 @@ export declare class AlterUserAuthOptionContext extends antlr.ParserRuleContext
7613
7551
  authenticationRule(): AuthenticationRuleContext | null;
7614
7552
  KW_DISCARD(): antlr.TerminalNode | null;
7615
7553
  KW_OLD(): antlr.TerminalNode | null;
7554
+ registrationOption(): RegistrationOptionContext | null;
7616
7555
  factor(): FactorContext[];
7617
7556
  factor(i: number): FactorContext | null;
7618
7557
  KW_ADD(): antlr.TerminalNode[];
@@ -7623,7 +7562,6 @@ export declare class AlterUserAuthOptionContext extends antlr.ParserRuleContext
7623
7562
  KW_DROP(i: number): antlr.TerminalNode | null;
7624
7563
  factorAuthOption(): FactorAuthOptionContext[];
7625
7564
  factorAuthOption(i: number): FactorAuthOptionContext | null;
7626
- registrationOption(): RegistrationOptionContext | null;
7627
7565
  get ruleIndex(): number;
7628
7566
  enterRule(listener: MySqlParserListener): void;
7629
7567
  exitRule(listener: MySqlParserListener): void;
@@ -8395,7 +8333,7 @@ export declare class ShowCreateFunctionContext extends ShowStatementContext {
8395
8333
  KW_SHOW(): antlr.TerminalNode;
8396
8334
  KW_CREATE(): antlr.TerminalNode;
8397
8335
  KW_FUNCTION(): antlr.TerminalNode;
8398
- functionNameCreate(): FunctionNameCreateContext;
8336
+ functionName(): FunctionNameContext;
8399
8337
  enterRule(listener: MySqlParserListener): void;
8400
8338
  exitRule(listener: MySqlParserListener): void;
8401
8339
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
@@ -8456,7 +8394,7 @@ export declare class ShowCreateDbContext extends ShowStatementContext {
8456
8394
  constructor(ctx: ShowStatementContext);
8457
8395
  KW_SHOW(): antlr.TerminalNode;
8458
8396
  KW_CREATE(): antlr.TerminalNode;
8459
- databaseNameCreate(): DatabaseNameCreateContext;
8397
+ databaseName(): DatabaseNameContext;
8460
8398
  KW_DATABASE(): antlr.TerminalNode | null;
8461
8399
  KW_SCHEMA(): antlr.TerminalNode | null;
8462
8400
  ifNotExists(): IfNotExistsContext | null;
@@ -8573,7 +8511,7 @@ export declare class ShowCreateTableContext extends ShowStatementContext {
8573
8511
  KW_SHOW(): antlr.TerminalNode;
8574
8512
  KW_CREATE(): antlr.TerminalNode;
8575
8513
  KW_TABLE(): antlr.TerminalNode;
8576
- tableNameCreate(): TableNameCreateContext;
8514
+ tableName(): TableNameContext;
8577
8515
  enterRule(listener: MySqlParserListener): void;
8578
8516
  exitRule(listener: MySqlParserListener): void;
8579
8517
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
@@ -8625,7 +8563,7 @@ export declare class ShowCreateViewContext extends ShowStatementContext {
8625
8563
  KW_SHOW(): antlr.TerminalNode;
8626
8564
  KW_CREATE(): antlr.TerminalNode;
8627
8565
  KW_VIEW(): antlr.TerminalNode;
8628
- viewNameCreate(): ViewNameCreateContext;
8566
+ viewName(): ViewNameContext;
8629
8567
  enterRule(listener: MySqlParserListener): void;
8630
8568
  exitRule(listener: MySqlParserListener): void;
8631
8569
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
@@ -10117,8 +10055,8 @@ export declare class PasswordFunctionCallContext extends FunctionCallContext {
10117
10055
  export declare class UdfFunctionCallContext extends FunctionCallContext {
10118
10056
  constructor(ctx: FunctionCallContext);
10119
10057
  functionName(): FunctionNameContext;
10120
- LR_BRACKET(): antlr.TerminalNode;
10121
- RR_BRACKET(): antlr.TerminalNode;
10058
+ LR_BRACKET(): antlr.TerminalNode | null;
10059
+ RR_BRACKET(): antlr.TerminalNode | null;
10122
10060
  functionArgs(): FunctionArgsContext | null;
10123
10061
  enterRule(listener: MySqlParserListener): void;
10124
10062
  exitRule(listener: MySqlParserListener): void;
@@ -10141,8 +10079,8 @@ export declare class AggregateFunctionCallContext extends FunctionCallContext {
10141
10079
  export declare class ScalarFunctionCallContext extends FunctionCallContext {
10142
10080
  constructor(ctx: FunctionCallContext);
10143
10081
  scalarFunctionName(): ScalarFunctionNameContext;
10144
- LR_BRACKET(): antlr.TerminalNode;
10145
- RR_BRACKET(): antlr.TerminalNode;
10082
+ LR_BRACKET(): antlr.TerminalNode | null;
10083
+ RR_BRACKET(): antlr.TerminalNode | null;
10146
10084
  functionArgs(): FunctionArgsContext | null;
10147
10085
  enterRule(listener: MySqlParserListener): void;
10148
10086
  exitRule(listener: MySqlParserListener): void;
@@ -10641,7 +10579,6 @@ export declare class FunctionArgsContext extends antlr.ParserRuleContext {
10641
10579
  export declare class FunctionArgContext extends antlr.ParserRuleContext {
10642
10580
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
10643
10581
  constant(): ConstantContext | null;
10644
- columnName(): ColumnNameContext | null;
10645
10582
  functionCall(): FunctionCallContext | null;
10646
10583
  expression(): ExpressionContext | null;
10647
10584
  get ruleIndex(): number;
@@ -10715,21 +10652,6 @@ export declare class ExpressionAtomPredicateContext extends PredicateContext {
10715
10652
  exitRule(listener: MySqlParserListener): void;
10716
10653
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
10717
10654
  }
10718
- export declare class SubqueryComparisonPredicateContext extends PredicateContext {
10719
- _quantifier?: Token | null;
10720
- constructor(ctx: PredicateContext);
10721
- predicate(): PredicateContext;
10722
- comparisonOperator(): ComparisonOperatorContext;
10723
- LR_BRACKET(): antlr.TerminalNode;
10724
- selectStatement(): SelectStatementContext;
10725
- RR_BRACKET(): antlr.TerminalNode;
10726
- KW_ALL(): antlr.TerminalNode | null;
10727
- KW_ANY(): antlr.TerminalNode | null;
10728
- KW_SOME(): antlr.TerminalNode | null;
10729
- enterRule(listener: MySqlParserListener): void;
10730
- exitRule(listener: MySqlParserListener): void;
10731
- accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
10732
- }
10733
10655
  export declare class JsonMemberOfPredicateContext extends PredicateContext {
10734
10656
  constructor(ctx: PredicateContext);
10735
10657
  predicate(): PredicateContext[];
@@ -10743,12 +10665,19 @@ export declare class JsonMemberOfPredicateContext extends PredicateContext {
10743
10665
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
10744
10666
  }
10745
10667
  export declare class BinaryComparisonPredicateContext extends PredicateContext {
10746
- _left?: PredicateContext;
10668
+ _quantifier?: Token | null;
10669
+ _subQuery?: SelectStatementContext;
10747
10670
  _right?: PredicateContext;
10748
10671
  constructor(ctx: PredicateContext);
10749
- comparisonOperator(): ComparisonOperatorContext;
10750
10672
  predicate(): PredicateContext[];
10751
10673
  predicate(i: number): PredicateContext | null;
10674
+ comparisonOperator(): ComparisonOperatorContext;
10675
+ LR_BRACKET(): antlr.TerminalNode | null;
10676
+ RR_BRACKET(): antlr.TerminalNode | null;
10677
+ selectStatement(): SelectStatementContext | null;
10678
+ KW_ALL(): antlr.TerminalNode | null;
10679
+ KW_ANY(): antlr.TerminalNode | null;
10680
+ KW_SOME(): antlr.TerminalNode | null;
10752
10681
  enterRule(listener: MySqlParserListener): void;
10753
10682
  exitRule(listener: MySqlParserListener): void;
10754
10683
  accept<Result>(visitor: MySqlParserVisitor<Result>): Result | null;
@@ -10977,11 +10906,11 @@ export declare class UnaryOperatorContext extends antlr.ParserRuleContext {
10977
10906
  }
10978
10907
  export declare class ComparisonOperatorContext extends antlr.ParserRuleContext {
10979
10908
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
10980
- comparisonBase(): ComparisonBaseContext | null;
10981
10909
  LESS_SYMBOL(): antlr.TerminalNode | null;
10982
10910
  GREATER_SYMBOL(): antlr.TerminalNode | null;
10983
10911
  EXCLAMATION_SYMBOL(): antlr.TerminalNode | null;
10984
10912
  EQUAL_SYMBOL(): antlr.TerminalNode | null;
10913
+ comparisonBase(): ComparisonBaseContext | null;
10985
10914
  get ruleIndex(): number;
10986
10915
  enterRule(listener: MySqlParserListener): void;
10987
10916
  exitRule(listener: MySqlParserListener): void;
@@ -10989,9 +10918,9 @@ export declare class ComparisonOperatorContext extends antlr.ParserRuleContext {
10989
10918
  }
10990
10919
  export declare class ComparisonBaseContext extends antlr.ParserRuleContext {
10991
10920
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
10921
+ LESS_SYMBOL(): antlr.TerminalNode | null;
10992
10922
  EQUAL_SYMBOL(): antlr.TerminalNode | null;
10993
10923
  GREATER_SYMBOL(): antlr.TerminalNode | null;
10994
- LESS_SYMBOL(): antlr.TerminalNode | null;
10995
10924
  get ruleIndex(): number;
10996
10925
  enterRule(listener: MySqlParserListener): void;
10997
10926
  exitRule(listener: MySqlParserListener): void;