@abaplint/core 2.107.4 → 2.107.5

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.
@@ -6,9 +6,9 @@ const expressions_1 = require("../expressions");
6
6
  const version_1 = require("../../../version");
7
7
  class EditorCall {
8
8
  getMatcher() {
9
- const title = (0, combi_1.seq)("TITLE", expressions_1.Source);
9
+ const title = (0, combi_1.seq)("TITLE", expressions_1.SimpleSource3);
10
10
  const options = (0, combi_1.per)("DISPLAY-MODE", title);
11
- const ret = (0, combi_1.seq)("EDITOR-CALL FOR", (0, combi_1.opt)("REPORT"), expressions_1.Source, (0, combi_1.opt)(options));
11
+ const ret = (0, combi_1.seq)("EDITOR-CALL FOR", (0, combi_1.optPrio)("REPORT"), expressions_1.Source, (0, combi_1.optPrio)(options));
12
12
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
13
13
  }
14
14
  }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EditorCall = void 0;
4
+ const Expressions = require("../../2_statements/expressions");
5
+ const source_1 = require("../expressions/source");
6
+ class EditorCall {
7
+ runSyntax(node, scope, filename) {
8
+ for (const s of node.findDirectExpressions(Expressions.Source)) {
9
+ new source_1.Source().runSyntax(s, scope, filename);
10
+ }
11
+ for (const t of node.findDirectExpressions(Expressions.SimpleSource3)) {
12
+ new source_1.Source().runSyntax(t, scope, filename);
13
+ }
14
+ }
15
+ }
16
+ exports.EditorCall = EditorCall;
17
+ //# sourceMappingURL=editor_call.js.map
@@ -93,6 +93,7 @@ const close_dataset_1 = require("./statements/close_dataset");
93
93
  const get_run_time_1 = require("./statements/get_run_time");
94
94
  const update_database_1 = require("./statements/update_database");
95
95
  const add_1 = require("./statements/add");
96
+ const editor_call_1 = require("./statements/editor_call");
96
97
  const subtract_1 = require("./statements/subtract");
97
98
  const add_corresponding_1 = require("./statements/add_corresponding");
98
99
  const subtract_corresponding_1 = require("./statements/subtract_corresponding");
@@ -268,6 +269,7 @@ if (Object.keys(map).length === 0) {
268
269
  addToMap(new translate_1.Translate());
269
270
  addToMap(new modify_internal_1.ModifyInternal());
270
271
  addToMap(new read_textpool_1.ReadTextpool());
272
+ addToMap(new editor_call_1.EditorCall());
271
273
  }
272
274
  // -----------------------------------
273
275
  class SyntaxLogic {
@@ -65,7 +65,7 @@ class Registry {
65
65
  }
66
66
  static abaplintVersion() {
67
67
  // magic, see build script "version.sh"
68
- return "2.107.4";
68
+ return "2.107.5";
69
69
  }
70
70
  getDDICReferences() {
71
71
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.107.4",
3
+ "version": "2.107.5",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",