@abaplint/runtime 2.8.26 → 2.8.28
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/binary_search.js +3 -4
- package/build/src/builtin/abs.js +1 -2
- package/build/src/builtin/boolc.js +1 -2
- package/build/src/builtin/ceil.js +1 -2
- package/build/src/builtin/concat_lines_of.js +1 -2
- package/build/src/builtin/condense.js +1 -2
- package/build/src/builtin/contains.js +1 -2
- package/build/src/builtin/cos.js +1 -2
- package/build/src/builtin/count.js +1 -2
- package/build/src/builtin/count_any_of.js +1 -2
- package/build/src/builtin/escape.js +1 -2
- package/build/src/builtin/find.js +1 -2
- package/build/src/builtin/floor.js +1 -2
- package/build/src/builtin/frac.js +1 -2
- package/build/src/builtin/insert.js +1 -2
- package/build/src/builtin/ipow.js +1 -2
- package/build/src/builtin/lines.js +1 -2
- package/build/src/builtin/match.js +1 -2
- package/build/src/builtin/matches.js +1 -2
- package/build/src/builtin/nmax.js +1 -2
- package/build/src/builtin/nmin.js +1 -2
- package/build/src/builtin/numofchar.js +1 -2
- package/build/src/builtin/repeat.js +1 -2
- package/build/src/builtin/replace.js +1 -2
- package/build/src/builtin/reverse.js +1 -2
- package/build/src/builtin/round.js +1 -2
- package/build/src/builtin/segment.js +1 -2
- package/build/src/builtin/shift_left.js +1 -2
- package/build/src/builtin/shift_right.js +1 -2
- package/build/src/builtin/sign.js +1 -2
- package/build/src/builtin/sin.js +1 -2
- package/build/src/builtin/sqrt.js +1 -2
- package/build/src/builtin/strlen.js +1 -2
- package/build/src/builtin/substring.js +1 -2
- package/build/src/builtin/substring_after.js +1 -2
- package/build/src/builtin/substring_before.js +1 -2
- package/build/src/builtin/tan.js +1 -2
- package/build/src/builtin/to_lower.js +1 -2
- package/build/src/builtin/to_mixed.js +1 -2
- package/build/src/builtin/to_upper.js +1 -2
- package/build/src/builtin/translate.js +1 -2
- package/build/src/builtin/trunc.js +1 -2
- package/build/src/builtin/xstrlen.js +1 -2
- package/build/src/clone.js +1 -2
- package/build/src/compare/assigned.js +1 -2
- package/build/src/compare/between.js +1 -2
- package/build/src/compare/ca.js +1 -2
- package/build/src/compare/cn.js +1 -2
- package/build/src/compare/co.js +1 -2
- package/build/src/compare/cp.js +1 -2
- package/build/src/compare/cs.js +1 -2
- package/build/src/compare/eq.js +1 -2
- package/build/src/compare/ge.js +1 -2
- package/build/src/compare/gt.js +1 -2
- package/build/src/compare/in.js +1 -2
- package/build/src/compare/initial.js +1 -2
- package/build/src/compare/instance_of.js +1 -2
- package/build/src/compare/le.js +1 -2
- package/build/src/compare/lt.js +1 -2
- package/build/src/compare/m.js +2 -3
- package/build/src/compare/na.js +1 -2
- package/build/src/compare/ne.js +1 -2
- package/build/src/compare/np.js +1 -2
- package/build/src/compare/ns.js +1 -2
- package/build/src/compare/o.js +1 -2
- package/build/src/compare/z.js +1 -2
- package/build/src/expand_dynamic.js +1 -2
- package/build/src/expand_in.js +1 -2
- package/build/src/operators/_bit_operations.js +1 -2
- package/build/src/operators/_parse.js +1 -2
- package/build/src/operators/add.js +1 -2
- package/build/src/operators/bit-and.js +1 -2
- package/build/src/operators/bit-not.js +1 -2
- package/build/src/operators/bit-or.js +1 -2
- package/build/src/operators/bit-xor.js +1 -2
- package/build/src/operators/concat.js +1 -2
- package/build/src/operators/div.js +1 -2
- package/build/src/operators/divide.js +1 -2
- package/build/src/operators/minus.js +1 -2
- package/build/src/operators/mod.js +1 -2
- package/build/src/operators/multiply.js +1 -2
- package/build/src/operators/power.js +1 -2
- package/build/src/prefix.js +1 -2
- package/build/src/statements/append.js +1 -2
- package/build/src/statements/assert.js +1 -2
- package/build/src/statements/assign.js +1 -2
- package/build/src/statements/call_transaction.js +1 -2
- package/build/src/statements/cast.js +1 -2
- package/build/src/statements/clear.js +1 -2
- package/build/src/statements/close_cursor.js +1 -2
- package/build/src/statements/collect.js +1 -2
- package/build/src/statements/commit.js +1 -2
- package/build/src/statements/concatenate.js +1 -2
- package/build/src/statements/condense.js +1 -2
- package/build/src/statements/convert.js +1 -2
- package/build/src/statements/create_data.js +1 -2
- package/build/src/statements/delete_database.js +1 -2
- package/build/src/statements/delete_internal.js +1 -2
- package/build/src/statements/describe.js +1 -2
- package/build/src/statements/fetch_next_cursor.js +1 -2
- package/build/src/statements/find.js +1 -2
- package/build/src/statements/get_bit.js +1 -2
- package/build/src/statements/get_locale.js +1 -2
- package/build/src/statements/get_parameter.js +1 -2
- package/build/src/statements/get_run_time.js +1 -2
- package/build/src/statements/get_time.js +1 -2
- package/build/src/statements/insert_database.js +2 -3
- package/build/src/statements/insert_internal.js +1 -2
- package/build/src/statements/loop.js +1 -2
- package/build/src/statements/modify_database.js +1 -2
- package/build/src/statements/modify_internal.js +1 -2
- package/build/src/statements/move_corresponding.js +1 -2
- package/build/src/statements/open_cursor.js +1 -2
- package/build/src/statements/overlay.js +1 -2
- package/build/src/statements/raise_event.js +1 -2
- package/build/src/statements/read_report.js +1 -2
- package/build/src/statements/read_table.js +1 -2
- package/build/src/statements/receive.js +2 -3
- package/build/src/statements/replace.js +1 -2
- package/build/src/statements/rollback.js +1 -2
- package/build/src/statements/select.js +2 -3
- package/build/src/statements/set_bit.js +1 -2
- package/build/src/statements/set_handler.js +1 -2
- package/build/src/statements/set_locale.js +1 -2
- package/build/src/statements/shift.js +1 -2
- package/build/src/statements/sort.js +1 -2
- package/build/src/statements/split.js +1 -2
- package/build/src/statements/translate.js +1 -2
- package/build/src/statements/unpack.js +1 -2
- package/build/src/statements/update_database.js +1 -2
- package/build/src/statements/wait.js +1 -2
- package/build/src/template_formatting.js +1 -2
- package/build/src/throw_error.js +1 -2
- package/build/src/types/_date_helper.js +2 -3
- package/build/src/types/integer.js +2 -2
- package/build/src/types/table.js +29 -31
- package/package.json +4 -4
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.assigned =
|
|
3
|
+
exports.assigned = assigned;
|
|
4
4
|
function assigned(val) {
|
|
5
5
|
return val.isAssigned();
|
|
6
6
|
}
|
|
7
|
-
exports.assigned = assigned;
|
|
8
7
|
//# sourceMappingURL=assigned.js.map
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.between =
|
|
3
|
+
exports.between = between;
|
|
4
4
|
const ge_1 = require("./ge");
|
|
5
5
|
const le_1 = require("./le");
|
|
6
6
|
function between(left, and1, and2) {
|
|
7
7
|
return (0, ge_1.ge)(left, and1) && (0, le_1.le)(left, and2);
|
|
8
8
|
}
|
|
9
|
-
exports.between = between;
|
|
10
9
|
//# sourceMappingURL=between.js.map
|
package/build/src/compare/ca.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ca =
|
|
3
|
+
exports.ca = ca;
|
|
4
4
|
const types_1 = require("../types");
|
|
5
5
|
function ca(left, right) {
|
|
6
6
|
if (left instanceof types_1.FieldSymbol) {
|
|
@@ -42,5 +42,4 @@ function ca(left, right) {
|
|
|
42
42
|
abap.builtin.sy.get().fdpos.set(fdpos);
|
|
43
43
|
return false;
|
|
44
44
|
}
|
|
45
|
-
exports.ca = ca;
|
|
46
45
|
//# sourceMappingURL=ca.js.map
|
package/build/src/compare/cn.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.cn =
|
|
3
|
+
exports.cn = cn;
|
|
4
4
|
const co_1 = require("./co");
|
|
5
5
|
function cn(left, right) {
|
|
6
6
|
return (0, co_1.co)(left, right) === false;
|
|
7
7
|
}
|
|
8
|
-
exports.cn = cn;
|
|
9
8
|
//# sourceMappingURL=cn.js.map
|
package/build/src/compare/co.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.co =
|
|
3
|
+
exports.co = co;
|
|
4
4
|
const types_1 = require("../types");
|
|
5
5
|
function co(left, right) {
|
|
6
6
|
let l = "";
|
|
@@ -33,5 +33,4 @@ function co(left, right) {
|
|
|
33
33
|
abap.builtin.sy.get().fdpos.set(fdpos);
|
|
34
34
|
return true;
|
|
35
35
|
}
|
|
36
|
-
exports.co = co;
|
|
37
36
|
//# sourceMappingURL=co.js.map
|
package/build/src/compare/cp.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.cp =
|
|
3
|
+
exports.cp = cp;
|
|
4
4
|
const types_1 = require("../types");
|
|
5
5
|
function cp(left, right) {
|
|
6
6
|
let l = "";
|
|
@@ -51,5 +51,4 @@ function cp(left, right) {
|
|
|
51
51
|
const reg = new RegExp("^" + r + "$", "iu");
|
|
52
52
|
return l.match(reg) !== null;
|
|
53
53
|
}
|
|
54
|
-
exports.cp = cp;
|
|
55
54
|
//# sourceMappingURL=cp.js.map
|
package/build/src/compare/cs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.cs =
|
|
3
|
+
exports.cs = cs;
|
|
4
4
|
function cs(left, right) {
|
|
5
5
|
let l = "";
|
|
6
6
|
if (typeof left === "number" || typeof left === "string") {
|
|
@@ -30,5 +30,4 @@ function cs(left, right) {
|
|
|
30
30
|
return true;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
exports.cs = cs;
|
|
34
33
|
//# sourceMappingURL=cs.js.map
|
package/build/src/compare/eq.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.eq =
|
|
3
|
+
exports.eq = eq;
|
|
4
4
|
/* eslint-disable max-len */
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
const _parse_1 = require("../operators/_parse");
|
|
@@ -282,5 +282,4 @@ function eq(left, right) {
|
|
|
282
282
|
*/
|
|
283
283
|
return l === r;
|
|
284
284
|
}
|
|
285
|
-
exports.eq = eq;
|
|
286
285
|
//# sourceMappingURL=eq.js.map
|
package/build/src/compare/ge.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ge =
|
|
3
|
+
exports.ge = ge;
|
|
4
4
|
const _1 = require(".");
|
|
5
5
|
function ge(left, right) {
|
|
6
6
|
return (0, _1.gt)(left, right) || (0, _1.eq)(left, right);
|
|
7
7
|
}
|
|
8
|
-
exports.ge = ge;
|
|
9
8
|
//# sourceMappingURL=ge.js.map
|
package/build/src/compare/gt.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.gt =
|
|
3
|
+
exports.gt = gt;
|
|
4
4
|
const _parse_1 = require("../operators/_parse");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
const integer_1 = require("../types/integer");
|
|
@@ -109,7 +109,6 @@ function gt(left, right) {
|
|
|
109
109
|
}
|
|
110
110
|
return l > r;
|
|
111
111
|
}
|
|
112
|
-
exports.gt = gt;
|
|
113
112
|
///////////////////////////////////////////////////////////////////
|
|
114
113
|
function gt_with_hex(left, right) {
|
|
115
114
|
const left_hex = get_hex_from_parameter(left);
|
package/build/src/compare/in.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.compareIn =
|
|
3
|
+
exports.compareIn = compareIn;
|
|
4
4
|
const cp_1 = require("./cp");
|
|
5
5
|
const eq_1 = require("./eq");
|
|
6
6
|
const ne_1 = require("./ne");
|
|
@@ -31,5 +31,4 @@ function compareIn(left, right) {
|
|
|
31
31
|
}
|
|
32
32
|
return false;
|
|
33
33
|
}
|
|
34
|
-
exports.compareIn = compareIn;
|
|
35
34
|
//# sourceMappingURL=in.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.initial =
|
|
3
|
+
exports.initial = initial;
|
|
4
4
|
const types_1 = require("../types");
|
|
5
5
|
const REGEX_ZEROS = /^0+$/;
|
|
6
6
|
const REGEX_SPACES = /^ *$/;
|
|
@@ -68,5 +68,4 @@ function initial(val) {
|
|
|
68
68
|
throw new Error("runtime, initial, missing implementation");
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
exports.initial = initial;
|
|
72
71
|
//# sourceMappingURL=initial.js.map
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.instance_of =
|
|
3
|
+
exports.instance_of = instance_of;
|
|
4
4
|
function instance_of(val, cname) {
|
|
5
5
|
return val.get() instanceof cname;
|
|
6
6
|
}
|
|
7
|
-
exports.instance_of = instance_of;
|
|
8
7
|
//# sourceMappingURL=instance_of.js.map
|
package/build/src/compare/le.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.le =
|
|
3
|
+
exports.le = le;
|
|
4
4
|
const _1 = require(".");
|
|
5
5
|
function le(left, right) {
|
|
6
6
|
return (0, _1.lt)(left, right) || (0, _1.eq)(left, right);
|
|
7
7
|
}
|
|
8
|
-
exports.le = le;
|
|
9
8
|
//# sourceMappingURL=le.js.map
|
package/build/src/compare/lt.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.lt =
|
|
3
|
+
exports.lt = lt;
|
|
4
4
|
const gt_1 = require("./gt");
|
|
5
5
|
function lt(left, right) {
|
|
6
6
|
return (0, gt_1.gt)(right, left);
|
|
7
7
|
}
|
|
8
|
-
exports.lt = lt;
|
|
9
8
|
//# sourceMappingURL=lt.js.map
|
package/build/src/compare/m.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.hexToBinary = hexToBinary;
|
|
4
|
+
exports.m = m;
|
|
4
5
|
function hexToBinary(input) {
|
|
5
6
|
let ret = "";
|
|
6
7
|
const hex = input.get();
|
|
@@ -10,7 +11,6 @@ function hexToBinary(input) {
|
|
|
10
11
|
}
|
|
11
12
|
return ret;
|
|
12
13
|
}
|
|
13
|
-
exports.hexToBinary = hexToBinary;
|
|
14
14
|
// bitwise compare
|
|
15
15
|
function m(operand1, operand2) {
|
|
16
16
|
let operand1Bits = hexToBinary(operand1);
|
|
@@ -34,5 +34,4 @@ function m(operand1, operand2) {
|
|
|
34
34
|
}
|
|
35
35
|
return oneFound && zeroFound;
|
|
36
36
|
}
|
|
37
|
-
exports.m = m;
|
|
38
37
|
//# sourceMappingURL=m.js.map
|
package/build/src/compare/na.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.na =
|
|
3
|
+
exports.na = na;
|
|
4
4
|
const ca_1 = require("./ca");
|
|
5
5
|
function na(left, right) {
|
|
6
6
|
return !(0, ca_1.ca)(left, right);
|
|
7
7
|
}
|
|
8
|
-
exports.na = na;
|
|
9
8
|
//# sourceMappingURL=na.js.map
|
package/build/src/compare/ne.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ne =
|
|
3
|
+
exports.ne = ne;
|
|
4
4
|
const eq_1 = require("./eq");
|
|
5
5
|
function ne(left, right) {
|
|
6
6
|
return !(0, eq_1.eq)(left, right);
|
|
7
7
|
}
|
|
8
|
-
exports.ne = ne;
|
|
9
8
|
//# sourceMappingURL=ne.js.map
|
package/build/src/compare/np.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.np =
|
|
3
|
+
exports.np = np;
|
|
4
4
|
const cp_1 = require("./cp");
|
|
5
5
|
function np(left, right) {
|
|
6
6
|
return !(0, cp_1.cp)(left, right);
|
|
7
7
|
}
|
|
8
|
-
exports.np = np;
|
|
9
8
|
//# sourceMappingURL=np.js.map
|
package/build/src/compare/ns.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ns =
|
|
3
|
+
exports.ns = ns;
|
|
4
4
|
const cs_1 = require("./cs");
|
|
5
5
|
function ns(left, right) {
|
|
6
6
|
return !(0, cs_1.cs)(left, right);
|
|
7
7
|
}
|
|
8
|
-
exports.ns = ns;
|
|
9
8
|
//# sourceMappingURL=ns.js.map
|
package/build/src/compare/o.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.o =
|
|
3
|
+
exports.o = o;
|
|
4
4
|
const m_1 = require("./m");
|
|
5
5
|
// bitwise compare
|
|
6
6
|
function o(operand1, operand2) {
|
|
@@ -25,5 +25,4 @@ function o(operand1, operand2) {
|
|
|
25
25
|
}
|
|
26
26
|
return zeroFound === false;
|
|
27
27
|
}
|
|
28
|
-
exports.o = o;
|
|
29
28
|
//# sourceMappingURL=o.js.map
|
package/build/src/compare/z.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.z =
|
|
3
|
+
exports.z = z;
|
|
4
4
|
const m_1 = require("./m");
|
|
5
5
|
// bitwise compare
|
|
6
6
|
function z(operand1, operand2) {
|
|
@@ -25,5 +25,4 @@ function z(operand1, operand2) {
|
|
|
25
25
|
}
|
|
26
26
|
return oneFound === false;
|
|
27
27
|
}
|
|
28
|
-
exports.z = z;
|
|
29
28
|
//# sourceMappingURL=z.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.expandDynamic =
|
|
3
|
+
exports.expandDynamic = expandDynamic;
|
|
4
4
|
const types_1 = require("./types");
|
|
5
5
|
function expandDynamic(code, ev) {
|
|
6
6
|
if (code === "") {
|
|
@@ -19,5 +19,4 @@ function expandDynamic(code, ev) {
|
|
|
19
19
|
return code;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
exports.expandDynamic = expandDynamic;
|
|
23
22
|
//# sourceMappingURL=expand_dynamic.js.map
|
package/build/src/expand_in.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.expandIN =
|
|
3
|
+
exports.expandIN = expandIN;
|
|
4
4
|
// note: must always return an expression, never return empty string
|
|
5
5
|
// https://www.sqlite.org/lang_select.html
|
|
6
6
|
function expandIN(fieldName, table) {
|
|
@@ -28,5 +28,4 @@ function expandIN(fieldName, table) {
|
|
|
28
28
|
}
|
|
29
29
|
return ret;
|
|
30
30
|
}
|
|
31
|
-
exports.expandIN = expandIN;
|
|
32
31
|
//# sourceMappingURL=expand_in.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.get_bit_operation_chunks =
|
|
3
|
+
exports.get_bit_operation_chunks = get_bit_operation_chunks;
|
|
4
4
|
function get_bit_operation_chunks(left, right) {
|
|
5
5
|
const ret = [];
|
|
6
6
|
let leftFull = left.get();
|
|
@@ -26,5 +26,4 @@ function get_bit_operation_chunks(left, right) {
|
|
|
26
26
|
}
|
|
27
27
|
return ret;
|
|
28
28
|
}
|
|
29
|
-
exports.get_bit_operation_chunks = get_bit_operation_chunks;
|
|
30
29
|
//# sourceMappingURL=_bit_operations.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.parse =
|
|
3
|
+
exports.parse = parse;
|
|
4
4
|
const types_1 = require("../types");
|
|
5
5
|
const xstring_1 = require("../types/xstring");
|
|
6
6
|
function parse(val) {
|
|
@@ -49,5 +49,4 @@ function parse(val) {
|
|
|
49
49
|
return parse(val.get());
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
exports.parse = parse;
|
|
53
52
|
//# sourceMappingURL=_parse.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.add =
|
|
3
|
+
exports.add = add;
|
|
4
4
|
const types_1 = require("../types");
|
|
5
5
|
const string_1 = require("../types/string");
|
|
6
6
|
const _parse_1 = require("./_parse");
|
|
@@ -50,5 +50,4 @@ function add(left, right) {
|
|
|
50
50
|
const ret = new types_1.Float().set((0, _parse_1.parse)(left) + (0, _parse_1.parse)(right));
|
|
51
51
|
return ret;
|
|
52
52
|
}
|
|
53
|
-
exports.add = add;
|
|
54
53
|
//# sourceMappingURL=add.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.bitand =
|
|
3
|
+
exports.bitand = bitand;
|
|
4
4
|
/*eslint no-bitwise: ["error", { "allow": ["&"] }] */
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
const _bit_operations_1 = require("./_bit_operations");
|
|
@@ -15,5 +15,4 @@ function bitand(left, right) {
|
|
|
15
15
|
ret.set(and);
|
|
16
16
|
return ret;
|
|
17
17
|
}
|
|
18
|
-
exports.bitand = bitand;
|
|
19
18
|
//# sourceMappingURL=bit-and.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.bitnot =
|
|
3
|
+
exports.bitnot = bitnot;
|
|
4
4
|
const builtin_1 = require("../builtin");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
// note: javascript bitwise negate doesnt work well for long hex values
|
|
@@ -20,5 +20,4 @@ function bitnot(right) {
|
|
|
20
20
|
ret.set(not.toUpperCase());
|
|
21
21
|
return ret;
|
|
22
22
|
}
|
|
23
|
-
exports.bitnot = bitnot;
|
|
24
23
|
//# sourceMappingURL=bit-not.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.bitor =
|
|
3
|
+
exports.bitor = bitor;
|
|
4
4
|
/*eslint no-bitwise: ["error", { "allow": ["|"] }] */
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
const _bit_operations_1 = require("./_bit_operations");
|
|
@@ -15,5 +15,4 @@ function bitor(left, right) {
|
|
|
15
15
|
ret.set(or);
|
|
16
16
|
return ret;
|
|
17
17
|
}
|
|
18
|
-
exports.bitor = bitor;
|
|
19
18
|
//# sourceMappingURL=bit-or.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.bitxor =
|
|
3
|
+
exports.bitxor = bitxor;
|
|
4
4
|
/*eslint no-bitwise: ["error", { "allow": ["^"] }] */
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
const _bit_operations_1 = require("./_bit_operations");
|
|
@@ -15,5 +15,4 @@ function bitxor(left, right) {
|
|
|
15
15
|
ret.set(xor);
|
|
16
16
|
return ret;
|
|
17
17
|
}
|
|
18
|
-
exports.bitxor = bitxor;
|
|
19
18
|
//# sourceMappingURL=bit-xor.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.concat =
|
|
3
|
+
exports.concat = concat;
|
|
4
4
|
const types_1 = require("../types");
|
|
5
5
|
function concat(left, right) {
|
|
6
6
|
if (Array.isArray(left)) {
|
|
@@ -32,5 +32,4 @@ function concat(left, right) {
|
|
|
32
32
|
}
|
|
33
33
|
return new types_1.String().set(val);
|
|
34
34
|
}
|
|
35
|
-
exports.concat = concat;
|
|
36
35
|
//# sourceMappingURL=concat.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.div =
|
|
3
|
+
exports.div = div;
|
|
4
4
|
const throw_error_1 = require("../throw_error");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
const _parse_1 = require("./_parse");
|
|
@@ -41,5 +41,4 @@ function div(left, right) {
|
|
|
41
41
|
return new types_1.Integer().set(Math.floor(l / r));
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
exports.div = div;
|
|
45
44
|
//# sourceMappingURL=div.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.divide =
|
|
3
|
+
exports.divide = divide;
|
|
4
4
|
const throw_error_1 = require("../throw_error");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
const _parse_1 = require("./_parse");
|
|
@@ -32,5 +32,4 @@ function divide(left, right) {
|
|
|
32
32
|
const val = l / r;
|
|
33
33
|
return new types_1.Float().set(val);
|
|
34
34
|
}
|
|
35
|
-
exports.divide = divide;
|
|
36
35
|
//# sourceMappingURL=divide.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.minus =
|
|
3
|
+
exports.minus = minus;
|
|
4
4
|
const types_1 = require("../types");
|
|
5
5
|
const _parse_1 = require("./_parse");
|
|
6
6
|
const string_1 = require("../types/string");
|
|
@@ -43,5 +43,4 @@ function minus(left, right) {
|
|
|
43
43
|
}
|
|
44
44
|
return new types_1.Float().set((0, _parse_1.parse)(left) - (0, _parse_1.parse)(right));
|
|
45
45
|
}
|
|
46
|
-
exports.minus = minus;
|
|
47
46
|
//# sourceMappingURL=minus.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mod =
|
|
3
|
+
exports.mod = mod;
|
|
4
4
|
const types_1 = require("../types");
|
|
5
5
|
const _parse_1 = require("./_parse");
|
|
6
6
|
function mod(left, right) {
|
|
@@ -26,5 +26,4 @@ function mod(left, right) {
|
|
|
26
26
|
return new types_1.Integer().set(val);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
exports.mod = mod;
|
|
30
29
|
//# sourceMappingURL=mod.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.multiply =
|
|
3
|
+
exports.multiply = multiply;
|
|
4
4
|
const types_1 = require("../types");
|
|
5
5
|
const _parse_1 = require("./_parse");
|
|
6
6
|
const string_1 = require("../types/string");
|
|
@@ -37,5 +37,4 @@ function multiply(left, right) {
|
|
|
37
37
|
}
|
|
38
38
|
return new types_1.Float().set((0, _parse_1.parse)(left) * (0, _parse_1.parse)(right));
|
|
39
39
|
}
|
|
40
|
-
exports.multiply = multiply;
|
|
41
40
|
//# sourceMappingURL=multiply.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.power =
|
|
3
|
+
exports.power = power;
|
|
4
4
|
const types_1 = require("../types");
|
|
5
5
|
const _parse_1 = require("./_parse");
|
|
6
6
|
function power(left, right) {
|
|
@@ -11,5 +11,4 @@ function power(left, right) {
|
|
|
11
11
|
}
|
|
12
12
|
return new types_1.Float().set(Math.pow((0, _parse_1.parse)(left), (0, _parse_1.parse)(right)));
|
|
13
13
|
}
|
|
14
|
-
exports.power = power;
|
|
15
14
|
//# sourceMappingURL=power.js.map
|
package/build/src/prefix.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.buildDbTableName =
|
|
3
|
+
exports.buildDbTableName = buildDbTableName;
|
|
4
4
|
function buildDbTableName(table) {
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
let ret = `"${abap.dbo.tablePrefix + table.trimEnd().toLowerCase()}"`;
|
|
@@ -11,5 +11,4 @@ function buildDbTableName(table) {
|
|
|
11
11
|
}
|
|
12
12
|
return ret;
|
|
13
13
|
}
|
|
14
|
-
exports.buildDbTableName = buildDbTableName;
|
|
15
14
|
//# sourceMappingURL=prefix.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.append =
|
|
3
|
+
exports.append = append;
|
|
4
4
|
const types_1 = require("../types");
|
|
5
5
|
function append(input) {
|
|
6
6
|
if (input.target instanceof types_1.FieldSymbol) {
|
|
@@ -63,5 +63,4 @@ function append(input) {
|
|
|
63
63
|
// @ts-ignore
|
|
64
64
|
abap.builtin.sy.get().tabix.set(input.target.array().length);
|
|
65
65
|
}
|
|
66
|
-
exports.append = append;
|
|
67
66
|
//# sourceMappingURL=append.js.map
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.assert =
|
|
3
|
+
exports.assert = assert;
|
|
4
4
|
function assert(input) {
|
|
5
5
|
if (input === false) {
|
|
6
6
|
throw new Error("ASSERTION_FAILED");
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
exports.assert = assert;
|
|
10
9
|
//# sourceMappingURL=assert.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.assign =
|
|
3
|
+
exports.assign = assign;
|
|
4
4
|
const types_1 = require("../types");
|
|
5
5
|
function assign(input) {
|
|
6
6
|
// console.dir(input);
|
|
@@ -141,5 +141,4 @@ function assign(input) {
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
exports.assign = assign;
|
|
145
144
|
//# sourceMappingURL=assign.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.callTransaction =
|
|
3
|
+
exports.callTransaction = callTransaction;
|
|
4
4
|
function callTransaction() {
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
abap.builtin.sy.get().subrc.set(4);
|
|
@@ -15,5 +15,4 @@ function callTransaction() {
|
|
|
15
15
|
// @ts-ignore
|
|
16
16
|
abap.builtin.sy.get().msgv2.set("not supported in open-abap");
|
|
17
17
|
}
|
|
18
|
-
exports.callTransaction = callTransaction;
|
|
19
18
|
//# sourceMappingURL=call_transaction.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.cast =
|
|
3
|
+
exports.cast = cast;
|
|
4
4
|
const throw_error_1 = require("../throw_error");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
// todo, field symbols as input?
|
|
@@ -51,5 +51,4 @@ async function cast(target, source) {
|
|
|
51
51
|
}
|
|
52
52
|
target.set(source);
|
|
53
53
|
}
|
|
54
|
-
exports.cast = cast;
|
|
55
54
|
//# sourceMappingURL=cast.js.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.closeCursor =
|
|
3
|
+
exports.closeCursor = closeCursor;
|
|
4
4
|
async function closeCursor(context, cursor) {
|
|
5
5
|
await context.cursors[cursor].closeCursor();
|
|
6
6
|
delete context.cursors[cursor];
|
|
7
7
|
}
|
|
8
|
-
exports.closeCursor = closeCursor;
|
|
9
8
|
//# sourceMappingURL=close_cursor.js.map
|