@abaplint/cli 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.
- package/build/cli.js +19 -2
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -25008,6 +25008,10 @@ class FieldChain {
|
|
|
25008
25008
|
&& node.get() instanceof Expressions.SourceField) {
|
|
25009
25009
|
return new source_field_1.SourceField().runSyntax(node, input, type);
|
|
25010
25010
|
}
|
|
25011
|
+
else if (node instanceof nodes_1.ExpressionNode
|
|
25012
|
+
&& node.get() instanceof Expressions.Field) {
|
|
25013
|
+
return new source_field_1.SourceField().runSyntax(node, input, type);
|
|
25014
|
+
}
|
|
25011
25015
|
else if (node.get() instanceof Expressions.ClassName) {
|
|
25012
25016
|
const classTok = node.getFirstToken();
|
|
25013
25017
|
const classNam = classTok.getStr();
|
|
@@ -26040,6 +26044,8 @@ const source_1 = __webpack_require__(/*! ./source */ "./node_modules/@abaplint/c
|
|
|
26040
26044
|
const _type_utils_1 = __webpack_require__(/*! ../_type_utils */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/_type_utils.js");
|
|
26041
26045
|
const _syntax_input_1 = __webpack_require__(/*! ../_syntax_input */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/_syntax_input.js");
|
|
26042
26046
|
const assert_error_1 = __webpack_require__(/*! ../assert_error */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/assert_error.js");
|
|
26047
|
+
const field_chain_1 = __webpack_require__(/*! ./field_chain */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/field_chain.js");
|
|
26048
|
+
const _reference_1 = __webpack_require__(/*! ../_reference */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/_reference.js");
|
|
26043
26049
|
class MethodParameters {
|
|
26044
26050
|
constructor() {
|
|
26045
26051
|
this.requiredParameters = undefined;
|
|
@@ -26072,7 +26078,14 @@ class MethodParameters {
|
|
|
26072
26078
|
this.checkReceiving(children.shift(), input, method);
|
|
26073
26079
|
break;
|
|
26074
26080
|
case "EXCEPTIONS":
|
|
26075
|
-
|
|
26081
|
+
{
|
|
26082
|
+
// todo, old style exceptions
|
|
26083
|
+
const node = children.shift();
|
|
26084
|
+
const exceptions = node.findFirstExpression(Expressions.ParameterException);
|
|
26085
|
+
for (const s of (exceptions === null || exceptions === void 0 ? void 0 : exceptions.findAllExpressions(Expressions.SimpleFieldChain)) || []) {
|
|
26086
|
+
new field_chain_1.FieldChain().runSyntax(s, input, _reference_1.ReferenceType.DataReadReference);
|
|
26087
|
+
}
|
|
26088
|
+
}
|
|
26076
26089
|
break;
|
|
26077
26090
|
default:
|
|
26078
26091
|
throw new assert_error_1.AssertError("MethodParameters, unexpected token, " + name);
|
|
@@ -29062,6 +29075,10 @@ class CallFunction {
|
|
|
29062
29075
|
for (const s of node.findDirectExpressions(Expressions.SimpleSource2)) {
|
|
29063
29076
|
new source_1.Source().runSyntax(s, input);
|
|
29064
29077
|
}
|
|
29078
|
+
const exceptions = node.findFirstExpression(Expressions.ParameterException);
|
|
29079
|
+
for (const s of (exceptions === null || exceptions === void 0 ? void 0 : exceptions.findAllExpressions(Expressions.SimpleFieldChain)) || []) {
|
|
29080
|
+
new field_chain_1.FieldChain().runSyntax(s, input, _reference_1.ReferenceType.DataReadReference);
|
|
29081
|
+
}
|
|
29065
29082
|
}
|
|
29066
29083
|
}
|
|
29067
29084
|
exports.CallFunction = CallFunction;
|
|
@@ -52383,7 +52400,7 @@ class Registry {
|
|
|
52383
52400
|
}
|
|
52384
52401
|
static abaplintVersion() {
|
|
52385
52402
|
// magic, see build script "version.sh"
|
|
52386
|
-
return "2.112.
|
|
52403
|
+
return "2.112.10";
|
|
52387
52404
|
}
|
|
52388
52405
|
getDDICReferences() {
|
|
52389
52406
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.112.
|
|
3
|
+
"version": "2.112.10",
|
|
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.112.
|
|
41
|
+
"@abaplint/core": "^2.112.10",
|
|
42
42
|
"@types/chai": "^4.3.17",
|
|
43
43
|
"@types/glob": "^8.1.0",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|