vtlengine 1.0.3rc3__py3-none-any.whl → 1.1__py3-none-any.whl
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.
Potentially problematic release.
This version of vtlengine might be problematic. Click here for more details.
- vtlengine/API/_InternalApi.py +288 -61
- vtlengine/API/__init__.py +269 -71
- vtlengine/API/data/schema/json_schema_2.1.json +116 -0
- vtlengine/AST/ASTComment.py +56 -0
- vtlengine/AST/ASTConstructor.py +76 -22
- vtlengine/AST/ASTConstructorModules/Expr.py +238 -120
- vtlengine/AST/ASTConstructorModules/ExprComponents.py +126 -61
- vtlengine/AST/ASTConstructorModules/Terminals.py +97 -42
- vtlengine/AST/ASTConstructorModules/__init__.py +50 -0
- vtlengine/AST/ASTEncoders.py +5 -1
- vtlengine/AST/ASTString.py +608 -0
- vtlengine/AST/ASTTemplate.py +28 -2
- vtlengine/AST/DAG/__init__.py +10 -4
- vtlengine/AST/Grammar/lexer.py +0 -1
- vtlengine/AST/Grammar/parser.py +185 -440
- vtlengine/AST/VtlVisitor.py +0 -1
- vtlengine/AST/__init__.py +127 -14
- vtlengine/DataTypes/TimeHandling.py +50 -15
- vtlengine/DataTypes/__init__.py +79 -7
- vtlengine/Exceptions/__init__.py +3 -5
- vtlengine/Exceptions/messages.py +74 -105
- vtlengine/Interpreter/__init__.py +136 -46
- vtlengine/Model/__init__.py +14 -11
- vtlengine/Operators/Aggregation.py +17 -9
- vtlengine/Operators/Analytic.py +64 -20
- vtlengine/Operators/Assignment.py +0 -1
- vtlengine/Operators/CastOperator.py +44 -44
- vtlengine/Operators/Clause.py +16 -10
- vtlengine/Operators/Comparison.py +20 -12
- vtlengine/Operators/Conditional.py +47 -15
- vtlengine/Operators/General.py +9 -4
- vtlengine/Operators/HROperators.py +4 -14
- vtlengine/Operators/Join.py +15 -14
- vtlengine/Operators/Numeric.py +32 -26
- vtlengine/Operators/RoleSetter.py +6 -2
- vtlengine/Operators/Set.py +12 -8
- vtlengine/Operators/String.py +9 -9
- vtlengine/Operators/Time.py +145 -124
- vtlengine/Operators/Validation.py +10 -4
- vtlengine/Operators/__init__.py +56 -69
- vtlengine/Utils/__init__.py +55 -1
- vtlengine/__extras_check.py +17 -0
- vtlengine/__init__.py +2 -2
- vtlengine/files/output/__init__.py +2 -1
- vtlengine/files/output/_time_period_representation.py +2 -1
- vtlengine/files/parser/__init__.py +52 -46
- vtlengine/files/parser/_time_checking.py +4 -4
- {vtlengine-1.0.3rc3.dist-info → vtlengine-1.1.dist-info}/METADATA +21 -17
- vtlengine-1.1.dist-info/RECORD +61 -0
- {vtlengine-1.0.3rc3.dist-info → vtlengine-1.1.dist-info}/WHEEL +1 -1
- vtlengine/DataTypes/NumericTypesHandling.py +0 -38
- vtlengine-1.0.3rc3.dist-info/RECORD +0 -58
- {vtlengine-1.0.3rc3.dist-info → vtlengine-1.1.dist-info}/LICENSE.md +0 -0
vtlengine/AST/Grammar/parser.py
CHANGED
|
@@ -973,7 +973,6 @@ def serializedATN():
|
|
|
973
973
|
|
|
974
974
|
|
|
975
975
|
class Parser(Parser):
|
|
976
|
-
|
|
977
976
|
grammarFileName = "Vtl.g4"
|
|
978
977
|
|
|
979
978
|
atn = ATNDeserializer().deserialize(serializedATN())
|
|
@@ -2003,7 +2002,6 @@ class Parser(Parser):
|
|
|
2003
2002
|
listener.exitStart(self)
|
|
2004
2003
|
|
|
2005
2004
|
def start(self) -> StartContext:
|
|
2006
|
-
|
|
2007
2005
|
localctx = Parser.StartContext(self, self._ctx, self.state)
|
|
2008
2006
|
self.enterRule(localctx, 0, self.RULE_start)
|
|
2009
2007
|
self._la = 0 # Token type
|
|
@@ -2045,7 +2043,6 @@ class Parser(Parser):
|
|
|
2045
2043
|
super().copyFrom(ctx)
|
|
2046
2044
|
|
|
2047
2045
|
class DefineExpressionContext(StatementContext):
|
|
2048
|
-
|
|
2049
2046
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.StatementContext
|
|
2050
2047
|
super().__init__(parser)
|
|
2051
2048
|
self.copyFrom(ctx)
|
|
@@ -2062,7 +2059,6 @@ class Parser(Parser):
|
|
|
2062
2059
|
listener.exitDefineExpression(self)
|
|
2063
2060
|
|
|
2064
2061
|
class TemporaryAssignmentContext(StatementContext):
|
|
2065
|
-
|
|
2066
2062
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.StatementContext
|
|
2067
2063
|
super().__init__(parser)
|
|
2068
2064
|
self.copyFrom(ctx)
|
|
@@ -2085,7 +2081,6 @@ class Parser(Parser):
|
|
|
2085
2081
|
listener.exitTemporaryAssignment(self)
|
|
2086
2082
|
|
|
2087
2083
|
class PersistAssignmentContext(StatementContext):
|
|
2088
|
-
|
|
2089
2084
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.StatementContext
|
|
2090
2085
|
super().__init__(parser)
|
|
2091
2086
|
self.copyFrom(ctx)
|
|
@@ -2108,7 +2103,6 @@ class Parser(Parser):
|
|
|
2108
2103
|
listener.exitPersistAssignment(self)
|
|
2109
2104
|
|
|
2110
2105
|
def statement(self):
|
|
2111
|
-
|
|
2112
2106
|
localctx = Parser.StatementContext(self, self._ctx, self.state)
|
|
2113
2107
|
self.enterRule(localctx, 2, self.RULE_statement)
|
|
2114
2108
|
try:
|
|
@@ -2166,7 +2160,6 @@ class Parser(Parser):
|
|
|
2166
2160
|
super().copyFrom(ctx)
|
|
2167
2161
|
|
|
2168
2162
|
class VarIdExprContext(ExprContext):
|
|
2169
|
-
|
|
2170
2163
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.ExprContext
|
|
2171
2164
|
super().__init__(parser)
|
|
2172
2165
|
self.copyFrom(ctx)
|
|
@@ -2183,7 +2176,6 @@ class Parser(Parser):
|
|
|
2183
2176
|
listener.exitVarIdExpr(self)
|
|
2184
2177
|
|
|
2185
2178
|
class MembershipExprContext(ExprContext):
|
|
2186
|
-
|
|
2187
2179
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.ExprContext
|
|
2188
2180
|
super().__init__(parser)
|
|
2189
2181
|
self.copyFrom(ctx)
|
|
@@ -2206,7 +2198,6 @@ class Parser(Parser):
|
|
|
2206
2198
|
listener.exitMembershipExpr(self)
|
|
2207
2199
|
|
|
2208
2200
|
class InNotInExprContext(ExprContext):
|
|
2209
|
-
|
|
2210
2201
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.ExprContext
|
|
2211
2202
|
super().__init__(parser)
|
|
2212
2203
|
self.left = None # ExprContext
|
|
@@ -2237,7 +2228,6 @@ class Parser(Parser):
|
|
|
2237
2228
|
listener.exitInNotInExpr(self)
|
|
2238
2229
|
|
|
2239
2230
|
class BooleanExprContext(ExprContext):
|
|
2240
|
-
|
|
2241
2231
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.ExprContext
|
|
2242
2232
|
super().__init__(parser)
|
|
2243
2233
|
self.left = None # ExprContext
|
|
@@ -2269,7 +2259,6 @@ class Parser(Parser):
|
|
|
2269
2259
|
listener.exitBooleanExpr(self)
|
|
2270
2260
|
|
|
2271
2261
|
class ComparisonExprContext(ExprContext):
|
|
2272
|
-
|
|
2273
2262
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.ExprContext
|
|
2274
2263
|
super().__init__(parser)
|
|
2275
2264
|
self.left = None # ExprContext
|
|
@@ -2295,7 +2284,6 @@ class Parser(Parser):
|
|
|
2295
2284
|
listener.exitComparisonExpr(self)
|
|
2296
2285
|
|
|
2297
2286
|
class UnaryExprContext(ExprContext):
|
|
2298
|
-
|
|
2299
2287
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.ExprContext
|
|
2300
2288
|
super().__init__(parser)
|
|
2301
2289
|
self.op = None # Token
|
|
@@ -2323,7 +2311,6 @@ class Parser(Parser):
|
|
|
2323
2311
|
listener.exitUnaryExpr(self)
|
|
2324
2312
|
|
|
2325
2313
|
class FunctionsExpressionContext(ExprContext):
|
|
2326
|
-
|
|
2327
2314
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.ExprContext
|
|
2328
2315
|
super().__init__(parser)
|
|
2329
2316
|
self.copyFrom(ctx)
|
|
@@ -2340,7 +2327,6 @@ class Parser(Parser):
|
|
|
2340
2327
|
listener.exitFunctionsExpression(self)
|
|
2341
2328
|
|
|
2342
2329
|
class IfExprContext(ExprContext):
|
|
2343
|
-
|
|
2344
2330
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.ExprContext
|
|
2345
2331
|
super().__init__(parser)
|
|
2346
2332
|
self.conditionalExpr = None # ExprContext
|
|
@@ -2372,7 +2358,6 @@ class Parser(Parser):
|
|
|
2372
2358
|
listener.exitIfExpr(self)
|
|
2373
2359
|
|
|
2374
2360
|
class ClauseExprContext(ExprContext):
|
|
2375
|
-
|
|
2376
2361
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.ExprContext
|
|
2377
2362
|
super().__init__(parser)
|
|
2378
2363
|
self.dataset = None # ExprContext
|
|
@@ -2400,7 +2385,6 @@ class Parser(Parser):
|
|
|
2400
2385
|
listener.exitClauseExpr(self)
|
|
2401
2386
|
|
|
2402
2387
|
class CaseExprContext(ExprContext):
|
|
2403
|
-
|
|
2404
2388
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.ExprContext
|
|
2405
2389
|
super().__init__(parser)
|
|
2406
2390
|
self.copyFrom(ctx)
|
|
@@ -2438,7 +2422,6 @@ class Parser(Parser):
|
|
|
2438
2422
|
listener.exitCaseExpr(self)
|
|
2439
2423
|
|
|
2440
2424
|
class ArithmeticExprContext(ExprContext):
|
|
2441
|
-
|
|
2442
2425
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.ExprContext
|
|
2443
2426
|
super().__init__(parser)
|
|
2444
2427
|
self.left = None # ExprContext
|
|
@@ -2467,7 +2450,6 @@ class Parser(Parser):
|
|
|
2467
2450
|
listener.exitArithmeticExpr(self)
|
|
2468
2451
|
|
|
2469
2452
|
class ParenthesisExprContext(ExprContext):
|
|
2470
|
-
|
|
2471
2453
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.ExprContext
|
|
2472
2454
|
super().__init__(parser)
|
|
2473
2455
|
self.copyFrom(ctx)
|
|
@@ -2490,7 +2472,6 @@ class Parser(Parser):
|
|
|
2490
2472
|
listener.exitParenthesisExpr(self)
|
|
2491
2473
|
|
|
2492
2474
|
class ConstantExprContext(ExprContext):
|
|
2493
|
-
|
|
2494
2475
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.ExprContext
|
|
2495
2476
|
super().__init__(parser)
|
|
2496
2477
|
self.copyFrom(ctx)
|
|
@@ -2507,7 +2488,6 @@ class Parser(Parser):
|
|
|
2507
2488
|
listener.exitConstantExpr(self)
|
|
2508
2489
|
|
|
2509
2490
|
class ArithmeticExprOrConcatContext(ExprContext):
|
|
2510
|
-
|
|
2511
2491
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.ExprContext
|
|
2512
2492
|
super().__init__(parser)
|
|
2513
2493
|
self.left = None # ExprContext
|
|
@@ -2580,14 +2560,11 @@ class Parser(Parser):
|
|
|
2580
2560
|
localctx.op = self._input.LT(1)
|
|
2581
2561
|
_la = self._input.LA(1)
|
|
2582
2562
|
if not (
|
|
2583
|
-
(
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
(1 << _la)
|
|
2587
|
-
& ((1 << Parser.PLUS) | (1 << Parser.MINUS) | (1 << Parser.NOT))
|
|
2588
|
-
)
|
|
2589
|
-
!= 0
|
|
2563
|
+
((_la) & ~0x3F) == 0
|
|
2564
|
+
and (
|
|
2565
|
+
(1 << _la) & ((1 << Parser.PLUS) | (1 << Parser.MINUS) | (1 << Parser.NOT))
|
|
2590
2566
|
)
|
|
2567
|
+
!= 0
|
|
2591
2568
|
):
|
|
2592
2569
|
localctx.op = self._errHandler.recoverInline(self)
|
|
2593
2570
|
else:
|
|
@@ -2872,7 +2849,6 @@ class Parser(Parser):
|
|
|
2872
2849
|
super().copyFrom(ctx)
|
|
2873
2850
|
|
|
2874
2851
|
class ArithmeticExprCompContext(ExprComponentContext):
|
|
2875
|
-
|
|
2876
2852
|
def __init__(
|
|
2877
2853
|
self, parser, ctx: ParserRuleContext
|
|
2878
2854
|
): # actually a VtlParser.ExprComponentContext
|
|
@@ -2903,7 +2879,6 @@ class Parser(Parser):
|
|
|
2903
2879
|
listener.exitArithmeticExprComp(self)
|
|
2904
2880
|
|
|
2905
2881
|
class IfExprCompContext(ExprComponentContext):
|
|
2906
|
-
|
|
2907
2882
|
def __init__(
|
|
2908
2883
|
self, parser, ctx: ParserRuleContext
|
|
2909
2884
|
): # actually a VtlParser.ExprComponentContext
|
|
@@ -2937,7 +2912,6 @@ class Parser(Parser):
|
|
|
2937
2912
|
listener.exitIfExprComp(self)
|
|
2938
2913
|
|
|
2939
2914
|
class ComparisonExprCompContext(ExprComponentContext):
|
|
2940
|
-
|
|
2941
2915
|
def __init__(
|
|
2942
2916
|
self, parser, ctx: ParserRuleContext
|
|
2943
2917
|
): # actually a VtlParser.ExprComponentContext
|
|
@@ -2964,7 +2938,6 @@ class Parser(Parser):
|
|
|
2964
2938
|
listener.exitComparisonExprComp(self)
|
|
2965
2939
|
|
|
2966
2940
|
class FunctionsExpressionCompContext(ExprComponentContext):
|
|
2967
|
-
|
|
2968
2941
|
def __init__(
|
|
2969
2942
|
self, parser, ctx: ParserRuleContext
|
|
2970
2943
|
): # actually a VtlParser.ExprComponentContext
|
|
@@ -2983,7 +2956,6 @@ class Parser(Parser):
|
|
|
2983
2956
|
listener.exitFunctionsExpressionComp(self)
|
|
2984
2957
|
|
|
2985
2958
|
class CompIdContext(ExprComponentContext):
|
|
2986
|
-
|
|
2987
2959
|
def __init__(
|
|
2988
2960
|
self, parser, ctx: ParserRuleContext
|
|
2989
2961
|
): # actually a VtlParser.ExprComponentContext
|
|
@@ -3002,7 +2974,6 @@ class Parser(Parser):
|
|
|
3002
2974
|
listener.exitCompId(self)
|
|
3003
2975
|
|
|
3004
2976
|
class ConstantExprCompContext(ExprComponentContext):
|
|
3005
|
-
|
|
3006
2977
|
def __init__(
|
|
3007
2978
|
self, parser, ctx: ParserRuleContext
|
|
3008
2979
|
): # actually a VtlParser.ExprComponentContext
|
|
@@ -3021,7 +2992,6 @@ class Parser(Parser):
|
|
|
3021
2992
|
listener.exitConstantExprComp(self)
|
|
3022
2993
|
|
|
3023
2994
|
class ArithmeticExprOrConcatCompContext(ExprComponentContext):
|
|
3024
|
-
|
|
3025
2995
|
def __init__(
|
|
3026
2996
|
self, parser, ctx: ParserRuleContext
|
|
3027
2997
|
): # actually a VtlParser.ExprComponentContext
|
|
@@ -3055,7 +3025,6 @@ class Parser(Parser):
|
|
|
3055
3025
|
listener.exitArithmeticExprOrConcatComp(self)
|
|
3056
3026
|
|
|
3057
3027
|
class ParenthesisExprCompContext(ExprComponentContext):
|
|
3058
|
-
|
|
3059
3028
|
def __init__(
|
|
3060
3029
|
self, parser, ctx: ParserRuleContext
|
|
3061
3030
|
): # actually a VtlParser.ExprComponentContext
|
|
@@ -3080,7 +3049,6 @@ class Parser(Parser):
|
|
|
3080
3049
|
listener.exitParenthesisExprComp(self)
|
|
3081
3050
|
|
|
3082
3051
|
class InNotInExprCompContext(ExprComponentContext):
|
|
3083
|
-
|
|
3084
3052
|
def __init__(
|
|
3085
3053
|
self, parser, ctx: ParserRuleContext
|
|
3086
3054
|
): # actually a VtlParser.ExprComponentContext
|
|
@@ -3113,7 +3081,6 @@ class Parser(Parser):
|
|
|
3113
3081
|
listener.exitInNotInExprComp(self)
|
|
3114
3082
|
|
|
3115
3083
|
class UnaryExprCompContext(ExprComponentContext):
|
|
3116
|
-
|
|
3117
3084
|
def __init__(
|
|
3118
3085
|
self, parser, ctx: ParserRuleContext
|
|
3119
3086
|
): # actually a VtlParser.ExprComponentContext
|
|
@@ -3143,7 +3110,6 @@ class Parser(Parser):
|
|
|
3143
3110
|
listener.exitUnaryExprComp(self)
|
|
3144
3111
|
|
|
3145
3112
|
class CaseExprCompContext(ExprComponentContext):
|
|
3146
|
-
|
|
3147
3113
|
def __init__(
|
|
3148
3114
|
self, parser, ctx: ParserRuleContext
|
|
3149
3115
|
): # actually a VtlParser.ExprComponentContext
|
|
@@ -3183,7 +3149,6 @@ class Parser(Parser):
|
|
|
3183
3149
|
listener.exitCaseExprComp(self)
|
|
3184
3150
|
|
|
3185
3151
|
class BooleanExprCompContext(ExprComponentContext):
|
|
3186
|
-
|
|
3187
3152
|
def __init__(
|
|
3188
3153
|
self, parser, ctx: ParserRuleContext
|
|
3189
3154
|
): # actually a VtlParser.ExprComponentContext
|
|
@@ -3258,14 +3223,11 @@ class Parser(Parser):
|
|
|
3258
3223
|
localctx.op = self._input.LT(1)
|
|
3259
3224
|
_la = self._input.LA(1)
|
|
3260
3225
|
if not (
|
|
3261
|
-
(
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
(1 << _la)
|
|
3265
|
-
& ((1 << Parser.PLUS) | (1 << Parser.MINUS) | (1 << Parser.NOT))
|
|
3266
|
-
)
|
|
3267
|
-
!= 0
|
|
3226
|
+
((_la) & ~0x3F) == 0
|
|
3227
|
+
and (
|
|
3228
|
+
(1 << _la) & ((1 << Parser.PLUS) | (1 << Parser.MINUS) | (1 << Parser.NOT))
|
|
3268
3229
|
)
|
|
3230
|
+
!= 0
|
|
3269
3231
|
):
|
|
3270
3232
|
localctx.op = self._errHandler.recoverInline(self)
|
|
3271
3233
|
else:
|
|
@@ -3353,7 +3315,8 @@ class Parser(Parser):
|
|
|
3353
3315
|
la_ = self._interp.adaptivePredict(self._input, 10, self._ctx)
|
|
3354
3316
|
if la_ == 1:
|
|
3355
3317
|
localctx = Parser.ArithmeticExprCompContext(
|
|
3356
|
-
self,
|
|
3318
|
+
self,
|
|
3319
|
+
Parser.ExprComponentContext(self, _parentctx, _parentState),
|
|
3357
3320
|
)
|
|
3358
3321
|
localctx.left = _prevctx
|
|
3359
3322
|
self.pushNewRecursionContext(localctx, _startState, self.RULE_exprComponent)
|
|
@@ -3376,7 +3339,8 @@ class Parser(Parser):
|
|
|
3376
3339
|
|
|
3377
3340
|
elif la_ == 2:
|
|
3378
3341
|
localctx = Parser.ArithmeticExprOrConcatCompContext(
|
|
3379
|
-
self,
|
|
3342
|
+
self,
|
|
3343
|
+
Parser.ExprComponentContext(self, _parentctx, _parentState),
|
|
3380
3344
|
)
|
|
3381
3345
|
localctx.left = _prevctx
|
|
3382
3346
|
self.pushNewRecursionContext(localctx, _startState, self.RULE_exprComponent)
|
|
@@ -3399,7 +3363,8 @@ class Parser(Parser):
|
|
|
3399
3363
|
|
|
3400
3364
|
elif la_ == 3:
|
|
3401
3365
|
localctx = Parser.ComparisonExprCompContext(
|
|
3402
|
-
self,
|
|
3366
|
+
self,
|
|
3367
|
+
Parser.ExprComponentContext(self, _parentctx, _parentState),
|
|
3403
3368
|
)
|
|
3404
3369
|
localctx.left = _prevctx
|
|
3405
3370
|
self.pushNewRecursionContext(localctx, _startState, self.RULE_exprComponent)
|
|
@@ -3416,7 +3381,8 @@ class Parser(Parser):
|
|
|
3416
3381
|
|
|
3417
3382
|
elif la_ == 4:
|
|
3418
3383
|
localctx = Parser.BooleanExprCompContext(
|
|
3419
|
-
self,
|
|
3384
|
+
self,
|
|
3385
|
+
Parser.ExprComponentContext(self, _parentctx, _parentState),
|
|
3420
3386
|
)
|
|
3421
3387
|
localctx.left = _prevctx
|
|
3422
3388
|
self.pushNewRecursionContext(localctx, _startState, self.RULE_exprComponent)
|
|
@@ -3433,7 +3399,8 @@ class Parser(Parser):
|
|
|
3433
3399
|
|
|
3434
3400
|
elif la_ == 5:
|
|
3435
3401
|
localctx = Parser.BooleanExprCompContext(
|
|
3436
|
-
self,
|
|
3402
|
+
self,
|
|
3403
|
+
Parser.ExprComponentContext(self, _parentctx, _parentState),
|
|
3437
3404
|
)
|
|
3438
3405
|
localctx.left = _prevctx
|
|
3439
3406
|
self.pushNewRecursionContext(localctx, _startState, self.RULE_exprComponent)
|
|
@@ -3456,7 +3423,8 @@ class Parser(Parser):
|
|
|
3456
3423
|
|
|
3457
3424
|
elif la_ == 6:
|
|
3458
3425
|
localctx = Parser.InNotInExprCompContext(
|
|
3459
|
-
self,
|
|
3426
|
+
self,
|
|
3427
|
+
Parser.ExprComponentContext(self, _parentctx, _parentState),
|
|
3460
3428
|
)
|
|
3461
3429
|
localctx.left = _prevctx
|
|
3462
3430
|
self.pushNewRecursionContext(localctx, _startState, self.RULE_exprComponent)
|
|
@@ -3515,7 +3483,6 @@ class Parser(Parser):
|
|
|
3515
3483
|
super().copyFrom(ctx)
|
|
3516
3484
|
|
|
3517
3485
|
class NumericFunctionsComponentsContext(FunctionsComponentsContext):
|
|
3518
|
-
|
|
3519
3486
|
def __init__(
|
|
3520
3487
|
self, parser, ctx: ParserRuleContext
|
|
3521
3488
|
): # actually a VtlParser.FunctionsComponentsContext
|
|
@@ -3534,7 +3501,6 @@ class Parser(Parser):
|
|
|
3534
3501
|
listener.exitNumericFunctionsComponents(self)
|
|
3535
3502
|
|
|
3536
3503
|
class StringFunctionsComponentsContext(FunctionsComponentsContext):
|
|
3537
|
-
|
|
3538
3504
|
def __init__(
|
|
3539
3505
|
self, parser, ctx: ParserRuleContext
|
|
3540
3506
|
): # actually a VtlParser.FunctionsComponentsContext
|
|
@@ -3553,7 +3519,6 @@ class Parser(Parser):
|
|
|
3553
3519
|
listener.exitStringFunctionsComponents(self)
|
|
3554
3520
|
|
|
3555
3521
|
class ComparisonFunctionsComponentsContext(FunctionsComponentsContext):
|
|
3556
|
-
|
|
3557
3522
|
def __init__(
|
|
3558
3523
|
self, parser, ctx: ParserRuleContext
|
|
3559
3524
|
): # actually a VtlParser.FunctionsComponentsContext
|
|
@@ -3572,7 +3537,6 @@ class Parser(Parser):
|
|
|
3572
3537
|
listener.exitComparisonFunctionsComponents(self)
|
|
3573
3538
|
|
|
3574
3539
|
class TimeFunctionsComponentsContext(FunctionsComponentsContext):
|
|
3575
|
-
|
|
3576
3540
|
def __init__(
|
|
3577
3541
|
self, parser, ctx: ParserRuleContext
|
|
3578
3542
|
): # actually a VtlParser.FunctionsComponentsContext
|
|
@@ -3591,7 +3555,6 @@ class Parser(Parser):
|
|
|
3591
3555
|
listener.exitTimeFunctionsComponents(self)
|
|
3592
3556
|
|
|
3593
3557
|
class GenericFunctionsComponentsContext(FunctionsComponentsContext):
|
|
3594
|
-
|
|
3595
3558
|
def __init__(
|
|
3596
3559
|
self, parser, ctx: ParserRuleContext
|
|
3597
3560
|
): # actually a VtlParser.FunctionsComponentsContext
|
|
@@ -3610,7 +3573,6 @@ class Parser(Parser):
|
|
|
3610
3573
|
listener.exitGenericFunctionsComponents(self)
|
|
3611
3574
|
|
|
3612
3575
|
class AnalyticFunctionsComponentsContext(FunctionsComponentsContext):
|
|
3613
|
-
|
|
3614
3576
|
def __init__(
|
|
3615
3577
|
self, parser, ctx: ParserRuleContext
|
|
3616
3578
|
): # actually a VtlParser.FunctionsComponentsContext
|
|
@@ -3629,7 +3591,6 @@ class Parser(Parser):
|
|
|
3629
3591
|
listener.exitAnalyticFunctionsComponents(self)
|
|
3630
3592
|
|
|
3631
3593
|
class ConditionalFunctionsComponentsContext(FunctionsComponentsContext):
|
|
3632
|
-
|
|
3633
3594
|
def __init__(
|
|
3634
3595
|
self, parser, ctx: ParserRuleContext
|
|
3635
3596
|
): # actually a VtlParser.FunctionsComponentsContext
|
|
@@ -3648,7 +3609,6 @@ class Parser(Parser):
|
|
|
3648
3609
|
listener.exitConditionalFunctionsComponents(self)
|
|
3649
3610
|
|
|
3650
3611
|
class AggregateFunctionsComponentsContext(FunctionsComponentsContext):
|
|
3651
|
-
|
|
3652
3612
|
def __init__(
|
|
3653
3613
|
self, parser, ctx: ParserRuleContext
|
|
3654
3614
|
): # actually a VtlParser.FunctionsComponentsContext
|
|
@@ -3667,7 +3627,6 @@ class Parser(Parser):
|
|
|
3667
3627
|
listener.exitAggregateFunctionsComponents(self)
|
|
3668
3628
|
|
|
3669
3629
|
def functionsComponents(self):
|
|
3670
|
-
|
|
3671
3630
|
localctx = Parser.FunctionsComponentsContext(self, self._ctx, self.state)
|
|
3672
3631
|
self.enterRule(localctx, 8, self.RULE_functionsComponents)
|
|
3673
3632
|
try:
|
|
@@ -3752,7 +3711,6 @@ class Parser(Parser):
|
|
|
3752
3711
|
super().copyFrom(ctx)
|
|
3753
3712
|
|
|
3754
3713
|
class HierarchyFunctionsContext(FunctionsContext):
|
|
3755
|
-
|
|
3756
3714
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.FunctionsContext
|
|
3757
3715
|
super().__init__(parser)
|
|
3758
3716
|
self.copyFrom(ctx)
|
|
@@ -3769,7 +3727,6 @@ class Parser(Parser):
|
|
|
3769
3727
|
listener.exitHierarchyFunctions(self)
|
|
3770
3728
|
|
|
3771
3729
|
class StringFunctionsContext(FunctionsContext):
|
|
3772
|
-
|
|
3773
3730
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.FunctionsContext
|
|
3774
3731
|
super().__init__(parser)
|
|
3775
3732
|
self.copyFrom(ctx)
|
|
@@ -3786,7 +3743,6 @@ class Parser(Parser):
|
|
|
3786
3743
|
listener.exitStringFunctions(self)
|
|
3787
3744
|
|
|
3788
3745
|
class ValidationFunctionsContext(FunctionsContext):
|
|
3789
|
-
|
|
3790
3746
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.FunctionsContext
|
|
3791
3747
|
super().__init__(parser)
|
|
3792
3748
|
self.copyFrom(ctx)
|
|
@@ -3803,7 +3759,6 @@ class Parser(Parser):
|
|
|
3803
3759
|
listener.exitValidationFunctions(self)
|
|
3804
3760
|
|
|
3805
3761
|
class GenericFunctionsContext(FunctionsContext):
|
|
3806
|
-
|
|
3807
3762
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.FunctionsContext
|
|
3808
3763
|
super().__init__(parser)
|
|
3809
3764
|
self.copyFrom(ctx)
|
|
@@ -3820,7 +3775,6 @@ class Parser(Parser):
|
|
|
3820
3775
|
listener.exitGenericFunctions(self)
|
|
3821
3776
|
|
|
3822
3777
|
class ConditionalFunctionsContext(FunctionsContext):
|
|
3823
|
-
|
|
3824
3778
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.FunctionsContext
|
|
3825
3779
|
super().__init__(parser)
|
|
3826
3780
|
self.copyFrom(ctx)
|
|
@@ -3837,7 +3791,6 @@ class Parser(Parser):
|
|
|
3837
3791
|
listener.exitConditionalFunctions(self)
|
|
3838
3792
|
|
|
3839
3793
|
class AggregateFunctionsContext(FunctionsContext):
|
|
3840
|
-
|
|
3841
3794
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.FunctionsContext
|
|
3842
3795
|
super().__init__(parser)
|
|
3843
3796
|
self.copyFrom(ctx)
|
|
@@ -3854,7 +3807,6 @@ class Parser(Parser):
|
|
|
3854
3807
|
listener.exitAggregateFunctions(self)
|
|
3855
3808
|
|
|
3856
3809
|
class JoinFunctionsContext(FunctionsContext):
|
|
3857
|
-
|
|
3858
3810
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.FunctionsContext
|
|
3859
3811
|
super().__init__(parser)
|
|
3860
3812
|
self.copyFrom(ctx)
|
|
@@ -3871,7 +3823,6 @@ class Parser(Parser):
|
|
|
3871
3823
|
listener.exitJoinFunctions(self)
|
|
3872
3824
|
|
|
3873
3825
|
class ComparisonFunctionsContext(FunctionsContext):
|
|
3874
|
-
|
|
3875
3826
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.FunctionsContext
|
|
3876
3827
|
super().__init__(parser)
|
|
3877
3828
|
self.copyFrom(ctx)
|
|
@@ -3888,7 +3839,6 @@ class Parser(Parser):
|
|
|
3888
3839
|
listener.exitComparisonFunctions(self)
|
|
3889
3840
|
|
|
3890
3841
|
class NumericFunctionsContext(FunctionsContext):
|
|
3891
|
-
|
|
3892
3842
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.FunctionsContext
|
|
3893
3843
|
super().__init__(parser)
|
|
3894
3844
|
self.copyFrom(ctx)
|
|
@@ -3905,7 +3855,6 @@ class Parser(Parser):
|
|
|
3905
3855
|
listener.exitNumericFunctions(self)
|
|
3906
3856
|
|
|
3907
3857
|
class TimeFunctionsContext(FunctionsContext):
|
|
3908
|
-
|
|
3909
3858
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.FunctionsContext
|
|
3910
3859
|
super().__init__(parser)
|
|
3911
3860
|
self.copyFrom(ctx)
|
|
@@ -3922,7 +3871,6 @@ class Parser(Parser):
|
|
|
3922
3871
|
listener.exitTimeFunctions(self)
|
|
3923
3872
|
|
|
3924
3873
|
class SetFunctionsContext(FunctionsContext):
|
|
3925
|
-
|
|
3926
3874
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.FunctionsContext
|
|
3927
3875
|
super().__init__(parser)
|
|
3928
3876
|
self.copyFrom(ctx)
|
|
@@ -3939,7 +3887,6 @@ class Parser(Parser):
|
|
|
3939
3887
|
listener.exitSetFunctions(self)
|
|
3940
3888
|
|
|
3941
3889
|
class AnalyticFunctionsContext(FunctionsContext):
|
|
3942
|
-
|
|
3943
3890
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.FunctionsContext
|
|
3944
3891
|
super().__init__(parser)
|
|
3945
3892
|
self.copyFrom(ctx)
|
|
@@ -3956,7 +3903,6 @@ class Parser(Parser):
|
|
|
3956
3903
|
listener.exitAnalyticFunctions(self)
|
|
3957
3904
|
|
|
3958
3905
|
def functions(self):
|
|
3959
|
-
|
|
3960
3906
|
localctx = Parser.FunctionsContext(self, self._ctx, self.state)
|
|
3961
3907
|
self.enterRule(localctx, 10, self.RULE_functions)
|
|
3962
3908
|
try:
|
|
@@ -4095,7 +4041,6 @@ class Parser(Parser):
|
|
|
4095
4041
|
listener.exitDatasetClause(self)
|
|
4096
4042
|
|
|
4097
4043
|
def datasetClause(self):
|
|
4098
|
-
|
|
4099
4044
|
localctx = Parser.DatasetClauseContext(self, self._ctx, self.state)
|
|
4100
4045
|
self.enterRule(localctx, 12, self.RULE_datasetClause)
|
|
4101
4046
|
try:
|
|
@@ -4182,7 +4127,6 @@ class Parser(Parser):
|
|
|
4182
4127
|
listener.exitRenameClause(self)
|
|
4183
4128
|
|
|
4184
4129
|
def renameClause(self):
|
|
4185
|
-
|
|
4186
4130
|
localctx = Parser.RenameClauseContext(self, self._ctx, self.state)
|
|
4187
4131
|
self.enterRule(localctx, 14, self.RULE_renameClause)
|
|
4188
4132
|
self._la = 0 # Token type
|
|
@@ -4243,7 +4187,6 @@ class Parser(Parser):
|
|
|
4243
4187
|
listener.exitAggrClause(self)
|
|
4244
4188
|
|
|
4245
4189
|
def aggrClause(self):
|
|
4246
|
-
|
|
4247
4190
|
localctx = Parser.AggrClauseContext(self, self._ctx, self.state)
|
|
4248
4191
|
self.enterRule(localctx, 16, self.RULE_aggrClause)
|
|
4249
4192
|
self._la = 0 # Token type
|
|
@@ -4299,7 +4242,6 @@ class Parser(Parser):
|
|
|
4299
4242
|
listener.exitFilterClause(self)
|
|
4300
4243
|
|
|
4301
4244
|
def filterClause(self):
|
|
4302
|
-
|
|
4303
4245
|
localctx = Parser.FilterClauseContext(self, self._ctx, self.state)
|
|
4304
4246
|
self.enterRule(localctx, 18, self.RULE_filterClause)
|
|
4305
4247
|
try:
|
|
@@ -4350,7 +4292,6 @@ class Parser(Parser):
|
|
|
4350
4292
|
listener.exitCalcClause(self)
|
|
4351
4293
|
|
|
4352
4294
|
def calcClause(self):
|
|
4353
|
-
|
|
4354
4295
|
localctx = Parser.CalcClauseContext(self, self._ctx, self.state)
|
|
4355
4296
|
self.enterRule(localctx, 20, self.RULE_calcClause)
|
|
4356
4297
|
self._la = 0 # Token type
|
|
@@ -4418,7 +4359,6 @@ class Parser(Parser):
|
|
|
4418
4359
|
listener.exitKeepOrDropClause(self)
|
|
4419
4360
|
|
|
4420
4361
|
def keepOrDropClause(self):
|
|
4421
|
-
|
|
4422
4362
|
localctx = Parser.KeepOrDropClauseContext(self, self._ctx, self.state)
|
|
4423
4363
|
self.enterRule(localctx, 22, self.RULE_keepOrDropClause)
|
|
4424
4364
|
self._la = 0 # Token type
|
|
@@ -4491,7 +4431,6 @@ class Parser(Parser):
|
|
|
4491
4431
|
listener.exitPivotOrUnpivotClause(self)
|
|
4492
4432
|
|
|
4493
4433
|
def pivotOrUnpivotClause(self):
|
|
4494
|
-
|
|
4495
4434
|
localctx = Parser.PivotOrUnpivotClauseContext(self, self._ctx, self.state)
|
|
4496
4435
|
self.enterRule(localctx, 24, self.RULE_pivotOrUnpivotClause)
|
|
4497
4436
|
self._la = 0 # Token type
|
|
@@ -4564,7 +4503,6 @@ class Parser(Parser):
|
|
|
4564
4503
|
listener.exitCustomPivotClause(self)
|
|
4565
4504
|
|
|
4566
4505
|
def customPivotClause(self):
|
|
4567
|
-
|
|
4568
4506
|
localctx = Parser.CustomPivotClauseContext(self, self._ctx, self.state)
|
|
4569
4507
|
self.enterRule(localctx, 26, self.RULE_customPivotClause)
|
|
4570
4508
|
self._la = 0 # Token type
|
|
@@ -4636,7 +4574,6 @@ class Parser(Parser):
|
|
|
4636
4574
|
listener.exitSubspaceClause(self)
|
|
4637
4575
|
|
|
4638
4576
|
def subspaceClause(self):
|
|
4639
|
-
|
|
4640
4577
|
localctx = Parser.SubspaceClauseContext(self, self._ctx, self.state)
|
|
4641
4578
|
self.enterRule(localctx, 28, self.RULE_subspaceClause)
|
|
4642
4579
|
self._la = 0 # Token type
|
|
@@ -4680,7 +4617,6 @@ class Parser(Parser):
|
|
|
4680
4617
|
super().copyFrom(ctx)
|
|
4681
4618
|
|
|
4682
4619
|
class JoinExprContext(JoinOperatorsContext):
|
|
4683
|
-
|
|
4684
4620
|
def __init__(
|
|
4685
4621
|
self, parser, ctx: ParserRuleContext
|
|
4686
4622
|
): # actually a VtlParser.JoinOperatorsContext
|
|
@@ -4724,7 +4660,6 @@ class Parser(Parser):
|
|
|
4724
4660
|
listener.exitJoinExpr(self)
|
|
4725
4661
|
|
|
4726
4662
|
def joinOperators(self):
|
|
4727
|
-
|
|
4728
4663
|
localctx = Parser.JoinOperatorsContext(self, self._ctx, self.state)
|
|
4729
4664
|
self.enterRule(localctx, 30, self.RULE_joinOperators)
|
|
4730
4665
|
self._la = 0 # Token type
|
|
@@ -4797,7 +4732,6 @@ class Parser(Parser):
|
|
|
4797
4732
|
super().copyFrom(ctx)
|
|
4798
4733
|
|
|
4799
4734
|
class DefOperatorContext(DefOperatorsContext):
|
|
4800
|
-
|
|
4801
4735
|
def __init__(
|
|
4802
4736
|
self, parser, ctx: ParserRuleContext
|
|
4803
4737
|
): # actually a VtlParser.DefOperatorsContext
|
|
@@ -4858,7 +4792,6 @@ class Parser(Parser):
|
|
|
4858
4792
|
listener.exitDefOperator(self)
|
|
4859
4793
|
|
|
4860
4794
|
class DefHierarchicalContext(DefOperatorsContext):
|
|
4861
|
-
|
|
4862
4795
|
def __init__(
|
|
4863
4796
|
self, parser, ctx: ParserRuleContext
|
|
4864
4797
|
): # actually a VtlParser.DefOperatorsContext
|
|
@@ -4910,7 +4843,6 @@ class Parser(Parser):
|
|
|
4910
4843
|
listener.exitDefHierarchical(self)
|
|
4911
4844
|
|
|
4912
4845
|
class DefDatapointRulesetContext(DefOperatorsContext):
|
|
4913
|
-
|
|
4914
4846
|
def __init__(
|
|
4915
4847
|
self, parser, ctx: ParserRuleContext
|
|
4916
4848
|
): # actually a VtlParser.DefOperatorsContext
|
|
@@ -4962,7 +4894,6 @@ class Parser(Parser):
|
|
|
4962
4894
|
listener.exitDefDatapointRuleset(self)
|
|
4963
4895
|
|
|
4964
4896
|
def defOperators(self):
|
|
4965
|
-
|
|
4966
4897
|
localctx = Parser.DefOperatorsContext(self, self._ctx, self.state)
|
|
4967
4898
|
self.enterRule(localctx, 32, self.RULE_defOperators)
|
|
4968
4899
|
self._la = 0 # Token type
|
|
@@ -5101,7 +5032,6 @@ class Parser(Parser):
|
|
|
5101
5032
|
super().copyFrom(ctx)
|
|
5102
5033
|
|
|
5103
5034
|
class EvalAtomContext(GenericOperatorsContext):
|
|
5104
|
-
|
|
5105
5035
|
def __init__(
|
|
5106
5036
|
self, parser, ctx: ParserRuleContext
|
|
5107
5037
|
): # actually a VtlParser.GenericOperatorsContext
|
|
@@ -5165,7 +5095,6 @@ class Parser(Parser):
|
|
|
5165
5095
|
listener.exitEvalAtom(self)
|
|
5166
5096
|
|
|
5167
5097
|
class CastExprDatasetContext(GenericOperatorsContext):
|
|
5168
|
-
|
|
5169
5098
|
def __init__(
|
|
5170
5099
|
self, parser, ctx: ParserRuleContext
|
|
5171
5100
|
): # actually a VtlParser.GenericOperatorsContext
|
|
@@ -5208,7 +5137,6 @@ class Parser(Parser):
|
|
|
5208
5137
|
listener.exitCastExprDataset(self)
|
|
5209
5138
|
|
|
5210
5139
|
class CallDatasetContext(GenericOperatorsContext):
|
|
5211
|
-
|
|
5212
5140
|
def __init__(
|
|
5213
5141
|
self, parser, ctx: ParserRuleContext
|
|
5214
5142
|
): # actually a VtlParser.GenericOperatorsContext
|
|
@@ -5245,7 +5173,6 @@ class Parser(Parser):
|
|
|
5245
5173
|
listener.exitCallDataset(self)
|
|
5246
5174
|
|
|
5247
5175
|
def genericOperators(self):
|
|
5248
|
-
|
|
5249
5176
|
localctx = Parser.GenericOperatorsContext(self, self._ctx, self.state)
|
|
5250
5177
|
self.enterRule(localctx, 34, self.RULE_genericOperators)
|
|
5251
5178
|
self._la = 0 # Token type
|
|
@@ -5299,7 +5226,7 @@ class Parser(Parser):
|
|
|
5299
5226
|
!= 0
|
|
5300
5227
|
)
|
|
5301
5228
|
or (
|
|
5302
|
-
((
|
|
5229
|
+
((_la - 66) & ~0x3F) == 0
|
|
5303
5230
|
and (
|
|
5304
5231
|
(1 << (_la - 66))
|
|
5305
5232
|
& (
|
|
@@ -5333,7 +5260,7 @@ class Parser(Parser):
|
|
|
5333
5260
|
!= 0
|
|
5334
5261
|
)
|
|
5335
5262
|
or (
|
|
5336
|
-
((
|
|
5263
|
+
((_la - 131) & ~0x3F) == 0
|
|
5337
5264
|
and (
|
|
5338
5265
|
(1 << (_la - 131))
|
|
5339
5266
|
& (
|
|
@@ -5365,7 +5292,7 @@ class Parser(Parser):
|
|
|
5365
5292
|
!= 0
|
|
5366
5293
|
)
|
|
5367
5294
|
or (
|
|
5368
|
-
((
|
|
5295
|
+
((_la - 195) & ~0x3F) == 0
|
|
5369
5296
|
and (
|
|
5370
5297
|
(1 << (_la - 195))
|
|
5371
5298
|
& (
|
|
@@ -5562,7 +5489,6 @@ class Parser(Parser):
|
|
|
5562
5489
|
super().copyFrom(ctx)
|
|
5563
5490
|
|
|
5564
5491
|
class EvalAtomComponentContext(GenericOperatorsComponentContext):
|
|
5565
|
-
|
|
5566
5492
|
def __init__(
|
|
5567
5493
|
self, parser, ctx: ParserRuleContext
|
|
5568
5494
|
): # actually a VtlParser.GenericOperatorsComponentContext
|
|
@@ -5626,7 +5552,6 @@ class Parser(Parser):
|
|
|
5626
5552
|
listener.exitEvalAtomComponent(self)
|
|
5627
5553
|
|
|
5628
5554
|
class CastExprComponentContext(GenericOperatorsComponentContext):
|
|
5629
|
-
|
|
5630
5555
|
def __init__(
|
|
5631
5556
|
self, parser, ctx: ParserRuleContext
|
|
5632
5557
|
): # actually a VtlParser.GenericOperatorsComponentContext
|
|
@@ -5669,7 +5594,6 @@ class Parser(Parser):
|
|
|
5669
5594
|
listener.exitCastExprComponent(self)
|
|
5670
5595
|
|
|
5671
5596
|
class CallComponentContext(GenericOperatorsComponentContext):
|
|
5672
|
-
|
|
5673
5597
|
def __init__(
|
|
5674
5598
|
self, parser, ctx: ParserRuleContext
|
|
5675
5599
|
): # actually a VtlParser.GenericOperatorsComponentContext
|
|
@@ -5706,7 +5630,6 @@ class Parser(Parser):
|
|
|
5706
5630
|
listener.exitCallComponent(self)
|
|
5707
5631
|
|
|
5708
5632
|
def genericOperatorsComponent(self):
|
|
5709
|
-
|
|
5710
5633
|
localctx = Parser.GenericOperatorsComponentContext(self, self._ctx, self.state)
|
|
5711
5634
|
self.enterRule(localctx, 36, self.RULE_genericOperatorsComponent)
|
|
5712
5635
|
self._la = 0 # Token type
|
|
@@ -5757,7 +5680,7 @@ class Parser(Parser):
|
|
|
5757
5680
|
!= 0
|
|
5758
5681
|
)
|
|
5759
5682
|
or (
|
|
5760
|
-
((
|
|
5683
|
+
((_la - 77) & ~0x3F) == 0
|
|
5761
5684
|
and (
|
|
5762
5685
|
(1 << (_la - 77))
|
|
5763
5686
|
& (
|
|
@@ -5797,7 +5720,7 @@ class Parser(Parser):
|
|
|
5797
5720
|
!= 0
|
|
5798
5721
|
)
|
|
5799
5722
|
or (
|
|
5800
|
-
((
|
|
5723
|
+
((_la - 141) & ~0x3F) == 0
|
|
5801
5724
|
and (
|
|
5802
5725
|
(1 << (_la - 141))
|
|
5803
5726
|
& (
|
|
@@ -5818,7 +5741,7 @@ class Parser(Parser):
|
|
|
5818
5741
|
!= 0
|
|
5819
5742
|
)
|
|
5820
5743
|
or (
|
|
5821
|
-
((
|
|
5744
|
+
((_la - 208) & ~0x3F) == 0
|
|
5822
5745
|
and (
|
|
5823
5746
|
(1 << (_la - 208))
|
|
5824
5747
|
& (
|
|
@@ -6022,7 +5945,6 @@ class Parser(Parser):
|
|
|
6022
5945
|
listener.exitParameterComponent(self)
|
|
6023
5946
|
|
|
6024
5947
|
def parameterComponent(self):
|
|
6025
|
-
|
|
6026
5948
|
localctx = Parser.ParameterComponentContext(self, self._ctx, self.state)
|
|
6027
5949
|
self.enterRule(localctx, 38, self.RULE_parameterComponent)
|
|
6028
5950
|
try:
|
|
@@ -6148,7 +6070,6 @@ class Parser(Parser):
|
|
|
6148
6070
|
listener.exitParameter(self)
|
|
6149
6071
|
|
|
6150
6072
|
def parameter(self):
|
|
6151
|
-
|
|
6152
6073
|
localctx = Parser.ParameterContext(self, self._ctx, self.state)
|
|
6153
6074
|
self.enterRule(localctx, 40, self.RULE_parameter)
|
|
6154
6075
|
try:
|
|
@@ -6275,7 +6196,6 @@ class Parser(Parser):
|
|
|
6275
6196
|
super().copyFrom(ctx)
|
|
6276
6197
|
|
|
6277
6198
|
class InstrAtomContext(StringOperatorsContext):
|
|
6278
|
-
|
|
6279
6199
|
def __init__(
|
|
6280
6200
|
self, parser, ctx: ParserRuleContext
|
|
6281
6201
|
): # actually a VtlParser.StringOperatorsContext
|
|
@@ -6321,7 +6241,6 @@ class Parser(Parser):
|
|
|
6321
6241
|
listener.exitInstrAtom(self)
|
|
6322
6242
|
|
|
6323
6243
|
class UnaryStringFunctionContext(StringOperatorsContext):
|
|
6324
|
-
|
|
6325
6244
|
def __init__(
|
|
6326
6245
|
self, parser, ctx: ParserRuleContext
|
|
6327
6246
|
): # actually a VtlParser.StringOperatorsContext
|
|
@@ -6365,7 +6284,6 @@ class Parser(Parser):
|
|
|
6365
6284
|
listener.exitUnaryStringFunction(self)
|
|
6366
6285
|
|
|
6367
6286
|
class SubstrAtomContext(StringOperatorsContext):
|
|
6368
|
-
|
|
6369
6287
|
def __init__(
|
|
6370
6288
|
self, parser, ctx: ParserRuleContext
|
|
6371
6289
|
): # actually a VtlParser.StringOperatorsContext
|
|
@@ -6407,7 +6325,6 @@ class Parser(Parser):
|
|
|
6407
6325
|
listener.exitSubstrAtom(self)
|
|
6408
6326
|
|
|
6409
6327
|
class ReplaceAtomContext(StringOperatorsContext):
|
|
6410
|
-
|
|
6411
6328
|
def __init__(
|
|
6412
6329
|
self, parser, ctx: ParserRuleContext
|
|
6413
6330
|
): # actually a VtlParser.StringOperatorsContext
|
|
@@ -6448,7 +6365,6 @@ class Parser(Parser):
|
|
|
6448
6365
|
listener.exitReplaceAtom(self)
|
|
6449
6366
|
|
|
6450
6367
|
def stringOperators(self):
|
|
6451
|
-
|
|
6452
6368
|
localctx = Parser.StringOperatorsContext(self, self._ctx, self.state)
|
|
6453
6369
|
self.enterRule(localctx, 42, self.RULE_stringOperators)
|
|
6454
6370
|
self._la = 0 # Token type
|
|
@@ -6470,21 +6386,19 @@ class Parser(Parser):
|
|
|
6470
6386
|
localctx.op = self._input.LT(1)
|
|
6471
6387
|
_la = self._input.LA(1)
|
|
6472
6388
|
if not (
|
|
6473
|
-
(
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
| (1 << (Parser.RTRIM - 93))
|
|
6484
|
-
)
|
|
6389
|
+
((_la - 93) & ~0x3F) == 0
|
|
6390
|
+
and (
|
|
6391
|
+
(1 << (_la - 93))
|
|
6392
|
+
& (
|
|
6393
|
+
(1 << (Parser.LEN - 93))
|
|
6394
|
+
| (1 << (Parser.TRIM - 93))
|
|
6395
|
+
| (1 << (Parser.UCASE - 93))
|
|
6396
|
+
| (1 << (Parser.LCASE - 93))
|
|
6397
|
+
| (1 << (Parser.LTRIM - 93))
|
|
6398
|
+
| (1 << (Parser.RTRIM - 93))
|
|
6485
6399
|
)
|
|
6486
|
-
!= 0
|
|
6487
6400
|
)
|
|
6401
|
+
!= 0
|
|
6488
6402
|
):
|
|
6489
6403
|
localctx.op = self._errHandler.recoverInline(self)
|
|
6490
6404
|
else:
|
|
@@ -6620,7 +6534,6 @@ class Parser(Parser):
|
|
|
6620
6534
|
super().copyFrom(ctx)
|
|
6621
6535
|
|
|
6622
6536
|
class ReplaceAtomComponentContext(StringOperatorsComponentContext):
|
|
6623
|
-
|
|
6624
6537
|
def __init__(
|
|
6625
6538
|
self, parser, ctx: ParserRuleContext
|
|
6626
6539
|
): # actually a VtlParser.StringOperatorsComponentContext
|
|
@@ -6661,7 +6574,6 @@ class Parser(Parser):
|
|
|
6661
6574
|
listener.exitReplaceAtomComponent(self)
|
|
6662
6575
|
|
|
6663
6576
|
class UnaryStringFunctionComponentContext(StringOperatorsComponentContext):
|
|
6664
|
-
|
|
6665
6577
|
def __init__(
|
|
6666
6578
|
self, parser, ctx: ParserRuleContext
|
|
6667
6579
|
): # actually a VtlParser.StringOperatorsComponentContext
|
|
@@ -6705,7 +6617,6 @@ class Parser(Parser):
|
|
|
6705
6617
|
listener.exitUnaryStringFunctionComponent(self)
|
|
6706
6618
|
|
|
6707
6619
|
class SubstrAtomComponentContext(StringOperatorsComponentContext):
|
|
6708
|
-
|
|
6709
6620
|
def __init__(
|
|
6710
6621
|
self, parser, ctx: ParserRuleContext
|
|
6711
6622
|
): # actually a VtlParser.StringOperatorsComponentContext
|
|
@@ -6747,7 +6658,6 @@ class Parser(Parser):
|
|
|
6747
6658
|
listener.exitSubstrAtomComponent(self)
|
|
6748
6659
|
|
|
6749
6660
|
class InstrAtomComponentContext(StringOperatorsComponentContext):
|
|
6750
|
-
|
|
6751
6661
|
def __init__(
|
|
6752
6662
|
self, parser, ctx: ParserRuleContext
|
|
6753
6663
|
): # actually a VtlParser.StringOperatorsComponentContext
|
|
@@ -6793,7 +6703,6 @@ class Parser(Parser):
|
|
|
6793
6703
|
listener.exitInstrAtomComponent(self)
|
|
6794
6704
|
|
|
6795
6705
|
def stringOperatorsComponent(self):
|
|
6796
|
-
|
|
6797
6706
|
localctx = Parser.StringOperatorsComponentContext(self, self._ctx, self.state)
|
|
6798
6707
|
self.enterRule(localctx, 44, self.RULE_stringOperatorsComponent)
|
|
6799
6708
|
self._la = 0 # Token type
|
|
@@ -6815,21 +6724,19 @@ class Parser(Parser):
|
|
|
6815
6724
|
localctx.op = self._input.LT(1)
|
|
6816
6725
|
_la = self._input.LA(1)
|
|
6817
6726
|
if not (
|
|
6818
|
-
(
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
|
-
|
|
6828
|
-
| (1 << (Parser.RTRIM - 93))
|
|
6829
|
-
)
|
|
6727
|
+
((_la - 93) & ~0x3F) == 0
|
|
6728
|
+
and (
|
|
6729
|
+
(1 << (_la - 93))
|
|
6730
|
+
& (
|
|
6731
|
+
(1 << (Parser.LEN - 93))
|
|
6732
|
+
| (1 << (Parser.TRIM - 93))
|
|
6733
|
+
| (1 << (Parser.UCASE - 93))
|
|
6734
|
+
| (1 << (Parser.LCASE - 93))
|
|
6735
|
+
| (1 << (Parser.LTRIM - 93))
|
|
6736
|
+
| (1 << (Parser.RTRIM - 93))
|
|
6830
6737
|
)
|
|
6831
|
-
!= 0
|
|
6832
6738
|
)
|
|
6739
|
+
!= 0
|
|
6833
6740
|
):
|
|
6834
6741
|
localctx.op = self._errHandler.recoverInline(self)
|
|
6835
6742
|
else:
|
|
@@ -6965,7 +6872,6 @@ class Parser(Parser):
|
|
|
6965
6872
|
super().copyFrom(ctx)
|
|
6966
6873
|
|
|
6967
6874
|
class UnaryNumericContext(NumericOperatorsContext):
|
|
6968
|
-
|
|
6969
6875
|
def __init__(
|
|
6970
6876
|
self, parser, ctx: ParserRuleContext
|
|
6971
6877
|
): # actually a VtlParser.NumericOperatorsContext
|
|
@@ -7009,7 +6915,6 @@ class Parser(Parser):
|
|
|
7009
6915
|
listener.exitUnaryNumeric(self)
|
|
7010
6916
|
|
|
7011
6917
|
class UnaryWithOptionalNumericContext(NumericOperatorsContext):
|
|
7012
|
-
|
|
7013
6918
|
def __init__(
|
|
7014
6919
|
self, parser, ctx: ParserRuleContext
|
|
7015
6920
|
): # actually a VtlParser.NumericOperatorsContext
|
|
@@ -7047,7 +6952,6 @@ class Parser(Parser):
|
|
|
7047
6952
|
listener.exitUnaryWithOptionalNumeric(self)
|
|
7048
6953
|
|
|
7049
6954
|
class BinaryNumericContext(NumericOperatorsContext):
|
|
7050
|
-
|
|
7051
6955
|
def __init__(
|
|
7052
6956
|
self, parser, ctx: ParserRuleContext
|
|
7053
6957
|
): # actually a VtlParser.NumericOperatorsContext
|
|
@@ -7093,7 +6997,6 @@ class Parser(Parser):
|
|
|
7093
6997
|
listener.exitBinaryNumeric(self)
|
|
7094
6998
|
|
|
7095
6999
|
def numericOperators(self):
|
|
7096
|
-
|
|
7097
7000
|
localctx = Parser.NumericOperatorsContext(self, self._ctx, self.state)
|
|
7098
7001
|
self.enterRule(localctx, 46, self.RULE_numericOperators)
|
|
7099
7002
|
self._la = 0 # Token type
|
|
@@ -7101,28 +7004,33 @@ class Parser(Parser):
|
|
|
7101
7004
|
self.state = 778
|
|
7102
7005
|
self._errHandler.sync(self)
|
|
7103
7006
|
token = self._input.LA(1)
|
|
7104
|
-
if token in [
|
|
7007
|
+
if token in [
|
|
7008
|
+
Parser.ABS,
|
|
7009
|
+
Parser.LN,
|
|
7010
|
+
Parser.EXP,
|
|
7011
|
+
Parser.CEIL,
|
|
7012
|
+
Parser.FLOOR,
|
|
7013
|
+
Parser.SQRT,
|
|
7014
|
+
]:
|
|
7105
7015
|
localctx = Parser.UnaryNumericContext(self, localctx)
|
|
7106
7016
|
self.enterOuterAlt(localctx, 1)
|
|
7107
7017
|
self.state = 757
|
|
7108
7018
|
localctx.op = self._input.LT(1)
|
|
7109
7019
|
_la = self._input.LA(1)
|
|
7110
7020
|
if not (
|
|
7111
|
-
(
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
| (1 << (Parser.SQRT - 85))
|
|
7122
|
-
)
|
|
7021
|
+
((_la - 85) & ~0x3F) == 0
|
|
7022
|
+
and (
|
|
7023
|
+
(1 << (_la - 85))
|
|
7024
|
+
& (
|
|
7025
|
+
(1 << (Parser.ABS - 85))
|
|
7026
|
+
| (1 << (Parser.LN - 85))
|
|
7027
|
+
| (1 << (Parser.EXP - 85))
|
|
7028
|
+
| (1 << (Parser.CEIL - 85))
|
|
7029
|
+
| (1 << (Parser.FLOOR - 85))
|
|
7030
|
+
| (1 << (Parser.SQRT - 85))
|
|
7123
7031
|
)
|
|
7124
|
-
!= 0
|
|
7125
7032
|
)
|
|
7033
|
+
!= 0
|
|
7126
7034
|
):
|
|
7127
7035
|
localctx.op = self._errHandler.recoverInline(self)
|
|
7128
7036
|
else:
|
|
@@ -7169,19 +7077,17 @@ class Parser(Parser):
|
|
|
7169
7077
|
localctx.op = self._input.LT(1)
|
|
7170
7078
|
_la = self._input.LA(1)
|
|
7171
7079
|
if not (
|
|
7172
|
-
(
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
| (1 << (Parser.MOD - 61))
|
|
7181
|
-
)
|
|
7080
|
+
((_la - 61) & ~0x3F) == 0
|
|
7081
|
+
and (
|
|
7082
|
+
(1 << (_la - 61))
|
|
7083
|
+
& (
|
|
7084
|
+
(1 << (Parser.RANDOM - 61))
|
|
7085
|
+
| (1 << (Parser.LOG - 61))
|
|
7086
|
+
| (1 << (Parser.POWER - 61))
|
|
7087
|
+
| (1 << (Parser.MOD - 61))
|
|
7182
7088
|
)
|
|
7183
|
-
!= 0
|
|
7184
7089
|
)
|
|
7090
|
+
!= 0
|
|
7185
7091
|
):
|
|
7186
7092
|
localctx.op = self._errHandler.recoverInline(self)
|
|
7187
7093
|
else:
|
|
@@ -7223,7 +7129,6 @@ class Parser(Parser):
|
|
|
7223
7129
|
super().copyFrom(ctx)
|
|
7224
7130
|
|
|
7225
7131
|
class UnaryNumericComponentContext(NumericOperatorsComponentContext):
|
|
7226
|
-
|
|
7227
7132
|
def __init__(
|
|
7228
7133
|
self, parser, ctx: ParserRuleContext
|
|
7229
7134
|
): # actually a VtlParser.NumericOperatorsComponentContext
|
|
@@ -7267,7 +7172,6 @@ class Parser(Parser):
|
|
|
7267
7172
|
listener.exitUnaryNumericComponent(self)
|
|
7268
7173
|
|
|
7269
7174
|
class BinaryNumericComponentContext(NumericOperatorsComponentContext):
|
|
7270
|
-
|
|
7271
7175
|
def __init__(
|
|
7272
7176
|
self, parser, ctx: ParserRuleContext
|
|
7273
7177
|
): # actually a VtlParser.NumericOperatorsComponentContext
|
|
@@ -7313,7 +7217,6 @@ class Parser(Parser):
|
|
|
7313
7217
|
listener.exitBinaryNumericComponent(self)
|
|
7314
7218
|
|
|
7315
7219
|
class UnaryWithOptionalNumericComponentContext(NumericOperatorsComponentContext):
|
|
7316
|
-
|
|
7317
7220
|
def __init__(
|
|
7318
7221
|
self, parser, ctx: ParserRuleContext
|
|
7319
7222
|
): # actually a VtlParser.NumericOperatorsComponentContext
|
|
@@ -7351,7 +7254,6 @@ class Parser(Parser):
|
|
|
7351
7254
|
listener.exitUnaryWithOptionalNumericComponent(self)
|
|
7352
7255
|
|
|
7353
7256
|
def numericOperatorsComponent(self):
|
|
7354
|
-
|
|
7355
7257
|
localctx = Parser.NumericOperatorsComponentContext(self, self._ctx, self.state)
|
|
7356
7258
|
self.enterRule(localctx, 48, self.RULE_numericOperatorsComponent)
|
|
7357
7259
|
self._la = 0 # Token type
|
|
@@ -7359,28 +7261,33 @@ class Parser(Parser):
|
|
|
7359
7261
|
self.state = 801
|
|
7360
7262
|
self._errHandler.sync(self)
|
|
7361
7263
|
token = self._input.LA(1)
|
|
7362
|
-
if token in [
|
|
7264
|
+
if token in [
|
|
7265
|
+
Parser.ABS,
|
|
7266
|
+
Parser.LN,
|
|
7267
|
+
Parser.EXP,
|
|
7268
|
+
Parser.CEIL,
|
|
7269
|
+
Parser.FLOOR,
|
|
7270
|
+
Parser.SQRT,
|
|
7271
|
+
]:
|
|
7363
7272
|
localctx = Parser.UnaryNumericComponentContext(self, localctx)
|
|
7364
7273
|
self.enterOuterAlt(localctx, 1)
|
|
7365
7274
|
self.state = 780
|
|
7366
7275
|
localctx.op = self._input.LT(1)
|
|
7367
7276
|
_la = self._input.LA(1)
|
|
7368
7277
|
if not (
|
|
7369
|
-
(
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
|
|
7373
|
-
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
|
-
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
| (1 << (Parser.SQRT - 85))
|
|
7380
|
-
)
|
|
7278
|
+
((_la - 85) & ~0x3F) == 0
|
|
7279
|
+
and (
|
|
7280
|
+
(1 << (_la - 85))
|
|
7281
|
+
& (
|
|
7282
|
+
(1 << (Parser.ABS - 85))
|
|
7283
|
+
| (1 << (Parser.LN - 85))
|
|
7284
|
+
| (1 << (Parser.EXP - 85))
|
|
7285
|
+
| (1 << (Parser.CEIL - 85))
|
|
7286
|
+
| (1 << (Parser.FLOOR - 85))
|
|
7287
|
+
| (1 << (Parser.SQRT - 85))
|
|
7381
7288
|
)
|
|
7382
|
-
!= 0
|
|
7383
7289
|
)
|
|
7290
|
+
!= 0
|
|
7384
7291
|
):
|
|
7385
7292
|
localctx.op = self._errHandler.recoverInline(self)
|
|
7386
7293
|
else:
|
|
@@ -7427,19 +7334,17 @@ class Parser(Parser):
|
|
|
7427
7334
|
localctx.op = self._input.LT(1)
|
|
7428
7335
|
_la = self._input.LA(1)
|
|
7429
7336
|
if not (
|
|
7430
|
-
(
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
| (1 << (Parser.MOD - 61))
|
|
7439
|
-
)
|
|
7337
|
+
((_la - 61) & ~0x3F) == 0
|
|
7338
|
+
and (
|
|
7339
|
+
(1 << (_la - 61))
|
|
7340
|
+
& (
|
|
7341
|
+
(1 << (Parser.RANDOM - 61))
|
|
7342
|
+
| (1 << (Parser.LOG - 61))
|
|
7343
|
+
| (1 << (Parser.POWER - 61))
|
|
7344
|
+
| (1 << (Parser.MOD - 61))
|
|
7440
7345
|
)
|
|
7441
|
-
!= 0
|
|
7442
7346
|
)
|
|
7347
|
+
!= 0
|
|
7443
7348
|
):
|
|
7444
7349
|
localctx.op = self._errHandler.recoverInline(self)
|
|
7445
7350
|
else:
|
|
@@ -7481,7 +7386,6 @@ class Parser(Parser):
|
|
|
7481
7386
|
super().copyFrom(ctx)
|
|
7482
7387
|
|
|
7483
7388
|
class BetweenAtomContext(ComparisonOperatorsContext):
|
|
7484
|
-
|
|
7485
7389
|
def __init__(
|
|
7486
7390
|
self, parser, ctx: ParserRuleContext
|
|
7487
7391
|
): # actually a VtlParser.ComparisonOperatorsContext
|
|
@@ -7521,7 +7425,6 @@ class Parser(Parser):
|
|
|
7521
7425
|
listener.exitBetweenAtom(self)
|
|
7522
7426
|
|
|
7523
7427
|
class CharsetMatchAtomContext(ComparisonOperatorsContext):
|
|
7524
|
-
|
|
7525
7428
|
def __init__(
|
|
7526
7429
|
self, parser, ctx: ParserRuleContext
|
|
7527
7430
|
): # actually a VtlParser.ComparisonOperatorsContext
|
|
@@ -7557,7 +7460,6 @@ class Parser(Parser):
|
|
|
7557
7460
|
listener.exitCharsetMatchAtom(self)
|
|
7558
7461
|
|
|
7559
7462
|
class IsNullAtomContext(ComparisonOperatorsContext):
|
|
7560
|
-
|
|
7561
7463
|
def __init__(
|
|
7562
7464
|
self, parser, ctx: ParserRuleContext
|
|
7563
7465
|
): # actually a VtlParser.ComparisonOperatorsContext
|
|
@@ -7585,7 +7487,6 @@ class Parser(Parser):
|
|
|
7585
7487
|
listener.exitIsNullAtom(self)
|
|
7586
7488
|
|
|
7587
7489
|
class ExistInAtomContext(ComparisonOperatorsContext):
|
|
7588
|
-
|
|
7589
7490
|
def __init__(
|
|
7590
7491
|
self, parser, ctx: ParserRuleContext
|
|
7591
7492
|
): # actually a VtlParser.ComparisonOperatorsContext
|
|
@@ -7627,7 +7528,6 @@ class Parser(Parser):
|
|
|
7627
7528
|
listener.exitExistInAtom(self)
|
|
7628
7529
|
|
|
7629
7530
|
def comparisonOperators(self):
|
|
7630
|
-
|
|
7631
7531
|
localctx = Parser.ComparisonOperatorsContext(self, self._ctx, self.state)
|
|
7632
7532
|
self.enterRule(localctx, 50, self.RULE_comparisonOperators)
|
|
7633
7533
|
self._la = 0 # Token type
|
|
@@ -7733,7 +7633,6 @@ class Parser(Parser):
|
|
|
7733
7633
|
super().copyFrom(ctx)
|
|
7734
7634
|
|
|
7735
7635
|
class IsNullAtomComponentContext(ComparisonOperatorsComponentContext):
|
|
7736
|
-
|
|
7737
7636
|
def __init__(
|
|
7738
7637
|
self, parser, ctx: ParserRuleContext
|
|
7739
7638
|
): # actually a VtlParser.ComparisonOperatorsComponentContext
|
|
@@ -7761,7 +7660,6 @@ class Parser(Parser):
|
|
|
7761
7660
|
listener.exitIsNullAtomComponent(self)
|
|
7762
7661
|
|
|
7763
7662
|
class CharsetMatchAtomComponentContext(ComparisonOperatorsComponentContext):
|
|
7764
|
-
|
|
7765
7663
|
def __init__(
|
|
7766
7664
|
self, parser, ctx: ParserRuleContext
|
|
7767
7665
|
): # actually a VtlParser.ComparisonOperatorsComponentContext
|
|
@@ -7797,7 +7695,6 @@ class Parser(Parser):
|
|
|
7797
7695
|
listener.exitCharsetMatchAtomComponent(self)
|
|
7798
7696
|
|
|
7799
7697
|
class BetweenAtomComponentContext(ComparisonOperatorsComponentContext):
|
|
7800
|
-
|
|
7801
7698
|
def __init__(
|
|
7802
7699
|
self, parser, ctx: ParserRuleContext
|
|
7803
7700
|
): # actually a VtlParser.ComparisonOperatorsComponentContext
|
|
@@ -7837,7 +7734,6 @@ class Parser(Parser):
|
|
|
7837
7734
|
listener.exitBetweenAtomComponent(self)
|
|
7838
7735
|
|
|
7839
7736
|
def comparisonOperatorsComponent(self):
|
|
7840
|
-
|
|
7841
7737
|
localctx = Parser.ComparisonOperatorsComponentContext(self, self._ctx, self.state)
|
|
7842
7738
|
self.enterRule(localctx, 52, self.RULE_comparisonOperatorsComponent)
|
|
7843
7739
|
try:
|
|
@@ -7917,7 +7813,6 @@ class Parser(Parser):
|
|
|
7917
7813
|
super().copyFrom(ctx)
|
|
7918
7814
|
|
|
7919
7815
|
class DayToYearAtomContext(TimeOperatorsContext):
|
|
7920
|
-
|
|
7921
7816
|
def __init__(
|
|
7922
7817
|
self, parser, ctx: ParserRuleContext
|
|
7923
7818
|
): # actually a VtlParser.TimeOperatorsContext
|
|
@@ -7945,7 +7840,6 @@ class Parser(Parser):
|
|
|
7945
7840
|
listener.exitDayToYearAtom(self)
|
|
7946
7841
|
|
|
7947
7842
|
class YearAtomContext(TimeOperatorsContext):
|
|
7948
|
-
|
|
7949
7843
|
def __init__(
|
|
7950
7844
|
self, parser, ctx: ParserRuleContext
|
|
7951
7845
|
): # actually a VtlParser.TimeOperatorsContext
|
|
@@ -7973,7 +7867,6 @@ class Parser(Parser):
|
|
|
7973
7867
|
listener.exitYearAtom(self)
|
|
7974
7868
|
|
|
7975
7869
|
class YearTodayAtomContext(TimeOperatorsContext):
|
|
7976
|
-
|
|
7977
7870
|
def __init__(
|
|
7978
7871
|
self, parser, ctx: ParserRuleContext
|
|
7979
7872
|
): # actually a VtlParser.TimeOperatorsContext
|
|
@@ -8001,7 +7894,6 @@ class Parser(Parser):
|
|
|
8001
7894
|
listener.exitYearTodayAtom(self)
|
|
8002
7895
|
|
|
8003
7896
|
class DayToMonthAtomContext(TimeOperatorsContext):
|
|
8004
|
-
|
|
8005
7897
|
def __init__(
|
|
8006
7898
|
self, parser, ctx: ParserRuleContext
|
|
8007
7899
|
): # actually a VtlParser.TimeOperatorsContext
|
|
@@ -8029,7 +7921,6 @@ class Parser(Parser):
|
|
|
8029
7921
|
listener.exitDayToMonthAtom(self)
|
|
8030
7922
|
|
|
8031
7923
|
class DayOfYearAtomContext(TimeOperatorsContext):
|
|
8032
|
-
|
|
8033
7924
|
def __init__(
|
|
8034
7925
|
self, parser, ctx: ParserRuleContext
|
|
8035
7926
|
): # actually a VtlParser.TimeOperatorsContext
|
|
@@ -8057,7 +7948,6 @@ class Parser(Parser):
|
|
|
8057
7948
|
listener.exitDatOfYearAtom(self)
|
|
8058
7949
|
|
|
8059
7950
|
class PeriodAtomContext(TimeOperatorsContext):
|
|
8060
|
-
|
|
8061
7951
|
def __init__(
|
|
8062
7952
|
self, parser, ctx: ParserRuleContext
|
|
8063
7953
|
): # actually a VtlParser.TimeOperatorsContext
|
|
@@ -8085,7 +7975,6 @@ class Parser(Parser):
|
|
|
8085
7975
|
listener.exitPeriodAtom(self)
|
|
8086
7976
|
|
|
8087
7977
|
class MonthTodayAtomContext(TimeOperatorsContext):
|
|
8088
|
-
|
|
8089
7978
|
def __init__(
|
|
8090
7979
|
self, parser, ctx: ParserRuleContext
|
|
8091
7980
|
): # actually a VtlParser.TimeOperatorsContext
|
|
@@ -8113,7 +8002,6 @@ class Parser(Parser):
|
|
|
8113
8002
|
listener.exitMonthTodayAtom(self)
|
|
8114
8003
|
|
|
8115
8004
|
class FillTimeAtomContext(TimeOperatorsContext):
|
|
8116
|
-
|
|
8117
8005
|
def __init__(
|
|
8118
8006
|
self, parser, ctx: ParserRuleContext
|
|
8119
8007
|
): # actually a VtlParser.TimeOperatorsContext
|
|
@@ -8150,7 +8038,6 @@ class Parser(Parser):
|
|
|
8150
8038
|
listener.exitFillTimeAtom(self)
|
|
8151
8039
|
|
|
8152
8040
|
class MonthAtomContext(TimeOperatorsContext):
|
|
8153
|
-
|
|
8154
8041
|
def __init__(
|
|
8155
8042
|
self, parser, ctx: ParserRuleContext
|
|
8156
8043
|
): # actually a VtlParser.TimeOperatorsContext
|
|
@@ -8178,7 +8065,6 @@ class Parser(Parser):
|
|
|
8178
8065
|
listener.exitMonthAtom(self)
|
|
8179
8066
|
|
|
8180
8067
|
class FlowAtomContext(TimeOperatorsContext):
|
|
8181
|
-
|
|
8182
8068
|
def __init__(
|
|
8183
8069
|
self, parser, ctx: ParserRuleContext
|
|
8184
8070
|
): # actually a VtlParser.TimeOperatorsContext
|
|
@@ -8210,7 +8096,6 @@ class Parser(Parser):
|
|
|
8210
8096
|
listener.exitFlowAtom(self)
|
|
8211
8097
|
|
|
8212
8098
|
class TimeShiftAtomContext(TimeOperatorsContext):
|
|
8213
|
-
|
|
8214
8099
|
def __init__(
|
|
8215
8100
|
self, parser, ctx: ParserRuleContext
|
|
8216
8101
|
): # actually a VtlParser.TimeOperatorsContext
|
|
@@ -8244,7 +8129,6 @@ class Parser(Parser):
|
|
|
8244
8129
|
listener.exitTimeShiftAtom(self)
|
|
8245
8130
|
|
|
8246
8131
|
class TimeAggAtomContext(TimeOperatorsContext):
|
|
8247
|
-
|
|
8248
8132
|
def __init__(
|
|
8249
8133
|
self, parser, ctx: ParserRuleContext
|
|
8250
8134
|
): # actually a VtlParser.TimeOperatorsContext
|
|
@@ -8296,7 +8180,6 @@ class Parser(Parser):
|
|
|
8296
8180
|
listener.exitTimeAggAtom(self)
|
|
8297
8181
|
|
|
8298
8182
|
class DateDiffAtomContext(TimeOperatorsContext):
|
|
8299
|
-
|
|
8300
8183
|
def __init__(
|
|
8301
8184
|
self, parser, ctx: ParserRuleContext
|
|
8302
8185
|
): # actually a VtlParser.TimeOperatorsContext
|
|
@@ -8332,7 +8215,6 @@ class Parser(Parser):
|
|
|
8332
8215
|
listener.exitDateDiffAtom(self)
|
|
8333
8216
|
|
|
8334
8217
|
class DateAddAtomContext(TimeOperatorsContext):
|
|
8335
|
-
|
|
8336
8218
|
def __init__(
|
|
8337
8219
|
self, parser, ctx: ParserRuleContext
|
|
8338
8220
|
): # actually a VtlParser.TimeOperatorsContext
|
|
@@ -8372,7 +8254,6 @@ class Parser(Parser):
|
|
|
8372
8254
|
listener.exitDateAddAtom(self)
|
|
8373
8255
|
|
|
8374
8256
|
class DayOfMonthAtomContext(TimeOperatorsContext):
|
|
8375
|
-
|
|
8376
8257
|
def __init__(
|
|
8377
8258
|
self, parser, ctx: ParserRuleContext
|
|
8378
8259
|
): # actually a VtlParser.TimeOperatorsContext
|
|
@@ -8400,7 +8281,6 @@ class Parser(Parser):
|
|
|
8400
8281
|
listener.exitDayOfMonthAtom(self)
|
|
8401
8282
|
|
|
8402
8283
|
class CurrentDateAtomContext(TimeOperatorsContext):
|
|
8403
|
-
|
|
8404
8284
|
def __init__(
|
|
8405
8285
|
self, parser, ctx: ParserRuleContext
|
|
8406
8286
|
): # actually a VtlParser.TimeOperatorsContext
|
|
@@ -8425,7 +8305,6 @@ class Parser(Parser):
|
|
|
8425
8305
|
listener.exitCurrentDateAtom(self)
|
|
8426
8306
|
|
|
8427
8307
|
def timeOperators(self):
|
|
8428
|
-
|
|
8429
8308
|
localctx = Parser.TimeOperatorsContext(self, self._ctx, self.state)
|
|
8430
8309
|
self.enterRule(localctx, 54, self.RULE_timeOperators)
|
|
8431
8310
|
self._la = 0 # Token type
|
|
@@ -8479,7 +8358,7 @@ class Parser(Parser):
|
|
|
8479
8358
|
!= 0
|
|
8480
8359
|
)
|
|
8481
8360
|
or (
|
|
8482
|
-
((
|
|
8361
|
+
((_la - 66) & ~0x3F) == 0
|
|
8483
8362
|
and (
|
|
8484
8363
|
(1 << (_la - 66))
|
|
8485
8364
|
& (
|
|
@@ -8512,7 +8391,7 @@ class Parser(Parser):
|
|
|
8512
8391
|
!= 0
|
|
8513
8392
|
)
|
|
8514
8393
|
or (
|
|
8515
|
-
((
|
|
8394
|
+
((_la - 131) & ~0x3F) == 0
|
|
8516
8395
|
and (
|
|
8517
8396
|
(1 << (_la - 131))
|
|
8518
8397
|
& (
|
|
@@ -8544,7 +8423,7 @@ class Parser(Parser):
|
|
|
8544
8423
|
!= 0
|
|
8545
8424
|
)
|
|
8546
8425
|
or (
|
|
8547
|
-
((
|
|
8426
|
+
((_la - 195) & ~0x3F) == 0
|
|
8548
8427
|
and (
|
|
8549
8428
|
(1 << (_la - 195))
|
|
8550
8429
|
& (
|
|
@@ -8848,7 +8727,6 @@ class Parser(Parser):
|
|
|
8848
8727
|
super().copyFrom(ctx)
|
|
8849
8728
|
|
|
8850
8729
|
class PeriodAtomComponentContext(TimeOperatorsComponentContext):
|
|
8851
|
-
|
|
8852
8730
|
def __init__(
|
|
8853
8731
|
self, parser, ctx: ParserRuleContext
|
|
8854
8732
|
): # actually a VtlParser.TimeOperatorsComponentContext
|
|
@@ -8876,7 +8754,6 @@ class Parser(Parser):
|
|
|
8876
8754
|
listener.exitPeriodAtomComponent(self)
|
|
8877
8755
|
|
|
8878
8756
|
class TimeShiftAtomComponentContext(TimeOperatorsComponentContext):
|
|
8879
|
-
|
|
8880
8757
|
def __init__(
|
|
8881
8758
|
self, parser, ctx: ParserRuleContext
|
|
8882
8759
|
): # actually a VtlParser.TimeOperatorsComponentContext
|
|
@@ -8910,7 +8787,6 @@ class Parser(Parser):
|
|
|
8910
8787
|
listener.exitTimeShiftAtomComponent(self)
|
|
8911
8788
|
|
|
8912
8789
|
class MonthToDayAtomComponentContext(TimeOperatorsComponentContext):
|
|
8913
|
-
|
|
8914
8790
|
def __init__(
|
|
8915
8791
|
self, parser, ctx: ParserRuleContext
|
|
8916
8792
|
): # actually a VtlParser.TimeOperatorsComponentContext
|
|
@@ -8938,7 +8814,6 @@ class Parser(Parser):
|
|
|
8938
8814
|
listener.exitMonthTodayAtomComponent(self)
|
|
8939
8815
|
|
|
8940
8816
|
class TimeAggAtomComponentContext(TimeOperatorsComponentContext):
|
|
8941
|
-
|
|
8942
8817
|
def __init__(
|
|
8943
8818
|
self, parser, ctx: ParserRuleContext
|
|
8944
8819
|
): # actually a VtlParser.TimeOperatorsComponentContext
|
|
@@ -8990,7 +8865,6 @@ class Parser(Parser):
|
|
|
8990
8865
|
listener.exitTimeAggAtomComponent(self)
|
|
8991
8866
|
|
|
8992
8867
|
class DayToMonthAtomComponentContext(TimeOperatorsComponentContext):
|
|
8993
|
-
|
|
8994
8868
|
def __init__(
|
|
8995
8869
|
self, parser, ctx: ParserRuleContext
|
|
8996
8870
|
): # actually a VtlParser.TimeOperatorsComponentContext
|
|
@@ -9018,7 +8892,6 @@ class Parser(Parser):
|
|
|
9018
8892
|
listener.exitDayToMonthAtomComponent(self)
|
|
9019
8893
|
|
|
9020
8894
|
class DateAddAtomComponentContext(TimeOperatorsComponentContext):
|
|
9021
|
-
|
|
9022
8895
|
def __init__(
|
|
9023
8896
|
self, parser, ctx: ParserRuleContext
|
|
9024
8897
|
): # actually a VtlParser.TimeOperatorsComponentContext
|
|
@@ -9058,7 +8931,6 @@ class Parser(Parser):
|
|
|
9058
8931
|
listener.exitDateAddAtomComponent(self)
|
|
9059
8932
|
|
|
9060
8933
|
class YearToDayAtomComponentContext(TimeOperatorsComponentContext):
|
|
9061
|
-
|
|
9062
8934
|
def __init__(
|
|
9063
8935
|
self, parser, ctx: ParserRuleContext
|
|
9064
8936
|
): # actually a VtlParser.TimeOperatorsComponentContext
|
|
@@ -9086,7 +8958,6 @@ class Parser(Parser):
|
|
|
9086
8958
|
listener.exitYearTodayAtomComponent(self)
|
|
9087
8959
|
|
|
9088
8960
|
class DayOfMonthAtomComponentContext(TimeOperatorsComponentContext):
|
|
9089
|
-
|
|
9090
8961
|
def __init__(
|
|
9091
8962
|
self, parser, ctx: ParserRuleContext
|
|
9092
8963
|
): # actually a VtlParser.TimeOperatorsComponentContext
|
|
@@ -9114,7 +8985,6 @@ class Parser(Parser):
|
|
|
9114
8985
|
listener.exitDayOfMonthAtomComponent(self)
|
|
9115
8986
|
|
|
9116
8987
|
class MonthAtomComponentContext(TimeOperatorsComponentContext):
|
|
9117
|
-
|
|
9118
8988
|
def __init__(
|
|
9119
8989
|
self, parser, ctx: ParserRuleContext
|
|
9120
8990
|
): # actually a VtlParser.TimeOperatorsComponentContext
|
|
@@ -9142,7 +9012,6 @@ class Parser(Parser):
|
|
|
9142
9012
|
listener.exitMonthAtomComponent(self)
|
|
9143
9013
|
|
|
9144
9014
|
class FillTimeAtomComponentContext(TimeOperatorsComponentContext):
|
|
9145
|
-
|
|
9146
9015
|
def __init__(
|
|
9147
9016
|
self, parser, ctx: ParserRuleContext
|
|
9148
9017
|
): # actually a VtlParser.TimeOperatorsComponentContext
|
|
@@ -9179,7 +9048,6 @@ class Parser(Parser):
|
|
|
9179
9048
|
listener.exitFillTimeAtomComponent(self)
|
|
9180
9049
|
|
|
9181
9050
|
class DayOfYearAtomComponentContext(TimeOperatorsComponentContext):
|
|
9182
|
-
|
|
9183
9051
|
def __init__(
|
|
9184
9052
|
self, parser, ctx: ParserRuleContext
|
|
9185
9053
|
): # actually a VtlParser.TimeOperatorsComponentContext
|
|
@@ -9207,7 +9075,6 @@ class Parser(Parser):
|
|
|
9207
9075
|
listener.exitDatOfYearAtomComponent(self)
|
|
9208
9076
|
|
|
9209
9077
|
class DayToYearAtomComponentContext(TimeOperatorsComponentContext):
|
|
9210
|
-
|
|
9211
9078
|
def __init__(
|
|
9212
9079
|
self, parser, ctx: ParserRuleContext
|
|
9213
9080
|
): # actually a VtlParser.TimeOperatorsComponentContext
|
|
@@ -9235,7 +9102,6 @@ class Parser(Parser):
|
|
|
9235
9102
|
listener.exitDayToYearAtomComponent(self)
|
|
9236
9103
|
|
|
9237
9104
|
class CurrentDateAtomComponentContext(TimeOperatorsComponentContext):
|
|
9238
|
-
|
|
9239
9105
|
def __init__(
|
|
9240
9106
|
self, parser, ctx: ParserRuleContext
|
|
9241
9107
|
): # actually a VtlParser.TimeOperatorsComponentContext
|
|
@@ -9260,7 +9126,6 @@ class Parser(Parser):
|
|
|
9260
9126
|
listener.exitCurrentDateAtomComponent(self)
|
|
9261
9127
|
|
|
9262
9128
|
class FlowAtomComponentContext(TimeOperatorsComponentContext):
|
|
9263
|
-
|
|
9264
9129
|
def __init__(
|
|
9265
9130
|
self, parser, ctx: ParserRuleContext
|
|
9266
9131
|
): # actually a VtlParser.TimeOperatorsComponentContext
|
|
@@ -9292,7 +9157,6 @@ class Parser(Parser):
|
|
|
9292
9157
|
listener.exitFlowAtomComponent(self)
|
|
9293
9158
|
|
|
9294
9159
|
class DateDiffAtomComponentContext(TimeOperatorsComponentContext):
|
|
9295
|
-
|
|
9296
9160
|
def __init__(
|
|
9297
9161
|
self, parser, ctx: ParserRuleContext
|
|
9298
9162
|
): # actually a VtlParser.TimeOperatorsComponentContext
|
|
@@ -9328,7 +9192,6 @@ class Parser(Parser):
|
|
|
9328
9192
|
listener.exitDateDiffAtomComponent(self)
|
|
9329
9193
|
|
|
9330
9194
|
class YearAtomComponentContext(TimeOperatorsComponentContext):
|
|
9331
|
-
|
|
9332
9195
|
def __init__(
|
|
9333
9196
|
self, parser, ctx: ParserRuleContext
|
|
9334
9197
|
): # actually a VtlParser.TimeOperatorsComponentContext
|
|
@@ -9356,7 +9219,6 @@ class Parser(Parser):
|
|
|
9356
9219
|
listener.exitYearAtomComponent(self)
|
|
9357
9220
|
|
|
9358
9221
|
def timeOperatorsComponent(self):
|
|
9359
|
-
|
|
9360
9222
|
localctx = Parser.TimeOperatorsComponentContext(self, self._ctx, self.state)
|
|
9361
9223
|
self.enterRule(localctx, 56, self.RULE_timeOperatorsComponent)
|
|
9362
9224
|
self._la = 0 # Token type
|
|
@@ -9407,7 +9269,7 @@ class Parser(Parser):
|
|
|
9407
9269
|
!= 0
|
|
9408
9270
|
)
|
|
9409
9271
|
or (
|
|
9410
|
-
((
|
|
9272
|
+
((_la - 77) & ~0x3F) == 0
|
|
9411
9273
|
and (
|
|
9412
9274
|
(1 << (_la - 77))
|
|
9413
9275
|
& (
|
|
@@ -9446,7 +9308,7 @@ class Parser(Parser):
|
|
|
9446
9308
|
!= 0
|
|
9447
9309
|
)
|
|
9448
9310
|
or (
|
|
9449
|
-
((
|
|
9311
|
+
((_la - 141) & ~0x3F) == 0
|
|
9450
9312
|
and (
|
|
9451
9313
|
(1 << (_la - 141))
|
|
9452
9314
|
& (
|
|
@@ -9467,7 +9329,7 @@ class Parser(Parser):
|
|
|
9467
9329
|
!= 0
|
|
9468
9330
|
)
|
|
9469
9331
|
or (
|
|
9470
|
-
((
|
|
9332
|
+
((_la - 208) & ~0x3F) == 0
|
|
9471
9333
|
and (
|
|
9472
9334
|
(1 << (_la - 208))
|
|
9473
9335
|
& (
|
|
@@ -9767,7 +9629,6 @@ class Parser(Parser):
|
|
|
9767
9629
|
super().copyFrom(ctx)
|
|
9768
9630
|
|
|
9769
9631
|
class SetOrSYmDiffAtomContext(SetOperatorsContext):
|
|
9770
|
-
|
|
9771
9632
|
def __init__(
|
|
9772
9633
|
self, parser, ctx: ParserRuleContext
|
|
9773
9634
|
): # actually a VtlParser.SetOperatorsContext
|
|
@@ -9807,7 +9668,6 @@ class Parser(Parser):
|
|
|
9807
9668
|
listener.exitSetOrSYmDiffAtom(self)
|
|
9808
9669
|
|
|
9809
9670
|
class IntersectAtomContext(SetOperatorsContext):
|
|
9810
|
-
|
|
9811
9671
|
def __init__(
|
|
9812
9672
|
self, parser, ctx: ParserRuleContext
|
|
9813
9673
|
): # actually a VtlParser.SetOperatorsContext
|
|
@@ -9845,7 +9705,6 @@ class Parser(Parser):
|
|
|
9845
9705
|
listener.exitIntersectAtom(self)
|
|
9846
9706
|
|
|
9847
9707
|
class UnionAtomContext(SetOperatorsContext):
|
|
9848
|
-
|
|
9849
9708
|
def __init__(
|
|
9850
9709
|
self, parser, ctx: ParserRuleContext
|
|
9851
9710
|
): # actually a VtlParser.SetOperatorsContext
|
|
@@ -9883,7 +9742,6 @@ class Parser(Parser):
|
|
|
9883
9742
|
listener.exitUnionAtom(self)
|
|
9884
9743
|
|
|
9885
9744
|
def setOperators(self):
|
|
9886
|
-
|
|
9887
9745
|
localctx = Parser.SetOperatorsContext(self, self._ctx, self.state)
|
|
9888
9746
|
self.enterRule(localctx, 58, self.RULE_setOperators)
|
|
9889
9747
|
self._la = 0 # Token type
|
|
@@ -10034,7 +9892,6 @@ class Parser(Parser):
|
|
|
10034
9892
|
listener.exitHierarchyOperators(self)
|
|
10035
9893
|
|
|
10036
9894
|
def hierarchyOperators(self):
|
|
10037
|
-
|
|
10038
9895
|
localctx = Parser.HierarchyOperatorsContext(self, self._ctx, self.state)
|
|
10039
9896
|
self.enterRule(localctx, 60, self.RULE_hierarchyOperators)
|
|
10040
9897
|
self._la = 0 # Token type
|
|
@@ -10069,7 +9926,7 @@ class Parser(Parser):
|
|
|
10069
9926
|
self.state = 1112
|
|
10070
9927
|
self._errHandler.sync(self)
|
|
10071
9928
|
_la = self._input.LA(1)
|
|
10072
|
-
if ((
|
|
9929
|
+
if ((_la - 225) & ~0x3F) == 0 and (
|
|
10073
9930
|
(1 << (_la - 225))
|
|
10074
9931
|
& (
|
|
10075
9932
|
(1 << (Parser.NON_NULL - 225))
|
|
@@ -10121,7 +9978,6 @@ class Parser(Parser):
|
|
|
10121
9978
|
super().copyFrom(ctx)
|
|
10122
9979
|
|
|
10123
9980
|
class ValidateHRrulesetContext(ValidationOperatorsContext):
|
|
10124
|
-
|
|
10125
9981
|
def __init__(
|
|
10126
9982
|
self, parser, ctx: ParserRuleContext
|
|
10127
9983
|
): # actually a VtlParser.ValidationOperatorsContext
|
|
@@ -10175,7 +10031,6 @@ class Parser(Parser):
|
|
|
10175
10031
|
listener.exitValidateHRruleset(self)
|
|
10176
10032
|
|
|
10177
10033
|
class ValidateDPrulesetContext(ValidationOperatorsContext):
|
|
10178
|
-
|
|
10179
10034
|
def __init__(
|
|
10180
10035
|
self, parser, ctx: ParserRuleContext
|
|
10181
10036
|
): # actually a VtlParser.ValidationOperatorsContext
|
|
@@ -10226,7 +10081,6 @@ class Parser(Parser):
|
|
|
10226
10081
|
listener.exitValidateDPruleset(self)
|
|
10227
10082
|
|
|
10228
10083
|
class ValidationSimpleContext(ValidationOperatorsContext):
|
|
10229
|
-
|
|
10230
10084
|
def __init__(
|
|
10231
10085
|
self, parser, ctx: ParserRuleContext
|
|
10232
10086
|
): # actually a VtlParser.ValidationOperatorsContext
|
|
@@ -10273,7 +10127,6 @@ class Parser(Parser):
|
|
|
10273
10127
|
listener.exitValidationSimple(self)
|
|
10274
10128
|
|
|
10275
10129
|
def validationOperators(self):
|
|
10276
|
-
|
|
10277
10130
|
localctx = Parser.ValidationOperatorsContext(self, self._ctx, self.state)
|
|
10278
10131
|
self.enterRule(localctx, 62, self.RULE_validationOperators)
|
|
10279
10132
|
self._la = 0 # Token type
|
|
@@ -10356,7 +10209,7 @@ class Parser(Parser):
|
|
|
10356
10209
|
self.state = 1156
|
|
10357
10210
|
self._errHandler.sync(self)
|
|
10358
10211
|
_la = self._input.LA(1)
|
|
10359
|
-
if ((
|
|
10212
|
+
if ((_la - 225) & ~0x3F) == 0 and (
|
|
10360
10213
|
(1 << (_la - 225))
|
|
10361
10214
|
& (
|
|
10362
10215
|
(1 << (Parser.NON_NULL - 225))
|
|
@@ -10458,7 +10311,6 @@ class Parser(Parser):
|
|
|
10458
10311
|
super().copyFrom(ctx)
|
|
10459
10312
|
|
|
10460
10313
|
class NvlAtomContext(ConditionalOperatorsContext):
|
|
10461
|
-
|
|
10462
10314
|
def __init__(
|
|
10463
10315
|
self, parser, ctx: ParserRuleContext
|
|
10464
10316
|
): # actually a VtlParser.ConditionalOperatorsContext
|
|
@@ -10494,7 +10346,6 @@ class Parser(Parser):
|
|
|
10494
10346
|
listener.exitNvlAtom(self)
|
|
10495
10347
|
|
|
10496
10348
|
def conditionalOperators(self):
|
|
10497
|
-
|
|
10498
10349
|
localctx = Parser.ConditionalOperatorsContext(self, self._ctx, self.state)
|
|
10499
10350
|
self.enterRule(localctx, 64, self.RULE_conditionalOperators)
|
|
10500
10351
|
try:
|
|
@@ -10534,7 +10385,6 @@ class Parser(Parser):
|
|
|
10534
10385
|
super().copyFrom(ctx)
|
|
10535
10386
|
|
|
10536
10387
|
class NvlAtomComponentContext(ConditionalOperatorsComponentContext):
|
|
10537
|
-
|
|
10538
10388
|
def __init__(
|
|
10539
10389
|
self, parser, ctx: ParserRuleContext
|
|
10540
10390
|
): # actually a VtlParser.ConditionalOperatorsComponentContext
|
|
@@ -10570,7 +10420,6 @@ class Parser(Parser):
|
|
|
10570
10420
|
listener.exitNvlAtomComponent(self)
|
|
10571
10421
|
|
|
10572
10422
|
def conditionalOperatorsComponent(self):
|
|
10573
|
-
|
|
10574
10423
|
localctx = Parser.ConditionalOperatorsComponentContext(self, self._ctx, self.state)
|
|
10575
10424
|
self.enterRule(localctx, 66, self.RULE_conditionalOperatorsComponent)
|
|
10576
10425
|
try:
|
|
@@ -10610,7 +10459,6 @@ class Parser(Parser):
|
|
|
10610
10459
|
super().copyFrom(ctx)
|
|
10611
10460
|
|
|
10612
10461
|
class AggrCompContext(AggrOperatorsContext):
|
|
10613
|
-
|
|
10614
10462
|
def __init__(
|
|
10615
10463
|
self, parser, ctx: ParserRuleContext
|
|
10616
10464
|
): # actually a VtlParser.AggrOperatorsContext
|
|
@@ -10666,7 +10514,6 @@ class Parser(Parser):
|
|
|
10666
10514
|
listener.exitAggrComp(self)
|
|
10667
10515
|
|
|
10668
10516
|
class CountAggrCompContext(AggrOperatorsContext):
|
|
10669
|
-
|
|
10670
10517
|
def __init__(
|
|
10671
10518
|
self, parser, ctx: ParserRuleContext
|
|
10672
10519
|
): # actually a VtlParser.AggrOperatorsContext
|
|
@@ -10691,7 +10538,6 @@ class Parser(Parser):
|
|
|
10691
10538
|
listener.exitCountAggrComp(self)
|
|
10692
10539
|
|
|
10693
10540
|
def aggrOperators(self):
|
|
10694
|
-
|
|
10695
10541
|
localctx = Parser.AggrOperatorsContext(self, self._ctx, self.state)
|
|
10696
10542
|
self.enterRule(localctx, 68, self.RULE_aggrOperators)
|
|
10697
10543
|
self._la = 0 # Token type
|
|
@@ -10706,25 +10552,23 @@ class Parser(Parser):
|
|
|
10706
10552
|
localctx.op = self._input.LT(1)
|
|
10707
10553
|
_la = self._input.LA(1)
|
|
10708
10554
|
if not (
|
|
10709
|
-
(
|
|
10710
|
-
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
|
|
10714
|
-
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
|
|
10718
|
-
|
|
10719
|
-
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
| (1 << (Parser.VAR_SAMP - 80))
|
|
10724
|
-
)
|
|
10555
|
+
((_la - 80) & ~0x3F) == 0
|
|
10556
|
+
and (
|
|
10557
|
+
(1 << (_la - 80))
|
|
10558
|
+
& (
|
|
10559
|
+
(1 << (Parser.MIN - 80))
|
|
10560
|
+
| (1 << (Parser.MAX - 80))
|
|
10561
|
+
| (1 << (Parser.SUM - 80))
|
|
10562
|
+
| (1 << (Parser.AVG - 80))
|
|
10563
|
+
| (1 << (Parser.MEDIAN - 80))
|
|
10564
|
+
| (1 << (Parser.COUNT - 80))
|
|
10565
|
+
| (1 << (Parser.STDDEV_POP - 80))
|
|
10566
|
+
| (1 << (Parser.STDDEV_SAMP - 80))
|
|
10567
|
+
| (1 << (Parser.VAR_POP - 80))
|
|
10568
|
+
| (1 << (Parser.VAR_SAMP - 80))
|
|
10725
10569
|
)
|
|
10726
|
-
!= 0
|
|
10727
10570
|
)
|
|
10571
|
+
!= 0
|
|
10728
10572
|
):
|
|
10729
10573
|
localctx.op = self._errHandler.recoverInline(self)
|
|
10730
10574
|
else:
|
|
@@ -10771,7 +10615,6 @@ class Parser(Parser):
|
|
|
10771
10615
|
super().copyFrom(ctx)
|
|
10772
10616
|
|
|
10773
10617
|
class AggrDatasetContext(AggrOperatorsGroupingContext):
|
|
10774
|
-
|
|
10775
10618
|
def __init__(
|
|
10776
10619
|
self, parser, ctx: ParserRuleContext
|
|
10777
10620
|
): # actually a VtlParser.AggrOperatorsGroupingContext
|
|
@@ -10833,7 +10676,6 @@ class Parser(Parser):
|
|
|
10833
10676
|
listener.exitAggrDataset(self)
|
|
10834
10677
|
|
|
10835
10678
|
def aggrOperatorsGrouping(self):
|
|
10836
|
-
|
|
10837
10679
|
localctx = Parser.AggrOperatorsGroupingContext(self, self._ctx, self.state)
|
|
10838
10680
|
self.enterRule(localctx, 70, self.RULE_aggrOperatorsGrouping)
|
|
10839
10681
|
self._la = 0 # Token type
|
|
@@ -10844,25 +10686,23 @@ class Parser(Parser):
|
|
|
10844
10686
|
localctx.op = self._input.LT(1)
|
|
10845
10687
|
_la = self._input.LA(1)
|
|
10846
10688
|
if not (
|
|
10847
|
-
(
|
|
10848
|
-
|
|
10849
|
-
|
|
10850
|
-
|
|
10851
|
-
|
|
10852
|
-
|
|
10853
|
-
|
|
10854
|
-
|
|
10855
|
-
|
|
10856
|
-
|
|
10857
|
-
|
|
10858
|
-
|
|
10859
|
-
|
|
10860
|
-
|
|
10861
|
-
| (1 << (Parser.VAR_SAMP - 80))
|
|
10862
|
-
)
|
|
10689
|
+
((_la - 80) & ~0x3F) == 0
|
|
10690
|
+
and (
|
|
10691
|
+
(1 << (_la - 80))
|
|
10692
|
+
& (
|
|
10693
|
+
(1 << (Parser.MIN - 80))
|
|
10694
|
+
| (1 << (Parser.MAX - 80))
|
|
10695
|
+
| (1 << (Parser.SUM - 80))
|
|
10696
|
+
| (1 << (Parser.AVG - 80))
|
|
10697
|
+
| (1 << (Parser.MEDIAN - 80))
|
|
10698
|
+
| (1 << (Parser.COUNT - 80))
|
|
10699
|
+
| (1 << (Parser.STDDEV_POP - 80))
|
|
10700
|
+
| (1 << (Parser.STDDEV_SAMP - 80))
|
|
10701
|
+
| (1 << (Parser.VAR_POP - 80))
|
|
10702
|
+
| (1 << (Parser.VAR_SAMP - 80))
|
|
10863
10703
|
)
|
|
10864
|
-
!= 0
|
|
10865
10704
|
)
|
|
10705
|
+
!= 0
|
|
10866
10706
|
):
|
|
10867
10707
|
localctx.op = self._errHandler.recoverInline(self)
|
|
10868
10708
|
else:
|
|
@@ -10909,7 +10749,6 @@ class Parser(Parser):
|
|
|
10909
10749
|
super().copyFrom(ctx)
|
|
10910
10750
|
|
|
10911
10751
|
class LagOrLeadAnContext(AnFunctionContext):
|
|
10912
|
-
|
|
10913
10752
|
def __init__(
|
|
10914
10753
|
self, parser, ctx: ParserRuleContext
|
|
10915
10754
|
): # actually a VtlParser.AnFunctionContext
|
|
@@ -10972,7 +10811,6 @@ class Parser(Parser):
|
|
|
10972
10811
|
listener.exitLagOrLeadAn(self)
|
|
10973
10812
|
|
|
10974
10813
|
class RatioToReportAnContext(AnFunctionContext):
|
|
10975
|
-
|
|
10976
10814
|
def __init__(
|
|
10977
10815
|
self, parser, ctx: ParserRuleContext
|
|
10978
10816
|
): # actually a VtlParser.AnFunctionContext
|
|
@@ -11014,7 +10852,6 @@ class Parser(Parser):
|
|
|
11014
10852
|
listener.exitRatioToReportAn(self)
|
|
11015
10853
|
|
|
11016
10854
|
class AnSimpleFunctionContext(AnFunctionContext):
|
|
11017
|
-
|
|
11018
10855
|
def __init__(
|
|
11019
10856
|
self, parser, ctx: ParserRuleContext
|
|
11020
10857
|
): # actually a VtlParser.AnFunctionContext
|
|
@@ -11097,7 +10934,6 @@ class Parser(Parser):
|
|
|
11097
10934
|
listener.exitAnSimpleFunction(self)
|
|
11098
10935
|
|
|
11099
10936
|
def anFunction(self):
|
|
11100
|
-
|
|
11101
10937
|
localctx = Parser.AnFunctionContext(self, self._ctx, self.state)
|
|
11102
10938
|
self.enterRule(localctx, 72, self.RULE_anFunction)
|
|
11103
10939
|
self._la = 0 # Token type
|
|
@@ -11126,7 +10962,7 @@ class Parser(Parser):
|
|
|
11126
10962
|
_la = self._input.LA(1)
|
|
11127
10963
|
if not (
|
|
11128
10964
|
(
|
|
11129
|
-
((
|
|
10965
|
+
((_la - 80) & ~0x3F) == 0
|
|
11130
10966
|
and (
|
|
11131
10967
|
(1 << (_la - 80))
|
|
11132
10968
|
& (
|
|
@@ -11283,7 +11119,6 @@ class Parser(Parser):
|
|
|
11283
11119
|
super().copyFrom(ctx)
|
|
11284
11120
|
|
|
11285
11121
|
class AnSimpleFunctionComponentContext(AnFunctionComponentContext):
|
|
11286
|
-
|
|
11287
11122
|
def __init__(
|
|
11288
11123
|
self, parser, ctx: ParserRuleContext
|
|
11289
11124
|
): # actually a VtlParser.AnFunctionComponentContext
|
|
@@ -11366,7 +11201,6 @@ class Parser(Parser):
|
|
|
11366
11201
|
listener.exitAnSimpleFunctionComponent(self)
|
|
11367
11202
|
|
|
11368
11203
|
class LagOrLeadAnComponentContext(AnFunctionComponentContext):
|
|
11369
|
-
|
|
11370
11204
|
def __init__(
|
|
11371
11205
|
self, parser, ctx: ParserRuleContext
|
|
11372
11206
|
): # actually a VtlParser.AnFunctionComponentContext
|
|
@@ -11426,7 +11260,6 @@ class Parser(Parser):
|
|
|
11426
11260
|
listener.exitLagOrLeadAnComponent(self)
|
|
11427
11261
|
|
|
11428
11262
|
class RankAnComponentContext(AnFunctionComponentContext):
|
|
11429
|
-
|
|
11430
11263
|
def __init__(
|
|
11431
11264
|
self, parser, ctx: ParserRuleContext
|
|
11432
11265
|
): # actually a VtlParser.AnFunctionComponentContext
|
|
@@ -11469,7 +11302,6 @@ class Parser(Parser):
|
|
|
11469
11302
|
listener.exitRankAnComponent(self)
|
|
11470
11303
|
|
|
11471
11304
|
class RatioToReportAnComponentContext(AnFunctionComponentContext):
|
|
11472
|
-
|
|
11473
11305
|
def __init__(
|
|
11474
11306
|
self, parser, ctx: ParserRuleContext
|
|
11475
11307
|
): # actually a VtlParser.AnFunctionComponentContext
|
|
@@ -11511,7 +11343,6 @@ class Parser(Parser):
|
|
|
11511
11343
|
listener.exitRatioToReportAnComponent(self)
|
|
11512
11344
|
|
|
11513
11345
|
def anFunctionComponent(self):
|
|
11514
|
-
|
|
11515
11346
|
localctx = Parser.AnFunctionComponentContext(self, self._ctx, self.state)
|
|
11516
11347
|
self.enterRule(localctx, 74, self.RULE_anFunctionComponent)
|
|
11517
11348
|
self._la = 0 # Token type
|
|
@@ -11540,7 +11371,7 @@ class Parser(Parser):
|
|
|
11540
11371
|
_la = self._input.LA(1)
|
|
11541
11372
|
if not (
|
|
11542
11373
|
(
|
|
11543
|
-
((
|
|
11374
|
+
((_la - 80) & ~0x3F) == 0
|
|
11544
11375
|
and (
|
|
11545
11376
|
(1 << (_la - 80))
|
|
11546
11377
|
& (
|
|
@@ -11627,7 +11458,7 @@ class Parser(Parser):
|
|
|
11627
11458
|
self._errHandler.sync(self)
|
|
11628
11459
|
_la = self._input.LA(1)
|
|
11629
11460
|
if _la == Parser.NULL_CONSTANT or (
|
|
11630
|
-
((
|
|
11461
|
+
((_la - 218) & ~0x3F) == 0
|
|
11631
11462
|
and (
|
|
11632
11463
|
(1 << (_la - 218))
|
|
11633
11464
|
& (
|
|
@@ -11750,7 +11581,6 @@ class Parser(Parser):
|
|
|
11750
11581
|
listener.exitRenameClauseItem(self)
|
|
11751
11582
|
|
|
11752
11583
|
def renameClauseItem(self):
|
|
11753
|
-
|
|
11754
11584
|
localctx = Parser.RenameClauseItemContext(self, self._ctx, self.state)
|
|
11755
11585
|
self.enterRule(localctx, 76, self.RULE_renameClauseItem)
|
|
11756
11586
|
try:
|
|
@@ -11800,7 +11630,6 @@ class Parser(Parser):
|
|
|
11800
11630
|
listener.exitAggregateClause(self)
|
|
11801
11631
|
|
|
11802
11632
|
def aggregateClause(self):
|
|
11803
|
-
|
|
11804
11633
|
localctx = Parser.AggregateClauseContext(self, self._ctx, self.state)
|
|
11805
11634
|
self.enterRule(localctx, 78, self.RULE_aggregateClause)
|
|
11806
11635
|
self._la = 0 # Token type
|
|
@@ -11859,7 +11688,6 @@ class Parser(Parser):
|
|
|
11859
11688
|
listener.exitAggrFunctionClause(self)
|
|
11860
11689
|
|
|
11861
11690
|
def aggrFunctionClause(self):
|
|
11862
|
-
|
|
11863
11691
|
localctx = Parser.AggrFunctionClauseContext(self, self._ctx, self.state)
|
|
11864
11692
|
self.enterRule(localctx, 80, self.RULE_aggrFunctionClause)
|
|
11865
11693
|
self._la = 0 # Token type
|
|
@@ -11869,7 +11697,7 @@ class Parser(Parser):
|
|
|
11869
11697
|
self._errHandler.sync(self)
|
|
11870
11698
|
_la = self._input.LA(1)
|
|
11871
11699
|
if (
|
|
11872
|
-
((
|
|
11700
|
+
((_la - 103) & ~0x3F) == 0
|
|
11873
11701
|
and (
|
|
11874
11702
|
(1 << (_la - 103))
|
|
11875
11703
|
& (
|
|
@@ -11929,7 +11757,6 @@ class Parser(Parser):
|
|
|
11929
11757
|
listener.exitCalcClauseItem(self)
|
|
11930
11758
|
|
|
11931
11759
|
def calcClauseItem(self):
|
|
11932
|
-
|
|
11933
11760
|
localctx = Parser.CalcClauseItemContext(self, self._ctx, self.state)
|
|
11934
11761
|
self.enterRule(localctx, 82, self.RULE_calcClauseItem)
|
|
11935
11762
|
self._la = 0 # Token type
|
|
@@ -11939,7 +11766,7 @@ class Parser(Parser):
|
|
|
11939
11766
|
self._errHandler.sync(self)
|
|
11940
11767
|
_la = self._input.LA(1)
|
|
11941
11768
|
if (
|
|
11942
|
-
((
|
|
11769
|
+
((_la - 103) & ~0x3F) == 0
|
|
11943
11770
|
and (
|
|
11944
11771
|
(1 << (_la - 103))
|
|
11945
11772
|
& (
|
|
@@ -11996,7 +11823,6 @@ class Parser(Parser):
|
|
|
11996
11823
|
listener.exitSubspaceClauseItem(self)
|
|
11997
11824
|
|
|
11998
11825
|
def subspaceClauseItem(self):
|
|
11999
|
-
|
|
12000
11826
|
localctx = Parser.SubspaceClauseItemContext(self, self._ctx, self.state)
|
|
12001
11827
|
self.enterRule(localctx, 84, self.RULE_subspaceClauseItem)
|
|
12002
11828
|
try:
|
|
@@ -12029,7 +11855,6 @@ class Parser(Parser):
|
|
|
12029
11855
|
super().copyFrom(ctx)
|
|
12030
11856
|
|
|
12031
11857
|
class ScalarWithCastContext(ScalarItemContext):
|
|
12032
|
-
|
|
12033
11858
|
def __init__(
|
|
12034
11859
|
self, parser, ctx: ParserRuleContext
|
|
12035
11860
|
): # actually a VtlParser.ScalarItemContext
|
|
@@ -12069,7 +11894,6 @@ class Parser(Parser):
|
|
|
12069
11894
|
listener.exitScalarWithCast(self)
|
|
12070
11895
|
|
|
12071
11896
|
class SimpleScalarContext(ScalarItemContext):
|
|
12072
|
-
|
|
12073
11897
|
def __init__(
|
|
12074
11898
|
self, parser, ctx: ParserRuleContext
|
|
12075
11899
|
): # actually a VtlParser.ScalarItemContext
|
|
@@ -12088,7 +11912,6 @@ class Parser(Parser):
|
|
|
12088
11912
|
listener.exitSimpleScalar(self)
|
|
12089
11913
|
|
|
12090
11914
|
def scalarItem(self):
|
|
12091
|
-
|
|
12092
11915
|
localctx = Parser.ScalarItemContext(self, self._ctx, self.state)
|
|
12093
11916
|
self.enterRule(localctx, 86, self.RULE_scalarItem)
|
|
12094
11917
|
self._la = 0 # Token type
|
|
@@ -12176,7 +11999,6 @@ class Parser(Parser):
|
|
|
12176
11999
|
listener.exitJoinClauseWithoutUsing(self)
|
|
12177
12000
|
|
|
12178
12001
|
def joinClauseWithoutUsing(self):
|
|
12179
|
-
|
|
12180
12002
|
localctx = Parser.JoinClauseWithoutUsingContext(self, self._ctx, self.state)
|
|
12181
12003
|
self.enterRule(localctx, 88, self.RULE_joinClauseWithoutUsing)
|
|
12182
12004
|
self._la = 0 # Token type
|
|
@@ -12244,7 +12066,6 @@ class Parser(Parser):
|
|
|
12244
12066
|
listener.exitJoinClause(self)
|
|
12245
12067
|
|
|
12246
12068
|
def joinClause(self):
|
|
12247
|
-
|
|
12248
12069
|
localctx = Parser.JoinClauseContext(self, self._ctx, self.state)
|
|
12249
12070
|
self.enterRule(localctx, 90, self.RULE_joinClause)
|
|
12250
12071
|
self._la = 0 # Token type
|
|
@@ -12320,7 +12141,6 @@ class Parser(Parser):
|
|
|
12320
12141
|
listener.exitJoinClauseItem(self)
|
|
12321
12142
|
|
|
12322
12143
|
def joinClauseItem(self):
|
|
12323
|
-
|
|
12324
12144
|
localctx = Parser.JoinClauseItemContext(self, self._ctx, self.state)
|
|
12325
12145
|
self.enterRule(localctx, 92, self.RULE_joinClauseItem)
|
|
12326
12146
|
self._la = 0 # Token type
|
|
@@ -12382,7 +12202,6 @@ class Parser(Parser):
|
|
|
12382
12202
|
listener.exitJoinBody(self)
|
|
12383
12203
|
|
|
12384
12204
|
def joinBody(self):
|
|
12385
|
-
|
|
12386
12205
|
localctx = Parser.JoinBodyContext(self, self._ctx, self.state)
|
|
12387
12206
|
self.enterRule(localctx, 94, self.RULE_joinBody)
|
|
12388
12207
|
self._la = 0 # Token type
|
|
@@ -12461,7 +12280,6 @@ class Parser(Parser):
|
|
|
12461
12280
|
listener.exitJoinApplyClause(self)
|
|
12462
12281
|
|
|
12463
12282
|
def joinApplyClause(self):
|
|
12464
|
-
|
|
12465
12283
|
localctx = Parser.JoinApplyClauseContext(self, self._ctx, self.state)
|
|
12466
12284
|
self.enterRule(localctx, 96, self.RULE_joinApplyClause)
|
|
12467
12285
|
try:
|
|
@@ -12515,7 +12333,6 @@ class Parser(Parser):
|
|
|
12515
12333
|
listener.exitPartitionByClause(self)
|
|
12516
12334
|
|
|
12517
12335
|
def partitionByClause(self):
|
|
12518
|
-
|
|
12519
12336
|
localctx = Parser.PartitionByClauseContext(self, self._ctx, self.state)
|
|
12520
12337
|
self.enterRule(localctx, 98, self.RULE_partitionByClause)
|
|
12521
12338
|
self._la = 0 # Token type
|
|
@@ -12584,7 +12401,6 @@ class Parser(Parser):
|
|
|
12584
12401
|
listener.exitOrderByClause(self)
|
|
12585
12402
|
|
|
12586
12403
|
def orderByClause(self):
|
|
12587
|
-
|
|
12588
12404
|
localctx = Parser.OrderByClauseContext(self, self._ctx, self.state)
|
|
12589
12405
|
self.enterRule(localctx, 100, self.RULE_orderByClause)
|
|
12590
12406
|
self._la = 0 # Token type
|
|
@@ -12644,7 +12460,6 @@ class Parser(Parser):
|
|
|
12644
12460
|
listener.exitOrderByItem(self)
|
|
12645
12461
|
|
|
12646
12462
|
def orderByItem(self):
|
|
12647
|
-
|
|
12648
12463
|
localctx = Parser.OrderByItemContext(self, self._ctx, self.state)
|
|
12649
12464
|
self.enterRule(localctx, 102, self.RULE_orderByItem)
|
|
12650
12465
|
self._la = 0 # Token type
|
|
@@ -12714,7 +12529,6 @@ class Parser(Parser):
|
|
|
12714
12529
|
listener.exitWindowingClause(self)
|
|
12715
12530
|
|
|
12716
12531
|
def windowingClause(self):
|
|
12717
|
-
|
|
12718
12532
|
localctx = Parser.WindowingClauseContext(self, self._ctx, self.state)
|
|
12719
12533
|
self.enterRule(localctx, 104, self.RULE_windowingClause)
|
|
12720
12534
|
try:
|
|
@@ -12773,7 +12587,6 @@ class Parser(Parser):
|
|
|
12773
12587
|
listener.exitSignedInteger(self)
|
|
12774
12588
|
|
|
12775
12589
|
def signedInteger(self):
|
|
12776
|
-
|
|
12777
12590
|
localctx = Parser.SignedIntegerContext(self, self._ctx, self.state)
|
|
12778
12591
|
self.enterRule(localctx, 106, self.RULE_signedInteger)
|
|
12779
12592
|
try:
|
|
@@ -12828,7 +12641,6 @@ class Parser(Parser):
|
|
|
12828
12641
|
listener.exitLimitClauseItem(self)
|
|
12829
12642
|
|
|
12830
12643
|
def limitClauseItem(self):
|
|
12831
|
-
|
|
12832
12644
|
localctx = Parser.LimitClauseItemContext(self, self._ctx, self.state)
|
|
12833
12645
|
self.enterRule(localctx, 108, self.RULE_limitClauseItem)
|
|
12834
12646
|
try:
|
|
@@ -12899,7 +12711,6 @@ class Parser(Parser):
|
|
|
12899
12711
|
super().copyFrom(ctx)
|
|
12900
12712
|
|
|
12901
12713
|
class GroupAllContext(GroupingClauseContext):
|
|
12902
|
-
|
|
12903
12714
|
def __init__(
|
|
12904
12715
|
self, parser, ctx: ParserRuleContext
|
|
12905
12716
|
): # actually a VtlParser.GroupingClauseContext
|
|
@@ -12924,7 +12735,6 @@ class Parser(Parser):
|
|
|
12924
12735
|
listener.exitGroupAll(self)
|
|
12925
12736
|
|
|
12926
12737
|
class GroupByOrExceptContext(GroupingClauseContext):
|
|
12927
|
-
|
|
12928
12738
|
def __init__(
|
|
12929
12739
|
self, parser, ctx: ParserRuleContext
|
|
12930
12740
|
): # actually a VtlParser.GroupingClauseContext
|
|
@@ -12962,7 +12772,6 @@ class Parser(Parser):
|
|
|
12962
12772
|
listener.exitGroupByOrExcept(self)
|
|
12963
12773
|
|
|
12964
12774
|
def groupingClause(self):
|
|
12965
|
-
|
|
12966
12775
|
localctx = Parser.GroupingClauseContext(self, self._ctx, self.state)
|
|
12967
12776
|
self.enterRule(localctx, 110, self.RULE_groupingClause)
|
|
12968
12777
|
self._la = 0 # Token type
|
|
@@ -13043,7 +12852,6 @@ class Parser(Parser):
|
|
|
13043
12852
|
listener.exitHavingClause(self)
|
|
13044
12853
|
|
|
13045
12854
|
def havingClause(self):
|
|
13046
|
-
|
|
13047
12855
|
localctx = Parser.HavingClauseContext(self, self._ctx, self.state)
|
|
13048
12856
|
self.enterRule(localctx, 112, self.RULE_havingClause)
|
|
13049
12857
|
try:
|
|
@@ -13091,7 +12899,6 @@ class Parser(Parser):
|
|
|
13091
12899
|
listener.exitParameterItem(self)
|
|
13092
12900
|
|
|
13093
12901
|
def parameterItem(self):
|
|
13094
|
-
|
|
13095
12902
|
localctx = Parser.ParameterItemContext(self, self._ctx, self.state)
|
|
13096
12903
|
self.enterRule(localctx, 114, self.RULE_parameterItem)
|
|
13097
12904
|
self._la = 0 # Token type
|
|
@@ -13146,7 +12953,6 @@ class Parser(Parser):
|
|
|
13146
12953
|
listener.exitOutputParameterType(self)
|
|
13147
12954
|
|
|
13148
12955
|
def outputParameterType(self):
|
|
13149
|
-
|
|
13150
12956
|
localctx = Parser.OutputParameterTypeContext(self, self._ctx, self.state)
|
|
13151
12957
|
self.enterRule(localctx, 116, self.RULE_outputParameterType)
|
|
13152
12958
|
try:
|
|
@@ -13221,7 +13027,6 @@ class Parser(Parser):
|
|
|
13221
13027
|
listener.exitOutputParameterTypeComponent(self)
|
|
13222
13028
|
|
|
13223
13029
|
def outputParameterTypeComponent(self):
|
|
13224
|
-
|
|
13225
13030
|
localctx = Parser.OutputParameterTypeComponentContext(self, self._ctx, self.state)
|
|
13226
13031
|
self.enterRule(localctx, 118, self.RULE_outputParameterTypeComponent)
|
|
13227
13032
|
try:
|
|
@@ -13300,7 +13105,6 @@ class Parser(Parser):
|
|
|
13300
13105
|
listener.exitInputParameterType(self)
|
|
13301
13106
|
|
|
13302
13107
|
def inputParameterType(self):
|
|
13303
|
-
|
|
13304
13108
|
localctx = Parser.InputParameterTypeContext(self, self._ctx, self.state)
|
|
13305
13109
|
self.enterRule(localctx, 120, self.RULE_inputParameterType)
|
|
13306
13110
|
try:
|
|
@@ -13396,7 +13200,6 @@ class Parser(Parser):
|
|
|
13396
13200
|
listener.exitRulesetType(self)
|
|
13397
13201
|
|
|
13398
13202
|
def rulesetType(self):
|
|
13399
|
-
|
|
13400
13203
|
localctx = Parser.RulesetTypeContext(self, self._ctx, self.state)
|
|
13401
13204
|
self.enterRule(localctx, 122, self.RULE_rulesetType)
|
|
13402
13205
|
try:
|
|
@@ -13408,7 +13211,11 @@ class Parser(Parser):
|
|
|
13408
13211
|
self.state = 1511
|
|
13409
13212
|
self.match(Parser.RULESET)
|
|
13410
13213
|
pass
|
|
13411
|
-
elif token in [
|
|
13214
|
+
elif token in [
|
|
13215
|
+
Parser.DATAPOINT,
|
|
13216
|
+
Parser.DATAPOINT_ON_VD,
|
|
13217
|
+
Parser.DATAPOINT_ON_VAR,
|
|
13218
|
+
]:
|
|
13412
13219
|
self.enterOuterAlt(localctx, 2)
|
|
13413
13220
|
self.state = 1512
|
|
13414
13221
|
self.dpRuleset()
|
|
@@ -13467,7 +13274,6 @@ class Parser(Parser):
|
|
|
13467
13274
|
listener.exitScalarType(self)
|
|
13468
13275
|
|
|
13469
13276
|
def scalarType(self):
|
|
13470
|
-
|
|
13471
13277
|
localctx = Parser.ScalarTypeContext(self, self._ctx, self.state)
|
|
13472
13278
|
self.enterRule(localctx, 124, self.RULE_scalarType)
|
|
13473
13279
|
self._la = 0 # Token type
|
|
@@ -13557,7 +13363,6 @@ class Parser(Parser):
|
|
|
13557
13363
|
listener.exitComponentType(self)
|
|
13558
13364
|
|
|
13559
13365
|
def componentType(self):
|
|
13560
|
-
|
|
13561
13366
|
localctx = Parser.ComponentTypeContext(self, self._ctx, self.state)
|
|
13562
13367
|
self.enterRule(localctx, 126, self.RULE_componentType)
|
|
13563
13368
|
self._la = 0 # Token type
|
|
@@ -13624,7 +13429,6 @@ class Parser(Parser):
|
|
|
13624
13429
|
listener.exitDatasetType(self)
|
|
13625
13430
|
|
|
13626
13431
|
def datasetType(self):
|
|
13627
|
-
|
|
13628
13432
|
localctx = Parser.DatasetTypeContext(self, self._ctx, self.state)
|
|
13629
13433
|
self.enterRule(localctx, 128, self.RULE_datasetType)
|
|
13630
13434
|
self._la = 0 # Token type
|
|
@@ -13688,7 +13492,6 @@ class Parser(Parser):
|
|
|
13688
13492
|
listener.exitEvalDatasetType(self)
|
|
13689
13493
|
|
|
13690
13494
|
def evalDatasetType(self):
|
|
13691
|
-
|
|
13692
13495
|
localctx = Parser.EvalDatasetTypeContext(self, self._ctx, self.state)
|
|
13693
13496
|
self.enterRule(localctx, 130, self.RULE_evalDatasetType)
|
|
13694
13497
|
try:
|
|
@@ -13758,7 +13561,6 @@ class Parser(Parser):
|
|
|
13758
13561
|
listener.exitScalarSetType(self)
|
|
13759
13562
|
|
|
13760
13563
|
def scalarSetType(self):
|
|
13761
|
-
|
|
13762
13564
|
localctx = Parser.ScalarSetTypeContext(self, self._ctx, self.state)
|
|
13763
13565
|
self.enterRule(localctx, 132, self.RULE_scalarSetType)
|
|
13764
13566
|
self._la = 0 # Token type
|
|
@@ -13799,7 +13601,6 @@ class Parser(Parser):
|
|
|
13799
13601
|
super().copyFrom(ctx)
|
|
13800
13602
|
|
|
13801
13603
|
class DataPointVdContext(DpRulesetContext):
|
|
13802
|
-
|
|
13803
13604
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.DpRulesetContext
|
|
13804
13605
|
super().__init__(parser)
|
|
13805
13606
|
self.copyFrom(ctx)
|
|
@@ -13834,7 +13635,6 @@ class Parser(Parser):
|
|
|
13834
13635
|
listener.exitDataPointVd(self)
|
|
13835
13636
|
|
|
13836
13637
|
class DataPointVarContext(DpRulesetContext):
|
|
13837
|
-
|
|
13838
13638
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.DpRulesetContext
|
|
13839
13639
|
super().__init__(parser)
|
|
13840
13640
|
self.copyFrom(ctx)
|
|
@@ -13869,7 +13669,6 @@ class Parser(Parser):
|
|
|
13869
13669
|
listener.exitDataPointVar(self)
|
|
13870
13670
|
|
|
13871
13671
|
class DataPointContext(DpRulesetContext):
|
|
13872
|
-
|
|
13873
13672
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.DpRulesetContext
|
|
13874
13673
|
super().__init__(parser)
|
|
13875
13674
|
self.copyFrom(ctx)
|
|
@@ -13886,7 +13685,6 @@ class Parser(Parser):
|
|
|
13886
13685
|
listener.exitDataPoint(self)
|
|
13887
13686
|
|
|
13888
13687
|
def dpRuleset(self):
|
|
13889
|
-
|
|
13890
13688
|
localctx = Parser.DpRulesetContext(self, self._ctx, self.state)
|
|
13891
13689
|
self.enterRule(localctx, 134, self.RULE_dpRuleset)
|
|
13892
13690
|
self._la = 0 # Token type
|
|
@@ -13983,7 +13781,6 @@ class Parser(Parser):
|
|
|
13983
13781
|
super().copyFrom(ctx)
|
|
13984
13782
|
|
|
13985
13783
|
class HrRulesetVdTypeContext(HrRulesetContext):
|
|
13986
|
-
|
|
13987
13784
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.HrRulesetContext
|
|
13988
13785
|
super().__init__(parser)
|
|
13989
13786
|
self.vdName = None # Token
|
|
@@ -14028,7 +13825,6 @@ class Parser(Parser):
|
|
|
14028
13825
|
listener.exitHrRulesetVdType(self)
|
|
14029
13826
|
|
|
14030
13827
|
class HrRulesetVarTypeContext(HrRulesetContext):
|
|
14031
|
-
|
|
14032
13828
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.HrRulesetContext
|
|
14033
13829
|
super().__init__(parser)
|
|
14034
13830
|
self.varName = None # VarIDContext
|
|
@@ -14070,7 +13866,6 @@ class Parser(Parser):
|
|
|
14070
13866
|
listener.exitHrRulesetVarType(self)
|
|
14071
13867
|
|
|
14072
13868
|
class HrRulesetTypeContext(HrRulesetContext):
|
|
14073
|
-
|
|
14074
13869
|
def __init__(self, parser, ctx: ParserRuleContext): # actually a VtlParser.HrRulesetContext
|
|
14075
13870
|
super().__init__(parser)
|
|
14076
13871
|
self.copyFrom(ctx)
|
|
@@ -14087,7 +13882,6 @@ class Parser(Parser):
|
|
|
14087
13882
|
listener.exitHrRulesetType(self)
|
|
14088
13883
|
|
|
14089
13884
|
def hrRuleset(self):
|
|
14090
|
-
|
|
14091
13885
|
localctx = Parser.HrRulesetContext(self, self._ctx, self.state)
|
|
14092
13886
|
self.enterRule(localctx, 136, self.RULE_hrRuleset)
|
|
14093
13887
|
self._la = 0 # Token type
|
|
@@ -14214,7 +14008,6 @@ class Parser(Parser):
|
|
|
14214
14008
|
listener.exitValueDomainName(self)
|
|
14215
14009
|
|
|
14216
14010
|
def valueDomainName(self):
|
|
14217
|
-
|
|
14218
14011
|
localctx = Parser.ValueDomainNameContext(self, self._ctx, self.state)
|
|
14219
14012
|
self.enterRule(localctx, 138, self.RULE_valueDomainName)
|
|
14220
14013
|
try:
|
|
@@ -14251,7 +14044,6 @@ class Parser(Parser):
|
|
|
14251
14044
|
listener.exitRulesetID(self)
|
|
14252
14045
|
|
|
14253
14046
|
def rulesetID(self):
|
|
14254
|
-
|
|
14255
14047
|
localctx = Parser.RulesetIDContext(self, self._ctx, self.state)
|
|
14256
14048
|
self.enterRule(localctx, 140, self.RULE_rulesetID)
|
|
14257
14049
|
try:
|
|
@@ -14303,7 +14095,6 @@ class Parser(Parser):
|
|
|
14303
14095
|
listener.exitRulesetSignature(self)
|
|
14304
14096
|
|
|
14305
14097
|
def rulesetSignature(self):
|
|
14306
|
-
|
|
14307
14098
|
localctx = Parser.RulesetSignatureContext(self, self._ctx, self.state)
|
|
14308
14099
|
self.enterRule(localctx, 142, self.RULE_rulesetSignature)
|
|
14309
14100
|
self._la = 0 # Token type
|
|
@@ -14366,7 +14157,6 @@ class Parser(Parser):
|
|
|
14366
14157
|
listener.exitSignature(self)
|
|
14367
14158
|
|
|
14368
14159
|
def signature(self):
|
|
14369
|
-
|
|
14370
14160
|
localctx = Parser.SignatureContext(self, self._ctx, self.state)
|
|
14371
14161
|
self.enterRule(localctx, 144, self.RULE_signature)
|
|
14372
14162
|
self._la = 0 # Token type
|
|
@@ -14422,7 +14212,6 @@ class Parser(Parser):
|
|
|
14422
14212
|
listener.exitRuleClauseDatapoint(self)
|
|
14423
14213
|
|
|
14424
14214
|
def ruleClauseDatapoint(self):
|
|
14425
|
-
|
|
14426
14215
|
localctx = Parser.RuleClauseDatapointContext(self, self._ctx, self.state)
|
|
14427
14216
|
self.enterRule(localctx, 146, self.RULE_ruleClauseDatapoint)
|
|
14428
14217
|
self._la = 0 # Token type
|
|
@@ -14496,7 +14285,6 @@ class Parser(Parser):
|
|
|
14496
14285
|
listener.exitRuleItemDatapoint(self)
|
|
14497
14286
|
|
|
14498
14287
|
def ruleItemDatapoint(self):
|
|
14499
|
-
|
|
14500
14288
|
localctx = Parser.RuleItemDatapointContext(self, self._ctx, self.state)
|
|
14501
14289
|
self.enterRule(localctx, 148, self.RULE_ruleItemDatapoint)
|
|
14502
14290
|
self._la = 0 # Token type
|
|
@@ -14577,7 +14365,6 @@ class Parser(Parser):
|
|
|
14577
14365
|
listener.exitRuleClauseHierarchical(self)
|
|
14578
14366
|
|
|
14579
14367
|
def ruleClauseHierarchical(self):
|
|
14580
|
-
|
|
14581
14368
|
localctx = Parser.RuleClauseHierarchicalContext(self, self._ctx, self.state)
|
|
14582
14369
|
self.enterRule(localctx, 150, self.RULE_ruleClauseHierarchical)
|
|
14583
14370
|
self._la = 0 # Token type
|
|
@@ -14640,7 +14427,6 @@ class Parser(Parser):
|
|
|
14640
14427
|
listener.exitRuleItemHierarchical(self)
|
|
14641
14428
|
|
|
14642
14429
|
def ruleItemHierarchical(self):
|
|
14643
|
-
|
|
14644
14430
|
localctx = Parser.RuleItemHierarchicalContext(self, self._ctx, self.state)
|
|
14645
14431
|
self.enterRule(localctx, 152, self.RULE_ruleItemHierarchical)
|
|
14646
14432
|
self._la = 0 # Token type
|
|
@@ -14716,7 +14502,6 @@ class Parser(Parser):
|
|
|
14716
14502
|
listener.exitHierRuleSignature(self)
|
|
14717
14503
|
|
|
14718
14504
|
def hierRuleSignature(self):
|
|
14719
|
-
|
|
14720
14505
|
localctx = Parser.HierRuleSignatureContext(self, self._ctx, self.state)
|
|
14721
14506
|
self.enterRule(localctx, 154, self.RULE_hierRuleSignature)
|
|
14722
14507
|
self._la = 0 # Token type
|
|
@@ -14781,7 +14566,6 @@ class Parser(Parser):
|
|
|
14781
14566
|
listener.exitValueDomainSignature(self)
|
|
14782
14567
|
|
|
14783
14568
|
def valueDomainSignature(self):
|
|
14784
|
-
|
|
14785
14569
|
localctx = Parser.ValueDomainSignatureContext(self, self._ctx, self.state)
|
|
14786
14570
|
self.enterRule(localctx, 156, self.RULE_valueDomainSignature)
|
|
14787
14571
|
self._la = 0 # Token type
|
|
@@ -14850,7 +14634,6 @@ class Parser(Parser):
|
|
|
14850
14634
|
listener.exitCodeItemRelation(self)
|
|
14851
14635
|
|
|
14852
14636
|
def codeItemRelation(self):
|
|
14853
|
-
|
|
14854
14637
|
localctx = Parser.CodeItemRelationContext(self, self._ctx, self.state)
|
|
14855
14638
|
self.enterRule(localctx, 158, self.RULE_codeItemRelation)
|
|
14856
14639
|
self._la = 0 # Token type
|
|
@@ -14895,7 +14678,7 @@ class Parser(Parser):
|
|
|
14895
14678
|
_la == Parser.PLUS
|
|
14896
14679
|
or _la == Parser.MINUS
|
|
14897
14680
|
or (
|
|
14898
|
-
((
|
|
14681
|
+
((_la - 241) & ~0x3F) == 0
|
|
14899
14682
|
and (
|
|
14900
14683
|
(1 << (_la - 241))
|
|
14901
14684
|
& (
|
|
@@ -14961,7 +14744,6 @@ class Parser(Parser):
|
|
|
14961
14744
|
listener.exitCodeItemRelationClause(self)
|
|
14962
14745
|
|
|
14963
14746
|
def codeItemRelationClause(self):
|
|
14964
|
-
|
|
14965
14747
|
localctx = Parser.CodeItemRelationClauseContext(self, self._ctx, self.state)
|
|
14966
14748
|
self.enterRule(localctx, 160, self.RULE_codeItemRelationClause)
|
|
14967
14749
|
self._la = 0 # Token type
|
|
@@ -15029,7 +14811,6 @@ class Parser(Parser):
|
|
|
15029
14811
|
listener.exitValueDomainValue(self)
|
|
15030
14812
|
|
|
15031
14813
|
def valueDomainValue(self):
|
|
15032
|
-
|
|
15033
14814
|
localctx = Parser.ValueDomainValueContext(self, self._ctx, self.state)
|
|
15034
14815
|
self.enterRule(localctx, 162, self.RULE_valueDomainValue)
|
|
15035
14816
|
self._la = 0 # Token type
|
|
@@ -15038,18 +14819,16 @@ class Parser(Parser):
|
|
|
15038
14819
|
self.state = 1739
|
|
15039
14820
|
_la = self._input.LA(1)
|
|
15040
14821
|
if not (
|
|
15041
|
-
(
|
|
15042
|
-
|
|
15043
|
-
|
|
15044
|
-
|
|
15045
|
-
|
|
15046
|
-
|
|
15047
|
-
|
|
15048
|
-
| (1 << (Parser.IDENTIFIER - 241))
|
|
15049
|
-
)
|
|
14822
|
+
((_la - 241) & ~0x3F) == 0
|
|
14823
|
+
and (
|
|
14824
|
+
(1 << (_la - 241))
|
|
14825
|
+
& (
|
|
14826
|
+
(1 << (Parser.INTEGER_CONSTANT - 241))
|
|
14827
|
+
| (1 << (Parser.NUMBER_CONSTANT - 241))
|
|
14828
|
+
| (1 << (Parser.IDENTIFIER - 241))
|
|
15050
14829
|
)
|
|
15051
|
-
!= 0
|
|
15052
14830
|
)
|
|
14831
|
+
!= 0
|
|
15053
14832
|
):
|
|
15054
14833
|
self._errHandler.recoverInline(self)
|
|
15055
14834
|
else:
|
|
@@ -15077,7 +14856,6 @@ class Parser(Parser):
|
|
|
15077
14856
|
super().copyFrom(ctx)
|
|
15078
14857
|
|
|
15079
14858
|
class RangeConstraintContext(ScalarTypeConstraintContext):
|
|
15080
|
-
|
|
15081
14859
|
def __init__(
|
|
15082
14860
|
self, parser, ctx: ParserRuleContext
|
|
15083
14861
|
): # actually a VtlParser.ScalarTypeConstraintContext
|
|
@@ -15111,7 +14889,6 @@ class Parser(Parser):
|
|
|
15111
14889
|
listener.exitRangeConstraint(self)
|
|
15112
14890
|
|
|
15113
14891
|
class ConditionConstraintContext(ScalarTypeConstraintContext):
|
|
15114
|
-
|
|
15115
14892
|
def __init__(
|
|
15116
14893
|
self, parser, ctx: ParserRuleContext
|
|
15117
14894
|
): # actually a VtlParser.ScalarTypeConstraintContext
|
|
@@ -15136,7 +14913,6 @@ class Parser(Parser):
|
|
|
15136
14913
|
listener.exitConditionConstraint(self)
|
|
15137
14914
|
|
|
15138
14915
|
def scalarTypeConstraint(self):
|
|
15139
|
-
|
|
15140
14916
|
localctx = Parser.ScalarTypeConstraintContext(self, self._ctx, self.state)
|
|
15141
14917
|
self.enterRule(localctx, 164, self.RULE_scalarTypeConstraint)
|
|
15142
14918
|
self._la = 0 # Token type
|
|
@@ -15215,7 +14991,6 @@ class Parser(Parser):
|
|
|
15215
14991
|
listener.exitCompConstraint(self)
|
|
15216
14992
|
|
|
15217
14993
|
def compConstraint(self):
|
|
15218
|
-
|
|
15219
14994
|
localctx = Parser.CompConstraintContext(self, self._ctx, self.state)
|
|
15220
14995
|
self.enterRule(localctx, 166, self.RULE_compConstraint)
|
|
15221
14996
|
try:
|
|
@@ -15272,7 +15047,6 @@ class Parser(Parser):
|
|
|
15272
15047
|
listener.exitMultModifier(self)
|
|
15273
15048
|
|
|
15274
15049
|
def multModifier(self):
|
|
15275
|
-
|
|
15276
15050
|
localctx = Parser.MultModifierContext(self, self._ctx, self.state)
|
|
15277
15051
|
self.enterRule(localctx, 168, self.RULE_multModifier)
|
|
15278
15052
|
self._la = 0 # Token type
|
|
@@ -15328,7 +15102,6 @@ class Parser(Parser):
|
|
|
15328
15102
|
listener.exitValidationOutput(self)
|
|
15329
15103
|
|
|
15330
15104
|
def validationOutput(self):
|
|
15331
|
-
|
|
15332
15105
|
localctx = Parser.ValidationOutputContext(self, self._ctx, self.state)
|
|
15333
15106
|
self.enterRule(localctx, 170, self.RULE_validationOutput)
|
|
15334
15107
|
self._la = 0 # Token type
|
|
@@ -15386,7 +15159,6 @@ class Parser(Parser):
|
|
|
15386
15159
|
listener.exitValidationMode(self)
|
|
15387
15160
|
|
|
15388
15161
|
def validationMode(self):
|
|
15389
|
-
|
|
15390
15162
|
localctx = Parser.ValidationModeContext(self, self._ctx, self.state)
|
|
15391
15163
|
self.enterRule(localctx, 172, self.RULE_validationMode)
|
|
15392
15164
|
self._la = 0 # Token type
|
|
@@ -15395,21 +15167,19 @@ class Parser(Parser):
|
|
|
15395
15167
|
self.state = 1769
|
|
15396
15168
|
_la = self._input.LA(1)
|
|
15397
15169
|
if not (
|
|
15398
|
-
(
|
|
15399
|
-
|
|
15400
|
-
|
|
15401
|
-
|
|
15402
|
-
|
|
15403
|
-
|
|
15404
|
-
|
|
15405
|
-
|
|
15406
|
-
|
|
15407
|
-
|
|
15408
|
-
| (1 << (Parser.ALWAYS_ZERO - 225))
|
|
15409
|
-
)
|
|
15170
|
+
((_la - 225) & ~0x3F) == 0
|
|
15171
|
+
and (
|
|
15172
|
+
(1 << (_la - 225))
|
|
15173
|
+
& (
|
|
15174
|
+
(1 << (Parser.NON_NULL - 225))
|
|
15175
|
+
| (1 << (Parser.NON_ZERO - 225))
|
|
15176
|
+
| (1 << (Parser.PARTIAL_NULL - 225))
|
|
15177
|
+
| (1 << (Parser.PARTIAL_ZERO - 225))
|
|
15178
|
+
| (1 << (Parser.ALWAYS_NULL - 225))
|
|
15179
|
+
| (1 << (Parser.ALWAYS_ZERO - 225))
|
|
15410
15180
|
)
|
|
15411
|
-
!= 0
|
|
15412
15181
|
)
|
|
15182
|
+
!= 0
|
|
15413
15183
|
):
|
|
15414
15184
|
self._errHandler.recoverInline(self)
|
|
15415
15185
|
else:
|
|
@@ -15457,7 +15227,6 @@ class Parser(Parser):
|
|
|
15457
15227
|
listener.exitConditionClause(self)
|
|
15458
15228
|
|
|
15459
15229
|
def conditionClause(self):
|
|
15460
|
-
|
|
15461
15230
|
localctx = Parser.ConditionClauseContext(self, self._ctx, self.state)
|
|
15462
15231
|
self.enterRule(localctx, 174, self.RULE_conditionClause)
|
|
15463
15232
|
self._la = 0 # Token type
|
|
@@ -15512,7 +15281,6 @@ class Parser(Parser):
|
|
|
15512
15281
|
listener.exitInputMode(self)
|
|
15513
15282
|
|
|
15514
15283
|
def inputMode(self):
|
|
15515
|
-
|
|
15516
15284
|
localctx = Parser.InputModeContext(self, self._ctx, self.state)
|
|
15517
15285
|
self.enterRule(localctx, 176, self.RULE_inputMode)
|
|
15518
15286
|
self._la = 0 # Token type
|
|
@@ -15558,7 +15326,6 @@ class Parser(Parser):
|
|
|
15558
15326
|
listener.exitImbalanceExpr(self)
|
|
15559
15327
|
|
|
15560
15328
|
def imbalanceExpr(self):
|
|
15561
|
-
|
|
15562
15329
|
localctx = Parser.ImbalanceExprContext(self, self._ctx, self.state)
|
|
15563
15330
|
self.enterRule(localctx, 178, self.RULE_imbalanceExpr)
|
|
15564
15331
|
try:
|
|
@@ -15603,7 +15370,6 @@ class Parser(Parser):
|
|
|
15603
15370
|
listener.exitInputModeHierarchy(self)
|
|
15604
15371
|
|
|
15605
15372
|
def inputModeHierarchy(self):
|
|
15606
|
-
|
|
15607
15373
|
localctx = Parser.InputModeHierarchyContext(self, self._ctx, self.state)
|
|
15608
15374
|
self.enterRule(localctx, 180, self.RULE_inputModeHierarchy)
|
|
15609
15375
|
self._la = 0 # Token type
|
|
@@ -15649,7 +15415,6 @@ class Parser(Parser):
|
|
|
15649
15415
|
listener.exitOutputModeHierarchy(self)
|
|
15650
15416
|
|
|
15651
15417
|
def outputModeHierarchy(self):
|
|
15652
|
-
|
|
15653
15418
|
localctx = Parser.OutputModeHierarchyContext(self, self._ctx, self.state)
|
|
15654
15419
|
self.enterRule(localctx, 182, self.RULE_outputModeHierarchy)
|
|
15655
15420
|
self._la = 0 # Token type
|
|
@@ -15692,7 +15457,6 @@ class Parser(Parser):
|
|
|
15692
15457
|
listener.exitAlias(self)
|
|
15693
15458
|
|
|
15694
15459
|
def alias(self):
|
|
15695
|
-
|
|
15696
15460
|
localctx = Parser.AliasContext(self, self._ctx, self.state)
|
|
15697
15461
|
self.enterRule(localctx, 184, self.RULE_alias)
|
|
15698
15462
|
try:
|
|
@@ -15729,7 +15493,6 @@ class Parser(Parser):
|
|
|
15729
15493
|
listener.exitVarID(self)
|
|
15730
15494
|
|
|
15731
15495
|
def varID(self):
|
|
15732
|
-
|
|
15733
15496
|
localctx = Parser.VarIDContext(self, self._ctx, self.state)
|
|
15734
15497
|
self.enterRule(localctx, 186, self.RULE_varID)
|
|
15735
15498
|
try:
|
|
@@ -15766,7 +15529,6 @@ class Parser(Parser):
|
|
|
15766
15529
|
listener.exitSimpleComponentId(self)
|
|
15767
15530
|
|
|
15768
15531
|
def simpleComponentId(self):
|
|
15769
|
-
|
|
15770
15532
|
localctx = Parser.SimpleComponentIdContext(self, self._ctx, self.state)
|
|
15771
15533
|
self.enterRule(localctx, 188, self.RULE_simpleComponentId)
|
|
15772
15534
|
try:
|
|
@@ -15809,7 +15571,6 @@ class Parser(Parser):
|
|
|
15809
15571
|
listener.exitComponentID(self)
|
|
15810
15572
|
|
|
15811
15573
|
def componentID(self):
|
|
15812
|
-
|
|
15813
15574
|
localctx = Parser.ComponentIDContext(self, self._ctx, self.state)
|
|
15814
15575
|
self.enterRule(localctx, 190, self.RULE_componentID)
|
|
15815
15576
|
try:
|
|
@@ -15870,7 +15631,6 @@ class Parser(Parser):
|
|
|
15870
15631
|
listener.exitLists(self)
|
|
15871
15632
|
|
|
15872
15633
|
def lists(self):
|
|
15873
|
-
|
|
15874
15634
|
localctx = Parser.ListsContext(self, self._ctx, self.state)
|
|
15875
15635
|
self.enterRule(localctx, 192, self.RULE_lists)
|
|
15876
15636
|
self._la = 0 # Token type
|
|
@@ -15927,7 +15687,6 @@ class Parser(Parser):
|
|
|
15927
15687
|
listener.exitErCode(self)
|
|
15928
15688
|
|
|
15929
15689
|
def erCode(self):
|
|
15930
|
-
|
|
15931
15690
|
localctx = Parser.ErCodeContext(self, self._ctx, self.state)
|
|
15932
15691
|
self.enterRule(localctx, 194, self.RULE_erCode)
|
|
15933
15692
|
try:
|
|
@@ -15969,7 +15728,6 @@ class Parser(Parser):
|
|
|
15969
15728
|
listener.exitErLevel(self)
|
|
15970
15729
|
|
|
15971
15730
|
def erLevel(self):
|
|
15972
|
-
|
|
15973
15731
|
localctx = Parser.ErLevelContext(self, self._ctx, self.state)
|
|
15974
15732
|
self.enterRule(localctx, 196, self.RULE_erLevel)
|
|
15975
15733
|
try:
|
|
@@ -16023,7 +15781,6 @@ class Parser(Parser):
|
|
|
16023
15781
|
listener.exitComparisonOperand(self)
|
|
16024
15782
|
|
|
16025
15783
|
def comparisonOperand(self):
|
|
16026
|
-
|
|
16027
15784
|
localctx = Parser.ComparisonOperandContext(self, self._ctx, self.state)
|
|
16028
15785
|
self.enterRule(localctx, 198, self.RULE_comparisonOperand)
|
|
16029
15786
|
self._la = 0 # Token type
|
|
@@ -16032,21 +15789,19 @@ class Parser(Parser):
|
|
|
16032
15789
|
self.state = 1817
|
|
16033
15790
|
_la = self._input.LA(1)
|
|
16034
15791
|
if not (
|
|
16035
|
-
(
|
|
16036
|
-
|
|
16037
|
-
|
|
16038
|
-
|
|
16039
|
-
|
|
16040
|
-
|
|
16041
|
-
|
|
16042
|
-
|
|
16043
|
-
|
|
16044
|
-
|
|
16045
|
-
| (1 << Parser.LE)
|
|
16046
|
-
)
|
|
15792
|
+
((_la) & ~0x3F) == 0
|
|
15793
|
+
and (
|
|
15794
|
+
(1 << _la)
|
|
15795
|
+
& (
|
|
15796
|
+
(1 << Parser.EQ)
|
|
15797
|
+
| (1 << Parser.LT)
|
|
15798
|
+
| (1 << Parser.MT)
|
|
15799
|
+
| (1 << Parser.ME)
|
|
15800
|
+
| (1 << Parser.NEQ)
|
|
15801
|
+
| (1 << Parser.LE)
|
|
16047
15802
|
)
|
|
16048
|
-
!= 0
|
|
16049
15803
|
)
|
|
15804
|
+
!= 0
|
|
16050
15805
|
):
|
|
16051
15806
|
self._errHandler.recoverInline(self)
|
|
16052
15807
|
else:
|
|
@@ -16085,7 +15840,6 @@ class Parser(Parser):
|
|
|
16085
15840
|
listener.exitOptionalExpr(self)
|
|
16086
15841
|
|
|
16087
15842
|
def optionalExpr(self):
|
|
16088
|
-
|
|
16089
15843
|
localctx = Parser.OptionalExprContext(self, self._ctx, self.state)
|
|
16090
15844
|
self.enterRule(localctx, 200, self.RULE_optionalExpr)
|
|
16091
15845
|
try:
|
|
@@ -16223,7 +15977,6 @@ class Parser(Parser):
|
|
|
16223
15977
|
listener.exitOptionalExprComponent(self)
|
|
16224
15978
|
|
|
16225
15979
|
def optionalExprComponent(self):
|
|
16226
|
-
|
|
16227
15980
|
localctx = Parser.OptionalExprComponentContext(self, self._ctx, self.state)
|
|
16228
15981
|
self.enterRule(localctx, 202, self.RULE_optionalExprComponent)
|
|
16229
15982
|
try:
|
|
@@ -16358,7 +16111,6 @@ class Parser(Parser):
|
|
|
16358
16111
|
listener.exitComponentRole(self)
|
|
16359
16112
|
|
|
16360
16113
|
def componentRole(self):
|
|
16361
|
-
|
|
16362
16114
|
localctx = Parser.ComponentRoleContext(self, self._ctx, self.state)
|
|
16363
16115
|
self.enterRule(localctx, 204, self.RULE_componentRole)
|
|
16364
16116
|
try:
|
|
@@ -16426,7 +16178,6 @@ class Parser(Parser):
|
|
|
16426
16178
|
listener.exitViralAttribute(self)
|
|
16427
16179
|
|
|
16428
16180
|
def viralAttribute(self):
|
|
16429
|
-
|
|
16430
16181
|
localctx = Parser.ViralAttributeContext(self, self._ctx, self.state)
|
|
16431
16182
|
self.enterRule(localctx, 206, self.RULE_viralAttribute)
|
|
16432
16183
|
try:
|
|
@@ -16465,7 +16216,6 @@ class Parser(Parser):
|
|
|
16465
16216
|
listener.exitValueDomainID(self)
|
|
16466
16217
|
|
|
16467
16218
|
def valueDomainID(self):
|
|
16468
|
-
|
|
16469
16219
|
localctx = Parser.ValueDomainIDContext(self, self._ctx, self.state)
|
|
16470
16220
|
self.enterRule(localctx, 208, self.RULE_valueDomainID)
|
|
16471
16221
|
try:
|
|
@@ -16502,7 +16252,6 @@ class Parser(Parser):
|
|
|
16502
16252
|
listener.exitOperatorID(self)
|
|
16503
16253
|
|
|
16504
16254
|
def operatorID(self):
|
|
16505
|
-
|
|
16506
16255
|
localctx = Parser.OperatorIDContext(self, self._ctx, self.state)
|
|
16507
16256
|
self.enterRule(localctx, 210, self.RULE_operatorID)
|
|
16508
16257
|
try:
|
|
@@ -16539,7 +16288,6 @@ class Parser(Parser):
|
|
|
16539
16288
|
listener.exitRoutineName(self)
|
|
16540
16289
|
|
|
16541
16290
|
def routineName(self):
|
|
16542
|
-
|
|
16543
16291
|
localctx = Parser.RoutineNameContext(self, self._ctx, self.state)
|
|
16544
16292
|
self.enterRule(localctx, 212, self.RULE_routineName)
|
|
16545
16293
|
try:
|
|
@@ -16588,7 +16336,6 @@ class Parser(Parser):
|
|
|
16588
16336
|
listener.exitConstant(self)
|
|
16589
16337
|
|
|
16590
16338
|
def constant(self):
|
|
16591
|
-
|
|
16592
16339
|
localctx = Parser.ConstantContext(self, self._ctx, self.state)
|
|
16593
16340
|
self.enterRule(localctx, 214, self.RULE_constant)
|
|
16594
16341
|
self._la = 0 # Token type
|
|
@@ -16599,7 +16346,7 @@ class Parser(Parser):
|
|
|
16599
16346
|
if not (
|
|
16600
16347
|
_la == Parser.NULL_CONSTANT
|
|
16601
16348
|
or (
|
|
16602
|
-
((
|
|
16349
|
+
((_la - 241) & ~0x3F) == 0
|
|
16603
16350
|
and (
|
|
16604
16351
|
(1 << (_la - 241))
|
|
16605
16352
|
& (
|
|
@@ -16670,7 +16417,6 @@ class Parser(Parser):
|
|
|
16670
16417
|
listener.exitBasicScalarType(self)
|
|
16671
16418
|
|
|
16672
16419
|
def basicScalarType(self):
|
|
16673
|
-
|
|
16674
16420
|
localctx = Parser.BasicScalarTypeContext(self, self._ctx, self.state)
|
|
16675
16421
|
self.enterRule(localctx, 216, self.RULE_basicScalarType)
|
|
16676
16422
|
self._la = 0 # Token type
|
|
@@ -16680,7 +16426,7 @@ class Parser(Parser):
|
|
|
16680
16426
|
_la = self._input.LA(1)
|
|
16681
16427
|
if not (
|
|
16682
16428
|
(
|
|
16683
|
-
((
|
|
16429
|
+
((_la - 168) & ~0x3F) == 0
|
|
16684
16430
|
and (
|
|
16685
16431
|
(1 << (_la - 168))
|
|
16686
16432
|
& (
|
|
@@ -16735,7 +16481,6 @@ class Parser(Parser):
|
|
|
16735
16481
|
listener.exitRetainType(self)
|
|
16736
16482
|
|
|
16737
16483
|
def retainType(self):
|
|
16738
|
-
|
|
16739
16484
|
localctx = Parser.RetainTypeContext(self, self._ctx, self.state)
|
|
16740
16485
|
self.enterRule(localctx, 218, self.RULE_retainType)
|
|
16741
16486
|
self._la = 0 # Token type
|