@abaplint/runtime 2.5.5 → 2.5.7

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.
@@ -14,6 +14,7 @@ import { collect } from "./collect";
14
14
  import { overlay } from "./overlay";
15
15
  import { cast } from "./cast";
16
16
  import { getBit } from "./get_bit";
17
+ import { readReport } from "./read_report";
17
18
  import { raiseEvent } from "./raise_event";
18
19
  import { getLocale } from "./get_locale";
19
20
  import { getParameter } from "./get_parameter";
@@ -61,6 +62,7 @@ export declare class Statements {
61
62
  describe: typeof describe;
62
63
  find: typeof find;
63
64
  getBit: typeof getBit;
65
+ readReport: typeof readReport;
64
66
  getLocale: typeof getLocale;
65
67
  getParameter: typeof getParameter;
66
68
  getRunTime: typeof getRunTime;
@@ -17,6 +17,7 @@ const collect_1 = require("./collect");
17
17
  const overlay_1 = require("./overlay");
18
18
  const cast_1 = require("./cast");
19
19
  const get_bit_1 = require("./get_bit");
20
+ const read_report_1 = require("./read_report");
20
21
  const raise_event_1 = require("./raise_event");
21
22
  const get_locale_1 = require("./get_locale");
22
23
  const get_parameter_1 = require("./get_parameter");
@@ -63,6 +64,7 @@ class Statements {
63
64
  this.describe = describe_1.describe;
64
65
  this.find = find_1.find;
65
66
  this.getBit = get_bit_1.getBit;
67
+ this.readReport = read_report_1.readReport;
66
68
  this.getLocale = get_locale_1.getLocale;
67
69
  this.getParameter = get_parameter_1.getParameter;
68
70
  this.getRunTime = get_run_time_1.getRunTime;
@@ -0,0 +1,8 @@
1
+ import { Table } from "../types";
2
+ import { ICharacter } from "../types/_character";
3
+ interface IReadReportOptions {
4
+ state?: ICharacter;
5
+ into?: Table;
6
+ }
7
+ export declare function readReport(name: ICharacter, options: IReadReportOptions): void;
8
+ export {};
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.readReport = void 0;
4
+ const types_1 = require("../types");
5
+ function readReport(name, options) {
6
+ if (options.into) {
7
+ options.into.clear();
8
+ options.into.append(new types_1.String().set("ReadReportTodo-" + name));
9
+ }
10
+ // TODO
11
+ // @ts-ignore
12
+ abap.builtin.sy.get().subrc.set(0);
13
+ }
14
+ exports.readReport = readReport;
15
+ //# sourceMappingURL=read_report.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.5.5",
3
+ "version": "2.5.7",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",