@abaplint/core 2.113.2 → 2.113.4
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/abaplint.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ class SelectLoop extends combi_1.Expression {
|
|
|
19
19
|
const packTab = (0, combi_1.seq)(pack, _1.SQLIntoTable);
|
|
20
20
|
const into = (0, combi_1.altPrio)(sql_into_structure_1.SQLIntoStructure, _1.SQLIntoList);
|
|
21
21
|
const perm = (0, combi_1.per)(_1.SQLFrom, where, sql_up_to_1.SQLUpTo, sql_order_by_1.SQLOrderBy, sql_having_1.SQLHaving, _1.SQLClient, bypass, _1.SQLGroupBy, _1.SQLForAllEntries, (0, combi_1.alt)(tab, into, packTab));
|
|
22
|
-
const strict = (0, combi_1.seq)(_1.SQLFrom, (0, combi_1.ver)(version_1.Version.v750, _1.SQLFields), where, into, sql_up_to_1.SQLUpTo);
|
|
22
|
+
const strict = (0, combi_1.seq)(_1.SQLFrom, (0, combi_1.ver)(version_1.Version.v750, _1.SQLFields), (0, combi_1.optPrio)((0, combi_1.seq)(where, into, sql_up_to_1.SQLUpTo)));
|
|
23
23
|
const ret = (0, combi_1.seq)("SELECT", (0, combi_1.altPrio)((0, combi_1.seq)((0, combi_1.optPrio)("DISTINCT"), sql_field_list_loop_1.SQLFieldListLoop, perm), strict), (0, combi_1.optPrio)(sql_hints_1.SQLHints));
|
|
24
24
|
return ret;
|
|
25
25
|
}
|
|
@@ -16,7 +16,9 @@ class StatementFlow {
|
|
|
16
16
|
var _a, _b, _c, _d;
|
|
17
17
|
const ret = [];
|
|
18
18
|
let name = "";
|
|
19
|
-
const structures = stru.findAllStructuresMulti([
|
|
19
|
+
const structures = stru.findAllStructuresMulti([
|
|
20
|
+
Structures.Form, Structures.ClassImplementation, Structures.FunctionModule, Structures.Module
|
|
21
|
+
]);
|
|
20
22
|
for (const s of structures) {
|
|
21
23
|
if (s.get() instanceof Structures.Form) {
|
|
22
24
|
name = "FORM " + ((_a = s.findFirstExpression(Expressions.FormName)) === null || _a === void 0 ? void 0 : _a.concatTokens());
|
|
@@ -34,6 +36,10 @@ class StatementFlow {
|
|
|
34
36
|
name = "FUNCTION " + ((_d = s.findFirstExpression(Expressions.Field)) === null || _d === void 0 ? void 0 : _d.concatTokens());
|
|
35
37
|
ret.push(this.run(s, name));
|
|
36
38
|
}
|
|
39
|
+
else if (s.get() instanceof Structures.Module) {
|
|
40
|
+
name = s.getFirstStatement().concatTokens().toUpperCase();
|
|
41
|
+
ret.push(this.run(s, name));
|
|
42
|
+
}
|
|
37
43
|
else {
|
|
38
44
|
throw new Error("StatementFlow, unknown structure");
|
|
39
45
|
}
|
|
@@ -216,6 +222,7 @@ class StatementFlow {
|
|
|
216
222
|
graph.addEdge(loopName, graph.getEnd(), flow_graph_1.FLOW_EDGE_TYPE.false);
|
|
217
223
|
}
|
|
218
224
|
else if (type instanceof Structures.Data
|
|
225
|
+
|| type instanceof Structures.Constants
|
|
219
226
|
|| type instanceof Structures.Types) {
|
|
220
227
|
// these doesnt affect control flow, so just take the first statement
|
|
221
228
|
const statement = n.getFirstStatement();
|
package/build/src/registry.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/core",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.4",
|
|
4
4
|
"description": "abaplint - Core API",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/abaplint.d.ts",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@microsoft/api-extractor": "^7.47.7",
|
|
54
54
|
"@types/chai": "^4.3.19",
|
|
55
55
|
"@types/mocha": "^10.0.7",
|
|
56
|
-
"@types/node": "^22.5.
|
|
56
|
+
"@types/node": "^22.5.2",
|
|
57
57
|
"chai": "^4.5.0",
|
|
58
58
|
"eslint": "^9.9.1",
|
|
59
59
|
"mocha": "^10.7.3",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"typescript": "^5.5.4"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"fast-xml-parser": "^4.
|
|
66
|
+
"fast-xml-parser": "^4.5.0",
|
|
67
67
|
"json5": "^2.2.3",
|
|
68
68
|
"vscode-languageserver-types": "^3.17.5"
|
|
69
69
|
}
|