@abaplint/cli 2.113.188 → 2.113.190

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 +8 -5
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -9076,7 +9076,7 @@ class StringTemplateFormatting extends combi_1.Expression {
9076
9076
  const number = (0, combi_1.seq)("NUMBER =", numberOptions);
9077
9077
  const sign = (0, combi_1.seq)("SIGN =", signOptions);
9078
9078
  const decimals = (0, combi_1.seq)("DECIMALS =", _1.Source);
9079
- const alpha = (0, combi_1.ver)(version_1.Version.v740sp02, (0, combi_1.seq)("ALPHA =", alphaOptions));
9079
+ const alpha = (0, combi_1.ver)(version_1.Version.v740sp02, (0, combi_1.seq)("ALPHA =", alphaOptions), version_1.Version.OpenABAP);
9080
9080
  const xsd = (0, combi_1.ver)(version_1.Version.v740sp02, (0, combi_1.seq)("XSD =", zeroXSDOptions));
9081
9081
  const country = (0, combi_1.seq)("COUNTRY =", _1.Source);
9082
9082
  const formatting = (0, combi_1.altPrio)((0, combi_1.seq)("TIME =", dateTimeOptions), (0, combi_1.seq)("DATE =", dateTimeOptions), (0, combi_1.seq)("CASE =", caseOptions), (0, combi_1.seq)("EXPONENT", _1.Source), (0, combi_1.seq)("ZERO =", zeroXSDOptions), xsd, (0, combi_1.seq)("STYLE =", styleOptions), (0, combi_1.seq)("CURRENCY =", _1.Source), (0, combi_1.per)(sign, number, decimals, width, pad, alpha, align, country), (0, combi_1.per)(timezone, timestamp));
@@ -14798,7 +14798,7 @@ class InterfaceDef {
14798
14798
  getMatcher() {
14799
14799
  const val = (0, combi_1.seq)(expressions_1.AttributeName, "=", expressions_1.Source);
14800
14800
  const dataValues = (0, combi_1.seq)("DATA VALUES", (0, combi_1.plus)(val));
14801
- const options = (0, combi_1.alt)(expressions_1.AbstractMethods, expressions_1.FinalMethods, "ALL METHODS ABSTRACT", "ALL METHODS FINAL", (0, combi_1.ver)(version_1.Version.v740sp02, "PARTIALLY IMPLEMENTED"));
14801
+ const options = (0, combi_1.alt)(expressions_1.AbstractMethods, expressions_1.FinalMethods, "ALL METHODS ABSTRACT", "ALL METHODS FINAL", (0, combi_1.ver)(version_1.Version.v740sp02, "PARTIALLY IMPLEMENTED", version_1.Version.OpenABAP));
14802
14802
  return (0, combi_1.seq)("INTERFACES", expressions_1.InterfaceName, (0, combi_1.opt)(options), (0, combi_1.opt)(dataValues));
14803
14803
  }
14804
14804
  }
@@ -19472,7 +19472,7 @@ const Structures = __webpack_require__(/*! ./ */ "./node_modules/@abaplint/core/
19472
19472
  const _combi_1 = __webpack_require__(/*! ./_combi */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/_combi.js");
19473
19473
  class DynproLogic {
19474
19474
  getMatcher() {
19475
- return (0, _combi_1.seq)((0, _combi_1.sub)(Structures.ProcessBeforeOutput), (0, _combi_1.sub)(Structures.ProcessAfterInput), (0, _combi_1.opt)((0, _combi_1.sub)(Structures.ProcessOnHelpRequest)), (0, _combi_1.opt)((0, _combi_1.sub)(Structures.ProcessOnValueRequest)), (0, _combi_1.opt)((0, _combi_1.sub)(Structures.ProcessOnHelpRequest)));
19475
+ return (0, _combi_1.seq)((0, _combi_1.sub)(Structures.ProcessBeforeOutput), (0, _combi_1.opt)((0, _combi_1.sub)(Structures.ProcessAfterInput)), (0, _combi_1.opt)((0, _combi_1.sub)(Structures.ProcessOnHelpRequest)), (0, _combi_1.opt)((0, _combi_1.sub)(Structures.ProcessOnValueRequest)), (0, _combi_1.opt)((0, _combi_1.sub)(Structures.ProcessOnHelpRequest)));
19476
19476
  }
19477
19477
  }
19478
19478
  exports.DynproLogic = DynproLogic;
@@ -54955,7 +54955,7 @@ class Registry {
54955
54955
  }
54956
54956
  static abaplintVersion() {
54957
54957
  // magic, see build script "version.sh"
54958
- return "2.113.188";
54958
+ return "2.113.190";
54959
54959
  }
54960
54960
  getDDICReferences() {
54961
54961
  return this.ddicReferences;
@@ -61203,6 +61203,9 @@ ${indentation}CATCH ${className} INTO ${targetName}.`;
61203
61203
  return issue_1.Issue.atToken(lowFile, node.getFirstToken(), "Outline DATA", this.getMetadata().key, this.conf.severity, fix);
61204
61204
  }
61205
61205
  partiallyImplemented(node, lowFile) {
61206
+ if (this.lowReg.getConfig().getVersion() === version_1.Version.OpenABAP) {
61207
+ return undefined;
61208
+ }
61206
61209
  if (node.get() instanceof Statements.InterfaceDef) {
61207
61210
  const partially = node.findDirectTokenByText("PARTIALLY");
61208
61211
  if (partially === undefined) {
@@ -63044,7 +63047,7 @@ ${indentation} output = ${uniqueName}.\n`;
63044
63047
  if (cdef instanceof _typed_identifier_1.TypedIdentifier) {
63045
63048
  const foo = cdef.getType();
63046
63049
  if (foo instanceof basic_1.ObjectReferenceType) {
63047
- cdef = foo.getIdentifier();
63050
+ cdef = spag === null || spag === void 0 ? void 0 : spag.findClassDefinition(foo.getQualifiedName());
63048
63051
  }
63049
63052
  else {
63050
63053
  throw new Error("newParameters, downport, unexpected");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.188",
3
+ "version": "2.113.190",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.188",
41
+ "@abaplint/core": "^2.113.190",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",