@abaplint/cli 2.113.75 → 2.113.77
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 +233 -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 ***!
|
|
@@ -10893,6 +10918,28 @@ exports.CatchSystemExceptions = CatchSystemExceptions;
|
|
|
10893
10918
|
|
|
10894
10919
|
/***/ }),
|
|
10895
10920
|
|
|
10921
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/chain.js":
|
|
10922
|
+
/*!*************************************************************************************!*\
|
|
10923
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/chain.js ***!
|
|
10924
|
+
\*************************************************************************************/
|
|
10925
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
10926
|
+
|
|
10927
|
+
"use strict";
|
|
10928
|
+
|
|
10929
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
10930
|
+
exports.Chain = void 0;
|
|
10931
|
+
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
10932
|
+
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
10933
|
+
class Chain {
|
|
10934
|
+
getMatcher() {
|
|
10935
|
+
return (0, combi_1.verNot)(version_1.Version.Cloud, "CHAIN");
|
|
10936
|
+
}
|
|
10937
|
+
}
|
|
10938
|
+
exports.Chain = Chain;
|
|
10939
|
+
//# sourceMappingURL=chain.js.map
|
|
10940
|
+
|
|
10941
|
+
/***/ }),
|
|
10942
|
+
|
|
10896
10943
|
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/check.js":
|
|
10897
10944
|
/*!*************************************************************************************!*\
|
|
10898
10945
|
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/check.js ***!
|
|
@@ -12205,6 +12252,28 @@ exports.ElseIf = ElseIf;
|
|
|
12205
12252
|
|
|
12206
12253
|
/***/ }),
|
|
12207
12254
|
|
|
12255
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/end_chain.js":
|
|
12256
|
+
/*!*****************************************************************************************!*\
|
|
12257
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/end_chain.js ***!
|
|
12258
|
+
\*****************************************************************************************/
|
|
12259
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
12260
|
+
|
|
12261
|
+
"use strict";
|
|
12262
|
+
|
|
12263
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
12264
|
+
exports.EndChain = void 0;
|
|
12265
|
+
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
12266
|
+
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
12267
|
+
class EndChain {
|
|
12268
|
+
getMatcher() {
|
|
12269
|
+
return (0, combi_1.verNot)(version_1.Version.Cloud, "ENDCHAIN");
|
|
12270
|
+
}
|
|
12271
|
+
}
|
|
12272
|
+
exports.EndChain = EndChain;
|
|
12273
|
+
//# sourceMappingURL=end_chain.js.map
|
|
12274
|
+
|
|
12275
|
+
/***/ }),
|
|
12276
|
+
|
|
12208
12277
|
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/end_enhancement.js":
|
|
12209
12278
|
/*!***********************************************************************************************!*\
|
|
12210
12279
|
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/end_enhancement.js ***!
|
|
@@ -13023,6 +13092,30 @@ exports.FetchNextCursor = FetchNextCursor;
|
|
|
13023
13092
|
|
|
13024
13093
|
/***/ }),
|
|
13025
13094
|
|
|
13095
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/field.js":
|
|
13096
|
+
/*!*************************************************************************************!*\
|
|
13097
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/field.js ***!
|
|
13098
|
+
\*************************************************************************************/
|
|
13099
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13100
|
+
|
|
13101
|
+
"use strict";
|
|
13102
|
+
|
|
13103
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
13104
|
+
exports.Field = void 0;
|
|
13105
|
+
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
13106
|
+
const expressions_1 = __webpack_require__(/*! ../expressions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
|
|
13107
|
+
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
13108
|
+
class Field {
|
|
13109
|
+
getMatcher() {
|
|
13110
|
+
const ret = (0, combi_1.seq)("FIELD", expressions_1.FieldChain, "MODULE", expressions_1.FormName, (0, combi_1.opt)((0, combi_1.alt)("ON INPUT", "ON REQUEST")));
|
|
13111
|
+
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
13112
|
+
}
|
|
13113
|
+
}
|
|
13114
|
+
exports.Field = Field;
|
|
13115
|
+
//# sourceMappingURL=field.js.map
|
|
13116
|
+
|
|
13117
|
+
/***/ }),
|
|
13118
|
+
|
|
13026
13119
|
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/field_group.js":
|
|
13027
13120
|
/*!*******************************************************************************************!*\
|
|
13028
13121
|
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/field_group.js ***!
|
|
@@ -14220,6 +14313,7 @@ __exportStar(__webpack_require__(/*! ./endfunction */ "./node_modules/@abaplint/
|
|
|
14220
14313
|
__exportStar(__webpack_require__(/*! ./retry */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/retry.js"), exports);
|
|
14221
14314
|
__exportStar(__webpack_require__(/*! ./authority_check */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/authority_check.js"), exports);
|
|
14222
14315
|
__exportStar(__webpack_require__(/*! ./set_parameter */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/set_parameter.js"), exports);
|
|
14316
|
+
__exportStar(__webpack_require__(/*! ./field */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/field.js"), exports);
|
|
14223
14317
|
__exportStar(__webpack_require__(/*! ./get_cursor */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/get_cursor.js"), exports);
|
|
14224
14318
|
__exportStar(__webpack_require__(/*! ./call_kernel */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/call_kernel.js"), exports);
|
|
14225
14319
|
__exportStar(__webpack_require__(/*! ./call_transaction */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/call_transaction.js"), exports);
|
|
@@ -14229,6 +14323,9 @@ __exportStar(__webpack_require__(/*! ./uline */ "./node_modules/@abaplint/core/b
|
|
|
14229
14323
|
__exportStar(__webpack_require__(/*! ./data_begin */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/data_begin.js"), exports);
|
|
14230
14324
|
__exportStar(__webpack_require__(/*! ./data_end */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/data_end.js"), exports);
|
|
14231
14325
|
__exportStar(__webpack_require__(/*! ./type_begin */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/type_begin.js"), exports);
|
|
14326
|
+
__exportStar(__webpack_require__(/*! ./process_after_input */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_after_input.js"), exports);
|
|
14327
|
+
__exportStar(__webpack_require__(/*! ./process_before_output */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_before_output.js"), exports);
|
|
14328
|
+
__exportStar(__webpack_require__(/*! ./process_on_value_request */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_on_value_request.js"), exports);
|
|
14232
14329
|
__exportStar(__webpack_require__(/*! ./type_end */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/type_end.js"), exports);
|
|
14233
14330
|
__exportStar(__webpack_require__(/*! ./raise_event */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/raise_event.js"), exports);
|
|
14234
14331
|
__exportStar(__webpack_require__(/*! ./cleanup */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/cleanup.js"), exports);
|
|
@@ -14242,6 +14339,9 @@ __exportStar(__webpack_require__(/*! ./end_test_seam */ "./node_modules/@abaplin
|
|
|
14242
14339
|
__exportStar(__webpack_require__(/*! ./delete_memory */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/delete_memory.js"), exports);
|
|
14243
14340
|
__exportStar(__webpack_require__(/*! ./provide */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/provide.js"), exports);
|
|
14244
14341
|
__exportStar(__webpack_require__(/*! ./endexec */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/endexec.js"), exports);
|
|
14342
|
+
__exportStar(__webpack_require__(/*! ./chain */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/chain.js"), exports);
|
|
14343
|
+
__exportStar(__webpack_require__(/*! ./end_chain */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/end_chain.js"), exports);
|
|
14344
|
+
__exportStar(__webpack_require__(/*! ./call_subscreen */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/call_subscreen.js"), exports);
|
|
14245
14345
|
__exportStar(__webpack_require__(/*! ./sort_dataset */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/sort_dataset.js"), exports);
|
|
14246
14346
|
__exportStar(__webpack_require__(/*! ./get_permissions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/get_permissions.js"), exports);
|
|
14247
14347
|
__exportStar(__webpack_require__(/*! ./set_locks */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/set_locks.js"), exports);
|
|
@@ -14990,7 +15090,7 @@ const expressions_1 = __webpack_require__(/*! ../expressions */ "./node_modules/
|
|
|
14990
15090
|
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
14991
15091
|
class Module {
|
|
14992
15092
|
getMatcher() {
|
|
14993
|
-
const ret = (0, combi_1.seq)("MODULE", expressions_1.FormName, (0, combi_1.opt)((0, combi_1.alt)("INPUT", "OUTPUT")));
|
|
15093
|
+
const ret = (0, combi_1.seq)("MODULE", expressions_1.FormName, (0, combi_1.opt)((0, combi_1.alt)("INPUT", "OUTPUT", "ON CHAIN-REQUEST")));
|
|
14994
15094
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
14995
15095
|
}
|
|
14996
15096
|
}
|
|
@@ -15453,6 +15553,72 @@ exports.Private = Private;
|
|
|
15453
15553
|
|
|
15454
15554
|
/***/ }),
|
|
15455
15555
|
|
|
15556
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_after_input.js":
|
|
15557
|
+
/*!***************************************************************************************************!*\
|
|
15558
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_after_input.js ***!
|
|
15559
|
+
\***************************************************************************************************/
|
|
15560
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
15561
|
+
|
|
15562
|
+
"use strict";
|
|
15563
|
+
|
|
15564
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
15565
|
+
exports.ProcessAfterInput = void 0;
|
|
15566
|
+
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
15567
|
+
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
15568
|
+
class ProcessAfterInput {
|
|
15569
|
+
getMatcher() {
|
|
15570
|
+
return (0, combi_1.verNot)(version_1.Version.Cloud, "PROCESS AFTER INPUT");
|
|
15571
|
+
}
|
|
15572
|
+
}
|
|
15573
|
+
exports.ProcessAfterInput = ProcessAfterInput;
|
|
15574
|
+
//# sourceMappingURL=process_after_input.js.map
|
|
15575
|
+
|
|
15576
|
+
/***/ }),
|
|
15577
|
+
|
|
15578
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_before_output.js":
|
|
15579
|
+
/*!*****************************************************************************************************!*\
|
|
15580
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_before_output.js ***!
|
|
15581
|
+
\*****************************************************************************************************/
|
|
15582
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
15583
|
+
|
|
15584
|
+
"use strict";
|
|
15585
|
+
|
|
15586
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
15587
|
+
exports.ProcessBeforeOutput = void 0;
|
|
15588
|
+
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
15589
|
+
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
15590
|
+
class ProcessBeforeOutput {
|
|
15591
|
+
getMatcher() {
|
|
15592
|
+
return (0, combi_1.verNot)(version_1.Version.Cloud, "PROCESS BEFORE OUTPUT");
|
|
15593
|
+
}
|
|
15594
|
+
}
|
|
15595
|
+
exports.ProcessBeforeOutput = ProcessBeforeOutput;
|
|
15596
|
+
//# sourceMappingURL=process_before_output.js.map
|
|
15597
|
+
|
|
15598
|
+
/***/ }),
|
|
15599
|
+
|
|
15600
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_on_value_request.js":
|
|
15601
|
+
/*!********************************************************************************************************!*\
|
|
15602
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/process_on_value_request.js ***!
|
|
15603
|
+
\********************************************************************************************************/
|
|
15604
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
15605
|
+
|
|
15606
|
+
"use strict";
|
|
15607
|
+
|
|
15608
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
15609
|
+
exports.ProcessOnValueRequest = void 0;
|
|
15610
|
+
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
15611
|
+
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
15612
|
+
class ProcessOnValueRequest {
|
|
15613
|
+
getMatcher() {
|
|
15614
|
+
return (0, combi_1.verNot)(version_1.Version.Cloud, "PROCESS ON VALUE-REQUEST");
|
|
15615
|
+
}
|
|
15616
|
+
}
|
|
15617
|
+
exports.ProcessOnValueRequest = ProcessOnValueRequest;
|
|
15618
|
+
//# sourceMappingURL=process_on_value_request.js.map
|
|
15619
|
+
|
|
15620
|
+
/***/ }),
|
|
15621
|
+
|
|
15456
15622
|
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/program.js":
|
|
15457
15623
|
/*!***************************************************************************************!*\
|
|
15458
15624
|
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/program.js ***!
|
|
@@ -18201,6 +18367,9 @@ class StructureParser {
|
|
|
18201
18367
|
else if (filename.endsWith(".intf.abap")) {
|
|
18202
18368
|
return new Structures.InterfaceGlobal();
|
|
18203
18369
|
}
|
|
18370
|
+
else if (filename.match(/\.screen\_\d+\.abap$/i)) {
|
|
18371
|
+
return new Structures.DynproLogic();
|
|
18372
|
+
}
|
|
18204
18373
|
else {
|
|
18205
18374
|
// todo, add a special structure for TYPE-POOLS
|
|
18206
18375
|
return new Structures.Any();
|
|
@@ -18790,6 +18959,28 @@ exports.CatchSystemExceptions = CatchSystemExceptions;
|
|
|
18790
18959
|
|
|
18791
18960
|
/***/ }),
|
|
18792
18961
|
|
|
18962
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/chain.js":
|
|
18963
|
+
/*!*************************************************************************************!*\
|
|
18964
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/3_structures/structures/chain.js ***!
|
|
18965
|
+
\*************************************************************************************/
|
|
18966
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18967
|
+
|
|
18968
|
+
"use strict";
|
|
18969
|
+
|
|
18970
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
18971
|
+
exports.Chain = void 0;
|
|
18972
|
+
const Statements = __webpack_require__(/*! ../../2_statements/statements */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/index.js");
|
|
18973
|
+
const _combi_1 = __webpack_require__(/*! ./_combi */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/_combi.js");
|
|
18974
|
+
class Chain {
|
|
18975
|
+
getMatcher() {
|
|
18976
|
+
return (0, _combi_1.beginEnd)((0, _combi_1.sta)(Statements.Chain), (0, _combi_1.star)((0, _combi_1.alt)((0, _combi_1.sta)(Statements.Field), (0, _combi_1.sta)(Statements.Module))), (0, _combi_1.sta)(Statements.EndChain));
|
|
18977
|
+
}
|
|
18978
|
+
}
|
|
18979
|
+
exports.Chain = Chain;
|
|
18980
|
+
//# sourceMappingURL=chain.js.map
|
|
18981
|
+
|
|
18982
|
+
/***/ }),
|
|
18983
|
+
|
|
18793
18984
|
/***/ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/class_data.js":
|
|
18794
18985
|
/*!******************************************************************************************!*\
|
|
18795
18986
|
!*** ./node_modules/@abaplint/core/build/src/abap/3_structures/structures/class_data.js ***!
|
|
@@ -19004,6 +19195,32 @@ exports.Do = Do;
|
|
|
19004
19195
|
|
|
19005
19196
|
/***/ }),
|
|
19006
19197
|
|
|
19198
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/dynpro_logic.js":
|
|
19199
|
+
/*!********************************************************************************************!*\
|
|
19200
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/3_structures/structures/dynpro_logic.js ***!
|
|
19201
|
+
\********************************************************************************************/
|
|
19202
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
19203
|
+
|
|
19204
|
+
"use strict";
|
|
19205
|
+
|
|
19206
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
19207
|
+
exports.DynproLogic = void 0;
|
|
19208
|
+
const Statements = __webpack_require__(/*! ../../2_statements/statements */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/index.js");
|
|
19209
|
+
const _combi_1 = __webpack_require__(/*! ./_combi */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/_combi.js");
|
|
19210
|
+
const chain_1 = __webpack_require__(/*! ./chain */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/chain.js");
|
|
19211
|
+
class DynproLogic {
|
|
19212
|
+
getMatcher() {
|
|
19213
|
+
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)));
|
|
19214
|
+
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)));
|
|
19215
|
+
const pov = (0, _combi_1.star)((0, _combi_1.sta)(Statements.Field));
|
|
19216
|
+
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)));
|
|
19217
|
+
}
|
|
19218
|
+
}
|
|
19219
|
+
exports.DynproLogic = DynproLogic;
|
|
19220
|
+
//# sourceMappingURL=dynpro_logic.js.map
|
|
19221
|
+
|
|
19222
|
+
/***/ }),
|
|
19223
|
+
|
|
19007
19224
|
/***/ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/else.js":
|
|
19008
19225
|
/*!************************************************************************************!*\
|
|
19009
19226
|
!*** ./node_modules/@abaplint/core/build/src/abap/3_structures/structures/else.js ***!
|
|
@@ -19219,9 +19436,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
19219
19436
|
};
|
|
19220
19437
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
19221
19438
|
__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
19439
|
__exportStar(__webpack_require__(/*! ./at_first */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/at_first.js"), exports);
|
|
19224
19440
|
__exportStar(__webpack_require__(/*! ./at_last */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/at_last.js"), exports);
|
|
19441
|
+
__exportStar(__webpack_require__(/*! ./at */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/at.js"), exports);
|
|
19225
19442
|
__exportStar(__webpack_require__(/*! ./body */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/body.js"), exports);
|
|
19226
19443
|
__exportStar(__webpack_require__(/*! ./case_type */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/case_type.js"), exports);
|
|
19227
19444
|
__exportStar(__webpack_require__(/*! ./case */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/case.js"), exports);
|
|
@@ -19236,7 +19453,7 @@ __exportStar(__webpack_require__(/*! ./constants */ "./node_modules/@abaplint/co
|
|
|
19236
19453
|
__exportStar(__webpack_require__(/*! ./data */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/data.js"), exports);
|
|
19237
19454
|
__exportStar(__webpack_require__(/*! ./define */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/define.js"), exports);
|
|
19238
19455
|
__exportStar(__webpack_require__(/*! ./do */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/do.js"), exports);
|
|
19239
|
-
__exportStar(__webpack_require__(/*! ./
|
|
19456
|
+
__exportStar(__webpack_require__(/*! ./dynpro_logic */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/dynpro_logic.js"), exports);
|
|
19240
19457
|
__exportStar(__webpack_require__(/*! ./else */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/else.js"), exports);
|
|
19241
19458
|
__exportStar(__webpack_require__(/*! ./elseif */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/elseif.js"), exports);
|
|
19242
19459
|
__exportStar(__webpack_require__(/*! ./enhancement_section */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/enhancement_section.js"), exports);
|
|
@@ -19264,6 +19481,7 @@ __exportStar(__webpack_require__(/*! ./test_injection */ "./node_modules/@abapli
|
|
|
19264
19481
|
__exportStar(__webpack_require__(/*! ./test_seam */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/test_seam.js"), exports);
|
|
19265
19482
|
__exportStar(__webpack_require__(/*! ./try */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/try.js"), exports);
|
|
19266
19483
|
__exportStar(__webpack_require__(/*! ./type_enum */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/type_enum.js"), exports);
|
|
19484
|
+
__exportStar(__webpack_require__(/*! ./type_mesh */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/type_mesh.js"), exports);
|
|
19267
19485
|
__exportStar(__webpack_require__(/*! ./types */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/types.js"), exports);
|
|
19268
19486
|
__exportStar(__webpack_require__(/*! ./when_type */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/when_type.js"), exports);
|
|
19269
19487
|
__exportStar(__webpack_require__(/*! ./when */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/when.js"), exports);
|
|
@@ -52997,6 +53215,7 @@ const Statements = __webpack_require__(/*! ../abap/2_statements/statements */ ".
|
|
|
52997
53215
|
const Expressions = __webpack_require__(/*! ../abap/2_statements/expressions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
|
|
52998
53216
|
const _statement_1 = __webpack_require__(/*! ../abap/2_statements/statements/_statement */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/_statement.js");
|
|
52999
53217
|
const virtual_position_1 = __webpack_require__(/*! ../virtual_position */ "./node_modules/@abaplint/core/build/src/virtual_position.js");
|
|
53218
|
+
const structures_1 = __webpack_require__(/*! ../abap/3_structures/structures */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/index.js");
|
|
53000
53219
|
// todo, will break if there is multiple statements per line?
|
|
53001
53220
|
class Indent {
|
|
53002
53221
|
constructor(options) {
|
|
@@ -53025,11 +53244,13 @@ class Indent {
|
|
|
53025
53244
|
}
|
|
53026
53245
|
// returns list of expected indentation for each line/statement?
|
|
53027
53246
|
getExpectedIndents(file) {
|
|
53247
|
+
var _a;
|
|
53028
53248
|
const ret = [];
|
|
53029
53249
|
const init = 1;
|
|
53030
53250
|
const stack = new Stack();
|
|
53031
53251
|
let indent = init;
|
|
53032
53252
|
let parentIsEvent = false;
|
|
53253
|
+
const isDynpro = ((_a = file.getStructure()) === null || _a === void 0 ? void 0 : _a.get()) instanceof structures_1.DynproLogic;
|
|
53033
53254
|
let previousStatement = undefined;
|
|
53034
53255
|
for (const statement of file.getStatements()) {
|
|
53035
53256
|
if (statement.getFirstToken().getStart() instanceof virtual_position_1.VirtualPosition) {
|
|
@@ -53067,6 +53288,9 @@ class Indent {
|
|
|
53067
53288
|
|| type instanceof Statements.AtPF
|
|
53068
53289
|
|| type instanceof Statements.Initialization
|
|
53069
53290
|
|| type instanceof Statements.AtUserCommand
|
|
53291
|
+
|| type instanceof Statements.ProcessAfterInput
|
|
53292
|
+
|| type instanceof Statements.ProcessBeforeOutput
|
|
53293
|
+
|| type instanceof Statements.ProcessOnValueRequest
|
|
53070
53294
|
|| type instanceof Statements.TopOfPage
|
|
53071
53295
|
|| type instanceof Statements.Get
|
|
53072
53296
|
|| type instanceof Statements.EndOfSelection
|
|
@@ -53076,7 +53300,7 @@ class Indent {
|
|
|
53076
53300
|
}
|
|
53077
53301
|
else if (type instanceof Statements.Form
|
|
53078
53302
|
|| (type instanceof Statements.Include && parentIsEvent)
|
|
53079
|
-
|| type instanceof Statements.Module
|
|
53303
|
+
|| (type instanceof Statements.Module && isDynpro === false)
|
|
53080
53304
|
|| type instanceof Statements.ClassImplementation
|
|
53081
53305
|
|| type instanceof Statements.ClassDefinition) {
|
|
53082
53306
|
indent = init;
|
|
@@ -53121,7 +53345,7 @@ class Indent {
|
|
|
53121
53345
|
ret.push(indent);
|
|
53122
53346
|
if (type instanceof Statements.If
|
|
53123
53347
|
|| type instanceof Statements.While
|
|
53124
|
-
|| type instanceof Statements.Module
|
|
53348
|
+
|| (type instanceof Statements.Module && isDynpro === false)
|
|
53125
53349
|
|| type instanceof Statements.SelectLoop
|
|
53126
53350
|
|| type instanceof Statements.FunctionModule
|
|
53127
53351
|
|| type instanceof Statements.Interface
|
|
@@ -53131,6 +53355,9 @@ class Indent {
|
|
|
53131
53355
|
|| type instanceof Statements.AtLast
|
|
53132
53356
|
|| type instanceof Statements.ExecSQL
|
|
53133
53357
|
|| type instanceof Statements.Catch
|
|
53358
|
+
|| type instanceof Statements.ProcessAfterInput
|
|
53359
|
+
|| type instanceof Statements.ProcessBeforeOutput
|
|
53360
|
+
|| type instanceof Statements.ProcessOnValueRequest
|
|
53134
53361
|
|| type instanceof Statements.Define
|
|
53135
53362
|
|| type instanceof Statements.When
|
|
53136
53363
|
|| type instanceof Statements.WhenType
|
|
@@ -53348,7 +53575,7 @@ class Registry {
|
|
|
53348
53575
|
}
|
|
53349
53576
|
static abaplintVersion() {
|
|
53350
53577
|
// magic, see build script "version.sh"
|
|
53351
|
-
return "2.113.
|
|
53578
|
+
return "2.113.77";
|
|
53352
53579
|
}
|
|
53353
53580
|
getDDICReferences() {
|
|
53354
53581
|
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.77",
|
|
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.77",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/glob": "^8.1.0",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|