@abaplint/core 2.112.9 → 2.112.10

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.
@@ -152,6 +152,10 @@ class FieldChain {
152
152
  && node.get() instanceof Expressions.SourceField) {
153
153
  return new source_field_1.SourceField().runSyntax(node, input, type);
154
154
  }
155
+ else if (node instanceof nodes_1.ExpressionNode
156
+ && node.get() instanceof Expressions.Field) {
157
+ return new source_field_1.SourceField().runSyntax(node, input, type);
158
+ }
155
159
  else if (node.get() instanceof Expressions.ClassName) {
156
160
  const classTok = node.getFirstToken();
157
161
  const classNam = classTok.getStr();
@@ -10,6 +10,8 @@ const source_1 = require("./source");
10
10
  const _type_utils_1 = require("../_type_utils");
11
11
  const _syntax_input_1 = require("../_syntax_input");
12
12
  const assert_error_1 = require("../assert_error");
13
+ const field_chain_1 = require("./field_chain");
14
+ const _reference_1 = require("../_reference");
13
15
  class MethodParameters {
14
16
  constructor() {
15
17
  this.requiredParameters = undefined;
@@ -42,7 +44,14 @@ class MethodParameters {
42
44
  this.checkReceiving(children.shift(), input, method);
43
45
  break;
44
46
  case "EXCEPTIONS":
45
- children.shift(); // todo, old style exceptions
47
+ {
48
+ // todo, old style exceptions
49
+ const node = children.shift();
50
+ const exceptions = node.findFirstExpression(Expressions.ParameterException);
51
+ for (const s of (exceptions === null || exceptions === void 0 ? void 0 : exceptions.findAllExpressions(Expressions.SimpleFieldChain)) || []) {
52
+ new field_chain_1.FieldChain().runSyntax(s, input, _reference_1.ReferenceType.DataReadReference);
53
+ }
54
+ }
46
55
  break;
47
56
  default:
48
57
  throw new assert_error_1.AssertError("MethodParameters, unexpected token, " + name);
@@ -38,6 +38,10 @@ class CallFunction {
38
38
  for (const s of node.findDirectExpressions(Expressions.SimpleSource2)) {
39
39
  new source_1.Source().runSyntax(s, input);
40
40
  }
41
+ const exceptions = node.findFirstExpression(Expressions.ParameterException);
42
+ for (const s of (exceptions === null || exceptions === void 0 ? void 0 : exceptions.findAllExpressions(Expressions.SimpleFieldChain)) || []) {
43
+ new field_chain_1.FieldChain().runSyntax(s, input, _reference_1.ReferenceType.DataReadReference);
44
+ }
41
45
  }
42
46
  }
43
47
  exports.CallFunction = CallFunction;
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.112.9";
70
+ return "2.112.10";
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.112.9",
3
+ "version": "2.112.10",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",