@cloudcare/lezer-dql 0.0.43 → 0.0.44
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 +137 -133
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +137 -134
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -83,18 +83,19 @@ const SOffset$1 = 1,
|
|
|
83
83
|
Window$1 = 77,
|
|
84
84
|
Dbscan$1 = 78,
|
|
85
85
|
Eval$1 = 79,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
86
|
+
Search$1 = 80,
|
|
87
|
+
Order$1 = 81,
|
|
88
|
+
SOrder$1 = 82,
|
|
89
|
+
Limit$1 = 83,
|
|
90
|
+
Slimit$1 = 84,
|
|
91
|
+
Asc$1 = 85,
|
|
92
|
+
Desc$1 = 86,
|
|
93
|
+
In$1 = 87,
|
|
94
|
+
Not$1 = 88,
|
|
95
|
+
NotIn$1 = 89,
|
|
96
|
+
By$1 = 90,
|
|
97
|
+
And$1 = 91,
|
|
98
|
+
Or$1 = 92;
|
|
98
99
|
|
|
99
100
|
function camelToSnake(str) {
|
|
100
101
|
return str
|
|
@@ -173,6 +174,7 @@ const funcTokenMap = {
|
|
|
173
174
|
Dbscan: Dbscan$1,
|
|
174
175
|
Eval: Eval$1,
|
|
175
176
|
Avg: Avg$1,
|
|
177
|
+
Search: Search$1,
|
|
176
178
|
};
|
|
177
179
|
|
|
178
180
|
const contextualKeywordTokenMap = {
|
|
@@ -243,7 +245,7 @@ const DQLHighLight = highlight.styleTags({
|
|
|
243
245
|
Identifier: highlight.tags.variableName,
|
|
244
246
|
ShowIdentifier: highlight.tags.labelName,
|
|
245
247
|
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":
|
|
248
|
+
"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 Search":
|
|
247
249
|
highlight.tags.function(highlight.tags.variableName),
|
|
248
250
|
"Order SOrder By Limit Offset Slimit SOffset As Desc Asc Having": highlight.tags.operatorKeyword,
|
|
249
251
|
"Base64 , DColon Comma": highlight.tags.modifier,
|
|
@@ -259,19 +261,19 @@ const DQLHighLight = highlight.styleTags({
|
|
|
259
261
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
260
262
|
const parser = lr.LRParser.deserialize({
|
|
261
263
|
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:
|
|
264
|
+
states: "I|O%vQPOOO&TQPOOOOQO'#Ea'#EaOOQO'#Ei'#EiO&eQPO'#E}O&pQPO'#E_O&xQPO'#E`O&}QPO'#GQO'SQPO'#GSOOQO'#E_'#E_O'XQPO'#E_QOQPOOO'SQPO'#EhO'{QQO'#G^O(uQPO'#GXOOQO'#GW'#GWO)TQPO'#G_OOQO'#G^'#G^O)hQQO'#G]OOQO'#GV'#GVO*`QQO'#GVO+TQPO'#GVO+uQPO'#FOOOQO,5;i,5;iO+}QPO,5;hO,_QQ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PQcPT{`zV_P`zU^P`zR#RvXt]xy#QTv^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",
|
|
267
|
+
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 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",
|
|
268
|
+
maxTerm: 221,
|
|
267
269
|
propSources: [DQLHighLight],
|
|
268
|
-
skippedNodes: [0,
|
|
270
|
+
skippedNodes: [0,89,93],
|
|
269
271
|
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%
|
|
272
|
+
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%h~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$Y~~%aO$_~o%hY%qd#YZOY&WZr&Wrs&usz&Wz{(O{#O&W#O#P&z#P;'S&W;'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(value) << 1), external: specializeIdentifier},{term: 100, get: (value, stack) => (rollupIndentifier(value) << 1) | 1, external: rollupIndentifier, extend: true},{term: 100, get: (value, stack) => (funcIndentifier(value) << 1) | 1, external: funcIndentifier, extend: true},{term: 100, get: (value, stack) => (extendIdentifier(value) << 1) | 1, external: extendIdentifier, extend: true}],
|
|
276
|
+
tokenPrec: 3680
|
|
275
277
|
});
|
|
276
278
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
277
279
|
const SOffset = 1,
|
|
@@ -353,116 +355,117 @@ const SOffset = 1,
|
|
|
353
355
|
Window = 77,
|
|
354
356
|
Dbscan = 78,
|
|
355
357
|
Eval = 79,
|
|
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
|
-
|
|
358
|
+
Search = 80,
|
|
359
|
+
Order = 81,
|
|
360
|
+
SOrder = 82,
|
|
361
|
+
Limit = 83,
|
|
362
|
+
Slimit = 84,
|
|
363
|
+
Asc = 85,
|
|
364
|
+
Desc = 86,
|
|
365
|
+
In = 87,
|
|
366
|
+
Not = 88,
|
|
367
|
+
NotIn = 89,
|
|
368
|
+
By = 90,
|
|
369
|
+
And = 91,
|
|
370
|
+
Or = 92,
|
|
371
|
+
LineComment = 93,
|
|
372
|
+
DQL = 94,
|
|
373
|
+
QueryExpr = 95,
|
|
374
|
+
EvalExpr = 96,
|
|
375
|
+
EvalIdentifier = 97,
|
|
376
|
+
EvalCallBody = 98,
|
|
377
|
+
ArgItem = 99,
|
|
378
|
+
Identifier = 100,
|
|
379
|
+
EqlSingle = 101,
|
|
380
|
+
StringLiteral = 102,
|
|
381
|
+
Number = 103,
|
|
382
|
+
FunctionCall = 104,
|
|
383
|
+
FunctionIdentifier = 105,
|
|
384
|
+
FunctionCallBody = 106,
|
|
385
|
+
Expr = 107,
|
|
386
|
+
SingleExpr = 108,
|
|
387
|
+
Pow = 109,
|
|
388
|
+
Mul = 110,
|
|
389
|
+
Div = 111,
|
|
390
|
+
Mod = 112,
|
|
391
|
+
Add = 113,
|
|
392
|
+
Sub = 114,
|
|
393
|
+
Eql = 115,
|
|
394
|
+
Gte = 116,
|
|
395
|
+
Gtr = 117,
|
|
396
|
+
Lte = 118,
|
|
397
|
+
Lss = 119,
|
|
398
|
+
InValue = 120,
|
|
399
|
+
AsExpr = 121,
|
|
400
|
+
OuterArgItem = 122,
|
|
401
|
+
Queted = 123,
|
|
402
|
+
Query = 124,
|
|
403
|
+
Namespace = 125,
|
|
404
|
+
IndexExpr = 126,
|
|
405
|
+
IndexItem = 127,
|
|
406
|
+
DColon = 128,
|
|
407
|
+
DataSourceList = 129,
|
|
408
|
+
DataSourceItem = 130,
|
|
409
|
+
Star = 131,
|
|
410
|
+
QuerySource = 132,
|
|
411
|
+
QueryClause = 133,
|
|
412
|
+
TargetClause = 134,
|
|
413
|
+
Comma = 135,
|
|
414
|
+
Projection = 136,
|
|
415
|
+
ProjectionItem = 137,
|
|
416
|
+
ProjectionField = 138,
|
|
417
|
+
FieldName = 139,
|
|
418
|
+
ProjectionExpr = 140,
|
|
419
|
+
SingleFieldExpr = 141,
|
|
420
|
+
Duration = 142,
|
|
421
|
+
DurationExpr = 143,
|
|
422
|
+
FilterClause = 144,
|
|
423
|
+
FilterExpr = 145,
|
|
424
|
+
InFieldValue = 146,
|
|
425
|
+
BinaryExpr = 147,
|
|
426
|
+
Neq = 148,
|
|
427
|
+
NotInSeq = 149,
|
|
428
|
+
DAnd = 150,
|
|
429
|
+
DOr = 151,
|
|
430
|
+
EqlRegex = 152,
|
|
431
|
+
NeqRegex = 153,
|
|
432
|
+
FilterSubExpr = 154,
|
|
433
|
+
HavingClause = 155,
|
|
434
|
+
Having = 156,
|
|
435
|
+
HavingExpr = 157,
|
|
436
|
+
SingleHavingExpr = 158,
|
|
437
|
+
LimitClause = 159,
|
|
438
|
+
TimeClause = 160,
|
|
439
|
+
TimeRange = 161,
|
|
440
|
+
TimeExpr = 162,
|
|
441
|
+
RollupIdentifier = 163,
|
|
442
|
+
ByClause = 164,
|
|
443
|
+
ByExpr = 165,
|
|
444
|
+
ByListExpr = 166,
|
|
445
|
+
ByItem = 167,
|
|
446
|
+
FieldCall = 168,
|
|
447
|
+
OrderClause = 169,
|
|
448
|
+
OffsetClause = 170,
|
|
449
|
+
SLimitClause = 171,
|
|
450
|
+
SOffsetClause = 172,
|
|
451
|
+
SOrderClause = 173,
|
|
452
|
+
OuterFunctionCall = 174,
|
|
453
|
+
OuterFunctionCallBody = 175,
|
|
454
|
+
ShowExpr = 176,
|
|
455
|
+
ShowIdentifier = 177,
|
|
456
|
+
DQLFragment = 178,
|
|
457
|
+
QueryFragment = 179,
|
|
458
|
+
FilterFragmentExpr = 180,
|
|
459
|
+
LogicalFragmentExpr = 181,
|
|
460
|
+
ComparisonExpr = 182,
|
|
461
|
+
Operator = 183,
|
|
462
|
+
LogicOp = 184,
|
|
463
|
+
DataSourceListFragment = 185,
|
|
464
|
+
DataSourceItemFragment = 186,
|
|
465
|
+
ProjectionFragment = 187,
|
|
466
|
+
ProjectionItemFragment = 188,
|
|
467
|
+
ProjectionFieldFragment = 189,
|
|
468
|
+
QueryFragmentClause = 190;
|
|
466
469
|
|
|
467
470
|
exports.Abs = Abs;
|
|
468
471
|
exports.Add = Add;
|
|
@@ -629,6 +632,7 @@ exports.SOffsetClause = SOffsetClause;
|
|
|
629
632
|
exports.SOrder = SOrder;
|
|
630
633
|
exports.SOrderClause = SOrderClause;
|
|
631
634
|
exports.Schema = Schema;
|
|
635
|
+
exports.Search = Search;
|
|
632
636
|
exports.Set = Set;
|
|
633
637
|
exports.ShowExpr = ShowExpr;
|
|
634
638
|
exports.ShowIdentifier = ShowIdentifier;
|
package/dist/index.d.ts
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -81,18 +81,19 @@ const SOffset$1 = 1,
|
|
|
81
81
|
Window$1 = 77,
|
|
82
82
|
Dbscan$1 = 78,
|
|
83
83
|
Eval$1 = 79,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
84
|
+
Search$1 = 80,
|
|
85
|
+
Order$1 = 81,
|
|
86
|
+
SOrder$1 = 82,
|
|
87
|
+
Limit$1 = 83,
|
|
88
|
+
Slimit$1 = 84,
|
|
89
|
+
Asc$1 = 85,
|
|
90
|
+
Desc$1 = 86,
|
|
91
|
+
In$1 = 87,
|
|
92
|
+
Not$1 = 88,
|
|
93
|
+
NotIn$1 = 89,
|
|
94
|
+
By$1 = 90,
|
|
95
|
+
And$1 = 91,
|
|
96
|
+
Or$1 = 92;
|
|
96
97
|
|
|
97
98
|
function camelToSnake(str) {
|
|
98
99
|
return str
|
|
@@ -171,6 +172,7 @@ const funcTokenMap = {
|
|
|
171
172
|
Dbscan: Dbscan$1,
|
|
172
173
|
Eval: Eval$1,
|
|
173
174
|
Avg: Avg$1,
|
|
175
|
+
Search: Search$1,
|
|
174
176
|
};
|
|
175
177
|
|
|
176
178
|
const contextualKeywordTokenMap = {
|
|
@@ -241,7 +243,7 @@ const DQLHighLight = styleTags({
|
|
|
241
243
|
Identifier: tags.variableName,
|
|
242
244
|
ShowIdentifier: tags.labelName,
|
|
243
245
|
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":
|
|
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 Search":
|
|
245
247
|
tags.function(tags.variableName),
|
|
246
248
|
"Order SOrder By Limit Offset Slimit SOffset As Desc Asc Having": tags.operatorKeyword,
|
|
247
249
|
"Base64 , DColon Comma": tags.modifier,
|
|
@@ -257,19 +259,19 @@ const DQLHighLight = styleTags({
|
|
|
257
259
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
258
260
|
const parser = LRParser.deserialize({
|
|
259
261
|
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:
|
|
262
|
+
states: "I|O%vQPOOO&TQPOOOOQO'#Ea'#EaOOQO'#Ei'#EiO&eQPO'#E}O&pQPO'#E_O&xQPO'#E`O&}QPO'#GQO'SQPO'#GSOOQO'#E_'#E_O'XQPO'#E_QOQPOOO'SQPO'#EhO'{QQO'#G^O(uQPO'#GXOOQO'#GW'#GWO)TQPO'#G_OOQO'#G^'#G^O)hQQO'#G]OOQO'#GV'#GVO*`QQO'#GVO+TQPO'#GVO+uQPO'#FOOOQO,5;i,5;iO+}QPO,5;hO,_QQO'#EbOOQO,5:z,5:zO,{QSO'#GROOQO,5<l,5<lO-^QQO'#EjOOQO,5<n,5<nOYQPO'#GmO-zQPO,5:yOOQO,5;S,5;SO.SQPO'#FgOOQO'#GZ'#GZO.XQQO,5<tOOQO'#G['#G[O.fQPO'#GnO.pQPO,5<sO/OQPO'#F]O/]QPO'#GaO/jQPO'#GWO/wQPO,5<rO/|QPO'#GaOOQO'#G`'#G`OOQO,5<y,5<yO0XQPO,5<yO0aQPO'#GoO0nQQO,5<wO1fQPO'#FWO1kQQO'#FbO2UQQO'#FmO2fQQO'#FqO2kQSO'#FrO4RQPO'#FvO4]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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 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",
|
|
266
|
+
maxTerm: 221,
|
|
265
267
|
propSources: [DQLHighLight],
|
|
266
|
-
skippedNodes: [0,
|
|
268
|
+
skippedNodes: [0,89,93],
|
|
267
269
|
repeatNodeCount: 15,
|
|
268
|
-
tokenData: "Hv~R!QX^$Xpq$Xqr$|rs%ast(tuv)]vw)bwx)mxy,tyz,y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#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#W~}!O-y!Q![-y!c!}-y#R#S-y#T#UDc#U#o-y~DhV#W~}!O-y!Q![-y!c!}-y#R#S-y#T#j-y#j#kD}#k#o-y~ESV#W~}!O-y!Q![-y!c!}-y#R#S-y#T#]-y#]#^Ei#^#o-y~EnV#W~}!O-y!Q![-y!c!}-y#R#S-y#T#b-y#b#cFT#c#o-y~FYV#W~}!O-y!Q![-y!c!}-y#R#S-y#T#Z-y#Z#[>k#[#o-y~FtV#W~}!O-y!Q![-y!c!}-y#R#S-y#T#[-y#[#]GZ#]#o-y~G`V#W~}!O-y!Q![-y!c!}-y#R#S-y#T#c-y#c#dGu#d#o-y~GzV#W~}!O-y!Q![-y!c!}-y#R#S-y#T#k-y#k#l@s#l#o-y~HfO%r~~HiP#p#qHl~HqO$]~~HvO%s~",
|
|
269
271
|
tokenizers: [0, 1, 2, 3, 4, 5],
|
|
270
|
-
topRules: {"DQL":[0,
|
|
271
|
-
specialized: [{term:
|
|
272
|
-
tokenPrec:
|
|
272
|
+
topRules: {"DQL":[0,94],"DQLFragment":[1,178]},
|
|
273
|
+
specialized: [{term: 100, get: (value, stack) => (specializeIdentifier(value) << 1), external: specializeIdentifier},{term: 100, get: (value, stack) => (rollupIndentifier(value) << 1) | 1, external: rollupIndentifier, extend: true},{term: 100, get: (value, stack) => (funcIndentifier(value) << 1) | 1, external: funcIndentifier, extend: true},{term: 100, get: (value, stack) => (extendIdentifier(value) << 1) | 1, external: extendIdentifier, extend: true}],
|
|
274
|
+
tokenPrec: 3680
|
|
273
275
|
});
|
|
274
276
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
275
277
|
const SOffset = 1,
|
|
@@ -351,115 +353,116 @@ const SOffset = 1,
|
|
|
351
353
|
Window = 77,
|
|
352
354
|
Dbscan = 78,
|
|
353
355
|
Eval = 79,
|
|
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
|
-
|
|
356
|
+
Search = 80,
|
|
357
|
+
Order = 81,
|
|
358
|
+
SOrder = 82,
|
|
359
|
+
Limit = 83,
|
|
360
|
+
Slimit = 84,
|
|
361
|
+
Asc = 85,
|
|
362
|
+
Desc = 86,
|
|
363
|
+
In = 87,
|
|
364
|
+
Not = 88,
|
|
365
|
+
NotIn = 89,
|
|
366
|
+
By = 90,
|
|
367
|
+
And = 91,
|
|
368
|
+
Or = 92,
|
|
369
|
+
LineComment = 93,
|
|
370
|
+
DQL = 94,
|
|
371
|
+
QueryExpr = 95,
|
|
372
|
+
EvalExpr = 96,
|
|
373
|
+
EvalIdentifier = 97,
|
|
374
|
+
EvalCallBody = 98,
|
|
375
|
+
ArgItem = 99,
|
|
376
|
+
Identifier = 100,
|
|
377
|
+
EqlSingle = 101,
|
|
378
|
+
StringLiteral = 102,
|
|
379
|
+
Number = 103,
|
|
380
|
+
FunctionCall = 104,
|
|
381
|
+
FunctionIdentifier = 105,
|
|
382
|
+
FunctionCallBody = 106,
|
|
383
|
+
Expr = 107,
|
|
384
|
+
SingleExpr = 108,
|
|
385
|
+
Pow = 109,
|
|
386
|
+
Mul = 110,
|
|
387
|
+
Div = 111,
|
|
388
|
+
Mod = 112,
|
|
389
|
+
Add = 113,
|
|
390
|
+
Sub = 114,
|
|
391
|
+
Eql = 115,
|
|
392
|
+
Gte = 116,
|
|
393
|
+
Gtr = 117,
|
|
394
|
+
Lte = 118,
|
|
395
|
+
Lss = 119,
|
|
396
|
+
InValue = 120,
|
|
397
|
+
AsExpr = 121,
|
|
398
|
+
OuterArgItem = 122,
|
|
399
|
+
Queted = 123,
|
|
400
|
+
Query = 124,
|
|
401
|
+
Namespace = 125,
|
|
402
|
+
IndexExpr = 126,
|
|
403
|
+
IndexItem = 127,
|
|
404
|
+
DColon = 128,
|
|
405
|
+
DataSourceList = 129,
|
|
406
|
+
DataSourceItem = 130,
|
|
407
|
+
Star = 131,
|
|
408
|
+
QuerySource = 132,
|
|
409
|
+
QueryClause = 133,
|
|
410
|
+
TargetClause = 134,
|
|
411
|
+
Comma = 135,
|
|
412
|
+
Projection = 136,
|
|
413
|
+
ProjectionItem = 137,
|
|
414
|
+
ProjectionField = 138,
|
|
415
|
+
FieldName = 139,
|
|
416
|
+
ProjectionExpr = 140,
|
|
417
|
+
SingleFieldExpr = 141,
|
|
418
|
+
Duration = 142,
|
|
419
|
+
DurationExpr = 143,
|
|
420
|
+
FilterClause = 144,
|
|
421
|
+
FilterExpr = 145,
|
|
422
|
+
InFieldValue = 146,
|
|
423
|
+
BinaryExpr = 147,
|
|
424
|
+
Neq = 148,
|
|
425
|
+
NotInSeq = 149,
|
|
426
|
+
DAnd = 150,
|
|
427
|
+
DOr = 151,
|
|
428
|
+
EqlRegex = 152,
|
|
429
|
+
NeqRegex = 153,
|
|
430
|
+
FilterSubExpr = 154,
|
|
431
|
+
HavingClause = 155,
|
|
432
|
+
Having = 156,
|
|
433
|
+
HavingExpr = 157,
|
|
434
|
+
SingleHavingExpr = 158,
|
|
435
|
+
LimitClause = 159,
|
|
436
|
+
TimeClause = 160,
|
|
437
|
+
TimeRange = 161,
|
|
438
|
+
TimeExpr = 162,
|
|
439
|
+
RollupIdentifier = 163,
|
|
440
|
+
ByClause = 164,
|
|
441
|
+
ByExpr = 165,
|
|
442
|
+
ByListExpr = 166,
|
|
443
|
+
ByItem = 167,
|
|
444
|
+
FieldCall = 168,
|
|
445
|
+
OrderClause = 169,
|
|
446
|
+
OffsetClause = 170,
|
|
447
|
+
SLimitClause = 171,
|
|
448
|
+
SOffsetClause = 172,
|
|
449
|
+
SOrderClause = 173,
|
|
450
|
+
OuterFunctionCall = 174,
|
|
451
|
+
OuterFunctionCallBody = 175,
|
|
452
|
+
ShowExpr = 176,
|
|
453
|
+
ShowIdentifier = 177,
|
|
454
|
+
DQLFragment = 178,
|
|
455
|
+
QueryFragment = 179,
|
|
456
|
+
FilterFragmentExpr = 180,
|
|
457
|
+
LogicalFragmentExpr = 181,
|
|
458
|
+
ComparisonExpr = 182,
|
|
459
|
+
Operator = 183,
|
|
460
|
+
LogicOp = 184,
|
|
461
|
+
DataSourceListFragment = 185,
|
|
462
|
+
DataSourceItemFragment = 186,
|
|
463
|
+
ProjectionFragment = 187,
|
|
464
|
+
ProjectionItemFragment = 188,
|
|
465
|
+
ProjectionFieldFragment = 189,
|
|
466
|
+
QueryFragmentClause = 190;
|
|
464
467
|
|
|
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 };
|
|
468
|
+
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, 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.44",
|
|
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": "89e5539493399194cb51a4ff1bae7cf80d2267c6"
|
|
37
37
|
}
|