@abaplint/cli 2.102.61 → 2.102.63
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 +46 -2
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -1620,6 +1620,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
1620
1620
|
exports.Token = void 0;
|
|
1621
1621
|
const position_1 = __webpack_require__(/*! ../../../position */ "./node_modules/@abaplint/core/build/src/position.js");
|
|
1622
1622
|
class Token {
|
|
1623
|
+
[Symbol.for("debug.description")]() {
|
|
1624
|
+
return `${this.constructor.name} ${this.str}`;
|
|
1625
|
+
}
|
|
1623
1626
|
constructor(start, str) {
|
|
1624
1627
|
this.start = start;
|
|
1625
1628
|
this.str = str;
|
|
@@ -5351,6 +5354,7 @@ __exportStar(__webpack_require__(/*! ./sql_order_by */ "./node_modules/@abaplint
|
|
|
5351
5354
|
__exportStar(__webpack_require__(/*! ./sql_path */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_path.js"), exports);
|
|
5352
5355
|
__exportStar(__webpack_require__(/*! ./sql_source_simple */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_source_simple.js"), exports);
|
|
5353
5356
|
__exportStar(__webpack_require__(/*! ./sql_source */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_source.js"), exports);
|
|
5357
|
+
__exportStar(__webpack_require__(/*! ./sql_source_no_space */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_source_no_space.js"), exports);
|
|
5354
5358
|
__exportStar(__webpack_require__(/*! ./sql_target */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_target.js"), exports);
|
|
5355
5359
|
__exportStar(__webpack_require__(/*! ./sql_up_to */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_up_to.js"), exports);
|
|
5356
5360
|
__exportStar(__webpack_require__(/*! ./string_template_formatting */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/string_template_formatting.js"), exports);
|
|
@@ -7845,7 +7849,7 @@ const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@a
|
|
|
7845
7849
|
class SQLIn extends combi_1.Expression {
|
|
7846
7850
|
getRunnable() {
|
|
7847
7851
|
const val = new _1.SQLSource();
|
|
7848
|
-
const short =
|
|
7852
|
+
const short = new _1.SQLSourceNoSpace();
|
|
7849
7853
|
const listOld = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.WParenLeft), (0, combi_1.alt)((0, combi_1.ver)(version_1.Version.v740sp05, short), val), (0, combi_1.starPrio)((0, combi_1.seq)(",", val)), (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.ParenRight), (0, combi_1.tok)(tokens_1.ParenRightW), (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
7850
7854
|
const listNew = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.WParenLeftW), val, (0, combi_1.starPrio)((0, combi_1.seq)(",", (0, combi_1.altPrio)(short, val))), (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.WParenRight), (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
7851
7855
|
const list = (0, combi_1.alt)(listOld, (0, combi_1.ver)(version_1.Version.v740sp02, listNew)); // version is a guess, https://github.com/abaplint/abaplint/issues/2530
|
|
@@ -8029,6 +8033,32 @@ exports.SQLSource = SQLSource;
|
|
|
8029
8033
|
|
|
8030
8034
|
/***/ }),
|
|
8031
8035
|
|
|
8036
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_source_no_space.js":
|
|
8037
|
+
/*!****************************************************************************************************!*\
|
|
8038
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_source_no_space.js ***!
|
|
8039
|
+
\****************************************************************************************************/
|
|
8040
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8041
|
+
|
|
8042
|
+
"use strict";
|
|
8043
|
+
|
|
8044
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8045
|
+
exports.SQLSourceNoSpace = void 0;
|
|
8046
|
+
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
8047
|
+
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
8048
|
+
const tokens_1 = __webpack_require__(/*! ../../1_lexer/tokens */ "./node_modules/@abaplint/core/build/src/abap/1_lexer/tokens/index.js");
|
|
8049
|
+
const _1 = __webpack_require__(/*! . */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
|
|
8050
|
+
class SQLSourceNoSpace extends combi_1.Expression {
|
|
8051
|
+
getRunnable() {
|
|
8052
|
+
const paren = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.ParenLeftW), _1.Source, (0, combi_1.tok)(tokens_1.WParenRightW));
|
|
8053
|
+
const at = (0, combi_1.ver)(version_1.Version.v740sp05, (0, combi_1.seq)((0, combi_1.tok)(tokens_1.At), (0, combi_1.altPrio)(_1.SimpleSource3, paren)));
|
|
8054
|
+
return (0, combi_1.alt)(_1.SQLAliasField, _1.SimpleSource3, at);
|
|
8055
|
+
}
|
|
8056
|
+
}
|
|
8057
|
+
exports.SQLSourceNoSpace = SQLSourceNoSpace;
|
|
8058
|
+
//# sourceMappingURL=sql_source_no_space.js.map
|
|
8059
|
+
|
|
8060
|
+
/***/ }),
|
|
8061
|
+
|
|
8032
8062
|
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_source_simple.js":
|
|
8033
8063
|
/*!**************************************************************************************************!*\
|
|
8034
8064
|
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_source_simple.js ***!
|
|
@@ -26313,12 +26343,16 @@ exports.SQLCompare = void 0;
|
|
|
26313
26343
|
const Expressions = __webpack_require__(/*! ../../2_statements/expressions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
|
|
26314
26344
|
const nodes_1 = __webpack_require__(/*! ../../nodes */ "./node_modules/@abaplint/core/build/src/abap/nodes/index.js");
|
|
26315
26345
|
const basic_1 = __webpack_require__(/*! ../../types/basic */ "./node_modules/@abaplint/core/build/src/abap/types/basic/index.js");
|
|
26346
|
+
const source_1 = __webpack_require__(/*! ./source */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/source.js");
|
|
26316
26347
|
const sql_source_1 = __webpack_require__(/*! ./sql_source */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/sql_source.js");
|
|
26317
26348
|
class SQLCompare {
|
|
26318
26349
|
runSyntax(node, scope, filename, tables) {
|
|
26319
26350
|
var _a;
|
|
26320
26351
|
let sourceType;
|
|
26321
26352
|
let token;
|
|
26353
|
+
for (const s of node.findAllExpressions(Expressions.SimpleSource3)) {
|
|
26354
|
+
new source_1.Source().runSyntax(s, scope, filename);
|
|
26355
|
+
}
|
|
26322
26356
|
for (const s of node.findAllExpressions(Expressions.SQLSource)) {
|
|
26323
26357
|
for (const child of s.getChildren()) {
|
|
26324
26358
|
if (child instanceof nodes_1.ExpressionNode) {
|
|
@@ -27123,6 +27157,9 @@ class ScopeData {
|
|
|
27123
27157
|
}
|
|
27124
27158
|
}
|
|
27125
27159
|
class SpaghettiScopeNode extends ScopeData {
|
|
27160
|
+
[Symbol.for("debug.description")]() {
|
|
27161
|
+
return `SpaghettiSN ${this.identifier.sname} ${this.identifier.stype}`;
|
|
27162
|
+
}
|
|
27126
27163
|
constructor(identifier, parent) {
|
|
27127
27164
|
super();
|
|
27128
27165
|
this.identifier = identifier;
|
|
@@ -34707,6 +34744,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
34707
34744
|
exports.TypedIdentifier = void 0;
|
|
34708
34745
|
const _identifier_1 = __webpack_require__(/*! ../4_file_information/_identifier */ "./node_modules/@abaplint/core/build/src/abap/4_file_information/_identifier.js");
|
|
34709
34746
|
class TypedIdentifier extends _identifier_1.Identifier {
|
|
34747
|
+
[Symbol.for("debug.description")]() {
|
|
34748
|
+
return `${this.constructor.name} ${this.getName()}:${this.getType().constructor.name}`;
|
|
34749
|
+
}
|
|
34710
34750
|
static from(id, type, meta) {
|
|
34711
34751
|
return new TypedIdentifier(id.getToken(), id.getFilename(), type, meta);
|
|
34712
34752
|
}
|
|
@@ -42583,6 +42623,9 @@ const _abstract_object_1 = __webpack_require__(/*! ./_abstract_object */ "./node
|
|
|
42583
42623
|
const xml_utils_1 = __webpack_require__(/*! ../xml_utils */ "./node_modules/@abaplint/core/build/src/xml_utils.js");
|
|
42584
42624
|
const abap_parser_1 = __webpack_require__(/*! ../abap/abap_parser */ "./node_modules/@abaplint/core/build/src/abap/abap_parser.js");
|
|
42585
42625
|
class ABAPObject extends _abstract_object_1.AbstractObject {
|
|
42626
|
+
[Symbol.for("debug.description")]() {
|
|
42627
|
+
return `${this.constructor.name} ${this.getName()}`;
|
|
42628
|
+
}
|
|
42586
42629
|
constructor(name) {
|
|
42587
42630
|
super(name);
|
|
42588
42631
|
this.parsed = [];
|
|
@@ -50095,7 +50138,7 @@ class Registry {
|
|
|
50095
50138
|
}
|
|
50096
50139
|
static abaplintVersion() {
|
|
50097
50140
|
// magic, see build script "version.sh"
|
|
50098
|
-
return "2.102.
|
|
50141
|
+
return "2.102.63";
|
|
50099
50142
|
}
|
|
50100
50143
|
getDDICReferences() {
|
|
50101
50144
|
return this.ddicReferences;
|
|
@@ -55280,6 +55323,7 @@ Make sure to test the downported code, it might not always be completely correct
|
|
|
55280
55323
|
};
|
|
55281
55324
|
const candidates = [high.findAllExpressionsRecursive(Expressions.SQLTarget),
|
|
55282
55325
|
high.findAllExpressionsRecursive(Expressions.SQLSource),
|
|
55326
|
+
high.findAllExpressionsRecursive(Expressions.SQLSourceNoSpace),
|
|
55283
55327
|
high.findAllExpressionsRecursive(Expressions.SQLSourceSimple)].flat();
|
|
55284
55328
|
for (const c of candidates.reverse()) {
|
|
55285
55329
|
if (c.getFirstToken() instanceof tokens_1.WAt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.102.
|
|
3
|
+
"version": "2.102.63",
|
|
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.102.
|
|
41
|
+
"@abaplint/core": "^2.102.63",
|
|
42
42
|
"@types/chai": "^4.3.9",
|
|
43
43
|
"@types/glob": "^7.2.0",
|
|
44
44
|
"@types/minimist": "^1.2.4",
|