@@ -43810,49 +43810,49 @@ export class MySqlParser extends SQLParserBase {
43810
43810
}
43811
43811
break;
43812
43812
case 7:
43813
- localContext = new CaseExpressionFunctionCallContext (localContext);
43813
+ localContext = new CaseFunctionCallContext (localContext);
43814
43814
this.enterOuterAlt(localContext, 7);
43815
43815
{
43816
43816
this.state = 7424;
43817
43817
this.match(MySqlParser.KW_CASE);
43818
- this.state = 7425;
43819
- this.expression(0);
43820
- this.state = 7427;
43818
+ this.state = 7426;
43821
43819
this.errorHandler.sync(this);
43822
43820
_la = this.tokenStream.LA(1);
43823
43821
do {
43824
43822
{
43825
43823
{
43826
- this.state = 7426 ;
43824
+ this.state = 7425 ;
43827
43825
this.caseFuncAlternative();
43828
43826
}
43829
43827
}
43830
- this.state = 7429 ;
43828
+ this.state = 7428 ;
43831
43829
this.errorHandler.sync(this);
43832
43830
_la = this.tokenStream.LA(1);
43833
43831
} while (_la === 191);
43834
- this.state = 7433 ;
43832
+ this.state = 7432 ;
43835
43833
this.errorHandler.sync(this);
43836
43834
_la = this.tokenStream.LA(1);
43837
43835
if (_la === 53) {
43838
43836
{
43839
- this.state = 7431 ;
43837
+ this.state = 7430 ;
43840
43838
this.match(MySqlParser.KW_ELSE);
43841
- this.state = 7432 ;
43842
- (localContext as CaseExpressionFunctionCallContext )._elseArg = this.functionArg();
43839
+ this.state = 7431 ;
43840
+ (localContext as CaseFunctionCallContext )._elseArg = this.functionArg();
43843
43841
}
43844
43842
}
43845
43843
43846
- this.state = 7435 ;
43844
+ this.state = 7434 ;
43847
43845
this.match(MySqlParser.KW_END);
43848
43846
}
43849
43847
break;
43850
43848
case 8:
43851
- localContext = new CaseFunctionCallContext (localContext);
43849
+ localContext = new CaseExpressionFunctionCallContext (localContext);
43852
43850
this.enterOuterAlt(localContext, 8);
43853
43851
{
43854
- this.state = 7437 ;
43852
+ this.state = 7436 ;
43855
43853
this.match(MySqlParser.KW_CASE);
43854
+ this.state = 7437;
43855
+ this.expression(0);
43856
43856
this.state = 7439;
43857
43857
this.errorHandler.sync(this);
43858
43858
_la = this.tokenStream.LA(1);
@@ -43875,7 +43875,7 @@ export class MySqlParser extends SQLParserBase {
43875
43875
this.state = 7443;
43876
43876
this.match(MySqlParser.KW_ELSE);
43877
43877
this.state = 7444;
43878
- (localContext as CaseFunctionCallContext )._elseArg = this.functionArg();
43878
+ (localContext as CaseExpressionFunctionCallContext )._elseArg = this.functionArg();
43879
43879
}
43880
43880
}
43881
43881
@@ -48262,8 +48262,8 @@ export class MySqlParser extends SQLParserBase {
48262
48262
7388,8,380,1,380,3,380,7391,8,380,1,381,1,381,1,381,3,381,7396,8,
48263
48263
381,1,381,1,381,1,381,1,381,1,381,1,381,1,381,1,381,1,381,1,381,
48264
48264
1,381,1,381,1,381,1,381,1,381,1,381,1,381,1,381,1,381,1,381,1,381,
48265
- 1,381,1,381,1,381,1,381,1,381,1,381,1,381,1,381,1 ,381,4,381,7428 ,
48266
- 8,381, 11,381,12,381,7429 ,1,381,1,381,3,381,7434,8 ,381,1,381,1,381,
48265
+ 1,381,1,381,1,381,1,381,1,381,1,381,1,381,1,381,4 ,381,7427,8,381 ,
48266
+ 11,381,12,381,7428 ,1,381,1,381,3,381,7433,8,381,1 ,381,1,381,1,381,
48267
48267
1,381,1,381,4,381,7440,8,381,11,381,12,381,7441,1,381,1,381,3,381,
48268
48268
7446,8,381,1,381,1,381,1,381,1,381,1,381,1,381,1,381,3,381,7455,
48269
48269
8,381,1,381,1,381,1,381,1,381,1,381,1,381,3,381,7463,8,381,1,381,
@@ -50909,11 +50909,11 @@ export class MySqlParser extends SQLParserBase {
50909
50909
7414,5,866,0,0,7414,7415,3,800,400,0,7415,7416,5,13,0,0,7416,7417,
50910
50910
3,726,363,0,7417,7418,5,867,0,0,7418,7572,1,0,0,0,7419,7420,5,189,
50911
50911
0,0,7420,7421,5,866,0,0,7421,7422,3,658,329,0,7422,7423,5,867,0,
50912
- 0,7423,7572,1,0,0,0,7424,7425 ,5,23,0,0,7425,7427,3,800,400 ,0,7426,
50913
- 7428,3,764,382 ,0,7427,7426 ,1,0,0,0,7428,7429 ,1,0,0,0,7429,7427,1 ,
50914
- 0,0,0, 7429,7430 ,1,0,0,0,7430,7433,1,0 ,0,0,7431,7432,5,53,0 ,0,7432,
50915
- 7434,3,798,399 ,0,7433,7431, 1,0,0,0,7433,7434,1,0,0,0,7434,7435,1 ,
50916
- 0,0,0, 7435,7436,5,378 ,0,0,7436,7572,1,0 ,0,0,7437,7439,5,23,0 ,0,7438,
50912
+ 0,7423,7572,1,0,0,0,7424,7426 ,5,23,0,0,7425,7427,3,764,382 ,0,7426,
50913
+ 7425,1,0,0 ,0,7427,7428 ,1,0,0,0,7428,7426 ,1,0,0,0,7428, 7429,1,0,0 ,
50914
+ 0,7429,7432 ,1,0,0,0,7430,7431,5,53 ,0,0,7431,7433,3,798,399 ,0,7432,
50915
+ 7430,1,0,0 ,0,7432, 7433,1,0,0,0,7433,7434,1,0,0,0,7434,7435,5,378 ,
50916
+ 0,0,7435,7572,1,0 ,0,0,7436,7437,5,23 ,0,0,7437,7439,3,800,400 ,0,7438,
50917
50917
7440,3,764,382,0,7439,7438,1,0,0,0,7440,7441,1,0,0,0,7441,7439,1,
50918
50918
0,0,0,7441,7442,1,0,0,0,7442,7445,1,0,0,0,7443,7444,5,53,0,0,7444,
50919
50919
7446,3,798,399,0,7445,7443,1,0,0,0,7445,7446,1,0,0,0,7446,7447,1,
@@ -50961,7 +50961,7 @@ export class MySqlParser extends SQLParserBase {
50961
50961
7568,3,288,144,0,7567,7566,1,0,0,0,7567,7568,1,0,0,0,7568,7569,1,
50962
50962
0,0,0,7569,7570,5,867,0,0,7570,7572,1,0,0,0,7571,7392,1,0,0,0,7571,
50963
50963
7397,1,0,0,0,7571,7398,1,0,0,0,7571,7405,1,0,0,0,7571,7412,1,0,0,
50964
- 0,7571,7419,1,0,0,0,7571,7424,1,0,0,0,7571,7437 ,1,0,0,0,7571,7449,
50964
+ 0,7571,7419,1,0,0,0,7571,7424,1,0,0,0,7571,7436 ,1,0,0,0,7571,7449,
50965
50965
1,0,0,0,7571,7458,1,0,0,0,7571,7471,1,0,0,0,7571,7491,1,0,0,0,7571,
50966
50966
7505,1,0,0,0,7571,7518,1,0,0,0,7571,7537,1,0,0,0,7571,7547,1,0,0,
50967
50967
0,7571,7554,1,0,0,0,7572,763,1,0,0,0,7573,7574,5,191,0,0,7574,7575,
@@ -51211,7 +51211,7 @@ export class MySqlParser extends SQLParserBase {
51211
51211
7095,7098,7103,7106,7110,7115,7120,7125,7130,7133,7138,7143,7148,
51212
51212
7154,7159,7164,7169,7173,7176,7181,7185,7189,7197,7204,7208,7213,
51213
51213
7218,7222,7224,7227,7243,7253,7263,7272,7281,7288,7295,7303,7311,
51214
- 7323,7330,7340,7345,7348,7353,7356,7378,7387,7390,7395,7429,7433 ,
51214
+ 7323,7330,7340,7345,7348,7353,7356,7378,7387,7390,7395,7428,7432 ,
51215
51215
7441,7445,7454,7462,7467,7475,7480,7485,7487,7496,7501,7509,7514,
51216
51216
7522,7530,7533,7543,7561,7564,7567,7571,7584,7592,7596,7601,7606,
51217
51217
7612,7617,7621,7626,7631,7636,7646,7649,7653,7657,7664,7668,7697,
0 commit comments