@abaplint/cli 2.113.202 → 2.113.204
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 +79 -38
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -1250,19 +1250,17 @@ const virtual_position_1 = __webpack_require__(/*! ../../virtual_position */ "./
|
|
|
1250
1250
|
const tokens_1 = __webpack_require__(/*! ./tokens */ "./node_modules/@abaplint/core/build/src/abap/1_lexer/tokens/index.js");
|
|
1251
1251
|
const lexer_buffer_1 = __webpack_require__(/*! ./lexer_buffer */ "./node_modules/@abaplint/core/build/src/abap/1_lexer/lexer_buffer.js");
|
|
1252
1252
|
const lexer_stream_1 = __webpack_require__(/*! ./lexer_stream */ "./node_modules/@abaplint/core/build/src/abap/1_lexer/lexer_stream.js");
|
|
1253
|
+
const ModeNormal = 1;
|
|
1254
|
+
const ModePing = 2;
|
|
1255
|
+
const ModeStr = 3;
|
|
1256
|
+
const ModeTemplate = 4;
|
|
1257
|
+
const ModeComment = 5;
|
|
1258
|
+
const ModePragma = 6;
|
|
1253
1259
|
class Lexer {
|
|
1254
|
-
constructor() {
|
|
1255
|
-
this.ModeNormal = 1;
|
|
1256
|
-
this.ModePing = 2;
|
|
1257
|
-
this.ModeStr = 3;
|
|
1258
|
-
this.ModeTemplate = 4;
|
|
1259
|
-
this.ModeComment = 5;
|
|
1260
|
-
this.ModePragma = 6;
|
|
1261
|
-
}
|
|
1262
1260
|
run(file, virtual) {
|
|
1263
1261
|
this.virtual = virtual;
|
|
1264
1262
|
this.tokens = [];
|
|
1265
|
-
this.m =
|
|
1263
|
+
this.m = ModeNormal;
|
|
1266
1264
|
this.process(file.getRaw());
|
|
1267
1265
|
return { file, tokens: this.tokens };
|
|
1268
1266
|
}
|
|
@@ -1288,13 +1286,13 @@ class Lexer {
|
|
|
1288
1286
|
pos = new virtual_position_1.VirtualPosition(this.virtual, pos.getRow(), pos.getCol());
|
|
1289
1287
|
}
|
|
1290
1288
|
let tok = undefined;
|
|
1291
|
-
if (this.m ===
|
|
1289
|
+
if (this.m === ModeComment) {
|
|
1292
1290
|
tok = new tokens_1.Comment(pos, s);
|
|
1293
1291
|
}
|
|
1294
|
-
else if (this.m ===
|
|
1292
|
+
else if (this.m === ModePing || this.m === ModeStr) {
|
|
1295
1293
|
tok = new tokens_1.StringToken(pos, s);
|
|
1296
1294
|
}
|
|
1297
|
-
else if (this.m ===
|
|
1295
|
+
else if (this.m === ModeTemplate) {
|
|
1298
1296
|
const first = s.charAt(0);
|
|
1299
1297
|
const last = s.charAt(s.length - 1);
|
|
1300
1298
|
if (first === "|" && last === "|") {
|
|
@@ -1487,35 +1485,35 @@ class Lexer {
|
|
|
1487
1485
|
const buf = this.buffer.add(current);
|
|
1488
1486
|
const ahead = this.stream.nextChar();
|
|
1489
1487
|
const aahead = this.stream.nextNextChar();
|
|
1490
|
-
if (this.m ===
|
|
1488
|
+
if (this.m === ModeNormal) {
|
|
1491
1489
|
if (splits[ahead]) {
|
|
1492
1490
|
this.add();
|
|
1493
1491
|
}
|
|
1494
1492
|
else if (ahead === "'") {
|
|
1495
1493
|
// start string
|
|
1496
1494
|
this.add();
|
|
1497
|
-
this.m =
|
|
1495
|
+
this.m = ModeStr;
|
|
1498
1496
|
}
|
|
1499
1497
|
else if (ahead === "|" || ahead === "}") {
|
|
1500
1498
|
// start template
|
|
1501
1499
|
this.add();
|
|
1502
|
-
this.m =
|
|
1500
|
+
this.m = ModeTemplate;
|
|
1503
1501
|
}
|
|
1504
1502
|
else if (ahead === "`") {
|
|
1505
1503
|
// start ping
|
|
1506
1504
|
this.add();
|
|
1507
|
-
this.m =
|
|
1505
|
+
this.m = ModePing;
|
|
1508
1506
|
}
|
|
1509
1507
|
else if (aahead === "##") {
|
|
1510
1508
|
// start pragma
|
|
1511
1509
|
this.add();
|
|
1512
|
-
this.m =
|
|
1510
|
+
this.m = ModePragma;
|
|
1513
1511
|
}
|
|
1514
1512
|
else if (ahead === "\""
|
|
1515
1513
|
|| (ahead === "*" && current === "\n")) {
|
|
1516
1514
|
// start comment
|
|
1517
1515
|
this.add();
|
|
1518
|
-
this.m =
|
|
1516
|
+
this.m = ModeComment;
|
|
1519
1517
|
}
|
|
1520
1518
|
else if (ahead === "@" && buf.trim().length === 0) {
|
|
1521
1519
|
this.add();
|
|
@@ -1536,12 +1534,12 @@ class Lexer {
|
|
|
1536
1534
|
this.add();
|
|
1537
1535
|
}
|
|
1538
1536
|
}
|
|
1539
|
-
else if (this.m ===
|
|
1537
|
+
else if (this.m === ModePragma && (ahead === "," || ahead === ":" || ahead === "." || ahead === " " || ahead === "\n")) {
|
|
1540
1538
|
// end of pragma
|
|
1541
1539
|
this.add();
|
|
1542
|
-
this.m =
|
|
1540
|
+
this.m = ModeNormal;
|
|
1543
1541
|
}
|
|
1544
|
-
else if (this.m ===
|
|
1542
|
+
else if (this.m === ModePing
|
|
1545
1543
|
&& buf.length > 1
|
|
1546
1544
|
&& current === "`"
|
|
1547
1545
|
&& aahead !== "``"
|
|
@@ -1550,26 +1548,26 @@ class Lexer {
|
|
|
1550
1548
|
// end of ping
|
|
1551
1549
|
this.add();
|
|
1552
1550
|
if (ahead === `"`) {
|
|
1553
|
-
this.m =
|
|
1551
|
+
this.m = ModeComment;
|
|
1554
1552
|
}
|
|
1555
1553
|
else {
|
|
1556
|
-
this.m =
|
|
1554
|
+
this.m = ModeNormal;
|
|
1557
1555
|
}
|
|
1558
1556
|
}
|
|
1559
|
-
else if (this.m ===
|
|
1557
|
+
else if (this.m === ModeTemplate
|
|
1560
1558
|
&& buf.length > 1
|
|
1561
1559
|
&& (current === "|" || current === "{")
|
|
1562
1560
|
&& (this.stream.prevChar() !== "\\" || this.stream.prevPrevChar() === "\\\\")) {
|
|
1563
1561
|
// end of template
|
|
1564
1562
|
this.add();
|
|
1565
|
-
this.m =
|
|
1563
|
+
this.m = ModeNormal;
|
|
1566
1564
|
}
|
|
1567
|
-
else if (this.m ===
|
|
1565
|
+
else if (this.m === ModeTemplate
|
|
1568
1566
|
&& ahead === "}"
|
|
1569
1567
|
&& current !== "\\") {
|
|
1570
1568
|
this.add();
|
|
1571
1569
|
}
|
|
1572
|
-
else if (this.m ===
|
|
1570
|
+
else if (this.m === ModeStr
|
|
1573
1571
|
&& current === "'"
|
|
1574
1572
|
&& buf.length > 1
|
|
1575
1573
|
&& aahead !== "''"
|
|
@@ -1578,17 +1576,17 @@ class Lexer {
|
|
|
1578
1576
|
// end of string
|
|
1579
1577
|
this.add();
|
|
1580
1578
|
if (ahead === "\"") {
|
|
1581
|
-
this.m =
|
|
1579
|
+
this.m = ModeComment;
|
|
1582
1580
|
}
|
|
1583
1581
|
else {
|
|
1584
|
-
this.m =
|
|
1582
|
+
this.m = ModeNormal;
|
|
1585
1583
|
}
|
|
1586
1584
|
}
|
|
1587
|
-
else if (ahead === "\n" && this.m !==
|
|
1585
|
+
else if (ahead === "\n" && this.m !== ModeTemplate) {
|
|
1588
1586
|
this.add();
|
|
1589
|
-
this.m =
|
|
1587
|
+
this.m = ModeNormal;
|
|
1590
1588
|
}
|
|
1591
|
-
else if (this.m ===
|
|
1589
|
+
else if (this.m === ModeTemplate && current === "\n") {
|
|
1592
1590
|
this.add();
|
|
1593
1591
|
}
|
|
1594
1592
|
if (!this.stream.advance()) {
|
|
@@ -8611,9 +8609,14 @@ class SQLFunction extends combi_1.Expression {
|
|
|
8611
8609
|
const concat_with_space = (0, combi_1.ver)(version_1.Version.v751, (0, combi_1.seq)((0, combi_1.regex)(/^concat_with_space$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, commaParam, commaParam, (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
8612
8610
|
// dunno if the version for substring is correct
|
|
8613
8611
|
const substring = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)((0, combi_1.regex)(/^substring$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, commaParam, commaParam, (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
8612
|
+
// dunno if the version for substring is correct
|
|
8613
|
+
const dats_is_valid = (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)((0, combi_1.regex)(/^dats_is_valid$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
8614
|
+
const dats_days_between = (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)((0, combi_1.regex)(/^dats_days_between$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, commaParam, (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
8615
|
+
const dats_add_days = (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)((0, combi_1.regex)(/^dats_is_valid$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, commaParam, (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
8616
|
+
const dats_add_months = (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)((0, combi_1.regex)(/^dats_is_valid$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, commaParam, (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
8614
8617
|
const ltrim = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)((0, combi_1.regex)(/^ltrim$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, commaParam, (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
8615
8618
|
const rtrim = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)((0, combi_1.regex)(/^rtrim$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, commaParam, (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
8616
|
-
return (0, combi_1.altPrio)(uuid, abs, ceil, floor, cast, div, mod, coalesce, concat, replace, length, lower, upper, round, concat_with_space, ltrim, rtrim, substring);
|
|
8619
|
+
return (0, combi_1.altPrio)(uuid, abs, ceil, floor, cast, div, mod, coalesce, concat, replace, length, lower, upper, round, concat_with_space, ltrim, rtrim, substring, dats_is_valid, dats_days_between, dats_add_days, dats_add_months);
|
|
8617
8620
|
}
|
|
8618
8621
|
}
|
|
8619
8622
|
exports.SQLFunction = SQLFunction;
|
|
@@ -9613,7 +9616,7 @@ class TypeTable extends combi_1.Expression {
|
|
|
9613
9616
|
// "WITH" is not allowed as a field name in keys
|
|
9614
9617
|
const typetable = (0, combi_1.alt)(generic, (0, combi_1.seq)(normal1, (0, combi_1.alt)((0, combi_1.opt)((0, combi_1.per)(header, initial, (0, combi_1.plusPrio)(type_table_key_1.TypeTableKey))), (0, combi_1.seq)((0, combi_1.plus)(type_table_key_1.TypeTableKey), (0, combi_1.optPrio)(initial))), (0, combi_1.optPrio)("VALUE IS INITIAL")));
|
|
9615
9618
|
const occurs = (0, combi_1.seq)("OCCURS", (0, combi_1.altPrio)(_1.Integer, field_chain_1.FieldChain));
|
|
9616
|
-
const derived = (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)("TABLE FOR", (0, combi_1.altPrio)("ACTION IMPORT", "ACTION RESULT", "CREATE", "EVENT", "REPORTED EARLY", "FAILED EARLY", "FAILED", "LOCK", "DETERMINATION", "READ RESULT", "UPDATE"), (0, combi_1.alt)(_1.TypeName, _1.EntityAssociation)));
|
|
9619
|
+
const derived = (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)("TABLE FOR", (0, combi_1.altPrio)("ACTION IMPORT", "ACTION RESULT", "CREATE", "EVENT", "REPORTED EARLY", "FAILED EARLY", "FAILED", "LOCK", "DETERMINATION", "READ RESULT", "UPDATE", "DELETE"), (0, combi_1.alt)(_1.TypeName, _1.EntityAssociation)));
|
|
9617
9620
|
const oldType = (0, combi_1.seq)((0, combi_1.opt)("REF TO"), _1.TypeName, (0, combi_1.alt)((0, combi_1.seq)(occurs, (0, combi_1.opt)(header)), header));
|
|
9618
9621
|
const oldLike = (0, combi_1.seq)((0, combi_1.opt)("REF TO"), field_chain_1.FieldChain, (0, combi_1.alt)((0, combi_1.seq)(occurs, (0, combi_1.opt)(header)), header));
|
|
9619
9622
|
const typeLine = (0, combi_1.seq)("LINE OF", _1.TypeName, occurs, header);
|
|
@@ -15116,7 +15119,7 @@ class MethodDef {
|
|
|
15116
15119
|
const forfunction = (0, combi_1.seq)("FOR FUNCTION", expressions_1.TypeName, result);
|
|
15117
15120
|
const behavior = (0, combi_1.altPrio)("DDL OBJECT OPTIONS CDS SESSION CLIENT REQUIRED", // todo, this is only from version something
|
|
15118
15121
|
(0, combi_1.seq)("TABLE FUNCTION", expressions_1.NamespaceSimpleName), // todo, this is only from version something
|
|
15119
|
-
(0, combi_1.seq)("VALIDATE ON SAVE IMPORTING", expressions_1.MethodParamName, "FOR", expressions_1.TypeName), (0, combi_1.seq)("MODIFY IMPORTING", (0, combi_1.plus)((0, combi_1.seq)(expressions_1.MethodParamName, modify))), (0, combi_1.seq)("PRECHECK IMPORTING", expressions_1.MethodParamName, modify), (0, combi_1.seq)("NUMBERING IMPORTING", expressions_1.MethodParamName, modify), (0, combi_1.seq)("READ IMPORTING", expressions_1.MethodParamName, (0, combi_1.altPrio)(forRead, forfunction)), (0, combi_1.seq)("FEATURES IMPORTING", expressions_1.MethodParamName, "REQUEST", expressions_1.NamespaceSimpleName, "FOR", expressions_1.NamespaceSimpleName, result), (0, combi_1.seq)("BEHAVIOR IMPORTING", expressions_1.MethodParamName, "FOR CREATE", expressions_1.TypeName, expressions_1.MethodParamName, "FOR UPDATE", expressions_1.TypeName, expressions_1.MethodParamName, "FOR DELETE", expressions_1.TypeName), (0, combi_1.seq)("BEHAVIOR IMPORTING", expressions_1.MethodParamName, "FOR READ", expressions_1.TypeName, result), (0, combi_1.seq)((0, combi_1.alt)("BEHAVIOR", "LOCK"), "IMPORTING", expressions_1.MethodParamName, "FOR LOCK", expressions_1.TypeName), (0, combi_1.seq)("DETERMINE", (0, combi_1.alt)("ON MODIFY", "ON SAVE"), "IMPORTING", expressions_1.MethodParamName, "FOR", expressions_1.TypeName), (0, combi_1.seq)("GLOBAL AUTHORIZATION IMPORTING REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result), (0, combi_1.seq)("GLOBAL FEATURES IMPORTING REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result), (0, combi_1.seq)("INSTANCE AUTHORIZATION IMPORTING", expressions_1.MethodParamName, "REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result), (0, combi_1.seq)("INSTANCE FEATURES IMPORTING", expressions_1.MethodParamName, "REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result));
|
|
15122
|
+
(0, combi_1.seq)("VALIDATE ON SAVE IMPORTING", expressions_1.MethodParamName, "FOR", expressions_1.TypeName), (0, combi_1.seq)("MODIFY IMPORTING", (0, combi_1.plus)((0, combi_1.seq)(expressions_1.MethodParamName, modify))), (0, combi_1.seq)("PRECHECK IMPORTING", expressions_1.MethodParamName, modify), (0, combi_1.seq)("NUMBERING IMPORTING", expressions_1.MethodParamName, modify), (0, combi_1.seq)("READ IMPORTING", expressions_1.MethodParamName, (0, combi_1.altPrio)(forRead, forfunction)), (0, combi_1.seq)("FEATURES IMPORTING", expressions_1.MethodParamName, "REQUEST", expressions_1.NamespaceSimpleName, "FOR", expressions_1.NamespaceSimpleName, result), (0, combi_1.seq)("BEHAVIOR IMPORTING", expressions_1.MethodParamName, "FOR CREATE", expressions_1.TypeName, expressions_1.MethodParamName, "FOR UPDATE", expressions_1.TypeName, expressions_1.MethodParamName, "FOR DELETE", expressions_1.TypeName), (0, combi_1.seq)("BEHAVIOR IMPORTING", expressions_1.MethodParamName, "FOR READ", expressions_1.TypeName, result), (0, combi_1.seq)((0, combi_1.alt)("BEHAVIOR", "LOCK"), "IMPORTING", expressions_1.MethodParamName, "FOR LOCK", expressions_1.TypeName), (0, combi_1.seq)("DETERMINE", (0, combi_1.alt)("ON MODIFY", "ON SAVE"), "IMPORTING", expressions_1.MethodParamName, "FOR", expressions_1.TypeName), (0, combi_1.seq)("GLOBAL AUTHORIZATION IMPORTING REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result), (0, combi_1.seq)("GLOBAL FEATURES IMPORTING REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result), (0, combi_1.seq)((0, combi_1.seq)((0, combi_1.opt)("INSTANCE"), "AUTHORIZATION IMPORTING"), expressions_1.MethodParamName, "REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result), (0, combi_1.seq)("INSTANCE FEATURES IMPORTING", expressions_1.MethodParamName, "REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result));
|
|
15120
15123
|
// todo, this is only from version something
|
|
15121
15124
|
const amdp = (0, combi_1.seq)("AMDP OPTIONS", (0, combi_1.optPrio)("READ-ONLY"), "CDS SESSION CLIENT CURRENT", (0, combi_1.optPrio)(expressions_1.MethodDefImporting), (0, combi_1.optPrio)(expressions_1.MethodDefExporting), (0, combi_1.optPrio)(expressions_1.MethodDefRaising));
|
|
15122
15125
|
const ret = (0, combi_1.seq)((0, combi_1.altPrio)("CLASS-METHODS", "METHODS"), expressions_1.MethodName, (0, combi_1.alt)((0, combi_1.seq)((0, combi_1.optPrio)(expressions_1.Abstract), (0, combi_1.optPrio)(def), expressions_1.EventHandler), parameters, testing, (0, combi_1.seq)("FOR", behavior), amdp, "NOT AT END OF MODE", (0, combi_1.optPrio)(expressions_1.Redefinition)));
|
|
@@ -15198,7 +15201,7 @@ class ModifyEntities {
|
|
|
15198
15201
|
const fieldsWith = (0, combi_1.seq)("FIELDS (", (0, combi_1.plus)(expressions_1.SimpleName), ")", withh);
|
|
15199
15202
|
const by = (0, combi_1.seq)("BY", expressions_1.AssociationName);
|
|
15200
15203
|
const relating = (0, combi_1.seq)("RELATING TO", expressions_1.NamespaceSimpleName, "BY", expressions_1.NamespaceSimpleName);
|
|
15201
|
-
const operation = (0, combi_1.alt)((0, combi_1.seq)("UPDATE SET FIELDS WITH", expressions_1.Source), (0, combi_1.seq)("CREATE SET FIELDS WITH", expressions_1.Source), (0, combi_1.seq)("UPDATE", fieldsWith), (0, combi_1.seq)("DELETE FROM", expressions_1.Source), (0, combi_1.seq)("UPDATE FROM", expressions_1.Source, relating), (0, combi_1.seq)("CREATE", (0, combi_1.opt)(by), "FROM", expressions_1.Source, (0, combi_1.opt)(relating)), (0, combi_1.seq)("EXECUTE", expressions_1.SimpleName, "FROM", expressions_1.Source), (0, combi_1.seq)("CREATE", (0, combi_1.opt)(by), (0, combi_1.optPrio)("AUTO FILL CID"), (0, combi_1.altPrio)(withh, fieldsWith)));
|
|
15204
|
+
const operation = (0, combi_1.alt)((0, combi_1.seq)("UPDATE SET FIELDS WITH", expressions_1.Source), (0, combi_1.seq)("CREATE SET FIELDS WITH", expressions_1.Source), (0, combi_1.seq)("UPDATE", fieldsWith), (0, combi_1.seq)("DELETE FROM", expressions_1.Source), (0, combi_1.seq)("UPDATE FROM", expressions_1.Source, (0, combi_1.opt)(relating)), (0, combi_1.seq)("CREATE", (0, combi_1.opt)(by), "FROM", expressions_1.Source, (0, combi_1.opt)(relating)), (0, combi_1.seq)("EXECUTE", expressions_1.SimpleName, "FROM", expressions_1.Source), (0, combi_1.seq)("CREATE", (0, combi_1.opt)(by), (0, combi_1.optPrio)("AUTO FILL CID"), (0, combi_1.altPrio)(withh, fieldsWith)));
|
|
15202
15205
|
const failed = (0, combi_1.seq)("FAILED", expressions_1.Target);
|
|
15203
15206
|
const result = (0, combi_1.seq)("RESULT", expressions_1.Target);
|
|
15204
15207
|
const mapped = (0, combi_1.seq)("MAPPED", expressions_1.Target);
|
|
@@ -47762,6 +47765,37 @@ exports.BusinessObjectType = BusinessObjectType;
|
|
|
47762
47765
|
|
|
47763
47766
|
/***/ }),
|
|
47764
47767
|
|
|
47768
|
+
/***/ "./node_modules/@abaplint/core/build/src/objects/cds_entity_buffer.js":
|
|
47769
|
+
/*!****************************************************************************!*\
|
|
47770
|
+
!*** ./node_modules/@abaplint/core/build/src/objects/cds_entity_buffer.js ***!
|
|
47771
|
+
\****************************************************************************/
|
|
47772
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
47773
|
+
|
|
47774
|
+
"use strict";
|
|
47775
|
+
|
|
47776
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
47777
|
+
exports.CDSEntityBuffer = void 0;
|
|
47778
|
+
const _abstract_object_1 = __webpack_require__(/*! ./_abstract_object */ "./node_modules/@abaplint/core/build/src/objects/_abstract_object.js");
|
|
47779
|
+
class CDSEntityBuffer extends _abstract_object_1.AbstractObject {
|
|
47780
|
+
getType() {
|
|
47781
|
+
return "DTEB";
|
|
47782
|
+
}
|
|
47783
|
+
getAllowedNaming() {
|
|
47784
|
+
return {
|
|
47785
|
+
maxLength: 30,
|
|
47786
|
+
allowNamespace: true,
|
|
47787
|
+
};
|
|
47788
|
+
}
|
|
47789
|
+
getDescription() {
|
|
47790
|
+
// todo
|
|
47791
|
+
return undefined;
|
|
47792
|
+
}
|
|
47793
|
+
}
|
|
47794
|
+
exports.CDSEntityBuffer = CDSEntityBuffer;
|
|
47795
|
+
//# sourceMappingURL=cds_entity_buffer.js.map
|
|
47796
|
+
|
|
47797
|
+
/***/ }),
|
|
47798
|
+
|
|
47765
47799
|
/***/ "./node_modules/@abaplint/core/build/src/objects/cds_metadata_extension.js":
|
|
47766
47800
|
/*!*********************************************************************************!*\
|
|
47767
47801
|
!*** ./node_modules/@abaplint/core/build/src/objects/cds_metadata_extension.js ***!
|
|
@@ -50302,6 +50336,7 @@ __exportStar(__webpack_require__(/*! ./behavior_definition */ "./node_modules/@a
|
|
|
50302
50336
|
__exportStar(__webpack_require__(/*! ./brf_plus_system_application */ "./node_modules/@abaplint/core/build/src/objects/brf_plus_system_application.js"), exports);
|
|
50303
50337
|
__exportStar(__webpack_require__(/*! ./bsp_application */ "./node_modules/@abaplint/core/build/src/objects/bsp_application.js"), exports);
|
|
50304
50338
|
__exportStar(__webpack_require__(/*! ./business_add_in_implementation */ "./node_modules/@abaplint/core/build/src/objects/business_add_in_implementation.js"), exports);
|
|
50339
|
+
__exportStar(__webpack_require__(/*! ./cds_entity_buffer */ "./node_modules/@abaplint/core/build/src/objects/cds_entity_buffer.js"), exports);
|
|
50305
50340
|
__exportStar(__webpack_require__(/*! ./business_catalog_app_assignment */ "./node_modules/@abaplint/core/build/src/objects/business_catalog_app_assignment.js"), exports);
|
|
50306
50341
|
__exportStar(__webpack_require__(/*! ./business_catalog */ "./node_modules/@abaplint/core/build/src/objects/business_catalog.js"), exports);
|
|
50307
50342
|
__exportStar(__webpack_require__(/*! ./business_configuration_maintenance_object */ "./node_modules/@abaplint/core/build/src/objects/business_configuration_maintenance_object.js"), exports);
|
|
@@ -53392,7 +53427,7 @@ class Table extends _abstract_object_1.AbstractObject {
|
|
|
53392
53427
|
}
|
|
53393
53428
|
getAllowedNaming() {
|
|
53394
53429
|
let length = 30;
|
|
53395
|
-
const regex = /^((\/[A-Z_\d]{3,8}\/)|[a-zA-Z0-9]{3})\w+$/;
|
|
53430
|
+
const regex = /^((\/[A-Z_\d]{3,8}\/)|[a-zA-Z0-9]{3}|CI_)\w+$/;
|
|
53396
53431
|
if (this.getTableCategory() === TableCategory.Transparent) {
|
|
53397
53432
|
length = 16;
|
|
53398
53433
|
}
|
|
@@ -53697,6 +53732,11 @@ class TableType extends _abstract_object_1.AbstractObject {
|
|
|
53697
53732
|
this.parseXML();
|
|
53698
53733
|
return (_a = this.parsedXML) === null || _a === void 0 ? void 0 : _a.ddtext;
|
|
53699
53734
|
}
|
|
53735
|
+
getRowType() {
|
|
53736
|
+
var _a;
|
|
53737
|
+
this.parseXML();
|
|
53738
|
+
return (_a = this.parsedXML) === null || _a === void 0 ? void 0 : _a.rowtype;
|
|
53739
|
+
}
|
|
53700
53740
|
setDirty() {
|
|
53701
53741
|
this.parsedXML = undefined;
|
|
53702
53742
|
super.setDirty();
|
|
@@ -55001,7 +55041,7 @@ class Registry {
|
|
|
55001
55041
|
}
|
|
55002
55042
|
static abaplintVersion() {
|
|
55003
55043
|
// magic, see build script "version.sh"
|
|
55004
|
-
return "2.113.
|
|
55044
|
+
return "2.113.204";
|
|
55005
55045
|
}
|
|
55006
55046
|
getDDICReferences() {
|
|
55007
55047
|
return this.ddicReferences;
|
|
@@ -58662,6 +58702,7 @@ class CloudTypes {
|
|
|
58662
58702
|
|| obj instanceof Objects.BusinessCatalogAppAssignment
|
|
58663
58703
|
|| obj instanceof Objects.CDSMetadataExtension
|
|
58664
58704
|
|| obj instanceof Objects.Class
|
|
58705
|
+
|| obj instanceof Objects.CDSEntityBuffer
|
|
58665
58706
|
|| obj instanceof Objects.ApplicationLogObject
|
|
58666
58707
|
|| obj instanceof Objects.CommunicationScenario
|
|
58667
58708
|
|| obj instanceof Objects.DataControl
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.204",
|
|
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.204",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|