@abaplint/core 2.120.37 → 2.120.38
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.
|
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.TypeParam = void 0;
|
|
4
4
|
const combi_1 = require("../combi");
|
|
5
5
|
const _1 = require(".");
|
|
6
|
+
const version_1 = require("../../../version");
|
|
7
|
+
const _derived_types_1 = require("./_derived_types");
|
|
6
8
|
class TypeParam extends combi_1.Expression {
|
|
7
9
|
getRunnable() {
|
|
8
10
|
const table = (0, combi_1.seq)((0, combi_1.altPrio)("STANDARD", "HASHED", "INDEX", "SORTED", "ANY"), "TABLE");
|
|
@@ -10,7 +12,10 @@ class TypeParam extends combi_1.Expression {
|
|
|
10
12
|
const typeLine = "LINE OF";
|
|
11
13
|
const ret = (0, combi_1.seq)((0, combi_1.alt)(foo, typeLine), _1.TypeNameOrInfer, (0, combi_1.opt)(_1.Default));
|
|
12
14
|
const like = (0, combi_1.seq)("LIKE", (0, combi_1.opt)("LINE OF"), _1.FieldChain, (0, combi_1.optPrio)(_1.Default));
|
|
13
|
-
|
|
15
|
+
const entity = (0, combi_1.alt)(_1.TypeName, _1.EntityAssociation);
|
|
16
|
+
const rapTable = (0, combi_1.ver)(version_1.Release.v770, (0, combi_1.seq)("TYPE", "TABLE FOR", (0, _derived_types_1.derivedTypesAlt)((0, combi_1.ver)(version_1.Release.v773, (0, combi_1.seq)("ACTION IMPORT", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.ver)(version_1.Release.v774, (0, combi_1.seq)("READ LINK", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.ver)(version_1.Release.v787, (0, combi_1.seq)("EVENT", entity), { also: combi_1.AlsoIn.OpenABAP })), (0, combi_1.optPrio)("VALUE IS INITIAL")), { also: combi_1.AlsoIn.OpenABAP });
|
|
17
|
+
// Method parameters also allow the RAP table and response type forms.
|
|
18
|
+
return (0, combi_1.altPrio)(rapTable, _1.TypeStructure, (0, combi_1.seq)("TYPE", (0, combi_1.alt)(table, ret)), like);
|
|
14
19
|
}
|
|
15
20
|
}
|
|
16
21
|
exports.TypeParam = TypeParam;
|
package/build/src/registry.js
CHANGED
|
@@ -137,6 +137,7 @@ https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abenchained_stat
|
|
|
137
137
|
|| statement instanceof Statements.Ranges
|
|
138
138
|
|| statement instanceof Statements.TypePools
|
|
139
139
|
|| statement instanceof Statements.FieldSymbol
|
|
140
|
+
|| statement instanceof Statements.Nodes
|
|
140
141
|
|| statement instanceof Statements.Data
|
|
141
142
|
|| statement instanceof Statements.DataBegin
|
|
142
143
|
|| statement instanceof Statements.DataEnd)) {
|
package/build/src/stuff.js
CHANGED
|
@@ -37,6 +37,7 @@ exports.DECLARATION_STUFF = exports.SELECTION_EVENTS = void 0;
|
|
|
37
37
|
const Statements = __importStar(require("./abap/2_statements/statements"));
|
|
38
38
|
exports.SELECTION_EVENTS = [
|
|
39
39
|
Statements.StartOfSelection,
|
|
40
|
+
Statements.Get,
|
|
40
41
|
Statements.AtSelectionScreen,
|
|
41
42
|
Statements.AtLineSelection,
|
|
42
43
|
Statements.AtPF,
|