@abaplint/transpiler-cli 2.11.91 → 2.11.92
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/build/bundle.js +16 -4
- package/package.json +4 -4
package/build/bundle.js
CHANGED
|
@@ -15586,7 +15586,7 @@ const expressions_1 = __webpack_require__(/*! ../expressions */ "./node_modules/
|
|
|
15586
15586
|
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
15587
15587
|
class Select {
|
|
15588
15588
|
getMatcher() {
|
|
15589
|
-
const union = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)("UNION", (0, combi_1.optPrio)((0, combi_1.altPrio)("DISTINCT", "ALL")), expressions_1.Select));
|
|
15589
|
+
const union = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)("UNION", (0, combi_1.optPrio)((0, combi_1.altPrio)("DISTINCT", "ALL")), expressions_1.Select), version_1.Version.OpenABAP);
|
|
15590
15590
|
return (0, combi_1.seq)(expressions_1.Select, (0, combi_1.starPrio)(union));
|
|
15591
15591
|
}
|
|
15592
15592
|
}
|
|
@@ -28886,6 +28886,11 @@ class Append {
|
|
|
28886
28886
|
if (sourceType instanceof basic_1.TableType) {
|
|
28887
28887
|
sourceType = sourceType.getRowType();
|
|
28888
28888
|
}
|
|
28889
|
+
else if (!(sourceType instanceof basic_1.VoidType) && !(sourceType instanceof basic_1.UnknownType)) {
|
|
28890
|
+
const message = "LINES OF must be a table type";
|
|
28891
|
+
input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
|
|
28892
|
+
return;
|
|
28893
|
+
}
|
|
28889
28894
|
if (targetType instanceof basic_1.TableType) {
|
|
28890
28895
|
targetType = targetType.getRowType();
|
|
28891
28896
|
}
|
|
@@ -35495,14 +35500,18 @@ exports.SELECTION_EVENTS = [
|
|
|
35495
35500
|
Statements.EndOfPage,
|
|
35496
35501
|
];
|
|
35497
35502
|
exports.DECLARATION_STUFF = [
|
|
35503
|
+
Statements.Type,
|
|
35504
|
+
Statements.TypeBegin,
|
|
35505
|
+
Statements.TypeEnum,
|
|
35506
|
+
Statements.TypeEnumBegin,
|
|
35498
35507
|
Statements.Data,
|
|
35499
35508
|
Statements.DataBegin,
|
|
35500
35509
|
Statements.Constant,
|
|
35510
|
+
Statements.ConstantBegin,
|
|
35501
35511
|
Statements.Tables,
|
|
35502
35512
|
Statements.Include, // this is not super correct, but anyhow
|
|
35503
35513
|
Statements.Parameter,
|
|
35504
35514
|
Statements.SelectionScreen,
|
|
35505
|
-
Statements.ConstantBegin,
|
|
35506
35515
|
Statements.Define,
|
|
35507
35516
|
];
|
|
35508
35517
|
//# sourceMappingURL=selection_events.js.map
|
|
@@ -53893,7 +53902,7 @@ class Registry {
|
|
|
53893
53902
|
}
|
|
53894
53903
|
static abaplintVersion() {
|
|
53895
53904
|
// magic, see build script "version.sh"
|
|
53896
|
-
return "2.113.
|
|
53905
|
+
return "2.113.201";
|
|
53897
53906
|
}
|
|
53898
53907
|
getDDICReferences() {
|
|
53899
53908
|
return this.ddicReferences;
|
|
@@ -88692,7 +88701,10 @@ function escapeRegExp(string) {
|
|
|
88692
88701
|
// TODO: currently SELECT into are always handled as CORRESPONDING
|
|
88693
88702
|
class SelectTranspiler {
|
|
88694
88703
|
transpile(node, traversal, targetOverride) {
|
|
88695
|
-
if (node.findDirectTokenByText("
|
|
88704
|
+
if (node.findDirectTokenByText("UNION") !== undefined) {
|
|
88705
|
+
return new chunk_1.Chunk(`throw new Error("SELECT UNION, not supported, transpiler, todo");`);
|
|
88706
|
+
}
|
|
88707
|
+
else if (node.findDirectTokenByText("ALL") !== undefined) {
|
|
88696
88708
|
throw new Error("SelectTranspiler, UNION ALL todo");
|
|
88697
88709
|
}
|
|
88698
88710
|
else if (node.findDirectTokenByText("DISTINCT") !== undefined) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.92",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"author": "abaplint",
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@abaplint/core": "^2.113.
|
|
31
|
-
"@abaplint/transpiler": "^2.11.
|
|
30
|
+
"@abaplint/core": "^2.113.201",
|
|
31
|
+
"@abaplint/transpiler": "^2.11.92",
|
|
32
32
|
"@types/glob": "^8.1.0",
|
|
33
|
-
"@types/node": "^24.
|
|
33
|
+
"@types/node": "^24.4.0",
|
|
34
34
|
"@types/progress": "^2.0.7",
|
|
35
35
|
"glob": "=7.2.0",
|
|
36
36
|
"progress": "^2.0.3",
|