@abaplint/runtime 2.10.24 → 2.10.25
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/src/index.d.ts +1 -0
- package/build/src/index.js +1 -0
- package/build/src/types/table.js +11 -0
- package/package.json +1 -1
package/build/src/index.d.ts
CHANGED
package/build/src/index.js
CHANGED
package/build/src/types/table.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Table = exports.HashedTable = exports.TableFactory = exports.LoopController = exports.TableKeyType = exports.TableAccessType = void 0;
|
|
4
4
|
const integer_1 = require("./integer");
|
|
5
|
+
const abap_object_1 = require("./abap_object");
|
|
5
6
|
const string_1 = require("./string");
|
|
6
7
|
const clone_1 = require("../clone");
|
|
7
8
|
const structure_1 = require("./structure");
|
|
@@ -103,6 +104,10 @@ class HashedTable {
|
|
|
103
104
|
if (data instanceof structure_1.Structure) {
|
|
104
105
|
hash += k + ":" + data.getCharacter() + "|";
|
|
105
106
|
}
|
|
107
|
+
else if (data instanceof abap_object_1.ABAPObject) {
|
|
108
|
+
const moo = "OpenABAPInternalObjectId=" + data.get().INTERNAL_ID;
|
|
109
|
+
hash += k + ":" + moo + "|";
|
|
110
|
+
}
|
|
106
111
|
else {
|
|
107
112
|
// @ts-ignore
|
|
108
113
|
hash += k + ":" + data.get() + "|";
|
|
@@ -114,6 +119,9 @@ class HashedTable {
|
|
|
114
119
|
if (val instanceof structure_1.Structure) {
|
|
115
120
|
val = val.getCharacter();
|
|
116
121
|
}
|
|
122
|
+
else if (val instanceof abap_object_1.ABAPObject) {
|
|
123
|
+
val = "OpenABAPInternalObjectId=" + val.get().INTERNAL_ID;
|
|
124
|
+
}
|
|
117
125
|
else {
|
|
118
126
|
val = val.get();
|
|
119
127
|
}
|
|
@@ -155,6 +163,9 @@ class HashedTable {
|
|
|
155
163
|
else if (field instanceof hex_uint8_1.HexUInt8 && val instanceof hex_uint8_1.HexUInt8 && field.getLength() === val.getLength()) {
|
|
156
164
|
val = val.get();
|
|
157
165
|
}
|
|
166
|
+
else if (val instanceof abap_object_1.ABAPObject) {
|
|
167
|
+
val = "OpenABAPInternalObjectId=" + val.get().INTERNAL_ID;
|
|
168
|
+
}
|
|
158
169
|
else if (val instanceof structure_1.Structure) {
|
|
159
170
|
val = val.getCharacter();
|
|
160
171
|
}
|