@abaplint/transpiler 2.7.135 → 2.7.136
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.
|
@@ -15,18 +15,16 @@ export * from "./call_transformation";
|
|
|
15
15
|
export * from "./call";
|
|
16
16
|
export * from "./case";
|
|
17
17
|
export * from "./check";
|
|
18
|
-
export * from "./compute";
|
|
19
18
|
export * from "./class_deferred";
|
|
20
19
|
export * from "./class_definition_load";
|
|
21
20
|
export * from "./class_implementation";
|
|
22
21
|
export * from "./class_local_friends";
|
|
23
22
|
export * from "./clear";
|
|
24
|
-
export * from "./open_cursor";
|
|
25
23
|
export * from "./close_cursor";
|
|
26
|
-
export * from "./fetch_next_cursor";
|
|
27
24
|
export * from "./close_dataset";
|
|
28
25
|
export * from "./collect";
|
|
29
26
|
export * from "./commit";
|
|
27
|
+
export * from "./compute";
|
|
30
28
|
export * from "./concatenate";
|
|
31
29
|
export * from "./condense";
|
|
32
30
|
export * from "./constant";
|
|
@@ -59,6 +57,7 @@ export * from "./end_while";
|
|
|
59
57
|
export * from "./enhancement_section";
|
|
60
58
|
export * from "./exit";
|
|
61
59
|
export * from "./export";
|
|
60
|
+
export * from "./fetch_next_cursor";
|
|
62
61
|
export * from "./field_symbol";
|
|
63
62
|
export * from "./find";
|
|
64
63
|
export * from "./form";
|
|
@@ -92,6 +91,7 @@ export * from "./modify_internal";
|
|
|
92
91
|
export * from "./modify_screen";
|
|
93
92
|
export * from "./move_corresponding";
|
|
94
93
|
export * from "./move";
|
|
94
|
+
export * from "./open_cursor";
|
|
95
95
|
export * from "./open_dataset";
|
|
96
96
|
export * from "./overlay";
|
|
97
97
|
export * from "./parameter";
|
|
@@ -132,6 +132,7 @@ export * from "./start_of_selection";
|
|
|
132
132
|
export * from "./submit";
|
|
133
133
|
export * from "./subtract";
|
|
134
134
|
export * from "./syntax_check";
|
|
135
|
+
export * from "./system_call";
|
|
135
136
|
export * from "./tables";
|
|
136
137
|
export * from "./translate";
|
|
137
138
|
export * from "./truncate_dataset";
|
|
@@ -31,18 +31,16 @@ __exportStar(require("./call_transformation"), exports);
|
|
|
31
31
|
__exportStar(require("./call"), exports);
|
|
32
32
|
__exportStar(require("./case"), exports);
|
|
33
33
|
__exportStar(require("./check"), exports);
|
|
34
|
-
__exportStar(require("./compute"), exports);
|
|
35
34
|
__exportStar(require("./class_deferred"), exports);
|
|
36
35
|
__exportStar(require("./class_definition_load"), exports);
|
|
37
36
|
__exportStar(require("./class_implementation"), exports);
|
|
38
37
|
__exportStar(require("./class_local_friends"), exports);
|
|
39
38
|
__exportStar(require("./clear"), exports);
|
|
40
|
-
__exportStar(require("./open_cursor"), exports);
|
|
41
39
|
__exportStar(require("./close_cursor"), exports);
|
|
42
|
-
__exportStar(require("./fetch_next_cursor"), exports);
|
|
43
40
|
__exportStar(require("./close_dataset"), exports);
|
|
44
41
|
__exportStar(require("./collect"), exports);
|
|
45
42
|
__exportStar(require("./commit"), exports);
|
|
43
|
+
__exportStar(require("./compute"), exports);
|
|
46
44
|
__exportStar(require("./concatenate"), exports);
|
|
47
45
|
__exportStar(require("./condense"), exports);
|
|
48
46
|
__exportStar(require("./constant"), exports);
|
|
@@ -75,6 +73,7 @@ __exportStar(require("./end_while"), exports);
|
|
|
75
73
|
__exportStar(require("./enhancement_section"), exports);
|
|
76
74
|
__exportStar(require("./exit"), exports);
|
|
77
75
|
__exportStar(require("./export"), exports);
|
|
76
|
+
__exportStar(require("./fetch_next_cursor"), exports);
|
|
78
77
|
__exportStar(require("./field_symbol"), exports);
|
|
79
78
|
__exportStar(require("./find"), exports);
|
|
80
79
|
__exportStar(require("./form"), exports);
|
|
@@ -108,6 +107,7 @@ __exportStar(require("./modify_internal"), exports);
|
|
|
108
107
|
__exportStar(require("./modify_screen"), exports);
|
|
109
108
|
__exportStar(require("./move_corresponding"), exports);
|
|
110
109
|
__exportStar(require("./move"), exports);
|
|
110
|
+
__exportStar(require("./open_cursor"), exports);
|
|
111
111
|
__exportStar(require("./open_dataset"), exports);
|
|
112
112
|
__exportStar(require("./overlay"), exports);
|
|
113
113
|
__exportStar(require("./parameter"), exports);
|
|
@@ -148,6 +148,7 @@ __exportStar(require("./start_of_selection"), exports);
|
|
|
148
148
|
__exportStar(require("./submit"), exports);
|
|
149
149
|
__exportStar(require("./subtract"), exports);
|
|
150
150
|
__exportStar(require("./syntax_check"), exports);
|
|
151
|
+
__exportStar(require("./system_call"), exports);
|
|
151
152
|
__exportStar(require("./tables"), exports);
|
|
152
153
|
__exportStar(require("./translate"), exports);
|
|
153
154
|
__exportStar(require("./truncate_dataset"), exports);
|
|
@@ -98,7 +98,7 @@ class SelectTranspiler {
|
|
|
98
98
|
by = JSON.stringify(keys);
|
|
99
99
|
}
|
|
100
100
|
const code = `if (${faeTranspiled}.array().length === 0) {
|
|
101
|
-
throw "FAE, todo, empty table";
|
|
101
|
+
throw new Error("FAE, todo, empty table");
|
|
102
102
|
} else {
|
|
103
103
|
const ${unique2} = ${faeTranspiled}.array();
|
|
104
104
|
abap.statements.clear(${target});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as abaplint from "@abaplint/core";
|
|
2
|
+
import { IStatementTranspiler } from "./_statement_transpiler";
|
|
3
|
+
import { Traversal } from "../traversal";
|
|
4
|
+
import { Chunk } from "../chunk";
|
|
5
|
+
export declare class SystemCallTranspiler implements IStatementTranspiler {
|
|
6
|
+
transpile(_node: abaplint.Nodes.StatementNode, _traversal: Traversal): Chunk;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SystemCallTranspiler = void 0;
|
|
4
|
+
const chunk_1 = require("../chunk");
|
|
5
|
+
class SystemCallTranspiler {
|
|
6
|
+
transpile(_node, _traversal) {
|
|
7
|
+
return new chunk_1.Chunk(`throw new Error("SystemCall, not supported, transpiler");`);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.SystemCallTranspiler = SystemCallTranspiler;
|
|
11
|
+
//# sourceMappingURL=system_call.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.136",
|
|
4
4
|
"description": "Transpiler",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/src/index.d.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"author": "abaplint",
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@abaplint/core": "^2.103.
|
|
32
|
+
"@abaplint/core": "^2.103.8",
|
|
33
33
|
"source-map": "^0.7.4"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|