@elastic/esql 1.2.0 → 1.3.0
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/lib/ast/visitor/contexts.d.ts +3 -1
- package/lib/ast/visitor/contexts.d.ts.map +1 -1
- package/lib/ast/visitor/global_visitor_context.d.ts +2 -1
- package/lib/ast/visitor/global_visitor_context.d.ts.map +1 -1
- package/lib/ast/visitor/types.d.ts +3 -2
- package/lib/ast/visitor/types.d.ts.map +1 -1
- package/lib/index.js +20 -0
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +19 -0
- package/lib/index.mjs.map +1 -1
- package/lib/parser/core/cst_to_ast_converter.d.ts +1 -0
- package/lib/parser/core/cst_to_ast_converter.d.ts.map +1 -1
- package/lib/types.d.ts +3 -1
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -25008,6 +25008,8 @@ var MmrCommandVisitorContext = class extends CommandVisitorContext {
|
|
|
25008
25008
|
};
|
|
25009
25009
|
var UriPartsCommandVisitorContext = class extends CommandVisitorContext {
|
|
25010
25010
|
};
|
|
25011
|
+
var TsInfoCommandVisitorContext = class extends CommandVisitorContext {
|
|
25012
|
+
};
|
|
25011
25013
|
var MetricsInfoCommandVisitorContext = class extends CommandVisitorContext {
|
|
25012
25014
|
};
|
|
25013
25015
|
var ExpressionVisitorContext = class extends VisitorContext {
|
|
@@ -25265,6 +25267,10 @@ var GlobalVisitorContext = class {
|
|
|
25265
25267
|
input
|
|
25266
25268
|
);
|
|
25267
25269
|
}
|
|
25270
|
+
case "ts_info": {
|
|
25271
|
+
if (!this.methods.visitTsInfoCommand) break;
|
|
25272
|
+
return this.visitTsInfoCommand(parent, commandNode, input);
|
|
25273
|
+
}
|
|
25268
25274
|
case "metrics_info": {
|
|
25269
25275
|
if (!this.methods.visitMetricsInfoCommand) break;
|
|
25270
25276
|
return this.visitMetricsInfoCommand(
|
|
@@ -25403,6 +25409,10 @@ var GlobalVisitorContext = class {
|
|
|
25403
25409
|
const context = new UriPartsCommandVisitorContext(this, node, parent);
|
|
25404
25410
|
return this.visitWithSpecificContext("visitUriPartsCommand", context, input);
|
|
25405
25411
|
}
|
|
25412
|
+
visitTsInfoCommand(parent, node, input) {
|
|
25413
|
+
const context = new TsInfoCommandVisitorContext(this, node, parent);
|
|
25414
|
+
return this.visitWithSpecificContext("visitTsInfoCommand", context, input);
|
|
25415
|
+
}
|
|
25406
25416
|
visitMetricsInfoCommand(parent, node, input) {
|
|
25407
25417
|
const context = new MetricsInfoCommandVisitorContext(this, node, parent);
|
|
25408
25418
|
return this.visitWithSpecificContext("visitMetricsInfoCommand", context, input);
|
|
@@ -58791,6 +58801,10 @@ var CstToAstConverter = class {
|
|
|
58791
58801
|
if (uriPartsCommandCtx) {
|
|
58792
58802
|
return this.fromUriPartsCommand(uriPartsCommandCtx);
|
|
58793
58803
|
}
|
|
58804
|
+
const tsInfoCommandCtx = ctx.tsInfoCommand();
|
|
58805
|
+
if (tsInfoCommandCtx) {
|
|
58806
|
+
return this.fromTsInfoCommand(tsInfoCommandCtx);
|
|
58807
|
+
}
|
|
58794
58808
|
const metricsInfoCommandCtx = ctx.metricsInfoCommand();
|
|
58795
58809
|
if (metricsInfoCommandCtx) {
|
|
58796
58810
|
return this.fromMetricsInfoCommand(metricsInfoCommandCtx);
|
|
@@ -60077,6 +60091,10 @@ var CstToAstConverter = class {
|
|
|
60077
60091
|
}
|
|
60078
60092
|
return command2;
|
|
60079
60093
|
}
|
|
60094
|
+
// --------------------------------------------------------------- TS_INFO
|
|
60095
|
+
fromTsInfoCommand(ctx) {
|
|
60096
|
+
return this.createCommand("ts_info", ctx);
|
|
60097
|
+
}
|
|
60080
60098
|
// --------------------------------------------------------------- METRICS_INFO
|
|
60081
60099
|
fromMetricsInfoCommand(ctx) {
|
|
60082
60100
|
return this.createCommand("metrics_info", ctx);
|
|
@@ -63834,6 +63852,7 @@ export {
|
|
|
63834
63852
|
TIME_DURATION_UNITS,
|
|
63835
63853
|
TIME_SPAN_UNITS,
|
|
63836
63854
|
TimeseriesCommandVisitorContext,
|
|
63855
|
+
TsInfoCommandVisitorContext,
|
|
63837
63856
|
UnaryExpressionGroup,
|
|
63838
63857
|
UriPartsCommandVisitorContext,
|
|
63839
63858
|
Visitor,
|