@abaplint/cli 2.120.7 → 2.120.8
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 +7 -7
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -7015,10 +7015,10 @@ exports.PerformTables = PerformTables;
|
|
|
7015
7015
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7016
7016
|
exports.PerformUsing = void 0;
|
|
7017
7017
|
const combi_1 = __webpack_require__(/*! ../combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
7018
|
-
const
|
|
7018
|
+
const simple_source3_1 = __webpack_require__(/*! ./simple_source3 */ "../core/build/src/abap/2_statements/expressions/simple_source3.js");
|
|
7019
7019
|
class PerformUsing extends combi_1.Expression {
|
|
7020
7020
|
getRunnable() {
|
|
7021
|
-
const using = (0, combi_1.seq)("USING", (0, combi_1.plus)(
|
|
7021
|
+
const using = (0, combi_1.seq)("USING", (0, combi_1.plus)(simple_source3_1.SimpleSource3));
|
|
7022
7022
|
return using;
|
|
7023
7023
|
}
|
|
7024
7024
|
}
|
|
@@ -43135,7 +43135,7 @@ class Perform {
|
|
|
43135
43135
|
}
|
|
43136
43136
|
}
|
|
43137
43137
|
for (const u of node.findDirectExpressions(Expressions.PerformUsing)) {
|
|
43138
|
-
for (const s of u.findDirectExpressions(Expressions.
|
|
43138
|
+
for (const s of u.findDirectExpressions(Expressions.SimpleSource3)) {
|
|
43139
43139
|
source_1.Source.runSyntax(s, input);
|
|
43140
43140
|
}
|
|
43141
43141
|
}
|
|
@@ -69165,7 +69165,7 @@ class Registry {
|
|
|
69165
69165
|
}
|
|
69166
69166
|
static abaplintVersion() {
|
|
69167
69167
|
// magic, see build script "version.js"
|
|
69168
|
-
return "2.120.
|
|
69168
|
+
return "2.120.8";
|
|
69169
69169
|
}
|
|
69170
69170
|
getDDICReferences() {
|
|
69171
69171
|
return this.ddicReferences;
|
|
@@ -87671,13 +87671,13 @@ https://github.com/SAP/styleguides/blob/main/clean-abap/sub-sections/AvoidEncodi
|
|
|
87671
87671
|
return ret;
|
|
87672
87672
|
}
|
|
87673
87673
|
checkMethodParameters(topNode, regex, file) {
|
|
87674
|
-
var _a, _b;
|
|
87674
|
+
var _a, _b, _c;
|
|
87675
87675
|
const ret = [];
|
|
87676
87676
|
for (const method of topNode.findAllStatements(Statements.MethodDef)) {
|
|
87677
87677
|
for (const param of method.findAllExpressionsMulti([Expressions.MethodDefReturning, Expressions.MethodParam])) {
|
|
87678
87678
|
const nameToken = param === null || param === void 0 ? void 0 : param.findFirstExpression(Expressions.MethodParamName);
|
|
87679
|
-
const
|
|
87680
|
-
if (this.getConfig().allowIsPrefixBoolean === true &&
|
|
87679
|
+
const typeName = (_c = (_b = (_a = param === null || param === void 0 ? void 0 : param.findFirstExpression(Expressions.TypeParam)) === null || _a === void 0 ? void 0 : _a.findFirstExpression(Expressions.TypeNameOrInfer)) === null || _b === void 0 ? void 0 : _b.concatTokens()) === null || _c === void 0 ? void 0 : _c.toUpperCase();
|
|
87680
|
+
if (this.getConfig().allowIsPrefixBoolean === true && typeName === "ABAP_BOOL") {
|
|
87681
87681
|
continue;
|
|
87682
87682
|
}
|
|
87683
87683
|
const name = nameToken === null || nameToken === void 0 ? void 0 : nameToken.concatTokens();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.120.
|
|
3
|
+
"version": "2.120.8",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"homepage": "https://abaplint.org",
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@abaplint/core": "^2.120.
|
|
42
|
+
"@abaplint/core": "^2.120.8",
|
|
43
43
|
"@types/chai": "^4.3.20",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|
|
45
45
|
"@types/mocha": "^10.0.10",
|