@abaplint/transpiler 2.12.34 → 2.12.35

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.
@@ -135,6 +135,8 @@ export * from "./sort_dataset";
135
135
  export * from "./sort";
136
136
  export * from "./split";
137
137
  export * from "./start_of_selection";
138
+ export * from "./load_of_program";
139
+ export * from "./stop";
138
140
  export * from "./submit";
139
141
  export * from "./subtract";
140
142
  export * from "./at_line_selection";
@@ -151,6 +151,8 @@ __exportStar(require("./sort_dataset"), exports);
151
151
  __exportStar(require("./sort"), exports);
152
152
  __exportStar(require("./split"), exports);
153
153
  __exportStar(require("./start_of_selection"), exports);
154
+ __exportStar(require("./load_of_program"), exports);
155
+ __exportStar(require("./stop"), exports);
154
156
  __exportStar(require("./submit"), exports);
155
157
  __exportStar(require("./subtract"), exports);
156
158
  __exportStar(require("./at_line_selection"), exports);
@@ -0,0 +1,6 @@
1
+ import * as abaplint from "@abaplint/core";
2
+ import { Chunk } from "../chunk";
3
+ import { IStatementTranspiler } from "./_statement_transpiler";
4
+ export declare class LoadOfProgramTranspiler implements IStatementTranspiler {
5
+ transpile(_node: abaplint.Nodes.StatementNode): Chunk;
6
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LoadOfProgramTranspiler = void 0;
4
+ const chunk_1 = require("../chunk");
5
+ class LoadOfProgramTranspiler {
6
+ transpile(_node) {
7
+ return new chunk_1.Chunk(`throw new Error("LOAD-OF-PROGRAM not supported, transpiler");`);
8
+ }
9
+ }
10
+ exports.LoadOfProgramTranspiler = LoadOfProgramTranspiler;
11
+ //# sourceMappingURL=load_of_program.js.map
@@ -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 StopTranspiler 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.StopTranspiler = void 0;
4
+ const chunk_1 = require("../chunk");
5
+ class StopTranspiler {
6
+ transpile(_node, _traversal) {
7
+ return new chunk_1.Chunk(`throw new Error("Stop, not supported, transpiler");`);
8
+ }
9
+ }
10
+ exports.StopTranspiler = StopTranspiler;
11
+ //# sourceMappingURL=stop.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler",
3
- "version": "2.12.34",
3
+ "version": "2.12.35",
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.117.1",
32
+ "@abaplint/core": "^2.118.1",
33
33
  "source-map": "^0.7.6"
34
34
  },
35
35
  "devDependencies": {