@abaplint/core 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.
@@ -25,7 +25,7 @@ class StringTemplateFormatting extends combi_1.Expression {
25
25
  const number = (0, combi_1.seq)("NUMBER =", numberOptions);
26
26
  const sign = (0, combi_1.seq)("SIGN =", signOptions);
27
27
  const decimals = (0, combi_1.seq)("DECIMALS =", _1.Source);
28
- const alpha = (0, combi_1.ver)(version_1.Version.v740sp02, (0, combi_1.seq)("ALPHA =", alphaOptions));
28
+ const alpha = (0, combi_1.ver)(version_1.Version.v740sp02, (0, combi_1.seq)("ALPHA =", alphaOptions), version_1.Version.OpenABAP);
29
29
  const xsd = (0, combi_1.ver)(version_1.Version.v740sp02, (0, combi_1.seq)("XSD =", zeroXSDOptions));
30
30
  const country = (0, combi_1.seq)("COUNTRY =", _1.Source);
31
31
  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));
@@ -8,7 +8,7 @@ class InterfaceDef {
8
8
  getMatcher() {
9
9
  const val = (0, combi_1.seq)(expressions_1.AttributeName, "=", expressions_1.Source);
10
10
  const dataValues = (0, combi_1.seq)("DATA VALUES", (0, combi_1.plus)(val));
11
- 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"));
11
+ 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));
12
12
  return (0, combi_1.seq)("INTERFACES", expressions_1.InterfaceName, (0, combi_1.opt)(options), (0, combi_1.opt)(dataValues));
13
13
  }
14
14
  }
@@ -5,7 +5,7 @@ const Structures = require("./");
5
5
  const _combi_1 = require("./_combi");
6
6
  class DynproLogic {
7
7
  getMatcher() {
8
- 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)));
8
+ 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)));
9
9
  }
10
10
  }
11
11
  exports.DynproLogic = DynproLogic;
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.188";
70
+ return "2.113.190";
71
71
  }
72
72
  getDDICReferences() {
73
73
  return this.ddicReferences;
@@ -1161,6 +1161,9 @@ ${indentation}CATCH ${className} INTO ${targetName}.`;
1161
1161
  return issue_1.Issue.atToken(lowFile, node.getFirstToken(), "Outline DATA", this.getMetadata().key, this.conf.severity, fix);
1162
1162
  }
1163
1163
  partiallyImplemented(node, lowFile) {
1164
+ if (this.lowReg.getConfig().getVersion() === version_1.Version.OpenABAP) {
1165
+ return undefined;
1166
+ }
1164
1167
  if (node.get() instanceof Statements.InterfaceDef) {
1165
1168
  const partially = node.findDirectTokenByText("PARTIALLY");
1166
1169
  if (partially === undefined) {
@@ -3002,7 +3005,7 @@ ${indentation} output = ${uniqueName}.\n`;
3002
3005
  if (cdef instanceof _typed_identifier_1.TypedIdentifier) {
3003
3006
  const foo = cdef.getType();
3004
3007
  if (foo instanceof basic_1.ObjectReferenceType) {
3005
- cdef = foo.getIdentifier();
3008
+ cdef = spag === null || spag === void 0 ? void 0 : spag.findClassDefinition(foo.getQualifiedName());
3006
3009
  }
3007
3010
  else {
3008
3011
  throw new Error("newParameters, downport, unexpected");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.113.188",
3
+ "version": "2.113.190",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",