@abaplint/core 2.113.151 → 2.113.153
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.
|
@@ -6,6 +6,7 @@ const target_1 = require("../expressions/target");
|
|
|
6
6
|
const dynamic_1 = require("../expressions/dynamic");
|
|
7
7
|
const basic_1 = require("../../types/basic");
|
|
8
8
|
const _syntax_input_1 = require("../_syntax_input");
|
|
9
|
+
const component_chain_1 = require("../expressions/component_chain");
|
|
9
10
|
class Sort {
|
|
10
11
|
runSyntax(node, input) {
|
|
11
12
|
var _a, _b;
|
|
@@ -26,23 +27,24 @@ class Sort {
|
|
|
26
27
|
&& !(rowType instanceof basic_1.UnknownType)
|
|
27
28
|
&& !(rowType instanceof basic_1.AnyType)) {
|
|
28
29
|
for (const component of node.findAllExpressions(Expressions.ComponentChain)) {
|
|
30
|
+
component_chain_1.ComponentChain.runSyntax(rowType, component, input);
|
|
31
|
+
/*
|
|
29
32
|
if (component.getChildren().length > 1) {
|
|
30
|
-
|
|
33
|
+
continue;
|
|
31
34
|
}
|
|
32
35
|
const cname = component.concatTokens().toUpperCase();
|
|
33
36
|
if (cname === "TABLE_LINE") {
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
|
|
44
|
-
return;
|
|
37
|
+
continue;
|
|
38
|
+
} else if (!(rowType instanceof StructureType)) {
|
|
39
|
+
const message = "SORT, table row is not structured";
|
|
40
|
+
input.issues.push(syntaxIssue(input, tnode.getFirstToken(), message));
|
|
41
|
+
return;
|
|
42
|
+
} else if (rowType.getComponentByName(cname) === undefined) {
|
|
43
|
+
const message = `Field ${cname} does not exist in table row structure`;
|
|
44
|
+
input.issues.push(syntaxIssue(input, node.getFirstToken(), message));
|
|
45
|
+
return;
|
|
45
46
|
}
|
|
47
|
+
*/
|
|
46
48
|
}
|
|
47
49
|
}
|
|
48
50
|
}
|
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.153",
|
|
4
4
|
"description": "abaplint - Core API",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/abaplint.d.ts",
|
|
@@ -50,17 +50,17 @@
|
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://abaplint.org",
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@microsoft/api-extractor": "^7.52.
|
|
53
|
+
"@microsoft/api-extractor": "^7.52.10",
|
|
54
54
|
"@types/chai": "^4.3.20",
|
|
55
55
|
"@types/mocha": "^10.0.10",
|
|
56
|
-
"@types/node": "^24.
|
|
56
|
+
"@types/node": "^24.2.0",
|
|
57
57
|
"chai": "^4.5.0",
|
|
58
|
-
"eslint": "^9.
|
|
58
|
+
"eslint": "^9.32.0",
|
|
59
59
|
"mocha": "^11.7.1",
|
|
60
60
|
"c8": "^10.1.3",
|
|
61
61
|
"source-map-support": "^0.5.21",
|
|
62
62
|
"ts-json-schema-generator": "^2.4.0",
|
|
63
|
-
"typescript": "^5.
|
|
63
|
+
"typescript": "^5.9.2"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"fast-xml-parser": "^5.2.5",
|