@abaplint/cli 2.113.31 → 2.113.33

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.
Files changed (2) hide show
  1. package/build/cli.js +9 -5
  2. package/package.json +3 -3
package/build/cli.js CHANGED
@@ -35627,6 +35627,9 @@ class StatementFlow {
35627
35627
  graph.addEdge(caseName, graph.getEnd(), flow_graph_1.FLOW_EDGE_TYPE.undefined);
35628
35628
  }
35629
35629
  }
35630
+ else if (type instanceof Structures.Define) {
35631
+ // do nothing
35632
+ }
35630
35633
  else {
35631
35634
  console.dir("StatementFlow,todo, " + n.get().constructor.name);
35632
35635
  }
@@ -41279,10 +41282,10 @@ class DDIC {
41279
41282
  return { type: new Types.VoidType(name) };
41280
41283
  }
41281
41284
  }
41282
- lookupDomain(name, dataElement) {
41285
+ lookupDomain(name, dataElement, description) {
41283
41286
  const found = this.reg.getObject("DOMA", name);
41284
41287
  if (found) {
41285
- return { type: found.parseType(this.reg, dataElement), object: found };
41288
+ return { type: found.parseType(this.reg, dataElement, description), object: found };
41286
41289
  }
41287
41290
  else if (this.reg.inErrorNamespace(name)) {
41288
41291
  return { type: new Types.UnknownType(name + ", lookupDomain"), object: undefined };
@@ -46812,7 +46815,7 @@ class DataElement extends _abstract_object_1.AbstractObject {
46812
46815
  lookup = { type: new Types.UnknownType("DOMNAME unexpectely empty in " + this.getName()) };
46813
46816
  }
46814
46817
  else {
46815
- lookup = ddic.lookupDomain(this.parsedXML.domname, this.getName());
46818
+ lookup = ddic.lookupDomain(this.parsedXML.domname, this.getName(), this.getDescription());
46816
46819
  }
46817
46820
  }
46818
46821
  else if (this.parsedXML.refkind === "R") {
@@ -46980,7 +46983,7 @@ class Domain extends _abstract_object_1.AbstractObject {
46980
46983
  this.parsedXML = undefined;
46981
46984
  super.setDirty();
46982
46985
  }
46983
- parseType(reg, dataElement) {
46986
+ parseType(reg, dataElement, description) {
46984
46987
  // dont cache the DOMA parsed type, they are cached on DTEL level
46985
46988
  // also note that the type carries the name of the DTEL
46986
46989
  if (this.parsedXML === undefined) {
@@ -46998,6 +47001,7 @@ class Domain extends _abstract_object_1.AbstractObject {
46998
47001
  qualifiedName: dataElement,
46999
47002
  conversionExit: this.parsedXML.conversionExit,
47000
47003
  ddicName: dataElement,
47004
+ description: description,
47001
47005
  });
47002
47006
  }
47003
47007
  parse() {
@@ -52890,7 +52894,7 @@ class Registry {
52890
52894
  }
52891
52895
  static abaplintVersion() {
52892
52896
  // magic, see build script "version.sh"
52893
- return "2.113.31";
52897
+ return "2.113.33";
52894
52898
  }
52895
52899
  getDDICReferences() {
52896
52900
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.31",
3
+ "version": "2.113.33",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,12 +38,12 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.31",
41
+ "@abaplint/core": "^2.113.33",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",
45
45
  "@types/mocha": "^10.0.9",
46
- "@types/node": "^22.8.1",
46
+ "@types/node": "^22.8.2",
47
47
  "@types/progress": "^2.0.7",
48
48
  "chai": "^4.5.0",
49
49
  "chalk": "^5.3.0",