@abaplint/cli 2.113.116 → 2.113.118
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 +71 -37
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -10073,9 +10073,9 @@ const expressions_1 = __webpack_require__(/*! ../expressions */ "./node_modules/
|
|
|
10073
10073
|
class Add {
|
|
10074
10074
|
getMatcher() {
|
|
10075
10075
|
const to = (0, combi_1.seq)("TO", expressions_1.Target);
|
|
10076
|
-
const accordingTo = (0, combi_1.seq)("ACCORDING TO", expressions_1.
|
|
10077
|
-
const giving = (0, combi_1.seq)("GIVING", expressions_1.
|
|
10078
|
-
const then = (0, combi_1.seq)("THEN", expressions_1.
|
|
10076
|
+
const accordingTo = (0, combi_1.seq)("ACCORDING TO", expressions_1.Source);
|
|
10077
|
+
const giving = (0, combi_1.seq)("GIVING", expressions_1.Source);
|
|
10078
|
+
const then = (0, combi_1.seq)("THEN", expressions_1.Source, "UNTIL", expressions_1.Source, (0, combi_1.opt)((0, combi_1.per)(giving, accordingTo)), (0, combi_1.opt)(to));
|
|
10079
10079
|
const ret = (0, combi_1.seq)("ADD", expressions_1.Source, (0, combi_1.altPrio)(to, then));
|
|
10080
10080
|
return ret;
|
|
10081
10081
|
}
|
|
@@ -12213,8 +12213,9 @@ class DynproLoop {
|
|
|
12213
12213
|
const into = (0, combi_1.seq)("INTO", simple_source2_1.SimpleSource2);
|
|
12214
12214
|
const cursor = (0, combi_1.seq)("CURSOR", simple_source2_1.SimpleSource2);
|
|
12215
12215
|
const withControl = (0, combi_1.seq)("WITH CONTROL", simple_source2_1.SimpleSource2);
|
|
12216
|
-
const
|
|
12217
|
-
|
|
12216
|
+
const from = (0, combi_1.seq)("FROM", simple_source2_1.SimpleSource2);
|
|
12217
|
+
const to = (0, combi_1.seq)("TO", simple_source2_1.SimpleSource2);
|
|
12218
|
+
return (0, combi_1.seq)("LOOP AT", simple_source2_1.SimpleSource2, (0, combi_1.per)(into, withControl, cursor, from, to));
|
|
12218
12219
|
}
|
|
12219
12220
|
}
|
|
12220
12221
|
exports.DynproLoop = DynproLoop;
|
|
@@ -13149,7 +13150,8 @@ class Field {
|
|
|
13149
13150
|
getMatcher() {
|
|
13150
13151
|
const module = (0, combi_1.seq)("MODULE", expressions_1.FormName, (0, combi_1.opt)((0, combi_1.alt)("ON INPUT", "ON REQUEST", "ON CHAIN-REQUEST")));
|
|
13151
13152
|
const values = (0, combi_1.seq)("VALUES", (0, combi_1.tok)(tokens_1.WParenLeft), "BETWEEN", expressions_1.Constant, "AND", expressions_1.Constant, (0, combi_1.tok)(tokens_1.ParenRightW));
|
|
13152
|
-
const
|
|
13153
|
+
const wit = (0, combi_1.seq)("WITH", expressions_1.FieldChain);
|
|
13154
|
+
const ret = (0, combi_1.seq)("FIELD", expressions_1.FieldChain, (0, combi_1.opt)((0, combi_1.altPrio)(module, values, wit)));
|
|
13153
13155
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
13154
13156
|
}
|
|
13155
13157
|
}
|
|
@@ -19837,9 +19839,10 @@ exports.ProcessAfterInput = void 0;
|
|
|
19837
19839
|
const Statements = __webpack_require__(/*! ../../2_statements/statements */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/index.js");
|
|
19838
19840
|
const _combi_1 = __webpack_require__(/*! ./_combi */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/_combi.js");
|
|
19839
19841
|
const chain_1 = __webpack_require__(/*! ./chain */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/chain.js");
|
|
19842
|
+
const loop_1 = __webpack_require__(/*! ./loop */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/loop.js");
|
|
19840
19843
|
class ProcessAfterInput {
|
|
19841
19844
|
getMatcher() {
|
|
19842
|
-
const pai = (0, _combi_1.star)((0, _combi_1.alt)((0, _combi_1.sta)(Statements.Module), (0, _combi_1.sta)(Statements.Field), (0, _combi_1.sta)(Statements.CallSubscreen), (0, _combi_1.sub)(chain_1.Chain)));
|
|
19845
|
+
const pai = (0, _combi_1.star)((0, _combi_1.alt)((0, _combi_1.sta)(Statements.Module), (0, _combi_1.sta)(Statements.Field), (0, _combi_1.sta)(Statements.CallSubscreen), (0, _combi_1.sub)(chain_1.Chain), (0, _combi_1.sub)(loop_1.Loop)));
|
|
19843
19846
|
return (0, _combi_1.seq)((0, _combi_1.sta)(Statements.ProcessAfterInput), pai);
|
|
19844
19847
|
}
|
|
19845
19848
|
}
|
|
@@ -29017,11 +29020,11 @@ class FindGlobalDefinitions {
|
|
|
29017
29020
|
candidates.push(o);
|
|
29018
29021
|
}
|
|
29019
29022
|
else if (o instanceof objects_1.DataElement
|
|
29020
|
-
|| o instanceof objects_1.
|
|
29023
|
+
|| o instanceof objects_1.Table
|
|
29021
29024
|
|| o instanceof objects_1.TableType
|
|
29025
|
+
|| o instanceof objects_1.View
|
|
29022
29026
|
|| o instanceof objects_1.LockObject
|
|
29023
|
-
|| o instanceof objects_1.AuthorizationCheckField
|
|
29024
|
-
|| o instanceof objects_1.Table) {
|
|
29027
|
+
|| o instanceof objects_1.AuthorizationCheckField) {
|
|
29025
29028
|
o.parseType(this.reg); // make sure the references are set after parsing finishes
|
|
29026
29029
|
}
|
|
29027
29030
|
}
|
|
@@ -32875,6 +32878,7 @@ const source_1 = __webpack_require__(/*! ../expressions/source */ "./node_module
|
|
|
32875
32878
|
const target_1 = __webpack_require__(/*! ../expressions/target */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/target.js");
|
|
32876
32879
|
const _syntax_input_1 = __webpack_require__(/*! ../_syntax_input */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/_syntax_input.js");
|
|
32877
32880
|
const assert_error_1 = __webpack_require__(/*! ../assert_error */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/assert_error.js");
|
|
32881
|
+
const dynamic_1 = __webpack_require__(/*! ../expressions/dynamic */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/dynamic.js");
|
|
32878
32882
|
class Perform {
|
|
32879
32883
|
runSyntax(node, input) {
|
|
32880
32884
|
if (!(node.get() instanceof Statements.Perform)) {
|
|
@@ -32902,7 +32906,9 @@ class Perform {
|
|
|
32902
32906
|
if (node.findFirstExpression(Expressions.IncludeName)) {
|
|
32903
32907
|
return; // in external program, not checked, todo
|
|
32904
32908
|
}
|
|
32905
|
-
|
|
32909
|
+
const dynamic = node.findFirstExpression(Expressions.Dynamic);
|
|
32910
|
+
if (dynamic) {
|
|
32911
|
+
new dynamic_1.Dynamic().runSyntax(dynamic, input);
|
|
32906
32912
|
return; // todo, maybe some parts can be checked
|
|
32907
32913
|
}
|
|
32908
32914
|
const expr = node.findFirstExpression(Expressions.FormName);
|
|
@@ -47894,6 +47900,7 @@ class DataElement extends _abstract_object_1.AbstractObject {
|
|
|
47894
47900
|
constructor() {
|
|
47895
47901
|
super(...arguments);
|
|
47896
47902
|
this.parsedXML = undefined;
|
|
47903
|
+
this.parsedType = undefined;
|
|
47897
47904
|
}
|
|
47898
47905
|
getType() {
|
|
47899
47906
|
return "DTEL";
|
|
@@ -47911,6 +47918,7 @@ class DataElement extends _abstract_object_1.AbstractObject {
|
|
|
47911
47918
|
}
|
|
47912
47919
|
setDirty() {
|
|
47913
47920
|
this.parsedXML = undefined;
|
|
47921
|
+
this.parsedType = undefined;
|
|
47914
47922
|
super.setDirty();
|
|
47915
47923
|
}
|
|
47916
47924
|
getDomainName() {
|
|
@@ -47931,6 +47939,9 @@ class DataElement extends _abstract_object_1.AbstractObject {
|
|
|
47931
47939
|
lookup = { type: new Types.UnknownType("Data Element " + this.getName() + ", parser error") };
|
|
47932
47940
|
}
|
|
47933
47941
|
else {
|
|
47942
|
+
if (this.parsedType) {
|
|
47943
|
+
return this.parsedType;
|
|
47944
|
+
}
|
|
47934
47945
|
const ddic = new ddic_1.DDIC(reg);
|
|
47935
47946
|
if (this.parsedXML.refkind === "D") {
|
|
47936
47947
|
if (this.parsedXML.domname === undefined || this.parsedXML.domname === "") {
|
|
@@ -47970,7 +47981,8 @@ class DataElement extends _abstract_object_1.AbstractObject {
|
|
|
47970
47981
|
references.push({ object: lookup.object });
|
|
47971
47982
|
}
|
|
47972
47983
|
reg.getDDICReferences().setUsing(this, references);
|
|
47973
|
-
|
|
47984
|
+
this.parsedType = lookup.type;
|
|
47985
|
+
return this.parsedType;
|
|
47974
47986
|
}
|
|
47975
47987
|
parse() {
|
|
47976
47988
|
var _a, _b, _c;
|
|
@@ -49501,6 +49513,7 @@ __exportStar(__webpack_require__(/*! ./abap_query_functional_area */ "./node_mod
|
|
|
49501
49513
|
__exportStar(__webpack_require__(/*! ./abap_query_query */ "./node_modules/@abaplint/core/build/src/objects/abap_query_query.js"), exports);
|
|
49502
49514
|
__exportStar(__webpack_require__(/*! ./activation_variant */ "./node_modules/@abaplint/core/build/src/objects/activation_variant.js"), exports);
|
|
49503
49515
|
__exportStar(__webpack_require__(/*! ./api_release_state */ "./node_modules/@abaplint/core/build/src/objects/api_release_state.js"), exports);
|
|
49516
|
+
__exportStar(__webpack_require__(/*! ./application_descriptors_fiori */ "./node_modules/@abaplint/core/build/src/objects/application_descriptors_fiori.js"), exports);
|
|
49504
49517
|
__exportStar(__webpack_require__(/*! ./application_job_catalog_entry */ "./node_modules/@abaplint/core/build/src/objects/application_job_catalog_entry.js"), exports);
|
|
49505
49518
|
__exportStar(__webpack_require__(/*! ./application_job_template */ "./node_modules/@abaplint/core/build/src/objects/application_job_template.js"), exports);
|
|
49506
49519
|
__exportStar(__webpack_require__(/*! ./application_log_object */ "./node_modules/@abaplint/core/build/src/objects/application_log_object.js"), exports);
|
|
@@ -49509,11 +49522,11 @@ __exportStar(__webpack_require__(/*! ./atc_check_category */ "./node_modules/@ab
|
|
|
49509
49522
|
__exportStar(__webpack_require__(/*! ./atc_check_object */ "./node_modules/@abaplint/core/build/src/objects/atc_check_object.js"), exports);
|
|
49510
49523
|
__exportStar(__webpack_require__(/*! ./atc_check_variant */ "./node_modules/@abaplint/core/build/src/objects/atc_check_variant.js"), exports);
|
|
49511
49524
|
__exportStar(__webpack_require__(/*! ./authorization_check_field */ "./node_modules/@abaplint/core/build/src/objects/authorization_check_field.js"), exports);
|
|
49512
|
-
__exportStar(__webpack_require__(/*! ./application_descriptors_fiori */ "./node_modules/@abaplint/core/build/src/objects/application_descriptors_fiori.js"), exports);
|
|
49513
49525
|
__exportStar(__webpack_require__(/*! ./authorization_group */ "./node_modules/@abaplint/core/build/src/objects/authorization_group.js"), exports);
|
|
49514
49526
|
__exportStar(__webpack_require__(/*! ./authorization_object_class */ "./node_modules/@abaplint/core/build/src/objects/authorization_object_class.js"), exports);
|
|
49515
49527
|
__exportStar(__webpack_require__(/*! ./authorization_object_extension */ "./node_modules/@abaplint/core/build/src/objects/authorization_object_extension.js"), exports);
|
|
49516
49528
|
__exportStar(__webpack_require__(/*! ./authorization_object */ "./node_modules/@abaplint/core/build/src/objects/authorization_object.js"), exports);
|
|
49529
|
+
__exportStar(__webpack_require__(/*! ./badi_definition */ "./node_modules/@abaplint/core/build/src/objects/badi_definition.js"), exports);
|
|
49517
49530
|
__exportStar(__webpack_require__(/*! ./behavior_definition */ "./node_modules/@abaplint/core/build/src/objects/behavior_definition.js"), exports);
|
|
49518
49531
|
__exportStar(__webpack_require__(/*! ./brf_plus_system_application */ "./node_modules/@abaplint/core/build/src/objects/brf_plus_system_application.js"), exports);
|
|
49519
49532
|
__exportStar(__webpack_require__(/*! ./bsp_application */ "./node_modules/@abaplint/core/build/src/objects/bsp_application.js"), exports);
|
|
@@ -49526,8 +49539,6 @@ __exportStar(__webpack_require__(/*! ./business_function_set_assignment */ "./no
|
|
|
49526
49539
|
__exportStar(__webpack_require__(/*! ./business_object_model */ "./node_modules/@abaplint/core/build/src/objects/business_object_model.js"), exports);
|
|
49527
49540
|
__exportStar(__webpack_require__(/*! ./business_object_type */ "./node_modules/@abaplint/core/build/src/objects/business_object_type.js"), exports);
|
|
49528
49541
|
__exportStar(__webpack_require__(/*! ./cds_metadata_extension */ "./node_modules/@abaplint/core/build/src/objects/cds_metadata_extension.js"), exports);
|
|
49529
|
-
__exportStar(__webpack_require__(/*! ./badi_definition */ "./node_modules/@abaplint/core/build/src/objects/badi_definition.js"), exports);
|
|
49530
|
-
__exportStar(__webpack_require__(/*! ./entity_type */ "./node_modules/@abaplint/core/build/src/objects/entity_type.js"), exports);
|
|
49531
49542
|
__exportStar(__webpack_require__(/*! ./cds_type */ "./node_modules/@abaplint/core/build/src/objects/cds_type.js"), exports);
|
|
49532
49543
|
__exportStar(__webpack_require__(/*! ./change_document */ "./node_modules/@abaplint/core/build/src/objects/change_document.js"), exports);
|
|
49533
49544
|
__exportStar(__webpack_require__(/*! ./chapter_of_book_structure */ "./node_modules/@abaplint/core/build/src/objects/chapter_of_book_structure.js"), exports);
|
|
@@ -49553,6 +49564,7 @@ __exportStar(__webpack_require__(/*! ./ecatt_test_data_container */ "./node_modu
|
|
|
49553
49564
|
__exportStar(__webpack_require__(/*! ./ecatt_test_script */ "./node_modules/@abaplint/core/build/src/objects/ecatt_test_script.js"), exports);
|
|
49554
49565
|
__exportStar(__webpack_require__(/*! ./enhancement_implementation */ "./node_modules/@abaplint/core/build/src/objects/enhancement_implementation.js"), exports);
|
|
49555
49566
|
__exportStar(__webpack_require__(/*! ./enhancement_spot */ "./node_modules/@abaplint/core/build/src/objects/enhancement_spot.js"), exports);
|
|
49567
|
+
__exportStar(__webpack_require__(/*! ./entity_type */ "./node_modules/@abaplint/core/build/src/objects/entity_type.js"), exports);
|
|
49556
49568
|
__exportStar(__webpack_require__(/*! ./event_binding */ "./node_modules/@abaplint/core/build/src/objects/event_binding.js"), exports);
|
|
49557
49569
|
__exportStar(__webpack_require__(/*! ./event_binding */ "./node_modules/@abaplint/core/build/src/objects/event_binding.js"), exports);
|
|
49558
49570
|
__exportStar(__webpack_require__(/*! ./event_consumer */ "./node_modules/@abaplint/core/build/src/objects/event_consumer.js"), exports);
|
|
@@ -49566,7 +49578,6 @@ __exportStar(__webpack_require__(/*! ./gateway_model_metadata */ "./node_modules
|
|
|
49566
49578
|
__exportStar(__webpack_require__(/*! ./gateway_model */ "./node_modules/@abaplint/core/build/src/objects/gateway_model.js"), exports);
|
|
49567
49579
|
__exportStar(__webpack_require__(/*! ./gateway_project */ "./node_modules/@abaplint/core/build/src/objects/gateway_project.js"), exports);
|
|
49568
49580
|
__exportStar(__webpack_require__(/*! ./gateway_service_groups_metadata */ "./node_modules/@abaplint/core/build/src/objects/gateway_service_groups_metadata.js"), exports);
|
|
49569
|
-
__exportStar(__webpack_require__(/*! ./web_reporting_template */ "./node_modules/@abaplint/core/build/src/objects/web_reporting_template.js"), exports);
|
|
49570
49581
|
__exportStar(__webpack_require__(/*! ./gateway_service */ "./node_modules/@abaplint/core/build/src/objects/gateway_service.js"), exports);
|
|
49571
49582
|
__exportStar(__webpack_require__(/*! ./gateway_vocabulary_annotation */ "./node_modules/@abaplint/core/build/src/objects/gateway_vocabulary_annotation.js"), exports);
|
|
49572
49583
|
__exportStar(__webpack_require__(/*! ./general_hierarchy_storage_extrension_name */ "./node_modules/@abaplint/core/build/src/objects/general_hierarchy_storage_extrension_name.js"), exports);
|
|
@@ -49582,6 +49593,7 @@ __exportStar(__webpack_require__(/*! ./icf_service */ "./node_modules/@abaplint/
|
|
|
49582
49593
|
__exportStar(__webpack_require__(/*! ./idoc_extension */ "./node_modules/@abaplint/core/build/src/objects/idoc_extension.js"), exports);
|
|
49583
49594
|
__exportStar(__webpack_require__(/*! ./idoc */ "./node_modules/@abaplint/core/build/src/objects/idoc.js"), exports);
|
|
49584
49595
|
__exportStar(__webpack_require__(/*! ./inbound_service */ "./node_modules/@abaplint/core/build/src/objects/inbound_service.js"), exports);
|
|
49596
|
+
__exportStar(__webpack_require__(/*! ./info_area */ "./node_modules/@abaplint/core/build/src/objects/info_area.js"), exports);
|
|
49585
49597
|
__exportStar(__webpack_require__(/*! ./info_object */ "./node_modules/@abaplint/core/build/src/objects/info_object.js"), exports);
|
|
49586
49598
|
__exportStar(__webpack_require__(/*! ./interface */ "./node_modules/@abaplint/core/build/src/objects/interface.js"), exports);
|
|
49587
49599
|
__exportStar(__webpack_require__(/*! ./lock_object */ "./node_modules/@abaplint/core/build/src/objects/lock_object.js"), exports);
|
|
@@ -49655,10 +49667,42 @@ __exportStar(__webpack_require__(/*! ./web_dynpro_application */ "./node_modules
|
|
|
49655
49667
|
__exportStar(__webpack_require__(/*! ./web_dynpro_component_configuration */ "./node_modules/@abaplint/core/build/src/objects/web_dynpro_component_configuration.js"), exports);
|
|
49656
49668
|
__exportStar(__webpack_require__(/*! ./web_dynpro_component */ "./node_modules/@abaplint/core/build/src/objects/web_dynpro_component.js"), exports);
|
|
49657
49669
|
__exportStar(__webpack_require__(/*! ./web_mime */ "./node_modules/@abaplint/core/build/src/objects/web_mime.js"), exports);
|
|
49670
|
+
__exportStar(__webpack_require__(/*! ./web_reporting_template */ "./node_modules/@abaplint/core/build/src/objects/web_reporting_template.js"), exports);
|
|
49658
49671
|
//# sourceMappingURL=index.js.map
|
|
49659
49672
|
|
|
49660
49673
|
/***/ }),
|
|
49661
49674
|
|
|
49675
|
+
/***/ "./node_modules/@abaplint/core/build/src/objects/info_area.js":
|
|
49676
|
+
/*!********************************************************************!*\
|
|
49677
|
+
!*** ./node_modules/@abaplint/core/build/src/objects/info_area.js ***!
|
|
49678
|
+
\********************************************************************/
|
|
49679
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
49680
|
+
|
|
49681
|
+
"use strict";
|
|
49682
|
+
|
|
49683
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
49684
|
+
exports.InfoArea = void 0;
|
|
49685
|
+
const _abstract_object_1 = __webpack_require__(/*! ./_abstract_object */ "./node_modules/@abaplint/core/build/src/objects/_abstract_object.js");
|
|
49686
|
+
class InfoArea extends _abstract_object_1.AbstractObject {
|
|
49687
|
+
getType() {
|
|
49688
|
+
return "AREA";
|
|
49689
|
+
}
|
|
49690
|
+
getAllowedNaming() {
|
|
49691
|
+
return {
|
|
49692
|
+
maxLength: 30,
|
|
49693
|
+
allowNamespace: true,
|
|
49694
|
+
};
|
|
49695
|
+
}
|
|
49696
|
+
getDescription() {
|
|
49697
|
+
// todo
|
|
49698
|
+
return undefined;
|
|
49699
|
+
}
|
|
49700
|
+
}
|
|
49701
|
+
exports.InfoArea = InfoArea;
|
|
49702
|
+
//# sourceMappingURL=info_area.js.map
|
|
49703
|
+
|
|
49704
|
+
/***/ }),
|
|
49705
|
+
|
|
49662
49706
|
/***/ "./node_modules/@abaplint/core/build/src/objects/info_object.js":
|
|
49663
49707
|
/*!**********************************************************************!*\
|
|
49664
49708
|
!*** ./node_modules/@abaplint/core/build/src/objects/info_object.js ***!
|
|
@@ -52494,6 +52538,10 @@ var TableCategory;
|
|
|
52494
52538
|
TableCategory["Append"] = "APPEND";
|
|
52495
52539
|
})(TableCategory || (exports.TableCategory = TableCategory = {}));
|
|
52496
52540
|
class Table extends _abstract_object_1.AbstractObject {
|
|
52541
|
+
constructor() {
|
|
52542
|
+
super(...arguments);
|
|
52543
|
+
this.parsedType = undefined;
|
|
52544
|
+
}
|
|
52497
52545
|
getType() {
|
|
52498
52546
|
return "TABL";
|
|
52499
52547
|
}
|
|
@@ -52518,6 +52566,7 @@ class Table extends _abstract_object_1.AbstractObject {
|
|
|
52518
52566
|
}
|
|
52519
52567
|
setDirty() {
|
|
52520
52568
|
this.parsedData = undefined;
|
|
52569
|
+
this.parsedType = undefined;
|
|
52521
52570
|
super.setDirty();
|
|
52522
52571
|
}
|
|
52523
52572
|
listKeys(reg) {
|
|
@@ -52555,6 +52604,9 @@ class Table extends _abstract_object_1.AbstractObject {
|
|
|
52555
52604
|
&& this.parsedData.dataClass === "USER3") {
|
|
52556
52605
|
return new Types.UnknownType("Data class = USER3 not allowed in cloud");
|
|
52557
52606
|
}
|
|
52607
|
+
if (this.parsedType) {
|
|
52608
|
+
return this.parsedType;
|
|
52609
|
+
}
|
|
52558
52610
|
const references = [];
|
|
52559
52611
|
const components = [];
|
|
52560
52612
|
const ddic = new ddic_1.DDIC(reg);
|
|
@@ -52605,25 +52657,6 @@ class Table extends _abstract_object_1.AbstractObject {
|
|
|
52605
52657
|
else {
|
|
52606
52658
|
components.push({ name: field.FIELDNAME, type: found });
|
|
52607
52659
|
}
|
|
52608
|
-
/*
|
|
52609
|
-
} else if (comptype === "S" && field.FIELDNAME.startsWith(".INCLU-")) {
|
|
52610
|
-
const lookup = ddic.lookupTableOrView(field.PRECFIELD);
|
|
52611
|
-
if (lookup.object) {
|
|
52612
|
-
references.push({object: lookup.object});
|
|
52613
|
-
}
|
|
52614
|
-
const found = lookup.type;
|
|
52615
|
-
if (found instanceof Types.VoidType) {
|
|
52616
|
-
// set the full structure to void
|
|
52617
|
-
return found;
|
|
52618
|
-
} else if (found instanceof Types.StructureType) {
|
|
52619
|
-
const suffix = field.FIELDNAME.split("-")[1];
|
|
52620
|
-
for (const c of found.getComponents()) {
|
|
52621
|
-
components.push({name: c.name + suffix, type: c.type});
|
|
52622
|
-
}
|
|
52623
|
-
} else if (found instanceof Types.UnknownType) {
|
|
52624
|
-
return found;
|
|
52625
|
-
}
|
|
52626
|
-
*/
|
|
52627
52660
|
}
|
|
52628
52661
|
else if (comptype === "S") {
|
|
52629
52662
|
const lookup = ddic.lookupTableOrView(field.ROLLNAME);
|
|
@@ -52718,7 +52751,8 @@ class Table extends _abstract_object_1.AbstractObject {
|
|
|
52718
52751
|
return new Types.UnknownType("Table/Structure " + this.getName() + " does not contain any components");
|
|
52719
52752
|
}
|
|
52720
52753
|
reg.getDDICReferences().setUsing(this, references);
|
|
52721
|
-
|
|
52754
|
+
this.parsedType = new Types.StructureType(components, this.getName(), this.getName(), this.getDescription());
|
|
52755
|
+
return this.parsedType;
|
|
52722
52756
|
}
|
|
52723
52757
|
getTableCategory() {
|
|
52724
52758
|
var _a;
|
|
@@ -54123,7 +54157,7 @@ class Registry {
|
|
|
54123
54157
|
}
|
|
54124
54158
|
static abaplintVersion() {
|
|
54125
54159
|
// magic, see build script "version.sh"
|
|
54126
|
-
return "2.113.
|
|
54160
|
+
return "2.113.118";
|
|
54127
54161
|
}
|
|
54128
54162
|
getDDICReferences() {
|
|
54129
54163
|
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.118",
|
|
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.118",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/glob": "^8.1.0",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|