@cloudcare/lezer-dql 0.0.43 → 0.0.46
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 +189 -177
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js +187 -178
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -61,40 +61,43 @@ const SOffset$1 = 1,
|
|
|
61
61
|
String$1 = 55,
|
|
62
62
|
Md5$1 = 56,
|
|
63
63
|
Histogram$1 = 57,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
64
|
+
HistogramAuto$1 = 58,
|
|
65
|
+
HistogramQuantile$1 = 59,
|
|
66
|
+
Exists$1 = 60,
|
|
67
|
+
Cidr$1 = 61,
|
|
68
|
+
Match$1 = 62,
|
|
69
|
+
Regex$1 = 63,
|
|
70
|
+
Re$1 = 64,
|
|
71
|
+
Regexp$1 = 65,
|
|
72
|
+
RegexpExtract$1 = 66,
|
|
73
|
+
RegexpExtractAll$1 = 67,
|
|
74
|
+
Collect$1 = 68,
|
|
75
|
+
Concat$1 = 69,
|
|
76
|
+
Drain$1 = 70,
|
|
77
|
+
Wildcard$1 = 71,
|
|
78
|
+
QueryString$1 = 72,
|
|
79
|
+
Querystring$1 = 73,
|
|
80
|
+
WithLabels$1 = 74,
|
|
81
|
+
WithoutLabels$1 = 75,
|
|
82
|
+
Unwrap$1 = 76,
|
|
83
|
+
Now$1 = 77,
|
|
84
|
+
Cumsum$1 = 78,
|
|
85
|
+
Window$1 = 79,
|
|
86
|
+
Dbscan$1 = 80,
|
|
87
|
+
Eval$1 = 81,
|
|
88
|
+
Search$1 = 82,
|
|
89
|
+
Order$1 = 83,
|
|
90
|
+
SOrder$1 = 84,
|
|
91
|
+
Limit$1 = 85,
|
|
92
|
+
Slimit$1 = 86,
|
|
93
|
+
Asc$1 = 87,
|
|
94
|
+
Desc$1 = 88,
|
|
95
|
+
In$1 = 89,
|
|
96
|
+
Not$1 = 90,
|
|
97
|
+
NotIn$1 = 91,
|
|
98
|
+
By$1 = 92,
|
|
99
|
+
And$1 = 93,
|
|
100
|
+
Or$1 = 94;
|
|
98
101
|
|
|
99
102
|
function camelToSnake(str) {
|
|
100
103
|
return str
|
|
@@ -150,6 +153,8 @@ const funcTokenMap = {
|
|
|
150
153
|
String: String$1,
|
|
151
154
|
Md5: Md5$1,
|
|
152
155
|
Histogram: Histogram$1,
|
|
156
|
+
HistogramAuto: HistogramAuto$1,
|
|
157
|
+
HistogramQuantile: HistogramQuantile$1,
|
|
153
158
|
Exists: Exists$1,
|
|
154
159
|
Cidr: Cidr$1,
|
|
155
160
|
Match: Match$1,
|
|
@@ -173,6 +178,7 @@ const funcTokenMap = {
|
|
|
173
178
|
Dbscan: Dbscan$1,
|
|
174
179
|
Eval: Eval$1,
|
|
175
180
|
Avg: Avg$1,
|
|
181
|
+
Search: Search$1,
|
|
176
182
|
};
|
|
177
183
|
|
|
178
184
|
const contextualKeywordTokenMap = {
|
|
@@ -243,7 +249,7 @@ const DQLHighLight = highlight.styleTags({
|
|
|
243
249
|
Identifier: highlight.tags.variableName,
|
|
244
250
|
ShowIdentifier: highlight.tags.labelName,
|
|
245
251
|
NamespaceIdentifier: highlight.tags.labelName,
|
|
246
|
-
"Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount RateOverSum 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 Exists Cidr Match Regex Re Regexp RegexpExtract RegexpExtractAll Collect Concat Drain Wildcard QueryString Querystring WithLabels WithoutLabels Unwrap Now Cumsum Window Dbscan Eval Avg P99 P90 P95 P75 P50":
|
|
252
|
+
"Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount RateOverSum 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 P99 P90 P95 P75 P50 Search":
|
|
247
253
|
highlight.tags.function(highlight.tags.variableName),
|
|
248
254
|
"Order SOrder By Limit Offset Slimit SOffset As Desc Asc Having": highlight.tags.operatorKeyword,
|
|
249
255
|
"Base64 , DColon Comma": highlight.tags.modifier,
|
|
@@ -259,19 +265,19 @@ const DQLHighLight = highlight.styleTags({
|
|
|
259
265
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
260
266
|
const parser = lr.LRParser.deserialize({
|
|
261
267
|
version: 14,
|
|
262
|
-
states: "I|O
|
|
263
|
-
stateData: "!
|
|
264
|
-
goto: "
|
|
265
|
-
nodeNames: "⚠ SOffset Offset Base64 As P99 P50 P90 P95 P75 Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount RateOverSum 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 Exists Cidr Match Regex Re Regexp RegexpExtract RegexpExtractAll Collect Concat Drain Wildcard QueryString Querystring WithLabels WithoutLabels Unwrap Now Cumsum Window Dbscan Eval Order SOrder Limit Slimit Asc Desc In Not NotIn By And Or LineComment DQL QueryExpr EvalExpr EvalIdentifier EvalCallBody ArgItem Identifier EqlSingle StringLiteral Number FunctionCall FunctionIdentifier FunctionCallBody Expr SingleExpr Pow Mul Div Mod Add Sub Eql Gte Gtr Lte Lss InValue AsExpr OuterArgItem Queted Query Namespace IndexExpr IndexItem DColon DataSourceList DataSourceItem Star QuerySource QueryClause TargetClause Comma Projection ProjectionItem ProjectionField FieldName ProjectionExpr SingleFieldExpr Duration DurationExpr FilterClause FilterExpr InFieldValue BinaryExpr Neq NotInSeq DAnd DOr EqlRegex NeqRegex FilterSubExpr HavingClause Having HavingExpr SingleHavingExpr LimitClause TimeClause TimeRange TimeExpr 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",
|
|
266
|
-
maxTerm:
|
|
268
|
+
states: "I|O%|QPOOO&ZQPOOOOQO'#Ec'#EcOOQO'#Ek'#EkO&kQPO'#FPO&vQPO'#EaO'OQPO'#EbO'TQPO'#GSO'YQPO'#GUOOQO'#Ea'#EaO'_QPO'#EaQOQPOOO'YQPO'#EjO(RQQO'#G`O({QPO'#GZOOQO'#GY'#GYO)ZQPO'#GaOOQO'#G`'#G`O)nQQO'#G_OOQO'#GX'#GXO*fQQO'#GXO+ZQPO'#GXO+{QPO'#FQOOQO,5;k,5;kO,TQPO,5;jO,eQQO'#EdOOQO,5:|,5:|O-RQSO'#GTOOQO,5<n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^wRdPQbPR#Y!QRePQ!P`R$o#VT}`#VT!ce!dQ$g!xQ$i!zT&O$g$iQ%u$_Q&R$lT&v%u&RQ$b!sR%y$bQ$P!fR%g$PQ$U!iS%k$U'XR'X&yQ!adU#x!a$V'YQ$V!jR'Y&zQ&Z$xR'T&ZQ%P#^R&c%PQ#l!WR%Z#lQ%_#pQ%c#{U&l%_%c'`R'`'^QpYR!|pQw^R#SwQ!RbR#Z!RQ#W!PR$p#WQ!deR#}!d",
|
|
271
|
+
nodeNames: "⚠ SOffset Offset Base64 As P99 P50 P90 P95 P75 Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount RateOverSum 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 Search Order SOrder Limit Slimit Asc Desc In Not NotIn By And Or LineComment DQL QueryExpr EvalExpr EvalIdentifier EvalCallBody ArgItem Identifier EqlSingle StringLiteral Number FunctionCall FunctionIdentifier FunctionCallBody Expr SingleExpr Pow Mul Div Mod Add Sub Eql Gte Gtr Lte Lss InValue AsExpr OuterArgItem Queted Query Namespace IndexExpr IndexItem DColon DataSourceList DataSourceItem Star QuerySource QueryClause TargetClause Comma Projection ProjectionItem ProjectionField FieldName ProjectionExpr SingleFieldExpr Duration DurationExpr FilterClause FilterExpr InFieldValue BinaryExpr Neq NotInSeq DAnd DOr EqlRegex NeqRegex FilterSubExpr HavingClause Having HavingExpr SingleHavingExpr LimitClause TimeClause TimeRange TimeExpr 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",
|
|
272
|
+
maxTerm: 223,
|
|
267
273
|
propSources: [DQLHighLight],
|
|
268
|
-
skippedNodes: [0,
|
|
274
|
+
skippedNodes: [0,91,95],
|
|
269
275
|
repeatNodeCount: 15,
|
|
270
|
-
tokenData: "Hv~R!QX^$Xpq$Xqr$|rs%ast(tuv)]vw)bwx)mxy,tyz,yz{-O{|-X|}-^}!O-c!O!P._!P!Q/m!Q!R/r!R![0p![!]:f!^!_:u!_!`;S!`!a;i!c!j-y!j!k;v!k!u-y!u!v?R!v!}-y!}#OBT#P#QBY#Q#RB_#R#S-y#S#TBd#T#[-y#[#]Cz#]#g-y#g#hFo#h#o-y#o#pHa#p#qHf#q#rHq#y#z$X$f$g$X#BY#BZ$X$IS$I_$X$I|$JO$X$JT$JU$X$KV$KW$X&FU&FV$X~$^Y%
|
|
276
|
+
tokenData: "Hv~R!QX^$Xpq$Xqr$|rs%ast(tuv)]vw)bwx)mxy,tyz,yz{-O{|-X|}-^}!O-c!O!P._!P!Q/m!Q!R/r!R![0p![!]:f!^!_:u!_!`;S!`!a;i!c!j-y!j!k;v!k!u-y!u!v?R!v!}-y!}#OBT#P#QBY#Q#RB_#R#S-y#S#TBd#T#[-y#[#]Cz#]#g-y#g#hFo#h#o-y#o#pHa#p#qHf#q#rHq#y#z$X$f$g$X#BY#BZ$X$IS$I_$X$I|$JO$X$JT$JU$X$KV$KW$X&FU&FV$X~$^Y%j~X^$Xpq$X#y#z$X$f$g$X#BY#BZ$X$IS$I_$X$I|$JO$X$JT$JU$X$KV$KW$X&FU&FV$X~%PQ!_!`%V#r#s%[~%[O$[~~%aO$a~o%hY%sd#[ZOY&WZr&Wrs&usz&Wz{(O{#O&W#O#P&z#P;'S&W;'S;=`'x<%lO&WZ&]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=> (specializeIdentifier(value) << 1), external: specializeIdentifier},{term: 102, get: (value, stack) => (rollupIndentifier(value) << 1) | 1, external: rollupIndentifier, extend: true},{term: 102, get: (value, stack) => (funcIndentifier(value) << 1) | 1, external: funcIndentifier, extend: true},{term: 102, get: (value, stack) => (extendIdentifier(value) << 1) | 1, external: extendIdentifier, extend: true}],
|
|
280
|
+
tokenPrec: 3686
|
|
275
281
|
});
|
|
276
282
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
277
283
|
const SOffset = 1,
|
|
@@ -331,138 +337,141 @@ const SOffset = 1,
|
|
|
331
337
|
String = 55,
|
|
332
338
|
Md5 = 56,
|
|
333
339
|
Histogram = 57,
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
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
|
-
|
|
340
|
+
HistogramAuto = 58,
|
|
341
|
+
HistogramQuantile = 59,
|
|
342
|
+
Exists = 60,
|
|
343
|
+
Cidr = 61,
|
|
344
|
+
Match = 62,
|
|
345
|
+
Regex = 63,
|
|
346
|
+
Re = 64,
|
|
347
|
+
Regexp = 65,
|
|
348
|
+
RegexpExtract = 66,
|
|
349
|
+
RegexpExtractAll = 67,
|
|
350
|
+
Collect = 68,
|
|
351
|
+
Concat = 69,
|
|
352
|
+
Drain = 70,
|
|
353
|
+
Wildcard = 71,
|
|
354
|
+
QueryString = 72,
|
|
355
|
+
Querystring = 73,
|
|
356
|
+
WithLabels = 74,
|
|
357
|
+
WithoutLabels = 75,
|
|
358
|
+
Unwrap = 76,
|
|
359
|
+
Now = 77,
|
|
360
|
+
Cumsum = 78,
|
|
361
|
+
Window = 79,
|
|
362
|
+
Dbscan = 80,
|
|
363
|
+
Eval = 81,
|
|
364
|
+
Search = 82,
|
|
365
|
+
Order = 83,
|
|
366
|
+
SOrder = 84,
|
|
367
|
+
Limit = 85,
|
|
368
|
+
Slimit = 86,
|
|
369
|
+
Asc = 87,
|
|
370
|
+
Desc = 88,
|
|
371
|
+
In = 89,
|
|
372
|
+
Not = 90,
|
|
373
|
+
NotIn = 91,
|
|
374
|
+
By = 92,
|
|
375
|
+
And = 93,
|
|
376
|
+
Or = 94,
|
|
377
|
+
LineComment = 95,
|
|
378
|
+
DQL = 96,
|
|
379
|
+
QueryExpr = 97,
|
|
380
|
+
EvalExpr = 98,
|
|
381
|
+
EvalIdentifier = 99,
|
|
382
|
+
EvalCallBody = 100,
|
|
383
|
+
ArgItem = 101,
|
|
384
|
+
Identifier = 102,
|
|
385
|
+
EqlSingle = 103,
|
|
386
|
+
StringLiteral = 104,
|
|
387
|
+
Number = 105,
|
|
388
|
+
FunctionCall = 106,
|
|
389
|
+
FunctionIdentifier = 107,
|
|
390
|
+
FunctionCallBody = 108,
|
|
391
|
+
Expr = 109,
|
|
392
|
+
SingleExpr = 110,
|
|
393
|
+
Pow = 111,
|
|
394
|
+
Mul = 112,
|
|
395
|
+
Div = 113,
|
|
396
|
+
Mod = 114,
|
|
397
|
+
Add = 115,
|
|
398
|
+
Sub = 116,
|
|
399
|
+
Eql = 117,
|
|
400
|
+
Gte = 118,
|
|
401
|
+
Gtr = 119,
|
|
402
|
+
Lte = 120,
|
|
403
|
+
Lss = 121,
|
|
404
|
+
InValue = 122,
|
|
405
|
+
AsExpr = 123,
|
|
406
|
+
OuterArgItem = 124,
|
|
407
|
+
Queted = 125,
|
|
408
|
+
Query = 126,
|
|
409
|
+
Namespace = 127,
|
|
410
|
+
IndexExpr = 128,
|
|
411
|
+
IndexItem = 129,
|
|
412
|
+
DColon = 130,
|
|
413
|
+
DataSourceList = 131,
|
|
414
|
+
DataSourceItem = 132,
|
|
415
|
+
Star = 133,
|
|
416
|
+
QuerySource = 134,
|
|
417
|
+
QueryClause = 135,
|
|
418
|
+
TargetClause = 136,
|
|
419
|
+
Comma = 137,
|
|
420
|
+
Projection = 138,
|
|
421
|
+
ProjectionItem = 139,
|
|
422
|
+
ProjectionField = 140,
|
|
423
|
+
FieldName = 141,
|
|
424
|
+
ProjectionExpr = 142,
|
|
425
|
+
SingleFieldExpr = 143,
|
|
426
|
+
Duration = 144,
|
|
427
|
+
DurationExpr = 145,
|
|
428
|
+
FilterClause = 146,
|
|
429
|
+
FilterExpr = 147,
|
|
430
|
+
InFieldValue = 148,
|
|
431
|
+
BinaryExpr = 149,
|
|
432
|
+
Neq = 150,
|
|
433
|
+
NotInSeq = 151,
|
|
434
|
+
DAnd = 152,
|
|
435
|
+
DOr = 153,
|
|
436
|
+
EqlRegex = 154,
|
|
437
|
+
NeqRegex = 155,
|
|
438
|
+
FilterSubExpr = 156,
|
|
439
|
+
HavingClause = 157,
|
|
440
|
+
Having = 158,
|
|
441
|
+
HavingExpr = 159,
|
|
442
|
+
SingleHavingExpr = 160,
|
|
443
|
+
LimitClause = 161,
|
|
444
|
+
TimeClause = 162,
|
|
445
|
+
TimeRange = 163,
|
|
446
|
+
TimeExpr = 164,
|
|
447
|
+
RollupIdentifier = 165,
|
|
448
|
+
ByClause = 166,
|
|
449
|
+
ByExpr = 167,
|
|
450
|
+
ByListExpr = 168,
|
|
451
|
+
ByItem = 169,
|
|
452
|
+
FieldCall = 170,
|
|
453
|
+
OrderClause = 171,
|
|
454
|
+
OffsetClause = 172,
|
|
455
|
+
SLimitClause = 173,
|
|
456
|
+
SOffsetClause = 174,
|
|
457
|
+
SOrderClause = 175,
|
|
458
|
+
OuterFunctionCall = 176,
|
|
459
|
+
OuterFunctionCallBody = 177,
|
|
460
|
+
ShowExpr = 178,
|
|
461
|
+
ShowIdentifier = 179,
|
|
462
|
+
DQLFragment = 180,
|
|
463
|
+
QueryFragment = 181,
|
|
464
|
+
FilterFragmentExpr = 182,
|
|
465
|
+
LogicalFragmentExpr = 183,
|
|
466
|
+
ComparisonExpr = 184,
|
|
467
|
+
Operator = 185,
|
|
468
|
+
LogicOp = 186,
|
|
469
|
+
DataSourceListFragment = 187,
|
|
470
|
+
DataSourceItemFragment = 188,
|
|
471
|
+
ProjectionFragment = 189,
|
|
472
|
+
ProjectionItemFragment = 190,
|
|
473
|
+
ProjectionFieldFragment = 191,
|
|
474
|
+
QueryFragmentClause = 192;
|
|
466
475
|
|
|
467
476
|
exports.Abs = Abs;
|
|
468
477
|
exports.Add = Add;
|
|
@@ -541,6 +550,8 @@ exports.Having = Having;
|
|
|
541
550
|
exports.HavingClause = HavingClause;
|
|
542
551
|
exports.HavingExpr = HavingExpr;
|
|
543
552
|
exports.Histogram = Histogram;
|
|
553
|
+
exports.HistogramAuto = HistogramAuto;
|
|
554
|
+
exports.HistogramQuantile = HistogramQuantile;
|
|
544
555
|
exports.Identifier = Identifier;
|
|
545
556
|
exports.In = In;
|
|
546
557
|
exports.InFieldValue = InFieldValue;
|
|
@@ -629,6 +640,7 @@ exports.SOffsetClause = SOffsetClause;
|
|
|
629
640
|
exports.SOrder = SOrder;
|
|
630
641
|
exports.SOrderClause = SOrderClause;
|
|
631
642
|
exports.Schema = Schema;
|
|
643
|
+
exports.Search = Search;
|
|
632
644
|
exports.Set = Set;
|
|
633
645
|
exports.ShowExpr = ShowExpr;
|
|
634
646
|
exports.ShowIdentifier = ShowIdentifier;
|
package/dist/index.d.ts
CHANGED
|
@@ -61,6 +61,8 @@ export const
|
|
|
61
61
|
String: number,
|
|
62
62
|
Md5: number,
|
|
63
63
|
Histogram: number,
|
|
64
|
+
HistogramAuto: number,
|
|
65
|
+
HistogramQuantile: number,
|
|
64
66
|
Exists: number,
|
|
65
67
|
Cidr: number,
|
|
66
68
|
Match: number,
|
|
@@ -83,6 +85,7 @@ export const
|
|
|
83
85
|
Window: number,
|
|
84
86
|
Dbscan: number,
|
|
85
87
|
Eval: number,
|
|
88
|
+
Search: number,
|
|
86
89
|
Order: number,
|
|
87
90
|
SOrder: number,
|
|
88
91
|
Limit: number,
|
package/dist/index.es.js
CHANGED
|
@@ -59,40 +59,43 @@ const SOffset$1 = 1,
|
|
|
59
59
|
String$1 = 55,
|
|
60
60
|
Md5$1 = 56,
|
|
61
61
|
Histogram$1 = 57,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
62
|
+
HistogramAuto$1 = 58,
|
|
63
|
+
HistogramQuantile$1 = 59,
|
|
64
|
+
Exists$1 = 60,
|
|
65
|
+
Cidr$1 = 61,
|
|
66
|
+
Match$1 = 62,
|
|
67
|
+
Regex$1 = 63,
|
|
68
|
+
Re$1 = 64,
|
|
69
|
+
Regexp$1 = 65,
|
|
70
|
+
RegexpExtract$1 = 66,
|
|
71
|
+
RegexpExtractAll$1 = 67,
|
|
72
|
+
Collect$1 = 68,
|
|
73
|
+
Concat$1 = 69,
|
|
74
|
+
Drain$1 = 70,
|
|
75
|
+
Wildcard$1 = 71,
|
|
76
|
+
QueryString$1 = 72,
|
|
77
|
+
Querystring$1 = 73,
|
|
78
|
+
WithLabels$1 = 74,
|
|
79
|
+
WithoutLabels$1 = 75,
|
|
80
|
+
Unwrap$1 = 76,
|
|
81
|
+
Now$1 = 77,
|
|
82
|
+
Cumsum$1 = 78,
|
|
83
|
+
Window$1 = 79,
|
|
84
|
+
Dbscan$1 = 80,
|
|
85
|
+
Eval$1 = 81,
|
|
86
|
+
Search$1 = 82,
|
|
87
|
+
Order$1 = 83,
|
|
88
|
+
SOrder$1 = 84,
|
|
89
|
+
Limit$1 = 85,
|
|
90
|
+
Slimit$1 = 86,
|
|
91
|
+
Asc$1 = 87,
|
|
92
|
+
Desc$1 = 88,
|
|
93
|
+
In$1 = 89,
|
|
94
|
+
Not$1 = 90,
|
|
95
|
+
NotIn$1 = 91,
|
|
96
|
+
By$1 = 92,
|
|
97
|
+
And$1 = 93,
|
|
98
|
+
Or$1 = 94;
|
|
96
99
|
|
|
97
100
|
function camelToSnake(str) {
|
|
98
101
|
return str
|
|
@@ -148,6 +151,8 @@ const funcTokenMap = {
|
|
|
148
151
|
String: String$1,
|
|
149
152
|
Md5: Md5$1,
|
|
150
153
|
Histogram: Histogram$1,
|
|
154
|
+
HistogramAuto: HistogramAuto$1,
|
|
155
|
+
HistogramQuantile: HistogramQuantile$1,
|
|
151
156
|
Exists: Exists$1,
|
|
152
157
|
Cidr: Cidr$1,
|
|
153
158
|
Match: Match$1,
|
|
@@ -171,6 +176,7 @@ const funcTokenMap = {
|
|
|
171
176
|
Dbscan: Dbscan$1,
|
|
172
177
|
Eval: Eval$1,
|
|
173
178
|
Avg: Avg$1,
|
|
179
|
+
Search: Search$1,
|
|
174
180
|
};
|
|
175
181
|
|
|
176
182
|
const contextualKeywordTokenMap = {
|
|
@@ -241,7 +247,7 @@ const DQLHighLight = styleTags({
|
|
|
241
247
|
Identifier: tags.variableName,
|
|
242
248
|
ShowIdentifier: tags.labelName,
|
|
243
249
|
NamespaceIdentifier: tags.labelName,
|
|
244
|
-
"Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount RateOverSum 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 Exists Cidr Match Regex Re Regexp RegexpExtract RegexpExtractAll Collect Concat Drain Wildcard QueryString Querystring WithLabels WithoutLabels Unwrap Now Cumsum Window Dbscan Eval Avg P99 P90 P95 P75 P50":
|
|
250
|
+
"Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount RateOverSum 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 P99 P90 P95 P75 P50 Search":
|
|
245
251
|
tags.function(tags.variableName),
|
|
246
252
|
"Order SOrder By Limit Offset Slimit SOffset As Desc Asc Having": tags.operatorKeyword,
|
|
247
253
|
"Base64 , DColon Comma": tags.modifier,
|
|
@@ -257,19 +263,19 @@ const DQLHighLight = styleTags({
|
|
|
257
263
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
258
264
|
const parser = LRParser.deserialize({
|
|
259
265
|
version: 14,
|
|
260
|
-
states: "I|O
|
|
261
|
-
stateData: "!
|
|
262
|
-
goto: "
|
|
263
|
-
nodeNames: "⚠ SOffset Offset Base64 As P99 P50 P90 P95 P75 Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount RateOverSum 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 Exists Cidr Match Regex Re Regexp RegexpExtract RegexpExtractAll Collect Concat Drain Wildcard QueryString Querystring WithLabels WithoutLabels Unwrap Now Cumsum Window Dbscan Eval Order SOrder Limit Slimit Asc Desc In Not NotIn By And Or LineComment DQL QueryExpr EvalExpr EvalIdentifier EvalCallBody ArgItem Identifier EqlSingle StringLiteral Number FunctionCall FunctionIdentifier FunctionCallBody Expr SingleExpr Pow Mul Div Mod Add Sub Eql Gte Gtr Lte Lss InValue AsExpr OuterArgItem Queted Query Namespace IndexExpr IndexItem DColon DataSourceList DataSourceItem Star QuerySource QueryClause TargetClause Comma Projection ProjectionItem ProjectionField FieldName ProjectionExpr SingleFieldExpr Duration DurationExpr FilterClause FilterExpr InFieldValue BinaryExpr Neq NotInSeq DAnd DOr EqlRegex NeqRegex FilterSubExpr HavingClause Having HavingExpr SingleHavingExpr LimitClause TimeClause TimeRange TimeExpr 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",
|
|
264
|
-
maxTerm:
|
|
266
|
+
states: "I|O%|QPOOO&ZQPOOOOQO'#Ec'#EcOOQO'#Ek'#EkO&kQPO'#FPO&vQPO'#EaO'OQPO'#EbO'TQPO'#GSO'YQPO'#GUOOQO'#Ea'#EaO'_QPO'#EaQOQPOOO'YQPO'#EjO(RQQO'#G`O({QPO'#GZOOQO'#GY'#GYO)ZQPO'#GaOOQO'#G`'#G`O)nQQO'#G_OOQO'#GX'#GXO*fQQO'#GXO+ZQPO'#GXO+{QPO'#FQOOQO,5;k,5;kO,TQPO,5;jO,eQQO'#EdOOQO,5:|,5:|O-RQSO'#GTOOQO,5<n,5<nO-dQQO'#ElOOQO,5<p,5<pOYQPO'#GoO.QQPO,5:{OOQO,5;U,5;UO.YQPO'#FiOOQO'#G]'#G]O._QQO,5<vOOQO'#G^'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Q$U!iS%k$U'XR'X&yQ!adU#x!a$V'YQ$V!jR'Y&zQ&Z$xR'T&ZQ%P#^R&c%PQ#l!WR%Z#lQ%_#pQ%c#{U&l%_%c'`R'`'^QpYR!|pQw^R#SwQ!RbR#Z!RQ#W!PR$p#WQ!deR#}!d",
|
|
269
|
+
nodeNames: "⚠ SOffset Offset Base64 As P99 P50 P90 P95 P75 Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount RateOverSum 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 Search Order SOrder Limit Slimit Asc Desc In Not NotIn By And Or LineComment DQL QueryExpr EvalExpr EvalIdentifier EvalCallBody ArgItem Identifier EqlSingle StringLiteral Number FunctionCall FunctionIdentifier FunctionCallBody Expr SingleExpr Pow Mul Div Mod Add Sub Eql Gte Gtr Lte Lss InValue AsExpr OuterArgItem Queted Query Namespace IndexExpr IndexItem DColon DataSourceList DataSourceItem Star QuerySource QueryClause TargetClause Comma Projection ProjectionItem ProjectionField FieldName ProjectionExpr SingleFieldExpr Duration DurationExpr FilterClause FilterExpr InFieldValue BinaryExpr Neq NotInSeq DAnd DOr EqlRegex NeqRegex FilterSubExpr HavingClause Having HavingExpr SingleHavingExpr LimitClause TimeClause TimeRange TimeExpr 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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@X!r!}-y#R#S-y#T#o-y~@^V#Y~}!O-y!Q![-y!c!y-y!y!z@s!z!}-y#R#S-y#T#o-y~@xT#Y~}!O-y!Q![-y!c!}-y#R#SAX#T#o-y~A^T#Y~}!O-y!Q![Am!c!}Am#R#SAm#T#oAm~AtT$y~#Y~}!O-y!Q![Am!c!}Am#R#SAm#T#oAm~BYO%o~~B_O%p~~BdO#c~oBiV%rdOzCOz{Ch{#SCO#S#T&u#T;'SCO;'S;=`Cb<%lOCOZCRTO#SCO#S#T&u#T;'SCO;'S;=`Cb<%lOCOZCeP;=`<%lCOZCkTO#SCO#S#T(m#T;'SCO;'S;=`Cb<%lOCO~DPU#Y~}!O-y!Q![-y!c!}-y#R#S-y#T#UDc#U#o-y~DhV#Y~}!O-y!Q![-y!c!}-y#R#S-y#T#j-y#j#kD}#k#o-y~ESV#Y~}!O-y!Q![-y!c!}-y#R#S-y#T#]-y#]#^Ei#^#o-y~EnV#Y~}!O-y!Q![-y!c!}-y#R#S-y#T#b-y#b#cFT#c#o-y~FYV#Y~}!O-y!Q![-y!c!}-y#R#S-y#T#Z-y#Z#[>k#[#o-y~FtV#Y~}!O-y!Q![-y!c!}-y#R#S-y#T#[-y#[#]GZ#]#o-y~G`V#Y~}!O-y!Q![-y!c!}-y#R#S-y#T#c-y#c#dGu#d#o-y~GzV#Y~}!O-y!Q![-y!c!}-y#R#S-y#T#k-y#k#l@s#l#o-y~HfO%t~~HiP#p#qHl~HqO$_~~HvO%u~",
|
|
269
275
|
tokenizers: [0, 1, 2, 3, 4, 5],
|
|
270
|
-
topRules: {"DQL":[0,
|
|
271
|
-
specialized: [{term:
|
|
272
|
-
tokenPrec:
|
|
276
|
+
topRules: {"DQL":[0,96],"DQLFragment":[1,180]},
|
|
277
|
+
specialized: [{term: 102, get: (value, stack) => (specializeIdentifier(value) << 1), external: specializeIdentifier},{term: 102, get: (value, stack) => (rollupIndentifier(value) << 1) | 1, external: rollupIndentifier, extend: true},{term: 102, get: (value, stack) => (funcIndentifier(value) << 1) | 1, external: funcIndentifier, extend: true},{term: 102, get: (value, stack) => (extendIdentifier(value) << 1) | 1, external: extendIdentifier, extend: true}],
|
|
278
|
+
tokenPrec: 3686
|
|
273
279
|
});
|
|
274
280
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
275
281
|
const SOffset = 1,
|
|
@@ -329,137 +335,140 @@ const SOffset = 1,
|
|
|
329
335
|
String = 55,
|
|
330
336
|
Md5 = 56,
|
|
331
337
|
Histogram = 57,
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
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
|
-
|
|
338
|
+
HistogramAuto = 58,
|
|
339
|
+
HistogramQuantile = 59,
|
|
340
|
+
Exists = 60,
|
|
341
|
+
Cidr = 61,
|
|
342
|
+
Match = 62,
|
|
343
|
+
Regex = 63,
|
|
344
|
+
Re = 64,
|
|
345
|
+
Regexp = 65,
|
|
346
|
+
RegexpExtract = 66,
|
|
347
|
+
RegexpExtractAll = 67,
|
|
348
|
+
Collect = 68,
|
|
349
|
+
Concat = 69,
|
|
350
|
+
Drain = 70,
|
|
351
|
+
Wildcard = 71,
|
|
352
|
+
QueryString = 72,
|
|
353
|
+
Querystring = 73,
|
|
354
|
+
WithLabels = 74,
|
|
355
|
+
WithoutLabels = 75,
|
|
356
|
+
Unwrap = 76,
|
|
357
|
+
Now = 77,
|
|
358
|
+
Cumsum = 78,
|
|
359
|
+
Window = 79,
|
|
360
|
+
Dbscan = 80,
|
|
361
|
+
Eval = 81,
|
|
362
|
+
Search = 82,
|
|
363
|
+
Order = 83,
|
|
364
|
+
SOrder = 84,
|
|
365
|
+
Limit = 85,
|
|
366
|
+
Slimit = 86,
|
|
367
|
+
Asc = 87,
|
|
368
|
+
Desc = 88,
|
|
369
|
+
In = 89,
|
|
370
|
+
Not = 90,
|
|
371
|
+
NotIn = 91,
|
|
372
|
+
By = 92,
|
|
373
|
+
And = 93,
|
|
374
|
+
Or = 94,
|
|
375
|
+
LineComment = 95,
|
|
376
|
+
DQL = 96,
|
|
377
|
+
QueryExpr = 97,
|
|
378
|
+
EvalExpr = 98,
|
|
379
|
+
EvalIdentifier = 99,
|
|
380
|
+
EvalCallBody = 100,
|
|
381
|
+
ArgItem = 101,
|
|
382
|
+
Identifier = 102,
|
|
383
|
+
EqlSingle = 103,
|
|
384
|
+
StringLiteral = 104,
|
|
385
|
+
Number = 105,
|
|
386
|
+
FunctionCall = 106,
|
|
387
|
+
FunctionIdentifier = 107,
|
|
388
|
+
FunctionCallBody = 108,
|
|
389
|
+
Expr = 109,
|
|
390
|
+
SingleExpr = 110,
|
|
391
|
+
Pow = 111,
|
|
392
|
+
Mul = 112,
|
|
393
|
+
Div = 113,
|
|
394
|
+
Mod = 114,
|
|
395
|
+
Add = 115,
|
|
396
|
+
Sub = 116,
|
|
397
|
+
Eql = 117,
|
|
398
|
+
Gte = 118,
|
|
399
|
+
Gtr = 119,
|
|
400
|
+
Lte = 120,
|
|
401
|
+
Lss = 121,
|
|
402
|
+
InValue = 122,
|
|
403
|
+
AsExpr = 123,
|
|
404
|
+
OuterArgItem = 124,
|
|
405
|
+
Queted = 125,
|
|
406
|
+
Query = 126,
|
|
407
|
+
Namespace = 127,
|
|
408
|
+
IndexExpr = 128,
|
|
409
|
+
IndexItem = 129,
|
|
410
|
+
DColon = 130,
|
|
411
|
+
DataSourceList = 131,
|
|
412
|
+
DataSourceItem = 132,
|
|
413
|
+
Star = 133,
|
|
414
|
+
QuerySource = 134,
|
|
415
|
+
QueryClause = 135,
|
|
416
|
+
TargetClause = 136,
|
|
417
|
+
Comma = 137,
|
|
418
|
+
Projection = 138,
|
|
419
|
+
ProjectionItem = 139,
|
|
420
|
+
ProjectionField = 140,
|
|
421
|
+
FieldName = 141,
|
|
422
|
+
ProjectionExpr = 142,
|
|
423
|
+
SingleFieldExpr = 143,
|
|
424
|
+
Duration = 144,
|
|
425
|
+
DurationExpr = 145,
|
|
426
|
+
FilterClause = 146,
|
|
427
|
+
FilterExpr = 147,
|
|
428
|
+
InFieldValue = 148,
|
|
429
|
+
BinaryExpr = 149,
|
|
430
|
+
Neq = 150,
|
|
431
|
+
NotInSeq = 151,
|
|
432
|
+
DAnd = 152,
|
|
433
|
+
DOr = 153,
|
|
434
|
+
EqlRegex = 154,
|
|
435
|
+
NeqRegex = 155,
|
|
436
|
+
FilterSubExpr = 156,
|
|
437
|
+
HavingClause = 157,
|
|
438
|
+
Having = 158,
|
|
439
|
+
HavingExpr = 159,
|
|
440
|
+
SingleHavingExpr = 160,
|
|
441
|
+
LimitClause = 161,
|
|
442
|
+
TimeClause = 162,
|
|
443
|
+
TimeRange = 163,
|
|
444
|
+
TimeExpr = 164,
|
|
445
|
+
RollupIdentifier = 165,
|
|
446
|
+
ByClause = 166,
|
|
447
|
+
ByExpr = 167,
|
|
448
|
+
ByListExpr = 168,
|
|
449
|
+
ByItem = 169,
|
|
450
|
+
FieldCall = 170,
|
|
451
|
+
OrderClause = 171,
|
|
452
|
+
OffsetClause = 172,
|
|
453
|
+
SLimitClause = 173,
|
|
454
|
+
SOffsetClause = 174,
|
|
455
|
+
SOrderClause = 175,
|
|
456
|
+
OuterFunctionCall = 176,
|
|
457
|
+
OuterFunctionCallBody = 177,
|
|
458
|
+
ShowExpr = 178,
|
|
459
|
+
ShowIdentifier = 179,
|
|
460
|
+
DQLFragment = 180,
|
|
461
|
+
QueryFragment = 181,
|
|
462
|
+
FilterFragmentExpr = 182,
|
|
463
|
+
LogicalFragmentExpr = 183,
|
|
464
|
+
ComparisonExpr = 184,
|
|
465
|
+
Operator = 185,
|
|
466
|
+
LogicOp = 186,
|
|
467
|
+
DataSourceListFragment = 187,
|
|
468
|
+
DataSourceItemFragment = 188,
|
|
469
|
+
ProjectionFragment = 189,
|
|
470
|
+
ProjectionItemFragment = 190,
|
|
471
|
+
ProjectionFieldFragment = 191,
|
|
472
|
+
QueryFragmentClause = 192;
|
|
464
473
|
|
|
465
|
-
export { Abs, Add, And, Any, ArgItem, As, AsExpr, Asc, Avg, Base64, BinaryExpr, Bottom, By, ByClause, ByExpr, ByItem, ByListExpr, Ceil, Cidr, Collect, Comma, ComparisonExpr, Concat, Count, CountDistinct, CountFilter, CountSeries, Cumsum, DAnd, DColon, DOr, DQL, DQLFragment, DataSourceItem, DataSourceItemFragment, DataSourceList, DataSourceListFragment, Dbscan, Default, Deriv, Derivative, Desc, Difference, Distinct, DistinctByCollapse, Div, Drain, Duration, DurationExpr, Eql, EqlRegex, EqlSingle, Eval, EvalCallBody, EvalExpr, EvalIdentifier, Exists, Expr, FieldCall, FieldName, Fill, FilterClause, FilterExpr, FilterFragmentExpr, FilterSubExpr, First, Float, Floor, FunctionCall, FunctionCallBody, FunctionIdentifier, Gte, Gtr, Having, HavingClause, HavingExpr, Histogram, Identifier, In, InFieldValue, InValue, Increase, IndexExpr, IndexItem, Int, Irate, Last, LastRow, Limit, LimitClause, LineComment, Log, Log10, Log2, LogicOp, LogicalFragmentExpr, Lss, Lte, Match, Max, Md5, Median, Min, Mod, Mode, MovingAverage, Mul, Namespace, Neq, NeqRegex, NonNegativeDerivative, NonNegativeDifference, Not, NotIn, NotInSeq, Now, Number, Offset, OffsetClause, Operator, Or, Order, OrderClause, OuterArgItem, OuterFunctionCall, OuterFunctionCallBody, P50, P75, P90, P95, P99, Percentile, Pow, Projection, ProjectionExpr, ProjectionField, ProjectionFieldFragment, ProjectionFragment, ProjectionItem, ProjectionItemFragment, Query, QueryClause, QueryExpr, QueryFragment, QueryFragmentClause, QuerySource, QueryString, Querystring, Queted, Rate, RateOverCount, RateOverSum, Re, Regex, Regexp, RegexpExtract, RegexpExtractAll, RollupIdentifier, Round, SLimitClause, SOffset, SOffsetClause, SOrder, SOrderClause, Schema, Set, ShowExpr, ShowIdentifier, SingleExpr, SingleFieldExpr, SingleHavingExpr, Slimit, Spread, Star, Stddev, String, StringLiteral, Sub, Sum, TargetClause, TimeClause, TimeExpr, TimeRange, Top, Unwrap, Wildcard, Window, WithLabels, WithoutLabels, parser };
|
|
474
|
+
export { Abs, Add, And, Any, ArgItem, As, AsExpr, Asc, Avg, Base64, BinaryExpr, Bottom, By, ByClause, ByExpr, ByItem, ByListExpr, Ceil, Cidr, Collect, Comma, ComparisonExpr, Concat, Count, CountDistinct, CountFilter, CountSeries, Cumsum, DAnd, DColon, DOr, DQL, DQLFragment, DataSourceItem, DataSourceItemFragment, DataSourceList, DataSourceListFragment, Dbscan, Default, Deriv, Derivative, Desc, Difference, Distinct, DistinctByCollapse, Div, Drain, Duration, DurationExpr, Eql, EqlRegex, EqlSingle, Eval, EvalCallBody, EvalExpr, EvalIdentifier, Exists, Expr, FieldCall, FieldName, Fill, FilterClause, FilterExpr, FilterFragmentExpr, FilterSubExpr, First, Float, Floor, FunctionCall, FunctionCallBody, FunctionIdentifier, Gte, Gtr, Having, HavingClause, HavingExpr, Histogram, HistogramAuto, HistogramQuantile, Identifier, In, InFieldValue, InValue, Increase, IndexExpr, IndexItem, Int, Irate, Last, LastRow, Limit, LimitClause, LineComment, Log, Log10, Log2, LogicOp, LogicalFragmentExpr, Lss, Lte, Match, Max, Md5, Median, Min, Mod, Mode, MovingAverage, Mul, Namespace, Neq, NeqRegex, NonNegativeDerivative, NonNegativeDifference, Not, NotIn, NotInSeq, Now, Number, Offset, OffsetClause, Operator, Or, Order, OrderClause, OuterArgItem, OuterFunctionCall, OuterFunctionCallBody, P50, P75, P90, P95, P99, Percentile, Pow, Projection, ProjectionExpr, ProjectionField, ProjectionFieldFragment, ProjectionFragment, ProjectionItem, ProjectionItemFragment, Query, QueryClause, QueryExpr, QueryFragment, QueryFragmentClause, QuerySource, QueryString, Querystring, Queted, Rate, RateOverCount, RateOverSum, Re, Regex, Regexp, RegexpExtract, RegexpExtractAll, RollupIdentifier, Round, SLimitClause, SOffset, SOffsetClause, SOrder, SOrderClause, Schema, Search, Set, ShowExpr, ShowIdentifier, SingleExpr, SingleFieldExpr, SingleHavingExpr, Slimit, Spread, Star, Stddev, String, StringLiteral, Sub, Sum, TargetClause, TimeClause, TimeExpr, TimeRange, Top, Unwrap, Wildcard, Window, WithLabels, WithoutLabels, parser };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcare/lezer-dql",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.46",
|
|
4
4
|
"description": "lezer-based dql grammar",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"type": "module",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"@lezer/highlight": "^1.1.2",
|
|
34
34
|
"@lezer/lr": "^1.2.3"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "79cdb5478d4aee2c5bf6131af46095f7444ecd52"
|
|
37
37
|
}
|