@abaplint/cli 2.113.208 → 2.113.209
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 +11 -5
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -15214,8 +15214,9 @@ class ModifyEntities {
|
|
|
15214
15214
|
const reported = (0, combi_1.seq)("REPORTED", expressions_1.Target);
|
|
15215
15215
|
const end = (0, combi_1.optPrio)((0, combi_1.per)(failed, result, mapped, reported));
|
|
15216
15216
|
const entities = (0, combi_1.seq)((0, combi_1.optPrio)("AUGMENTING"), "ENTITIES OF", expressions_1.NamespaceSimpleName, (0, combi_1.opt)("IN LOCAL MODE"), (0, combi_1.plusPrio)((0, combi_1.seq)("ENTITY", expressions_1.NamespaceSimpleName, (0, combi_1.plus)(operation))));
|
|
15217
|
-
const create2 = (0, combi_1.seq)("CREATE", fieldsWith, "CREATE BY", expressions_1.AssociationName, fieldsWith);
|
|
15218
|
-
const
|
|
15217
|
+
const create2 = (0, combi_1.seq)("CREATE", fieldsWith, (0, combi_1.opt)((0, combi_1.seq)("CREATE BY", expressions_1.AssociationName, fieldsWith)));
|
|
15218
|
+
const create3 = (0, combi_1.seq)("CREATE BY", expressions_1.AssociationName, fieldsWith);
|
|
15219
|
+
const entity = (0, combi_1.seq)("ENTITY", (0, combi_1.opt)("IN LOCAL MODE"), (0, combi_1.alt)(expressions_1.NamespaceSimpleName, expressions_1.EntityAssociation), (0, combi_1.alt)(execute, create, updateFields, deleteFrom, updateFrom, create2, create3));
|
|
15219
15220
|
return (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)("MODIFY", (0, combi_1.alt)(entities, entity), end));
|
|
15220
15221
|
}
|
|
15221
15222
|
}
|
|
@@ -16159,8 +16160,10 @@ class ReadEntities {
|
|
|
16159
16160
|
const reported = (0, combi_1.seq)("REPORTED", expressions_1.Target);
|
|
16160
16161
|
const entity = (0, combi_1.seq)("ENTITY", expressions_1.NamespaceSimpleName, (0, combi_1.opt)((0, combi_1.seq)("BY", expressions_1.AssociationName)), (0, combi_1.alt)(fields, from, all), (0, combi_1.optPrio)(result));
|
|
16161
16162
|
const s = (0, combi_1.seq)("ENTITIES OF", expressions_1.NamespaceSimpleName, (0, combi_1.opt)("IN LOCAL MODE"), (0, combi_1.plus)(entity), (0, combi_1.optPrio)((0, combi_1.seq)("LINK", expressions_1.Target)), (0, combi_1.optPrio)((0, combi_1.per)(failed, reported)));
|
|
16163
|
+
const byall = (0, combi_1.seq)("BY", expressions_1.AssociationName, all);
|
|
16162
16164
|
const by = (0, combi_1.seq)("BY", expressions_1.AssociationName, fields);
|
|
16163
|
-
const
|
|
16165
|
+
const sub = (0, combi_1.seq)((0, combi_1.alt)(all, fields, from, by, byall), result);
|
|
16166
|
+
const single = (0, combi_1.seq)("ENTITY", (0, combi_1.opt)("IN LOCAL MODE"), (0, combi_1.alt)(expressions_1.NamespaceSimpleName, expressions_1.EntityAssociation), (0, combi_1.plus)(sub), (0, combi_1.optPrio)(failed), (0, combi_1.optPrio)(reported));
|
|
16164
16167
|
return (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)("READ", (0, combi_1.alt)(s, single)));
|
|
16165
16168
|
}
|
|
16166
16169
|
}
|
|
@@ -24373,6 +24376,8 @@ class BasicTypes {
|
|
|
24373
24376
|
return new Types.TableType(structure, options);
|
|
24374
24377
|
}
|
|
24375
24378
|
else if (typename && (text.startsWith("TYPE TABLE FOR CREATE ")
|
|
24379
|
+
|| text.startsWith("TYPE TABLE FOR READ ")
|
|
24380
|
+
|| text.startsWith("TYPE TABLE FOR DELETE ")
|
|
24376
24381
|
|| text.startsWith("TYPE TABLE FOR UPDATE "))) {
|
|
24377
24382
|
const name = typename.concatTokens();
|
|
24378
24383
|
const type = (_d = this.input.scope.getDDIC().lookupDDLS(name)) === null || _d === void 0 ? void 0 : _d.type;
|
|
@@ -41705,9 +41710,10 @@ exports.CDSPrefixedName = void 0;
|
|
|
41705
41710
|
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
41706
41711
|
const cds_name_1 = __webpack_require__(/*! ./cds_name */ "./node_modules/@abaplint/core/build/src/cds/expressions/cds_name.js");
|
|
41707
41712
|
const cds_parameters_1 = __webpack_require__(/*! ./cds_parameters */ "./node_modules/@abaplint/core/build/src/cds/expressions/cds_parameters.js");
|
|
41713
|
+
const cds_parameters_select_1 = __webpack_require__(/*! ./cds_parameters_select */ "./node_modules/@abaplint/core/build/src/cds/expressions/cds_parameters_select.js");
|
|
41708
41714
|
class CDSPrefixedName extends combi_1.Expression {
|
|
41709
41715
|
getRunnable() {
|
|
41710
|
-
return (0, combi_1.seq)(cds_name_1.CDSName, (0, combi_1.opt)(cds_parameters_1.CDSParameters), (0, combi_1.star)((0, combi_1.seq)(".", cds_name_1.CDSName, (0, combi_1.opt)(cds_parameters_1.CDSParameters))));
|
|
41716
|
+
return (0, combi_1.seq)(cds_name_1.CDSName, (0, combi_1.opt)((0, combi_1.alt)(cds_parameters_1.CDSParameters, cds_parameters_select_1.CDSParametersSelect)), (0, combi_1.star)((0, combi_1.seq)(".", cds_name_1.CDSName, (0, combi_1.opt)(cds_parameters_1.CDSParameters))));
|
|
41711
41717
|
}
|
|
41712
41718
|
}
|
|
41713
41719
|
exports.CDSPrefixedName = CDSPrefixedName;
|
|
@@ -54481,7 +54487,7 @@ class Registry {
|
|
|
54481
54487
|
}
|
|
54482
54488
|
static abaplintVersion() {
|
|
54483
54489
|
// magic, see build script "version.sh"
|
|
54484
|
-
return "2.113.
|
|
54490
|
+
return "2.113.209";
|
|
54485
54491
|
}
|
|
54486
54492
|
getDDICReferences() {
|
|
54487
54493
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.209",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.113.
|
|
41
|
+
"@abaplint/core": "^2.113.209",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|