@abaplint/runtime 2.7.52 → 2.7.54
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.
|
@@ -95,6 +95,7 @@ async function deleteInternal(target, options) {
|
|
|
95
95
|
}
|
|
96
96
|
else if ((options === null || options === void 0 ? void 0 : options.index) && options.index.get() === index) {
|
|
97
97
|
target.deleteIndex(options.index.get() - 1);
|
|
98
|
+
break;
|
|
98
99
|
}
|
|
99
100
|
else if ((options === null || options === void 0 ? void 0 : options.fromValue) && (0, compare_1.eq)(options.fromValue, i)) {
|
|
100
101
|
target.deleteIndex(index);
|
|
@@ -102,9 +103,10 @@ async function deleteInternal(target, options) {
|
|
|
102
103
|
else if ((options === null || options === void 0 ? void 0 : options.from) && options.from.get() <= index + 1) {
|
|
103
104
|
target.deleteIndex(index);
|
|
104
105
|
}
|
|
105
|
-
else if (options === undefined && originalTabix === index) {
|
|
106
|
+
else if (options === undefined && originalTabix === index + 1) {
|
|
106
107
|
// short form, "DELETE tab"
|
|
107
|
-
target.deleteIndex(index
|
|
108
|
+
target.deleteIndex(index);
|
|
109
|
+
break;
|
|
108
110
|
}
|
|
109
111
|
}
|
|
110
112
|
}
|
|
@@ -79,7 +79,12 @@ class Structure {
|
|
|
79
79
|
getCharacter() {
|
|
80
80
|
let val = "";
|
|
81
81
|
for (const v in this.value) {
|
|
82
|
-
|
|
82
|
+
if (this.value[v] instanceof Structure) {
|
|
83
|
+
val += this.value[v].getCharacter();
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
val += this.value[v].get();
|
|
87
|
+
}
|
|
83
88
|
}
|
|
84
89
|
return val;
|
|
85
90
|
}
|