@abaplint/cli 2.101.7 → 2.101.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 +34 -5
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -5192,6 +5192,7 @@ __exportStar(__webpack_require__(/*! ./source */ "./node_modules/@abaplint/core/
|
|
|
5192
5192
|
__exportStar(__webpack_require__(/*! ./sql_aggregation */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_aggregation.js"), exports);
|
|
5193
5193
|
__exportStar(__webpack_require__(/*! ./sql_alias_field */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_alias_field.js"), exports);
|
|
5194
5194
|
__exportStar(__webpack_require__(/*! ./sql_arithmetics */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_arithmetics.js"), exports);
|
|
5195
|
+
__exportStar(__webpack_require__(/*! ./sql_arithmetic_operator */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_arithmetic_operator.js"), exports);
|
|
5195
5196
|
__exportStar(__webpack_require__(/*! ./sql_as_name */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_as_name.js"), exports);
|
|
5196
5197
|
__exportStar(__webpack_require__(/*! ./sql_case */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_case.js"), exports);
|
|
5197
5198
|
__exportStar(__webpack_require__(/*! ./sql_cds_parameters */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_cds_parameters.js"), exports);
|
|
@@ -7106,6 +7107,29 @@ exports.SQLAliasField = SQLAliasField;
|
|
|
7106
7107
|
|
|
7107
7108
|
/***/ }),
|
|
7108
7109
|
|
|
7110
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_arithmetic_operator.js":
|
|
7111
|
+
/*!********************************************************************************************************!*\
|
|
7112
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_arithmetic_operator.js ***!
|
|
7113
|
+
\********************************************************************************************************/
|
|
7114
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7115
|
+
|
|
7116
|
+
"use strict";
|
|
7117
|
+
|
|
7118
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7119
|
+
exports.SQLArithmeticOperator = void 0;
|
|
7120
|
+
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
7121
|
+
const tokens_1 = __webpack_require__(/*! ../../1_lexer/tokens */ "./node_modules/@abaplint/core/build/src/abap/1_lexer/tokens/index.js");
|
|
7122
|
+
class SQLArithmeticOperator extends combi_1.Expression {
|
|
7123
|
+
getRunnable() {
|
|
7124
|
+
const operator = (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.WPlusW), (0, combi_1.tok)(tokens_1.WDashW), "*", "/");
|
|
7125
|
+
return operator;
|
|
7126
|
+
}
|
|
7127
|
+
}
|
|
7128
|
+
exports.SQLArithmeticOperator = SQLArithmeticOperator;
|
|
7129
|
+
//# sourceMappingURL=sql_arithmetic_operator.js.map
|
|
7130
|
+
|
|
7131
|
+
/***/ }),
|
|
7132
|
+
|
|
7109
7133
|
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_arithmetics.js":
|
|
7110
7134
|
/*!************************************************************************************************!*\
|
|
7111
7135
|
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_arithmetics.js ***!
|
|
@@ -7118,12 +7142,11 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
7118
7142
|
exports.SQLArithmetics = void 0;
|
|
7119
7143
|
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
7120
7144
|
const _1 = __webpack_require__(/*! . */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
|
|
7121
|
-
const
|
|
7145
|
+
const sql_arithmetic_operator_1 = __webpack_require__(/*! ./sql_arithmetic_operator */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_arithmetic_operator.js");
|
|
7122
7146
|
class SQLArithmetics extends combi_1.Expression {
|
|
7123
7147
|
getRunnable() {
|
|
7124
|
-
const operator = (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.WPlusW), (0, combi_1.tok)(tokens_1.WDashW), "*", "/");
|
|
7125
7148
|
const field = (0, combi_1.alt)(_1.SQLFieldName, _1.SQLFunction);
|
|
7126
|
-
return (0, combi_1.seq)(field, (0, combi_1.starPrio)((0, combi_1.seq)(
|
|
7149
|
+
return (0, combi_1.seq)(field, (0, combi_1.starPrio)((0, combi_1.seq)(sql_arithmetic_operator_1.SQLArithmeticOperator, field)));
|
|
7127
7150
|
}
|
|
7128
7151
|
}
|
|
7129
7152
|
exports.SQLArithmetics = SQLArithmetics;
|
|
@@ -7360,11 +7383,14 @@ exports.SQLField = SQLField;
|
|
|
7360
7383
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7361
7384
|
exports.SQLFieldAndValue = void 0;
|
|
7362
7385
|
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
7386
|
+
const integer_1 = __webpack_require__(/*! ./integer */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/integer.js");
|
|
7387
|
+
const sql_arithmetic_operator_1 = __webpack_require__(/*! ./sql_arithmetic_operator */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_arithmetic_operator.js");
|
|
7363
7388
|
const sql_field_name_1 = __webpack_require__(/*! ./sql_field_name */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_field_name.js");
|
|
7364
7389
|
const sql_source_1 = __webpack_require__(/*! ./sql_source */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_source.js");
|
|
7365
7390
|
class SQLFieldAndValue extends combi_1.Expression {
|
|
7366
7391
|
getRunnable() {
|
|
7367
|
-
const
|
|
7392
|
+
const opt1 = (0, combi_1.seq)((0, combi_1.altPrio)(integer_1.Integer, sql_field_name_1.SQLFieldName), sql_arithmetic_operator_1.SQLArithmeticOperator, sql_source_1.SQLSource);
|
|
7393
|
+
const param = (0, combi_1.seq)(sql_field_name_1.SQLFieldName, "=", (0, combi_1.altPrio)(opt1, sql_source_1.SQLSource));
|
|
7368
7394
|
return param;
|
|
7369
7395
|
}
|
|
7370
7396
|
}
|
|
@@ -48039,7 +48065,7 @@ class Registry {
|
|
|
48039
48065
|
}
|
|
48040
48066
|
static abaplintVersion() {
|
|
48041
48067
|
// magic, see build script "version.sh"
|
|
48042
|
-
return "2.101.
|
|
48068
|
+
return "2.101.8";
|
|
48043
48069
|
}
|
|
48044
48070
|
getDDICReferences() {
|
|
48045
48071
|
return this.ddicReferences;
|
|
@@ -53490,6 +53516,9 @@ ${indentation}ENDIF.
|
|
|
53490
53516
|
${indentation}`);
|
|
53491
53517
|
const fix2 = edit_helper_1.EditHelper.replaceRange(lowFile, startToken.getStart(), tableExpression.getLastToken().getEnd(), uniqueName);
|
|
53492
53518
|
const fix = edit_helper_1.EditHelper.merge(fix2, fix1);
|
|
53519
|
+
if (high.get() instanceof Statements.ElseIf) {
|
|
53520
|
+
throw "downport, unable to downport table expression in ELSEIF";
|
|
53521
|
+
}
|
|
53493
53522
|
return issue_1.Issue.atToken(lowFile, high.getFirstToken(), "Outline table expression", this.getMetadata().key, this.conf.severity, fix);
|
|
53494
53523
|
}
|
|
53495
53524
|
return undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.101.
|
|
3
|
+
"version": "2.101.8",
|
|
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.101.
|
|
41
|
+
"@abaplint/core": "^2.101.8",
|
|
42
42
|
"@types/chai": "^4.3.5",
|
|
43
43
|
"@types/glob": "^7.2.0",
|
|
44
44
|
"@types/minimist": "^1.2.2",
|