@abaplint/cli 2.113.208 → 2.113.210
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 +13 -6
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -15214,8 +15214,10 @@ 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 create4 = (0, combi_1.seq)("CREATE FROM", expressions_1.Source, (0, combi_1.plus)((0, combi_1.seq)("CREATE BY", expressions_1.AssociationName, "FROM", expressions_1.Source)));
|
|
15220
|
+
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, create4));
|
|
15219
15221
|
return (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)("MODIFY", (0, combi_1.alt)(entities, entity), end));
|
|
15220
15222
|
}
|
|
15221
15223
|
}
|
|
@@ -16159,8 +16161,10 @@ class ReadEntities {
|
|
|
16159
16161
|
const reported = (0, combi_1.seq)("REPORTED", expressions_1.Target);
|
|
16160
16162
|
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
16163
|
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)));
|
|
16164
|
+
const byall = (0, combi_1.seq)("BY", expressions_1.AssociationName, all);
|
|
16162
16165
|
const by = (0, combi_1.seq)("BY", expressions_1.AssociationName, fields);
|
|
16163
|
-
const
|
|
16166
|
+
const sub = (0, combi_1.seq)((0, combi_1.alt)(all, fields, from, by, byall), result);
|
|
16167
|
+
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
16168
|
return (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)("READ", (0, combi_1.alt)(s, single)));
|
|
16165
16169
|
}
|
|
16166
16170
|
}
|
|
@@ -24237,7 +24241,7 @@ class BasicTypes {
|
|
|
24237
24241
|
}
|
|
24238
24242
|
parseTable(node, name) {
|
|
24239
24243
|
var _a, _b, _c, _d;
|
|
24240
|
-
const typename = node.findFirstExpression(Expressions.TypeName);
|
|
24244
|
+
const typename = node.findFirstExpression(Expressions.TypeName) || node.findFirstExpression(Expressions.EntityAssociation);
|
|
24241
24245
|
const text = (_a = node.findFirstExpression(Expressions.TypeTable)) === null || _a === void 0 ? void 0 : _a.concatTokens().toUpperCase();
|
|
24242
24246
|
if (text === undefined) {
|
|
24243
24247
|
return undefined;
|
|
@@ -24373,6 +24377,8 @@ class BasicTypes {
|
|
|
24373
24377
|
return new Types.TableType(structure, options);
|
|
24374
24378
|
}
|
|
24375
24379
|
else if (typename && (text.startsWith("TYPE TABLE FOR CREATE ")
|
|
24380
|
+
|| text.startsWith("TYPE TABLE FOR READ ")
|
|
24381
|
+
|| text.startsWith("TYPE TABLE FOR DELETE ")
|
|
24376
24382
|
|| text.startsWith("TYPE TABLE FOR UPDATE "))) {
|
|
24377
24383
|
const name = typename.concatTokens();
|
|
24378
24384
|
const type = (_d = this.input.scope.getDDIC().lookupDDLS(name)) === null || _d === void 0 ? void 0 : _d.type;
|
|
@@ -41705,9 +41711,10 @@ exports.CDSPrefixedName = void 0;
|
|
|
41705
41711
|
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
41706
41712
|
const cds_name_1 = __webpack_require__(/*! ./cds_name */ "./node_modules/@abaplint/core/build/src/cds/expressions/cds_name.js");
|
|
41707
41713
|
const cds_parameters_1 = __webpack_require__(/*! ./cds_parameters */ "./node_modules/@abaplint/core/build/src/cds/expressions/cds_parameters.js");
|
|
41714
|
+
const cds_parameters_select_1 = __webpack_require__(/*! ./cds_parameters_select */ "./node_modules/@abaplint/core/build/src/cds/expressions/cds_parameters_select.js");
|
|
41708
41715
|
class CDSPrefixedName extends combi_1.Expression {
|
|
41709
41716
|
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))));
|
|
41717
|
+
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
41718
|
}
|
|
41712
41719
|
}
|
|
41713
41720
|
exports.CDSPrefixedName = CDSPrefixedName;
|
|
@@ -54481,7 +54488,7 @@ class Registry {
|
|
|
54481
54488
|
}
|
|
54482
54489
|
static abaplintVersion() {
|
|
54483
54490
|
// magic, see build script "version.sh"
|
|
54484
|
-
return "2.113.
|
|
54491
|
+
return "2.113.210";
|
|
54485
54492
|
}
|
|
54486
54493
|
getDDICReferences() {
|
|
54487
54494
|
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.210",
|
|
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.210",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|