@abaplint/transpiler-cli 2.7.16 → 2.7.17
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/bundle.js +34 -5
- package/package.json +3 -3
package/build/bundle.js
CHANGED
|
@@ -4246,6 +4246,7 @@ __exportStar(__webpack_require__(/*! ./source */ "./node_modules/@abaplint/core/
|
|
|
4246
4246
|
__exportStar(__webpack_require__(/*! ./sql_aggregation */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_aggregation.js"), exports);
|
|
4247
4247
|
__exportStar(__webpack_require__(/*! ./sql_alias_field */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_alias_field.js"), exports);
|
|
4248
4248
|
__exportStar(__webpack_require__(/*! ./sql_arithmetics */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_arithmetics.js"), exports);
|
|
4249
|
+
__exportStar(__webpack_require__(/*! ./sql_arithmetic_operator */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_arithmetic_operator.js"), exports);
|
|
4249
4250
|
__exportStar(__webpack_require__(/*! ./sql_as_name */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_as_name.js"), exports);
|
|
4250
4251
|
__exportStar(__webpack_require__(/*! ./sql_case */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_case.js"), exports);
|
|
4251
4252
|
__exportStar(__webpack_require__(/*! ./sql_cds_parameters */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_cds_parameters.js"), exports);
|
|
@@ -6160,6 +6161,29 @@ exports.SQLAliasField = SQLAliasField;
|
|
|
6160
6161
|
|
|
6161
6162
|
/***/ }),
|
|
6162
6163
|
|
|
6164
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_arithmetic_operator.js":
|
|
6165
|
+
/*!********************************************************************************************************!*\
|
|
6166
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_arithmetic_operator.js ***!
|
|
6167
|
+
\********************************************************************************************************/
|
|
6168
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6169
|
+
|
|
6170
|
+
"use strict";
|
|
6171
|
+
|
|
6172
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6173
|
+
exports.SQLArithmeticOperator = void 0;
|
|
6174
|
+
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
6175
|
+
const tokens_1 = __webpack_require__(/*! ../../1_lexer/tokens */ "./node_modules/@abaplint/core/build/src/abap/1_lexer/tokens/index.js");
|
|
6176
|
+
class SQLArithmeticOperator extends combi_1.Expression {
|
|
6177
|
+
getRunnable() {
|
|
6178
|
+
const operator = (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.WPlusW), (0, combi_1.tok)(tokens_1.WDashW), "*", "/");
|
|
6179
|
+
return operator;
|
|
6180
|
+
}
|
|
6181
|
+
}
|
|
6182
|
+
exports.SQLArithmeticOperator = SQLArithmeticOperator;
|
|
6183
|
+
//# sourceMappingURL=sql_arithmetic_operator.js.map
|
|
6184
|
+
|
|
6185
|
+
/***/ }),
|
|
6186
|
+
|
|
6163
6187
|
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_arithmetics.js":
|
|
6164
6188
|
/*!************************************************************************************************!*\
|
|
6165
6189
|
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_arithmetics.js ***!
|
|
@@ -6172,12 +6196,11 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
6172
6196
|
exports.SQLArithmetics = void 0;
|
|
6173
6197
|
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
6174
6198
|
const _1 = __webpack_require__(/*! . */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
|
|
6175
|
-
const
|
|
6199
|
+
const sql_arithmetic_operator_1 = __webpack_require__(/*! ./sql_arithmetic_operator */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_arithmetic_operator.js");
|
|
6176
6200
|
class SQLArithmetics extends combi_1.Expression {
|
|
6177
6201
|
getRunnable() {
|
|
6178
|
-
const operator = (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.WPlusW), (0, combi_1.tok)(tokens_1.WDashW), "*", "/");
|
|
6179
6202
|
const field = (0, combi_1.alt)(_1.SQLFieldName, _1.SQLFunction);
|
|
6180
|
-
return (0, combi_1.seq)(field, (0, combi_1.starPrio)((0, combi_1.seq)(
|
|
6203
|
+
return (0, combi_1.seq)(field, (0, combi_1.starPrio)((0, combi_1.seq)(sql_arithmetic_operator_1.SQLArithmeticOperator, field)));
|
|
6181
6204
|
}
|
|
6182
6205
|
}
|
|
6183
6206
|
exports.SQLArithmetics = SQLArithmetics;
|
|
@@ -6414,11 +6437,14 @@ exports.SQLField = SQLField;
|
|
|
6414
6437
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6415
6438
|
exports.SQLFieldAndValue = void 0;
|
|
6416
6439
|
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
6440
|
+
const integer_1 = __webpack_require__(/*! ./integer */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/integer.js");
|
|
6441
|
+
const sql_arithmetic_operator_1 = __webpack_require__(/*! ./sql_arithmetic_operator */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_arithmetic_operator.js");
|
|
6417
6442
|
const sql_field_name_1 = __webpack_require__(/*! ./sql_field_name */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_field_name.js");
|
|
6418
6443
|
const sql_source_1 = __webpack_require__(/*! ./sql_source */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_source.js");
|
|
6419
6444
|
class SQLFieldAndValue extends combi_1.Expression {
|
|
6420
6445
|
getRunnable() {
|
|
6421
|
-
const
|
|
6446
|
+
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);
|
|
6447
|
+
const param = (0, combi_1.seq)(sql_field_name_1.SQLFieldName, "=", (0, combi_1.altPrio)(opt1, sql_source_1.SQLSource));
|
|
6422
6448
|
return param;
|
|
6423
6449
|
}
|
|
6424
6450
|
}
|
|
@@ -47093,7 +47119,7 @@ class Registry {
|
|
|
47093
47119
|
}
|
|
47094
47120
|
static abaplintVersion() {
|
|
47095
47121
|
// magic, see build script "version.sh"
|
|
47096
|
-
return "2.101.
|
|
47122
|
+
return "2.101.8";
|
|
47097
47123
|
}
|
|
47098
47124
|
getDDICReferences() {
|
|
47099
47125
|
return this.ddicReferences;
|
|
@@ -52544,6 +52570,9 @@ ${indentation}ENDIF.
|
|
|
52544
52570
|
${indentation}`);
|
|
52545
52571
|
const fix2 = edit_helper_1.EditHelper.replaceRange(lowFile, startToken.getStart(), tableExpression.getLastToken().getEnd(), uniqueName);
|
|
52546
52572
|
const fix = edit_helper_1.EditHelper.merge(fix2, fix1);
|
|
52573
|
+
if (high.get() instanceof Statements.ElseIf) {
|
|
52574
|
+
throw "downport, unable to downport table expression in ELSEIF";
|
|
52575
|
+
}
|
|
52547
52576
|
return issue_1.Issue.atToken(lowFile, high.getFirstToken(), "Outline table expression", this.getMetadata().key, this.conf.severity, fix);
|
|
52548
52577
|
}
|
|
52549
52578
|
return undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.17",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"author": "abaplint",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@abaplint/transpiler": "^2.7.
|
|
29
|
+
"@abaplint/transpiler": "^2.7.17",
|
|
30
30
|
"@types/glob": "^7.2.0",
|
|
31
31
|
"glob": "=7.2.0",
|
|
32
32
|
"@types/progress": "^2.0.5",
|
|
33
33
|
"@types/node": "^20.2.5",
|
|
34
|
-
"@abaplint/core": "^2.101.
|
|
34
|
+
"@abaplint/core": "^2.101.8",
|
|
35
35
|
"progress": "^2.0.3",
|
|
36
36
|
"webpack": "^5.84.1",
|
|
37
37
|
"webpack-cli": "^5.1.1",
|