@abaplint/core 2.113.2 → 2.113.3

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.
@@ -1821,6 +1821,8 @@ declare type DynproField = {
1821
1821
 
1822
1822
  declare type DynproHeader = {
1823
1823
  number: string;
1824
+ description: string;
1825
+ nextScreen: string;
1824
1826
  fields: DynproField[];
1825
1827
  };
1826
1828
 
@@ -16,7 +16,9 @@ class StatementFlow {
16
16
  var _a, _b, _c, _d;
17
17
  const ret = [];
18
18
  let name = "";
19
- const structures = stru.findAllStructuresMulti([Structures.Form, Structures.ClassImplementation, Structures.FunctionModule]);
19
+ const structures = stru.findAllStructuresMulti([
20
+ Structures.Form, Structures.ClassImplementation, Structures.FunctionModule, Structures.Module
21
+ ]);
20
22
  for (const s of structures) {
21
23
  if (s.get() instanceof Structures.Form) {
22
24
  name = "FORM " + ((_a = s.findFirstExpression(Expressions.FormName)) === null || _a === void 0 ? void 0 : _a.concatTokens());
@@ -34,6 +36,10 @@ class StatementFlow {
34
36
  name = "FUNCTION " + ((_d = s.findFirstExpression(Expressions.Field)) === null || _d === void 0 ? void 0 : _d.concatTokens());
35
37
  ret.push(this.run(s, name));
36
38
  }
39
+ else if (s.get() instanceof Structures.Module) {
40
+ name = s.getFirstStatement().concatTokens().toUpperCase();
41
+ ret.push(this.run(s, name));
42
+ }
37
43
  else {
38
44
  throw new Error("StatementFlow, unknown structure");
39
45
  }
@@ -18,6 +18,8 @@ function parseDynpros(parsed) {
18
18
  }
19
19
  dynpros.push({
20
20
  number: d.HEADER.SCREEN,
21
+ description: d.HEADER.DESCRIPT,
22
+ nextScreen: d.HEADER.NEXTSCREEN,
21
23
  fields: fields,
22
24
  });
23
25
  }
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.2";
70
+ return "2.113.3";
71
71
  }
72
72
  getDDICReferences() {
73
73
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.113.2",
3
+ "version": "2.113.3",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",