@abaplint/core 2.119.3 → 2.119.5
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.
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetPFStatus = void 0;
|
|
4
|
+
const Expressions = require("../../2_statements/expressions");
|
|
5
|
+
const source_1 = require("../expressions/source");
|
|
6
|
+
const target_1 = require("../expressions/target");
|
|
7
|
+
const basic_1 = require("../../types/basic");
|
|
8
|
+
const inline_data_1 = require("../expressions/inline_data");
|
|
9
|
+
class GetPFStatus {
|
|
10
|
+
runSyntax(node, input) {
|
|
11
|
+
for (const s of node.findDirectExpressions(Expressions.Source)) {
|
|
12
|
+
source_1.Source.runSyntax(s, input);
|
|
13
|
+
}
|
|
14
|
+
for (const t of node.findDirectExpressions(Expressions.Target)) {
|
|
15
|
+
const inline = t === null || t === void 0 ? void 0 : t.findDirectExpression(Expressions.InlineData);
|
|
16
|
+
if (inline) {
|
|
17
|
+
inline_data_1.InlineData.runSyntax(inline, input, basic_1.VoidType.get("GET_PF_STATUS"));
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
target_1.Target.runSyntax(t, input);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.GetPFStatus = GetPFStatus;
|
|
26
|
+
//# sourceMappingURL=get_pf_status.js.map
|
|
@@ -84,6 +84,7 @@ const read_report_1 = require("./statements/read_report");
|
|
|
84
84
|
const authority_check_1 = require("./statements/authority_check");
|
|
85
85
|
const insert_report_1 = require("./statements/insert_report");
|
|
86
86
|
const get_reference_1 = require("./statements/get_reference");
|
|
87
|
+
const get_pf_status_1 = require("./statements/get_pf_status");
|
|
87
88
|
const insert_database_1 = require("./statements/insert_database");
|
|
88
89
|
const delete_database_1 = require("./statements/delete_database");
|
|
89
90
|
const import_dynpro_1 = require("./statements/import_dynpro");
|
|
@@ -238,6 +239,7 @@ if (Object.keys(map).length === 0) {
|
|
|
238
239
|
addToMap(new if_1.If());
|
|
239
240
|
addToMap(new log_point_1.LogPoint());
|
|
240
241
|
addToMap(new while_1.While());
|
|
242
|
+
addToMap(new get_pf_status_1.GetPFStatus());
|
|
241
243
|
addToMap(new with_1.With());
|
|
242
244
|
addToMap(new with_loop_1.WithLoop());
|
|
243
245
|
addToMap(new call_transformation_1.CallTransformation());
|
|
@@ -509,6 +511,7 @@ class SyntaxLogic {
|
|
|
509
511
|
isSelectionEventBoundary(statement) {
|
|
510
512
|
return stuff_1.SELECTION_EVENTS.some(event => statement instanceof event)
|
|
511
513
|
|| statement instanceof Statements.Form
|
|
514
|
+
|| statement instanceof Statements.Module
|
|
512
515
|
|| statement instanceof Statements.FunctionModule;
|
|
513
516
|
}
|
|
514
517
|
isSelectionEventBoundaryStructure(structure) {
|
package/build/src/registry.js
CHANGED