@abaplint/cli 2.113.74 → 2.113.76
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 +170 -6
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -10744,6 +10744,31 @@ exports.CallSelectionScreen = CallSelectionScreen;
|
|
|
10744
10744
|
|
|
10745
10745
|
/***/ }),
|
|
10746
10746
|
|
|
10747
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/call_subscreen.js":
|
|
10748
|
+
/*!**********************************************************************************************!*\
|
|
10749
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/call_subscreen.js ***!
|
|
10750
|
+
\**********************************************************************************************/
|
|
10751
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
10752
|
+
|
|
10753
|
+
"use strict";
|
|
10754
|
+
|
|
10755
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
10756
|
+
exports.CallSubscreen = void 0;
|
|
10757
|
+
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
10758
|
+
const expressions_1 = __webpack_require__(/*! ../expressions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
|
|
10759
|
+
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
10760
|
+
class CallSubscreen {
|
|
10761
|
+
getMatcher() {
|
|
10762
|
+
const including = (0, combi_1.seq)("INCLUDING", expressions_1.Source, expressions_1.Source);
|
|
10763
|
+
const ret = (0, combi_1.seq)("CALL SUBSCREEN", expressions_1.Source, (0, combi_1.optPrio)(including));
|
|
10764
|
+
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
10765
|
+
}
|
|
10766
|
+
}
|
|
10767
|
+
exports.CallSubscreen = CallSubscreen;
|
|
10768
|
+
//# sourceMappingURL=call_subscreen.js.map
|
|
10769
|
+
|
|
10770
|
+
/***/ }),
|
|
10771
|
+
|
|
10747
10772
|
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/call_transaction.js":
|
|
10748
10773
|
/*!************************************************************************************************!*\
|
|
10749
10774
|
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/call_transaction.js ***!
|
|
@@ -13023,6 +13048,30 @@ exports.FetchNextCursor = FetchNextCursor;
|
|
|
13023
13048
|
|
|
13024
13049
|
/***/ }),
|
|
13025
13050
|
|
|
13051
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/field.js":
|
|
13052
|
+
/*!*************************************************************************************!*\
|
|
13053
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/field.js ***!
|
|
13054
|
+
\*************************************************************************************/
|
|
13055
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13056
|
+
|
|
13057
|
+
"use strict";
|
|
13058
|
+
|
|
13059
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
13060
|
+
exports.Field = void 0;
|
|
13061
|
+
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
13062
|
+
const expressions_1 = __webpack_require__(/*! ../expressions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
|
|
13063
|
+
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
13064
|
+
class Field {
|
|
13065
|
+
getMatcher() {
|
|
13066
|
+
const ret = (0, combi_1.seq)("FIELD", expressions_1.FieldSub, "MODULE", expressions_1.FormName, (0, combi_1.opt)((0, combi_1.alt)("ON INPUT", "ON REQUEST")));
|
|
13067
|
+
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
13068
|
+
}
|
|
13069
|
+
}
|
|
13070
|
+
exports.Field = Field;
|
|
13071
|
+
//# sourceMappingURL=field.js.map
|
|
13072
|
+
|
|
13073
|
+
/***/ }),
|
|
13074
|
+
|
|
13026
13075
|
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/field_group.js":
|
|
13027
13076
|
/*!*******************************************************************************************!*\
|
|
13028
13077
|
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/field_group.js ***!
|
|
@@ -14220,6 +14269,7 @@ __exportStar(__webpack_require__(/*! ./endfunction */ "./node_modules/@abaplint/
|
|
|
14220
14269
|
__exportStar(__webpack_require__(/*! ./retry */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/retry.js"), exports);
|
|
14221
14270
|
__exportStar(__webpack_require__(/*! ./authority_check */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/authority_check.js"), exports);
|
|
14222
14271
|
__exportStar(__webpack_require__(/*! ./set_parameter */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/set_parameter.js"), exports);
|
|
14272
|
+
__exportStar(__webpack_require__(/*! ./field */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/field.js"), exports);
|
|
14223
14273
|
__exportStar(__webpack_require__(/*! ./get_cursor */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/get_cursor.js"), exports);
|
|
14224
14274
|
__exportStar(__webpack_require__(/*! ./call_kernel */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/call_kernel.js"), exports);
|
|
14225
14275
|
__exportStar(__webpack_require__(/*! ./call_transaction */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/call_transaction.js"), exports);
|
|
@@ -14229,6 +14279,9 @@ __exportStar(__webpack_require__(/*! ./uline */ "./node_modules/@abaplint/core/b
|
|
|
14229
14279
|
__exportStar(__webpack_require__(/*! ./data_begin */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/data_begin.js"), exports);
|
|
14230
14280
|
__exportStar(__webpack_require__(/*! ./data_end */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/data_end.js"), exports);
|
|
14231
14281
|
__exportStar(__webpack_require__(/*! ./type_begin */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/type_begin.js"), exports);
|
|
14282
|
+
__exportStar(__webpack_require__(/*! ./process_after_input */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_after_input.js"), exports);
|
|
14283
|
+
__exportStar(__webpack_require__(/*! ./process_before_output */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_before_output.js"), exports);
|
|
14284
|
+
__exportStar(__webpack_require__(/*! ./process_on_value_request */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_on_value_request.js"), exports);
|
|
14232
14285
|
__exportStar(__webpack_require__(/*! ./type_end */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/type_end.js"), exports);
|
|
14233
14286
|
__exportStar(__webpack_require__(/*! ./raise_event */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/raise_event.js"), exports);
|
|
14234
14287
|
__exportStar(__webpack_require__(/*! ./cleanup */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/cleanup.js"), exports);
|
|
@@ -14242,6 +14295,7 @@ __exportStar(__webpack_require__(/*! ./end_test_seam */ "./node_modules/@abaplin
|
|
|
14242
14295
|
__exportStar(__webpack_require__(/*! ./delete_memory */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/delete_memory.js"), exports);
|
|
14243
14296
|
__exportStar(__webpack_require__(/*! ./provide */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/provide.js"), exports);
|
|
14244
14297
|
__exportStar(__webpack_require__(/*! ./endexec */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/endexec.js"), exports);
|
|
14298
|
+
__exportStar(__webpack_require__(/*! ./call_subscreen */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/call_subscreen.js"), exports);
|
|
14245
14299
|
__exportStar(__webpack_require__(/*! ./sort_dataset */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/sort_dataset.js"), exports);
|
|
14246
14300
|
__exportStar(__webpack_require__(/*! ./get_permissions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/get_permissions.js"), exports);
|
|
14247
14301
|
__exportStar(__webpack_require__(/*! ./set_locks */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/set_locks.js"), exports);
|
|
@@ -15453,6 +15507,72 @@ exports.Private = Private;
|
|
|
15453
15507
|
|
|
15454
15508
|
/***/ }),
|
|
15455
15509
|
|
|
15510
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_after_input.js":
|
|
15511
|
+
/*!***************************************************************************************************!*\
|
|
15512
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_after_input.js ***!
|
|
15513
|
+
\***************************************************************************************************/
|
|
15514
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
15515
|
+
|
|
15516
|
+
"use strict";
|
|
15517
|
+
|
|
15518
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
15519
|
+
exports.ProcessAfterInput = void 0;
|
|
15520
|
+
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
15521
|
+
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
15522
|
+
class ProcessAfterInput {
|
|
15523
|
+
getMatcher() {
|
|
15524
|
+
return (0, combi_1.verNot)(version_1.Version.Cloud, "PROCESS AFTER INPUT");
|
|
15525
|
+
}
|
|
15526
|
+
}
|
|
15527
|
+
exports.ProcessAfterInput = ProcessAfterInput;
|
|
15528
|
+
//# sourceMappingURL=process_after_input.js.map
|
|
15529
|
+
|
|
15530
|
+
/***/ }),
|
|
15531
|
+
|
|
15532
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_before_output.js":
|
|
15533
|
+
/*!*****************************************************************************************************!*\
|
|
15534
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_before_output.js ***!
|
|
15535
|
+
\*****************************************************************************************************/
|
|
15536
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
15537
|
+
|
|
15538
|
+
"use strict";
|
|
15539
|
+
|
|
15540
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
15541
|
+
exports.ProcessBeforeOutput = void 0;
|
|
15542
|
+
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
15543
|
+
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
15544
|
+
class ProcessBeforeOutput {
|
|
15545
|
+
getMatcher() {
|
|
15546
|
+
return (0, combi_1.verNot)(version_1.Version.Cloud, "PROCESS BEFORE OUTPUT");
|
|
15547
|
+
}
|
|
15548
|
+
}
|
|
15549
|
+
exports.ProcessBeforeOutput = ProcessBeforeOutput;
|
|
15550
|
+
//# sourceMappingURL=process_before_output.js.map
|
|
15551
|
+
|
|
15552
|
+
/***/ }),
|
|
15553
|
+
|
|
15554
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_on_value_request.js":
|
|
15555
|
+
/*!********************************************************************************************************!*\
|
|
15556
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_on_value_request.js ***!
|
|
15557
|
+
\********************************************************************************************************/
|
|
15558
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
15559
|
+
|
|
15560
|
+
"use strict";
|
|
15561
|
+
|
|
15562
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
15563
|
+
exports.ProcessOnValueRequest = void 0;
|
|
15564
|
+
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
15565
|
+
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
15566
|
+
class ProcessOnValueRequest {
|
|
15567
|
+
getMatcher() {
|
|
15568
|
+
return (0, combi_1.verNot)(version_1.Version.Cloud, "PROCESS ON VALUE-REQUEST");
|
|
15569
|
+
}
|
|
15570
|
+
}
|
|
15571
|
+
exports.ProcessOnValueRequest = ProcessOnValueRequest;
|
|
15572
|
+
//# sourceMappingURL=process_on_value_request.js.map
|
|
15573
|
+
|
|
15574
|
+
/***/ }),
|
|
15575
|
+
|
|
15456
15576
|
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/program.js":
|
|
15457
15577
|
/*!***************************************************************************************!*\
|
|
15458
15578
|
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/program.js ***!
|
|
@@ -18201,6 +18321,9 @@ class StructureParser {
|
|
|
18201
18321
|
else if (filename.endsWith(".intf.abap")) {
|
|
18202
18322
|
return new Structures.InterfaceGlobal();
|
|
18203
18323
|
}
|
|
18324
|
+
else if (filename.match(/\.screen\_\d+\.abap$/i)) {
|
|
18325
|
+
return new Structures.DynproLogic();
|
|
18326
|
+
}
|
|
18204
18327
|
else {
|
|
18205
18328
|
// todo, add a special structure for TYPE-POOLS
|
|
18206
18329
|
return new Structures.Any();
|
|
@@ -19004,6 +19127,31 @@ exports.Do = Do;
|
|
|
19004
19127
|
|
|
19005
19128
|
/***/ }),
|
|
19006
19129
|
|
|
19130
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/dynpro_logic.js":
|
|
19131
|
+
/*!********************************************************************************************!*\
|
|
19132
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/3_structures/structures/dynpro_logic.js ***!
|
|
19133
|
+
\********************************************************************************************/
|
|
19134
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
19135
|
+
|
|
19136
|
+
"use strict";
|
|
19137
|
+
|
|
19138
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
19139
|
+
exports.DynproLogic = void 0;
|
|
19140
|
+
const Statements = __webpack_require__(/*! ../../2_statements/statements */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/index.js");
|
|
19141
|
+
const _combi_1 = __webpack_require__(/*! ./_combi */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/_combi.js");
|
|
19142
|
+
class DynproLogic {
|
|
19143
|
+
getMatcher() {
|
|
19144
|
+
const pai = (0, _combi_1.star)((0, _combi_1.alt)((0, _combi_1.sta)(Statements.Module), (0, _combi_1.sta)(Statements.CallSubscreen)));
|
|
19145
|
+
const pbo = (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)));
|
|
19146
|
+
const pov = (0, _combi_1.star)((0, _combi_1.sta)(Statements.Field));
|
|
19147
|
+
return (0, _combi_1.seq)((0, _combi_1.sta)(Statements.ProcessBeforeOutput), pbo, (0, _combi_1.sta)(Statements.ProcessAfterInput), pai, (0, _combi_1.opt)((0, _combi_1.seq)((0, _combi_1.sta)(Statements.ProcessOnValueRequest), pov)));
|
|
19148
|
+
}
|
|
19149
|
+
}
|
|
19150
|
+
exports.DynproLogic = DynproLogic;
|
|
19151
|
+
//# sourceMappingURL=dynpro_logic.js.map
|
|
19152
|
+
|
|
19153
|
+
/***/ }),
|
|
19154
|
+
|
|
19007
19155
|
/***/ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/else.js":
|
|
19008
19156
|
/*!************************************************************************************!*\
|
|
19009
19157
|
!*** ./node_modules/@abaplint/core/build/src/abap/3_structures/structures/else.js ***!
|
|
@@ -19219,9 +19367,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
19219
19367
|
};
|
|
19220
19368
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
19221
19369
|
__exportStar(__webpack_require__(/*! ./any */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/any.js"), exports);
|
|
19222
|
-
__exportStar(__webpack_require__(/*! ./at */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/at.js"), exports);
|
|
19223
19370
|
__exportStar(__webpack_require__(/*! ./at_first */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/at_first.js"), exports);
|
|
19224
19371
|
__exportStar(__webpack_require__(/*! ./at_last */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/at_last.js"), exports);
|
|
19372
|
+
__exportStar(__webpack_require__(/*! ./at */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/at.js"), exports);
|
|
19225
19373
|
__exportStar(__webpack_require__(/*! ./body */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/body.js"), exports);
|
|
19226
19374
|
__exportStar(__webpack_require__(/*! ./case_type */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/case_type.js"), exports);
|
|
19227
19375
|
__exportStar(__webpack_require__(/*! ./case */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/case.js"), exports);
|
|
@@ -19236,7 +19384,7 @@ __exportStar(__webpack_require__(/*! ./constants */ "./node_modules/@abaplint/co
|
|
|
19236
19384
|
__exportStar(__webpack_require__(/*! ./data */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/data.js"), exports);
|
|
19237
19385
|
__exportStar(__webpack_require__(/*! ./define */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/define.js"), exports);
|
|
19238
19386
|
__exportStar(__webpack_require__(/*! ./do */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/do.js"), exports);
|
|
19239
|
-
__exportStar(__webpack_require__(/*! ./
|
|
19387
|
+
__exportStar(__webpack_require__(/*! ./dynpro_logic */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/dynpro_logic.js"), exports);
|
|
19240
19388
|
__exportStar(__webpack_require__(/*! ./else */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/else.js"), exports);
|
|
19241
19389
|
__exportStar(__webpack_require__(/*! ./elseif */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/elseif.js"), exports);
|
|
19242
19390
|
__exportStar(__webpack_require__(/*! ./enhancement_section */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/enhancement_section.js"), exports);
|
|
@@ -19264,6 +19412,7 @@ __exportStar(__webpack_require__(/*! ./test_injection */ "./node_modules/@abapli
|
|
|
19264
19412
|
__exportStar(__webpack_require__(/*! ./test_seam */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/test_seam.js"), exports);
|
|
19265
19413
|
__exportStar(__webpack_require__(/*! ./try */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/try.js"), exports);
|
|
19266
19414
|
__exportStar(__webpack_require__(/*! ./type_enum */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/type_enum.js"), exports);
|
|
19415
|
+
__exportStar(__webpack_require__(/*! ./type_mesh */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/type_mesh.js"), exports);
|
|
19267
19416
|
__exportStar(__webpack_require__(/*! ./types */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/types.js"), exports);
|
|
19268
19417
|
__exportStar(__webpack_require__(/*! ./when_type */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/when_type.js"), exports);
|
|
19269
19418
|
__exportStar(__webpack_require__(/*! ./when */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/when.js"), exports);
|
|
@@ -52322,6 +52471,11 @@ class Transaction extends _abstract_object_1.AbstractObject {
|
|
|
52322
52471
|
allowNamespace: true,
|
|
52323
52472
|
};
|
|
52324
52473
|
}
|
|
52474
|
+
getCInfo() {
|
|
52475
|
+
var _a;
|
|
52476
|
+
this.parse();
|
|
52477
|
+
return (_a = this.parsedXML) === null || _a === void 0 ? void 0 : _a.cinfo;
|
|
52478
|
+
}
|
|
52325
52479
|
getProgramName() {
|
|
52326
52480
|
var _a;
|
|
52327
52481
|
this.parse();
|
|
@@ -52333,7 +52487,7 @@ class Transaction extends _abstract_object_1.AbstractObject {
|
|
|
52333
52487
|
return (_a = this.parsedXML) === null || _a === void 0 ? void 0 : _a.description;
|
|
52334
52488
|
}
|
|
52335
52489
|
parse() {
|
|
52336
|
-
var _a, _b;
|
|
52490
|
+
var _a, _b, _c;
|
|
52337
52491
|
if (this.parsedXML) {
|
|
52338
52492
|
return { updated: false, runtime: 0 };
|
|
52339
52493
|
}
|
|
@@ -52347,6 +52501,7 @@ class Transaction extends _abstract_object_1.AbstractObject {
|
|
|
52347
52501
|
}
|
|
52348
52502
|
this.parsedXML.description = (_a = parsed.abapGit["asx:abap"]["asx:values"].TSTCT) === null || _a === void 0 ? void 0 : _a.TTEXT;
|
|
52349
52503
|
this.parsedXML.programName = (_b = parsed.abapGit["asx:abap"]["asx:values"].TSTC) === null || _b === void 0 ? void 0 : _b.PGMNA;
|
|
52504
|
+
this.parsedXML.cinfo = (_c = parsed.abapGit["asx:abap"]["asx:values"].TSTC) === null || _c === void 0 ? void 0 : _c.CINFO;
|
|
52350
52505
|
const end = Date.now();
|
|
52351
52506
|
return { updated: true, runtime: end - start };
|
|
52352
52507
|
}
|
|
@@ -52991,6 +53146,7 @@ const Statements = __webpack_require__(/*! ../abap/2_statements/statements */ ".
|
|
|
52991
53146
|
const Expressions = __webpack_require__(/*! ../abap/2_statements/expressions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
|
|
52992
53147
|
const _statement_1 = __webpack_require__(/*! ../abap/2_statements/statements/_statement */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/_statement.js");
|
|
52993
53148
|
const virtual_position_1 = __webpack_require__(/*! ../virtual_position */ "./node_modules/@abaplint/core/build/src/virtual_position.js");
|
|
53149
|
+
const structures_1 = __webpack_require__(/*! ../abap/3_structures/structures */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/index.js");
|
|
52994
53150
|
// todo, will break if there is multiple statements per line?
|
|
52995
53151
|
class Indent {
|
|
52996
53152
|
constructor(options) {
|
|
@@ -53019,11 +53175,13 @@ class Indent {
|
|
|
53019
53175
|
}
|
|
53020
53176
|
// returns list of expected indentation for each line/statement?
|
|
53021
53177
|
getExpectedIndents(file) {
|
|
53178
|
+
var _a;
|
|
53022
53179
|
const ret = [];
|
|
53023
53180
|
const init = 1;
|
|
53024
53181
|
const stack = new Stack();
|
|
53025
53182
|
let indent = init;
|
|
53026
53183
|
let parentIsEvent = false;
|
|
53184
|
+
const isDynpro = ((_a = file.getStructure()) === null || _a === void 0 ? void 0 : _a.get()) instanceof structures_1.DynproLogic;
|
|
53027
53185
|
let previousStatement = undefined;
|
|
53028
53186
|
for (const statement of file.getStatements()) {
|
|
53029
53187
|
if (statement.getFirstToken().getStart() instanceof virtual_position_1.VirtualPosition) {
|
|
@@ -53061,6 +53219,9 @@ class Indent {
|
|
|
53061
53219
|
|| type instanceof Statements.AtPF
|
|
53062
53220
|
|| type instanceof Statements.Initialization
|
|
53063
53221
|
|| type instanceof Statements.AtUserCommand
|
|
53222
|
+
|| type instanceof Statements.ProcessAfterInput
|
|
53223
|
+
|| type instanceof Statements.ProcessBeforeOutput
|
|
53224
|
+
|| type instanceof Statements.ProcessOnValueRequest
|
|
53064
53225
|
|| type instanceof Statements.TopOfPage
|
|
53065
53226
|
|| type instanceof Statements.Get
|
|
53066
53227
|
|| type instanceof Statements.EndOfSelection
|
|
@@ -53070,7 +53231,7 @@ class Indent {
|
|
|
53070
53231
|
}
|
|
53071
53232
|
else if (type instanceof Statements.Form
|
|
53072
53233
|
|| (type instanceof Statements.Include && parentIsEvent)
|
|
53073
|
-
|| type instanceof Statements.Module
|
|
53234
|
+
|| (type instanceof Statements.Module && isDynpro === false)
|
|
53074
53235
|
|| type instanceof Statements.ClassImplementation
|
|
53075
53236
|
|| type instanceof Statements.ClassDefinition) {
|
|
53076
53237
|
indent = init;
|
|
@@ -53115,7 +53276,7 @@ class Indent {
|
|
|
53115
53276
|
ret.push(indent);
|
|
53116
53277
|
if (type instanceof Statements.If
|
|
53117
53278
|
|| type instanceof Statements.While
|
|
53118
|
-
|| type instanceof Statements.Module
|
|
53279
|
+
|| (type instanceof Statements.Module && isDynpro === false)
|
|
53119
53280
|
|| type instanceof Statements.SelectLoop
|
|
53120
53281
|
|| type instanceof Statements.FunctionModule
|
|
53121
53282
|
|| type instanceof Statements.Interface
|
|
@@ -53125,6 +53286,9 @@ class Indent {
|
|
|
53125
53286
|
|| type instanceof Statements.AtLast
|
|
53126
53287
|
|| type instanceof Statements.ExecSQL
|
|
53127
53288
|
|| type instanceof Statements.Catch
|
|
53289
|
+
|| type instanceof Statements.ProcessAfterInput
|
|
53290
|
+
|| type instanceof Statements.ProcessBeforeOutput
|
|
53291
|
+
|| type instanceof Statements.ProcessOnValueRequest
|
|
53128
53292
|
|| type instanceof Statements.Define
|
|
53129
53293
|
|| type instanceof Statements.When
|
|
53130
53294
|
|| type instanceof Statements.WhenType
|
|
@@ -53342,7 +53506,7 @@ class Registry {
|
|
|
53342
53506
|
}
|
|
53343
53507
|
static abaplintVersion() {
|
|
53344
53508
|
// magic, see build script "version.sh"
|
|
53345
|
-
return "2.113.
|
|
53509
|
+
return "2.113.76";
|
|
53346
53510
|
}
|
|
53347
53511
|
getDDICReferences() {
|
|
53348
53512
|
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.76",
|
|
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.76",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/glob": "^8.1.0",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|