@abaplint/cli 2.120.37 → 2.120.39
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/cli.js +10 -17
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -10801,6 +10801,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
10801
10801
|
exports.TypeParam = void 0;
|
|
10802
10802
|
const combi_1 = __webpack_require__(/*! ../combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
10803
10803
|
const _1 = __webpack_require__(/*! . */ "../core/build/src/abap/2_statements/expressions/index.js");
|
|
10804
|
+
const version_1 = __webpack_require__(/*! ../../../version */ "../core/build/src/version.js");
|
|
10805
|
+
const _derived_types_1 = __webpack_require__(/*! ./_derived_types */ "../core/build/src/abap/2_statements/expressions/_derived_types.js");
|
|
10804
10806
|
class TypeParam extends combi_1.Expression {
|
|
10805
10807
|
getRunnable() {
|
|
10806
10808
|
const table = (0, combi_1.seq)((0, combi_1.altPrio)("STANDARD", "HASHED", "INDEX", "SORTED", "ANY"), "TABLE");
|
|
@@ -10808,7 +10810,10 @@ class TypeParam extends combi_1.Expression {
|
|
|
10808
10810
|
const typeLine = "LINE OF";
|
|
10809
10811
|
const ret = (0, combi_1.seq)((0, combi_1.alt)(foo, typeLine), _1.TypeNameOrInfer, (0, combi_1.opt)(_1.Default));
|
|
10810
10812
|
const like = (0, combi_1.seq)("LIKE", (0, combi_1.opt)("LINE OF"), _1.FieldChain, (0, combi_1.optPrio)(_1.Default));
|
|
10811
|
-
|
|
10813
|
+
const entity = (0, combi_1.alt)(_1.TypeName, _1.EntityAssociation);
|
|
10814
|
+
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 });
|
|
10815
|
+
// Method parameters also allow the RAP table and response type forms.
|
|
10816
|
+
return (0, combi_1.altPrio)(rapTable, _1.TypeStructure, (0, combi_1.seq)("TYPE", (0, combi_1.alt)(table, ret)), like);
|
|
10812
10817
|
}
|
|
10813
10818
|
}
|
|
10814
10819
|
exports.TypeParam = TypeParam;
|
|
@@ -45128,22 +45133,8 @@ class SelectOption {
|
|
|
45128
45133
|
return;
|
|
45129
45134
|
}
|
|
45130
45135
|
const nameChain = node.findFirstExpression(Expressions.FieldChain);
|
|
45131
|
-
|
|
45136
|
+
const found = new basic_types_1.BasicTypes(input).resolveLikeName(nameChain);
|
|
45132
45137
|
if (found) {
|
|
45133
|
-
if (found instanceof basic_1.StructureType) {
|
|
45134
|
-
let length = 0;
|
|
45135
|
-
for (const c of found.getComponents()) {
|
|
45136
|
-
if (c.type instanceof basic_1.CharacterType) {
|
|
45137
|
-
length += c.type.getLength();
|
|
45138
|
-
}
|
|
45139
|
-
}
|
|
45140
|
-
if (length === 0) {
|
|
45141
|
-
found = basic_1.VoidType.get("Selectoption, fallback");
|
|
45142
|
-
}
|
|
45143
|
-
else {
|
|
45144
|
-
found = new basic_1.CharacterType(length);
|
|
45145
|
-
}
|
|
45146
|
-
}
|
|
45147
45138
|
const stru = new basic_1.StructureType([
|
|
45148
45139
|
{ name: "SIGN", type: new basic_1.CharacterType(1) },
|
|
45149
45140
|
{ name: "OPTION", type: new basic_1.CharacterType(2) },
|
|
@@ -70147,7 +70138,7 @@ class Registry {
|
|
|
70147
70138
|
}
|
|
70148
70139
|
static abaplintVersion() {
|
|
70149
70140
|
// magic, see build script "version.js"
|
|
70150
|
-
return "2.120.
|
|
70141
|
+
return "2.120.39";
|
|
70151
70142
|
}
|
|
70152
70143
|
getDDICReferences() {
|
|
70153
70144
|
return this.ddicReferences;
|
|
@@ -73794,6 +73785,7 @@ https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abenchained_stat
|
|
|
73794
73785
|
|| statement instanceof Statements.Ranges
|
|
73795
73786
|
|| statement instanceof Statements.TypePools
|
|
73796
73787
|
|| statement instanceof Statements.FieldSymbol
|
|
73788
|
+
|| statement instanceof Statements.Nodes
|
|
73797
73789
|
|| statement instanceof Statements.Data
|
|
73798
73790
|
|| statement instanceof Statements.DataBegin
|
|
73799
73791
|
|| statement instanceof Statements.DataEnd)) {
|
|
@@ -100690,6 +100682,7 @@ exports.DECLARATION_STUFF = exports.SELECTION_EVENTS = void 0;
|
|
|
100690
100682
|
const Statements = __importStar(__webpack_require__(/*! ./abap/2_statements/statements */ "../core/build/src/abap/2_statements/statements/index.js"));
|
|
100691
100683
|
exports.SELECTION_EVENTS = [
|
|
100692
100684
|
Statements.StartOfSelection,
|
|
100685
|
+
Statements.Get,
|
|
100693
100686
|
Statements.AtSelectionScreen,
|
|
100694
100687
|
Statements.AtLineSelection,
|
|
100695
100688
|
Statements.AtPF,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.120.
|
|
3
|
+
"version": "2.120.39",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"homepage": "https://abaplint.org",
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@abaplint/core": "^2.120.
|
|
42
|
+
"@abaplint/core": "^2.120.39",
|
|
43
43
|
"@types/chai": "^4.3.20",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|
|
45
45
|
"@types/mocha": "^10.0.10",
|