@abaplint/core 2.113.199 → 2.113.201
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/src/abap/2_statements/statements/select.js +1 -1
- package/build/src/abap/5_syntax/expressions/filter_body.js +5 -2
- package/build/src/abap/5_syntax/statements/append.js +5 -0
- package/build/src/abap/flow/selection_events.js +5 -1
- package/build/src/registry.js +1 -1
- package/package.json +4 -4
|
@@ -6,7 +6,7 @@ const expressions_1 = require("../expressions");
|
|
|
6
6
|
const version_1 = require("../../../version");
|
|
7
7
|
class Select {
|
|
8
8
|
getMatcher() {
|
|
9
|
-
const union = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)("UNION", (0, combi_1.optPrio)((0, combi_1.altPrio)("DISTINCT", "ALL")), expressions_1.Select));
|
|
9
|
+
const union = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)("UNION", (0, combi_1.optPrio)((0, combi_1.altPrio)("DISTINCT", "ALL")), expressions_1.Select), version_1.Version.OpenABAP);
|
|
10
10
|
return (0, combi_1.seq)(expressions_1.Select, (0, combi_1.starPrio)(union));
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -19,8 +19,11 @@ class FilterBody {
|
|
|
19
19
|
source_1.Source.runSyntax(s, input);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
// todo
|
|
23
|
+
if (node.findDirectTokenByText("EXCEPT") === undefined) {
|
|
24
|
+
const rowType = type instanceof basic_1.TableType ? type.getRowType() : undefined;
|
|
25
|
+
component_cond_1.ComponentCond.runSyntax(node.findDirectExpression(Expressions.ComponentCond), input, rowType);
|
|
26
|
+
}
|
|
24
27
|
return type ? type : targetType;
|
|
25
28
|
}
|
|
26
29
|
}
|
|
@@ -63,6 +63,11 @@ class Append {
|
|
|
63
63
|
if (sourceType instanceof basic_1.TableType) {
|
|
64
64
|
sourceType = sourceType.getRowType();
|
|
65
65
|
}
|
|
66
|
+
else if (!(sourceType instanceof basic_1.VoidType) && !(sourceType instanceof basic_1.UnknownType)) {
|
|
67
|
+
const message = "LINES OF must be a table type";
|
|
68
|
+
input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
66
71
|
if (targetType instanceof basic_1.TableType) {
|
|
67
72
|
targetType = targetType.getRowType();
|
|
68
73
|
}
|
|
@@ -15,14 +15,18 @@ exports.SELECTION_EVENTS = [
|
|
|
15
15
|
Statements.EndOfPage,
|
|
16
16
|
];
|
|
17
17
|
exports.DECLARATION_STUFF = [
|
|
18
|
+
Statements.Type,
|
|
19
|
+
Statements.TypeBegin,
|
|
20
|
+
Statements.TypeEnum,
|
|
21
|
+
Statements.TypeEnumBegin,
|
|
18
22
|
Statements.Data,
|
|
19
23
|
Statements.DataBegin,
|
|
20
24
|
Statements.Constant,
|
|
25
|
+
Statements.ConstantBegin,
|
|
21
26
|
Statements.Tables,
|
|
22
27
|
Statements.Include, // this is not super correct, but anyhow
|
|
23
28
|
Statements.Parameter,
|
|
24
29
|
Statements.SelectionScreen,
|
|
25
|
-
Statements.ConstantBegin,
|
|
26
30
|
Statements.Define,
|
|
27
31
|
];
|
|
28
32
|
//# sourceMappingURL=selection_events.js.map
|
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.201",
|
|
4
4
|
"description": "abaplint - Core API",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/abaplint.d.ts",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://abaplint.org",
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@microsoft/api-extractor": "^7.52.
|
|
53
|
+
"@microsoft/api-extractor": "^7.52.13",
|
|
54
54
|
"@types/chai": "^4.3.20",
|
|
55
55
|
"@types/mocha": "^10.0.10",
|
|
56
|
-
"@types/node": "^24.
|
|
56
|
+
"@types/node": "^24.4.0",
|
|
57
57
|
"chai": "^4.5.0",
|
|
58
|
-
"eslint": "^9.
|
|
58
|
+
"eslint": "^9.35.0",
|
|
59
59
|
"mocha": "^11.7.2",
|
|
60
60
|
"c8": "^10.1.3",
|
|
61
61
|
"source-map-support": "^0.5.21",
|