bq2cst 1.0.0-beta.1 → 1.0.0-beta.3

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/bq2cst.d.ts CHANGED
@@ -125,13 +125,17 @@ export type UnknownNode =
125
125
  | SetOperator
126
126
  | SetStatement
127
127
  | SingleTokenStatement
128
+ | StandAloneExpr
128
129
  | StringLiteral
129
130
  | StructLiteral
130
131
  | Symbol_
131
132
  | TableSampleClause
132
133
  | TableSamplePipeOperator
133
134
  | TableSampleRatio
134
- | Template
135
+ | TemplateExpr
136
+ | TemplateExprEnd
137
+ | TemplateExprContinue
138
+ | TemplateExprStart
135
139
  | TransactionStatement
136
140
  | TrainingDataCustomHolidayClause
137
141
  | TruncateStatement
@@ -1449,6 +1453,16 @@ export type SingleTokenStatement = XXXStatement & {
1449
1453
  node_type: "SingleTokenStatement";
1450
1454
  };
1451
1455
 
1456
+ export type StandAloneExpr = BaseNode & {
1457
+ token: null;
1458
+ node_type: "StandAloneExpr";
1459
+ children: {
1460
+ leading_comments: undefined;
1461
+ trailing_comments: undefined;
1462
+ expr: NodeChild;
1463
+ };
1464
+ };
1465
+
1452
1466
  export type StringLiteral = Expr & {
1453
1467
  node_type: "StringLiteral";
1454
1468
  };
@@ -1494,8 +1508,32 @@ export type TableSampleRatio = BaseNode & {
1494
1508
  };
1495
1509
  };
1496
1510
 
1497
- export type Template = IdentifierGeneral & {
1498
- node_type: "Template";
1511
+ export type TemplateExpr = IdentifierGeneral & {
1512
+ node_type: "TemplateExpr";
1513
+ };
1514
+
1515
+ export type TemplateExprEnd = BaseNode & {
1516
+ token: Token;
1517
+ node_type: "TemplateExprEnd";
1518
+ children: {}
1519
+ };
1520
+
1521
+ export type TemplateExprContinue = BaseNode & {
1522
+ token: Token;
1523
+ node_type: "TemplateExprContinue";
1524
+ children: {
1525
+ exprs: NodeVecChild;
1526
+ }
1527
+ };
1528
+
1529
+ export type TemplateExprStart = FromItemExpr & {
1530
+ token: Token;
1531
+ node_type: "TemplateExprStart";
1532
+ children: {
1533
+ exprs: NodeVecChild;
1534
+ continues: NodeVecChild;
1535
+ end: NodeChild;
1536
+ }
1499
1537
  };
1500
1538
 
1501
1539
  export type TransactionStatement = XXXStatement & {
package/bq2cst_bg.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "collaborators": [
4
4
  "kitta65 <kitta65kitta@gmail.com>"
5
5
  ],
6
- "version": "1.0.0-beta.1",
6
+ "version": "1.0.0-beta.3",
7
7
  "license": "MIT",
8
8
  "files": [
9
9
  "bq2cst_bg.wasm",