@abaplint/core 2.113.143 → 2.113.144
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.
|
@@ -184,6 +184,9 @@ class MethodParameters {
|
|
|
184
184
|
if (concat.includes(" FOR VALIDATE ")
|
|
185
185
|
|| concat.includes(" FOR BEHAVIOR ")
|
|
186
186
|
|| concat.includes(" FOR FEATURES ")
|
|
187
|
+
|| concat.includes(" FOR INSTANCE FEATURES ")
|
|
188
|
+
|| concat.includes(" FOR READ ")
|
|
189
|
+
|| concat.includes(" FOR LOCK ")
|
|
187
190
|
|| concat.includes(" FOR MODIFY ")) {
|
|
188
191
|
const token = isRap.getFirstToken();
|
|
189
192
|
this.exporting.push(new _typed_identifier_1.TypedIdentifier(new identifier_1.Identifier(token.getStart(), "failed"), input.filename, basic_1.VoidType.get("RapMethodParameter"), ["exporting" /* IdentifierMeta.MethodExporting */]));
|
|
@@ -7,7 +7,9 @@ const cds_as_1 = require("./cds_as");
|
|
|
7
7
|
const cds_cast_1 = require("./cds_cast");
|
|
8
8
|
class CDSElement extends combi_1.Expression {
|
|
9
9
|
getRunnable() {
|
|
10
|
-
|
|
10
|
+
const redirected = (0, combi_1.seq)(": REDIRECTED TO", (0, combi_1.opt)((0, combi_1.alt)("PARENT", "COMPOSITION CHILD")), _1.CDSName);
|
|
11
|
+
const colonThing = (0, combi_1.seq)(":", _1.CDSName);
|
|
12
|
+
return (0, combi_1.seq)((0, combi_1.starPrio)(_1.CDSAnnotation), (0, combi_1.optPrio)("KEY"), (0, combi_1.altPrio)(_1.CDSAggregate, _1.CDSString, _1.CDSArithmetics, _1.CDSFunction, cds_cast_1.CDSCast, _1.CDSCase, (0, combi_1.seq)("(", _1.CDSCase, ")"), (0, combi_1.seq)(_1.CDSPrefixedName, (0, combi_1.opt)((0, combi_1.alt)(redirected, colonThing))), _1.CDSInteger), (0, combi_1.opt)(cds_as_1.CDSAs));
|
|
11
13
|
}
|
|
12
14
|
}
|
|
13
15
|
exports.CDSElement = CDSElement;
|
package/build/src/registry.js
CHANGED