@cloudcare/lezer-dql 0.0.54 → 0.0.55
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.
- package/dist/index.cjs +205 -201
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +205 -202
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -73,45 +73,46 @@ const SOffset$1 = 1,
|
|
|
73
73
|
Regexp$1 = 67,
|
|
74
74
|
RegexpExtract$1 = 68,
|
|
75
75
|
RegexpExtractAll$1 = 69,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
76
|
+
RegexpReplace$1 = 70,
|
|
77
|
+
Collect$1 = 71,
|
|
78
|
+
Concat$1 = 72,
|
|
79
|
+
Drain$1 = 73,
|
|
80
|
+
Wildcard$1 = 74,
|
|
81
|
+
QueryString$1 = 75,
|
|
82
|
+
Querystring$1 = 76,
|
|
83
|
+
WithLabels$1 = 77,
|
|
84
|
+
WithoutLabels$1 = 78,
|
|
85
|
+
Unwrap$1 = 79,
|
|
86
|
+
Now$1 = 80,
|
|
87
|
+
Cumsum$1 = 81,
|
|
88
|
+
Window$1 = 82,
|
|
89
|
+
Dbscan$1 = 83,
|
|
90
|
+
Lower$1 = 84,
|
|
91
|
+
Upper$1 = 85,
|
|
92
|
+
Trim$1 = 86,
|
|
93
|
+
Ltrim$1 = 87,
|
|
94
|
+
Rtrim$1 = 88,
|
|
95
|
+
Substr$1 = 89,
|
|
96
|
+
Length$1 = 90,
|
|
97
|
+
Eval$1 = 91,
|
|
98
|
+
Search$1 = 92,
|
|
99
|
+
Order$1 = 93,
|
|
100
|
+
SOrder$1 = 94,
|
|
101
|
+
Limit$1 = 95,
|
|
102
|
+
Slimit$1 = 96,
|
|
103
|
+
Asc$1 = 97,
|
|
104
|
+
Desc$1 = 98,
|
|
105
|
+
In$1 = 99,
|
|
106
|
+
Not$1 = 100,
|
|
107
|
+
NotIn$1 = 101,
|
|
108
|
+
By$1 = 102,
|
|
109
|
+
And$1 = 103,
|
|
110
|
+
Or$1 = 104,
|
|
111
|
+
Case$1 = 105,
|
|
112
|
+
When$1 = 106,
|
|
113
|
+
Then$1 = 107,
|
|
114
|
+
Else$1 = 108,
|
|
115
|
+
End$1 = 109;
|
|
115
116
|
|
|
116
117
|
function camelToSnake(str) {
|
|
117
118
|
return str
|
|
@@ -178,6 +179,7 @@ const funcTokenMap = {
|
|
|
178
179
|
Regexp: Regexp$1,
|
|
179
180
|
RegexpExtract: RegexpExtract$1,
|
|
180
181
|
RegexpExtractAll: RegexpExtractAll$1,
|
|
182
|
+
RegexpReplace: RegexpReplace$1,
|
|
181
183
|
Collect: Collect$1,
|
|
182
184
|
Concat: Concat$1,
|
|
183
185
|
Drain: Drain$1,
|
|
@@ -277,7 +279,7 @@ const DQLHighLight = highlight.styleTags({
|
|
|
277
279
|
Identifier: highlight.tags.variableName,
|
|
278
280
|
ShowIdentifier: highlight.tags.labelName,
|
|
279
281
|
NamespaceIdentifier: highlight.tags.labelName,
|
|
280
|
-
"Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount RateOverSum PercentileFromDdsketchPayload Deriv Increase Log Log10 Log2 Max Min Mode NonNegativeDerivative NonNegativeDifference Round Spread Stddev Sum Schema DistinctByCollapse Default Fill CountFilter Count First Any Last LastRow Bottom Top MovingAverage Percentile Median Set Int Float String Md5 Histogram HistogramAuto HistogramQuantile Exists Cidr Match Regex Re Regexp RegexpExtract RegexpExtractAll Collect Concat Drain Wildcard QueryString Querystring WithLabels WithoutLabels Unwrap Now Cumsum Window Dbscan Eval Avg Lower Upper Trim Ltrim Rtrim Substr Length P99 P90 P95 P75 P50 Search":
|
|
282
|
+
"Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount RateOverSum PercentileFromDdsketchPayload Deriv Increase Log Log10 Log2 Max Min Mode NonNegativeDerivative NonNegativeDifference Round Spread Stddev Sum Schema DistinctByCollapse Default Fill CountFilter Count First Any Last LastRow Bottom Top MovingAverage Percentile Median Set Int Float String Md5 Histogram HistogramAuto HistogramQuantile Exists Cidr Match Regex Re Regexp RegexpExtract RegexpExtractAll RegexpReplace Collect Concat Drain Wildcard QueryString Querystring WithLabels WithoutLabels Unwrap Now Cumsum Window Dbscan Eval Avg Lower Upper Trim Ltrim Rtrim Substr Length P99 P90 P95 P75 P50 Search":
|
|
281
283
|
highlight.tags.function(highlight.tags.variableName),
|
|
282
284
|
"Order SOrder By Limit Offset Slimit SOffset As Desc Asc Having Case When Then Else End": highlight.tags.operatorKeyword,
|
|
283
285
|
Nil: highlight.tags.null,
|
|
@@ -294,19 +296,19 @@ const DQLHighLight = highlight.styleTags({
|
|
|
294
296
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
295
297
|
const parser = lr.LRParser.deserialize({
|
|
296
298
|
version: 14,
|
|
297
|
-
states: "!&UO&
|
|
298
|
-
stateData: "#,
|
|
299
|
-
goto: "<
|
|
300
|
-
nodeNames: "⚠ SOffset Offset Base64 As Nil P99 P50 P90 P95 P75 Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount RateOverSum PercentileFromDdsketchPayload Deriv Increase Log Log10 Log2 Max Min Mode NonNegativeDerivative NonNegativeDifference Round Spread Stddev Sum Schema DistinctByCollapse Default Fill CountFilter Count First Any Last LastRow Bottom Top MovingAverage Percentile Median Set Int Float String Md5 Histogram HistogramAuto HistogramQuantile Exists Cidr Match Regex Re Regexp RegexpExtract RegexpExtractAll Collect Concat Drain Wildcard QueryString Querystring WithLabels WithoutLabels Unwrap Now Cumsum Window Dbscan Lower Upper Trim Ltrim Rtrim Substr Length Eval Search Order SOrder Limit Slimit Asc Desc In Not NotIn By And Or Case When Then Else End LineComment DQL QueryExpr EvalExpr EvalIdentifier EvalCallBody ArgItem Identifier EqlSingle StringLiteral Number FunctionCall FunctionIdentifier FunctionCallBody CaseExpr CaseOperand CaseValue FieldName CaseFunctionCall CaseFunctionIdentifier CaseFunctionCallBody CaseWhenClause CaseCondition CaseFilterExpr CasePredicate Eql Neq Lte Lss Gte Gtr NotInSeq EqlRegex NeqRegex DAnd DOr CaseElseClause Expr SingleExpr Pow Mul Div Mod Add Sub InValue AsExpr OuterArgItem Queted Query Namespace IndexExpr IndexItem DColon DataSourceList DataSourceItem Star QuerySource QueryClause TargetClause Comma Projection ProjectionItem ProjectionField ProjectionExpr SingleFieldExpr Duration DurationExpr ProjectFunc ProjectFuncItem FilterClause FilterExpr InFieldValue BinaryExpr FilterSubExpr HavingClause Having HavingExpr SingleHavingExpr LimitClause TimeClause TimeRange TimeExpr PresetExpr RollupIdentifier ByClause ByExpr ByListExpr ByItem FieldCall OrderClause OffsetClause SLimitClause SOffsetClause SOrderClause OuterFunctionCall OuterFunctionCallBody ShowExpr ShowIdentifier DQLFragment QueryFragment FilterFragmentExpr LogicalFragmentExpr ComparisonExpr Operator LogicOp DataSourceListFragment DataSourceItemFragment ProjectionFragment ProjectionItemFragment ProjectionFieldFragment QueryFragmentClause",
|
|
301
|
-
maxTerm:
|
|
299
|
+
states: "!&UO&iQPOOO&vQPOOOOQO'#Er'#ErOOQO'#Ez'#EzO'WQPO'#FrO'cQPO'#EpO'kQPO'#EqO'pQPO'#GqO'uQPO'#GsOO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(`'UQ(a'VQ(b'WR(c'XQ#h!TS'_%h)XR(t)O[!`d!b!k$c(Q(lT!ce!eQ#j!UQ%r#kQ%t#lQ'a%jQ'b%kQ'c%lQ'd%mQ'e%nR'f%oQ#Qtc#m!U#k#l%j%k%l%m%n%o^#o#r%v%w%x)Y)Z)[Q#p!VR$V)PQ#q!VQ%y#rQ'k%vQ'l%wQ'm%xQ'u)YQ'v)ZQ'w)[R)e)PR#x!XT#v!X#wT#u!X#wU$O!Y)Q)RQ&R$PQ&S$TQ&U)SQ&V)UQ(z)TR({)VU#|!Y$P$TU$Y)Q)S)UQ&Q#}U(w)R)T)VQ)_)fR)`)gU#{!Y$P$T[$X#})Q)S)U)f)gU'o%})])^V(v)R)T)Vo#z!Y#}$P$T%})Q)R)S)T)U)V)])^)f)gRYORlVRZPQcPT|`{V_P`{U^P`{R#SvXt]xz#RTv^wRdPQbPR#d!RRePQ!Q`R%]#aT!O`#aT!de!eQ$v!yQ$x!{T&r$v$xQ(V&xR(o(VQ#]yS%U#]%YR%Y#^Q&i$mQ&u${T'|&i&uQ$p!tR&m$pQ$]!gR&X$]Q$b!jS&]$b(kR(k(PQ!bdU$U!b$c(lQ$c!kR(l(QQ'[%fR(f'[Q%i#hS'`%i(xR(x(tQ%p#jR'g%pQ#w!XR%z#wQ&O#{Q&T$XU'p&O&T(yR(y(vQpYR!}pQw^R#TwQ!SbR#e!SQ#b!QR%^#bQ!eeR$Z!e",
|
|
302
|
+
nodeNames: "⚠ SOffset Offset Base64 As Nil P99 P50 P90 P95 P75 Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount RateOverSum PercentileFromDdsketchPayload Deriv Increase Log Log10 Log2 Max Min Mode NonNegativeDerivative NonNegativeDifference Round Spread Stddev Sum Schema DistinctByCollapse Default Fill CountFilter Count First Any Last LastRow Bottom Top MovingAverage Percentile Median Set Int Float String Md5 Histogram HistogramAuto HistogramQuantile Exists Cidr Match Regex Re Regexp RegexpExtract RegexpExtractAll RegexpReplace Collect Concat Drain Wildcard QueryString Querystring WithLabels WithoutLabels Unwrap Now Cumsum Window Dbscan Lower Upper Trim Ltrim Rtrim Substr Length Eval Search Order SOrder Limit Slimit Asc Desc In Not NotIn By And Or Case When Then Else End LineComment DQL QueryExpr EvalExpr EvalIdentifier EvalCallBody ArgItem Identifier EqlSingle StringLiteral Number FunctionCall FunctionIdentifier FunctionCallBody CaseExpr CaseOperand CaseValue FieldName CaseFunctionCall CaseFunctionIdentifier CaseFunctionCallBody CaseWhenClause CaseCondition CaseFilterExpr CasePredicate Eql Neq Lte Lss Gte Gtr NotInSeq EqlRegex NeqRegex DAnd DOr CaseElseClause Expr SingleExpr Pow Mul Div Mod Add Sub InValue AsExpr OuterArgItem Queted Query Namespace IndexExpr IndexItem DColon DataSourceList DataSourceItem Star QuerySource QueryClause TargetClause Comma Projection ProjectionItem ProjectionField ProjectionExpr SingleFieldExpr Duration DurationExpr ProjectFunc ProjectFuncItem FilterClause FilterExpr InFieldValue BinaryExpr FilterSubExpr HavingClause Having HavingExpr SingleHavingExpr LimitClause TimeClause TimeRange TimeExpr PresetExpr RollupIdentifier ByClause ByExpr ByListExpr ByItem FieldCall OrderClause OffsetClause SLimitClause SOffsetClause SOrderClause OuterFunctionCall OuterFunctionCallBody ShowExpr ShowIdentifier DQLFragment QueryFragment FilterFragmentExpr LogicalFragmentExpr ComparisonExpr Operator LogicOp DataSourceListFragment DataSourceItemFragment ProjectionFragment ProjectionItemFragment ProjectionFieldFragment QueryFragmentClause",
|
|
303
|
+
maxTerm: 255,
|
|
302
304
|
propSources: [DQLHighLight],
|
|
303
|
-
skippedNodes: [0,
|
|
305
|
+
skippedNodes: [0,101,110],
|
|
304
306
|
repeatNodeCount: 18,
|
|
305
|
-
tokenData: "!%[~R!VX^$hpq$hqr%]rs%pst)Tuv)lvw)qwx)|xy-Tyz-Yz{-_{|-h|}-m}!O-r!O!P.n!P!Q/|!Q!R0R!R![1P![!]:u!^!_;U!_!`;c!`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xO$Z~!aL}V&d!UOzMdz{M|{#SMd#S#T'U#T;'SMd;'S;=`Mv<%lOMdZMgTO#SMd#S#T'U#T;'SMd;'S;=`Mv<%lOMdZMyP;=`<%lMdZNPTO#SMd#S#T(|#T;'SMd;'S;=`Mv<%lOMd~NeU#i~}!O.Y!Q![.Y!c!}.Y#R#S.Y#T#UNw#U#o.Y~N|V#i~}!O.Y!Q![.Y!c!}.Y#R#S.Y#T#j.Y#j#k! c#k#o.Y~! hV#i~}!O.Y!Q![.Y!c!}.Y#R#S.Y#T#].Y#]#^! }#^#o.Y~!!SV#i~}!O.Y!Q![.Y!c!}.Y#R#S.Y#T#b.Y#b#c!!i#c#o.Y~!!nV#i~}!O.Y!Q![.Y!c!}.Y#R#S.Y#T#Z.Y#Z#[>z#[#o.Y~!#YV#i~}!O.Y!Q![.Y!c!}.Y#R#S.Y#T#[.Y#[#]!#o#]#o.Y~!#tV#i~}!O.Y!Q![.Y!c!}.Y#R#S.Y#T#c.Y#c#d!$Z#d#o.Y~!$`V#i~}!O.Y!Q![.Y!c!}.Y#R#S.Y#T#k.Y#k#lDd#l#o.Y~!$zO&f~~!$}P#p#q!%Q~!%VO$V~~!%[O&g~",
|
|
306
308
|
tokenizers: [0, 1, 2, 3, 4, 5],
|
|
307
|
-
topRules: {"DQL":[0,
|
|
308
|
-
specialized: [{term:
|
|
309
|
-
tokenPrec:
|
|
309
|
+
topRules: {"DQL":[0,111],"DQLFragment":[1,209]},
|
|
310
|
+
specialized: [{term: 117, get: (value, stack) => (specializeIdentifier(value) << 1), external: specializeIdentifier},{term: 117, get: (value, stack) => (rollupIndentifier(value) << 1) | 1, external: rollupIndentifier, extend: true},{term: 117, get: (value, stack) => (funcIndentifier(value) << 1) | 1, external: funcIndentifier, extend: true},{term: 117, get: (value, stack) => (extendIdentifier(value) << 1) | 1, external: extendIdentifier, extend: true}],
|
|
311
|
+
tokenPrec: 4755
|
|
310
312
|
});
|
|
311
313
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
312
314
|
const SOffset = 1,
|
|
@@ -378,157 +380,158 @@ const SOffset = 1,
|
|
|
378
380
|
Regexp = 67,
|
|
379
381
|
RegexpExtract = 68,
|
|
380
382
|
RegexpExtractAll = 69,
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
383
|
+
RegexpReplace = 70,
|
|
384
|
+
Collect = 71,
|
|
385
|
+
Concat = 72,
|
|
386
|
+
Drain = 73,
|
|
387
|
+
Wildcard = 74,
|
|
388
|
+
QueryString = 75,
|
|
389
|
+
Querystring = 76,
|
|
390
|
+
WithLabels = 77,
|
|
391
|
+
WithoutLabels = 78,
|
|
392
|
+
Unwrap = 79,
|
|
393
|
+
Now = 80,
|
|
394
|
+
Cumsum = 81,
|
|
395
|
+
Window = 82,
|
|
396
|
+
Dbscan = 83,
|
|
397
|
+
Lower = 84,
|
|
398
|
+
Upper = 85,
|
|
399
|
+
Trim = 86,
|
|
400
|
+
Ltrim = 87,
|
|
401
|
+
Rtrim = 88,
|
|
402
|
+
Substr = 89,
|
|
403
|
+
Length = 90,
|
|
404
|
+
Eval = 91,
|
|
405
|
+
Search = 92,
|
|
406
|
+
Order = 93,
|
|
407
|
+
SOrder = 94,
|
|
408
|
+
Limit = 95,
|
|
409
|
+
Slimit = 96,
|
|
410
|
+
Asc = 97,
|
|
411
|
+
Desc = 98,
|
|
412
|
+
In = 99,
|
|
413
|
+
Not = 100,
|
|
414
|
+
NotIn = 101,
|
|
415
|
+
By = 102,
|
|
416
|
+
And = 103,
|
|
417
|
+
Or = 104,
|
|
418
|
+
Case = 105,
|
|
419
|
+
When = 106,
|
|
420
|
+
Then = 107,
|
|
421
|
+
Else = 108,
|
|
422
|
+
End = 109,
|
|
423
|
+
LineComment = 110,
|
|
424
|
+
DQL = 111,
|
|
425
|
+
QueryExpr = 112,
|
|
426
|
+
EvalExpr = 113,
|
|
427
|
+
EvalIdentifier = 114,
|
|
428
|
+
EvalCallBody = 115,
|
|
429
|
+
ArgItem = 116,
|
|
430
|
+
Identifier = 117,
|
|
431
|
+
EqlSingle = 118,
|
|
432
|
+
StringLiteral = 119,
|
|
433
|
+
Number = 120,
|
|
434
|
+
FunctionCall = 121,
|
|
435
|
+
FunctionIdentifier = 122,
|
|
436
|
+
FunctionCallBody = 123,
|
|
437
|
+
CaseExpr = 124,
|
|
438
|
+
CaseOperand = 125,
|
|
439
|
+
CaseValue = 126,
|
|
440
|
+
FieldName = 127,
|
|
441
|
+
CaseFunctionCall = 128,
|
|
442
|
+
CaseFunctionIdentifier = 129,
|
|
443
|
+
CaseFunctionCallBody = 130,
|
|
444
|
+
CaseWhenClause = 131,
|
|
445
|
+
CaseCondition = 132,
|
|
446
|
+
CaseFilterExpr = 133,
|
|
447
|
+
CasePredicate = 134,
|
|
448
|
+
Eql = 135,
|
|
449
|
+
Neq = 136,
|
|
450
|
+
Lte = 137,
|
|
451
|
+
Lss = 138,
|
|
452
|
+
Gte = 139,
|
|
453
|
+
Gtr = 140,
|
|
454
|
+
NotInSeq = 141,
|
|
455
|
+
EqlRegex = 142,
|
|
456
|
+
NeqRegex = 143,
|
|
457
|
+
DAnd = 144,
|
|
458
|
+
DOr = 145,
|
|
459
|
+
CaseElseClause = 146,
|
|
460
|
+
Expr = 147,
|
|
461
|
+
SingleExpr = 148,
|
|
462
|
+
Pow = 149,
|
|
463
|
+
Mul = 150,
|
|
464
|
+
Div = 151,
|
|
465
|
+
Mod = 152,
|
|
466
|
+
Add = 153,
|
|
467
|
+
Sub = 154,
|
|
468
|
+
InValue = 155,
|
|
469
|
+
AsExpr = 156,
|
|
470
|
+
OuterArgItem = 157,
|
|
471
|
+
Queted = 158,
|
|
472
|
+
Query = 159,
|
|
473
|
+
Namespace = 160,
|
|
474
|
+
IndexExpr = 161,
|
|
475
|
+
IndexItem = 162,
|
|
476
|
+
DColon = 163,
|
|
477
|
+
DataSourceList = 164,
|
|
478
|
+
DataSourceItem = 165,
|
|
479
|
+
Star = 166,
|
|
480
|
+
QuerySource = 167,
|
|
481
|
+
QueryClause = 168,
|
|
482
|
+
TargetClause = 169,
|
|
483
|
+
Comma = 170,
|
|
484
|
+
Projection = 171,
|
|
485
|
+
ProjectionItem = 172,
|
|
486
|
+
ProjectionField = 173,
|
|
487
|
+
ProjectionExpr = 174,
|
|
488
|
+
SingleFieldExpr = 175,
|
|
489
|
+
Duration = 176,
|
|
490
|
+
DurationExpr = 177,
|
|
491
|
+
ProjectFunc = 178,
|
|
492
|
+
ProjectFuncItem = 179,
|
|
493
|
+
FilterClause = 180,
|
|
494
|
+
FilterExpr = 181,
|
|
495
|
+
InFieldValue = 182,
|
|
496
|
+
BinaryExpr = 183,
|
|
497
|
+
FilterSubExpr = 184,
|
|
498
|
+
HavingClause = 185,
|
|
499
|
+
Having = 186,
|
|
500
|
+
HavingExpr = 187,
|
|
501
|
+
SingleHavingExpr = 188,
|
|
502
|
+
LimitClause = 189,
|
|
503
|
+
TimeClause = 190,
|
|
504
|
+
TimeRange = 191,
|
|
505
|
+
TimeExpr = 192,
|
|
506
|
+
PresetExpr = 193,
|
|
507
|
+
RollupIdentifier = 194,
|
|
508
|
+
ByClause = 195,
|
|
509
|
+
ByExpr = 196,
|
|
510
|
+
ByListExpr = 197,
|
|
511
|
+
ByItem = 198,
|
|
512
|
+
FieldCall = 199,
|
|
513
|
+
OrderClause = 200,
|
|
514
|
+
OffsetClause = 201,
|
|
515
|
+
SLimitClause = 202,
|
|
516
|
+
SOffsetClause = 203,
|
|
517
|
+
SOrderClause = 204,
|
|
518
|
+
OuterFunctionCall = 205,
|
|
519
|
+
OuterFunctionCallBody = 206,
|
|
520
|
+
ShowExpr = 207,
|
|
521
|
+
ShowIdentifier = 208,
|
|
522
|
+
DQLFragment = 209,
|
|
523
|
+
QueryFragment = 210,
|
|
524
|
+
FilterFragmentExpr = 211,
|
|
525
|
+
LogicalFragmentExpr = 212,
|
|
526
|
+
ComparisonExpr = 213,
|
|
527
|
+
Operator = 214,
|
|
528
|
+
LogicOp = 215,
|
|
529
|
+
DataSourceListFragment = 216,
|
|
530
|
+
DataSourceItemFragment = 217,
|
|
531
|
+
ProjectionFragment = 218,
|
|
532
|
+
ProjectionItemFragment = 219,
|
|
533
|
+
ProjectionFieldFragment = 220,
|
|
534
|
+
QueryFragmentClause = 221;
|
|
532
535
|
|
|
533
536
|
exports.Abs = Abs;
|
|
534
537
|
exports.Add = Add;
|
|
@@ -711,6 +714,7 @@ exports.Regex = Regex;
|
|
|
711
714
|
exports.Regexp = Regexp;
|
|
712
715
|
exports.RegexpExtract = RegexpExtract;
|
|
713
716
|
exports.RegexpExtractAll = RegexpExtractAll;
|
|
717
|
+
exports.RegexpReplace = RegexpReplace;
|
|
714
718
|
exports.RollupIdentifier = RollupIdentifier;
|
|
715
719
|
exports.Round = Round;
|
|
716
720
|
exports.Rtrim = Rtrim;
|