@abaplint/cli 2.113.99 → 2.113.101
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 +22 -6
- package/package.json +3 -3
package/build/cli.js
CHANGED
|
@@ -11609,6 +11609,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
11609
11609
|
exports.Convert = void 0;
|
|
11610
11610
|
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
11611
11611
|
const expressions_1 = __webpack_require__(/*! ../expressions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
|
|
11612
|
+
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
11612
11613
|
class Convert {
|
|
11613
11614
|
getMatcher() {
|
|
11614
11615
|
const intoTime = (0, combi_1.seq)("TIME", expressions_1.Target);
|
|
@@ -11620,10 +11621,12 @@ class Convert {
|
|
|
11620
11621
|
const dat = (0, combi_1.seq)("DATE", expressions_1.Source);
|
|
11621
11622
|
const tim = (0, combi_1.seq)("TIME", expressions_1.Source);
|
|
11622
11623
|
const stamp = (0, combi_1.seq)("INTO TIME STAMP", expressions_1.Target);
|
|
11624
|
+
const intoutc = (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)("INTO UTCLONG", expressions_1.Target));
|
|
11623
11625
|
const invert = (0, combi_1.seq)("INTO INVERTED-DATE", expressions_1.Target);
|
|
11624
|
-
const date = (0, combi_1.seq)((0, combi_1.per)(dat, tim), (0, combi_1.per)(daylight, stamp, zone, invert));
|
|
11626
|
+
const date = (0, combi_1.seq)((0, combi_1.per)(dat, tim), (0, combi_1.per)(daylight, stamp, zone, invert, intoutc));
|
|
11625
11627
|
const inv = (0, combi_1.seq)("INVERTED-DATE", expressions_1.Source, "INTO DATE", expressions_1.Target);
|
|
11626
|
-
|
|
11628
|
+
const utclong = (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)("UTCLONG", expressions_1.Source, (0, combi_1.per)(zone, into, daylight)));
|
|
11629
|
+
return (0, combi_1.seq)("CONVERT", (0, combi_1.alt)(time, date, inv, utclong));
|
|
11627
11630
|
}
|
|
11628
11631
|
}
|
|
11629
11632
|
exports.Convert = Convert;
|
|
@@ -26973,7 +26976,12 @@ class MethodSource {
|
|
|
26973
26976
|
}
|
|
26974
26977
|
}
|
|
26975
26978
|
if (context instanceof basic_1.VoidType) {
|
|
26976
|
-
|
|
26979
|
+
while (children.length > 0) {
|
|
26980
|
+
const current = children.shift();
|
|
26981
|
+
if (current instanceof nodes_1.ExpressionNode && current.get() instanceof Expressions.Dynamic) {
|
|
26982
|
+
new dynamic_1.Dynamic().runSyntax(current, input);
|
|
26983
|
+
}
|
|
26984
|
+
}
|
|
26977
26985
|
return context;
|
|
26978
26986
|
}
|
|
26979
26987
|
while (children.length > 0) {
|
|
@@ -36190,6 +36198,13 @@ class StatementFlow {
|
|
|
36190
36198
|
graph.addEdge(current, name, flow_graph_1.FLOW_EDGE_TYPE.undefined);
|
|
36191
36199
|
graph.addEdge(name, graph.getEnd(), flow_graph_1.FLOW_EDGE_TYPE.undefined);
|
|
36192
36200
|
}
|
|
36201
|
+
else if (type instanceof Structures.TestSeam) {
|
|
36202
|
+
const name = StatementFlow.buildName(n.getFirstStatement());
|
|
36203
|
+
const sub = this.traverseBody(this.findBody(n), context);
|
|
36204
|
+
graph.addEdge(current, name, flow_graph_1.FLOW_EDGE_TYPE.undefined);
|
|
36205
|
+
graph.addGraph(name, sub, flow_graph_1.FLOW_EDGE_TYPE.undefined);
|
|
36206
|
+
graph.addEdge(sub.getEnd(), graph.getEnd(), flow_graph_1.FLOW_EDGE_TYPE.undefined);
|
|
36207
|
+
}
|
|
36193
36208
|
else if (type instanceof Structures.AtFirst
|
|
36194
36209
|
|| type instanceof Structures.AtLast
|
|
36195
36210
|
|| type instanceof Structures.At
|
|
@@ -36269,7 +36284,8 @@ class StatementFlow {
|
|
|
36269
36284
|
graph.addEdge(caseName, graph.getEnd(), flow_graph_1.FLOW_EDGE_TYPE.undefined);
|
|
36270
36285
|
}
|
|
36271
36286
|
}
|
|
36272
|
-
else if (type instanceof Structures.Define
|
|
36287
|
+
else if (type instanceof Structures.Define
|
|
36288
|
+
|| type instanceof Structures.TestInjection) {
|
|
36273
36289
|
// do nothing
|
|
36274
36290
|
}
|
|
36275
36291
|
else {
|
|
@@ -40960,7 +40976,7 @@ const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "./node
|
|
|
40960
40976
|
class CDSCast extends combi_1.Expression {
|
|
40961
40977
|
getRunnable() {
|
|
40962
40978
|
const name = (0, combi_1.seq)(_1.CDSName, (0, combi_1.optPrio)((0, combi_1.seq)(".", _1.CDSName)));
|
|
40963
|
-
return (0, combi_1.seq)("CAST", "(", (0, combi_1.altPrio)(_1.CDSFunction, _1.CDSCase, _1.CDSAggregate, CDSCast, _1.CDSString,
|
|
40979
|
+
return (0, combi_1.seq)("CAST", "(", (0, combi_1.altPrio)(_1.CDSFunction, _1.CDSCase, _1.CDSAggregate, _1.CDSArithmetics, CDSCast, _1.CDSString, name), "AS", _1.CDSType, (0, combi_1.optPrio)((0, combi_1.seq)("PRESERVING", "TYPE")), ")");
|
|
40964
40980
|
}
|
|
40965
40981
|
}
|
|
40966
40982
|
exports.CDSCast = CDSCast;
|
|
@@ -53825,7 +53841,7 @@ class Registry {
|
|
|
53825
53841
|
}
|
|
53826
53842
|
static abaplintVersion() {
|
|
53827
53843
|
// magic, see build script "version.sh"
|
|
53828
|
-
return "2.113.
|
|
53844
|
+
return "2.113.101";
|
|
53829
53845
|
}
|
|
53830
53846
|
getDDICReferences() {
|
|
53831
53847
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.101",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.113.
|
|
41
|
+
"@abaplint/core": "^2.113.101",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/glob": "^8.1.0",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|
|
45
45
|
"@types/mocha": "^10.0.10",
|
|
46
|
-
"@types/node": "^22.
|
|
46
|
+
"@types/node": "^22.13.0",
|
|
47
47
|
"@types/progress": "^2.0.7",
|
|
48
48
|
"chai": "^4.5.0",
|
|
49
49
|
"chalk": "^5.4.1",
|