@abaplint/runtime 2.5.38 → 2.5.40
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/abap_regex.d.ts +4 -4
- package/build/src/abap_regex.js +18 -18
- package/build/src/binary_search.d.ts +5 -5
- package/build/src/binary_search.js +48 -48
- package/build/src/builtin/abs.d.ts +5 -5
- package/build/src/builtin/abs.js +17 -17
- package/build/src/builtin/boolc.d.ts +4 -4
- package/build/src/builtin/boolc.js +22 -22
- package/build/src/builtin/ceil.d.ts +5 -5
- package/build/src/builtin/ceil.js +17 -17
- package/build/src/builtin/concat_lines_of.d.ts +7 -7
- package/build/src/builtin/concat_lines_of.js +15 -15
- package/build/src/builtin/condense.d.ts +9 -9
- package/build/src/builtin/condense.js +28 -28
- package/build/src/builtin/contains.d.ts +12 -12
- package/build/src/builtin/contains.js +15 -15
- package/build/src/builtin/cos.d.ts +5 -5
- package/build/src/builtin/cos.js +22 -22
- package/build/src/builtin/count.d.ts +12 -12
- package/build/src/builtin/count.js +37 -37
- package/build/src/builtin/count_any_of.d.ts +8 -8
- package/build/src/builtin/count_any_of.js +17 -17
- package/build/src/builtin/escape.d.ts +7 -7
- package/build/src/builtin/escape.js +30 -30
- package/build/src/builtin/find.d.ts +13 -13
- package/build/src/builtin/find.js +57 -57
- package/build/src/builtin/floor.d.ts +5 -5
- package/build/src/builtin/floor.js +17 -17
- package/build/src/builtin/frac.d.ts +6 -6
- package/build/src/builtin/frac.js +40 -40
- package/build/src/builtin/index.d.ts +47 -47
- package/build/src/builtin/index.js +64 -64
- package/build/src/builtin/insert.d.ts +9 -9
- package/build/src/builtin/insert.js +15 -15
- package/build/src/builtin/ipow.d.ts +6 -6
- package/build/src/builtin/ipow.js +27 -27
- package/build/src/builtin/lines.d.ts +4 -4
- package/build/src/builtin/lines.js +8 -8
- package/build/src/builtin/match.d.ts +5 -5
- package/build/src/builtin/match.js +22 -22
- package/build/src/builtin/matches.d.ts +6 -6
- package/build/src/builtin/matches.js +29 -29
- package/build/src/builtin/nmax.d.ts +14 -14
- package/build/src/builtin/nmax.js +34 -34
- package/build/src/builtin/nmin.d.ts +14 -14
- package/build/src/builtin/nmin.js +34 -34
- package/build/src/builtin/numofchar.d.ts +5 -5
- package/build/src/builtin/numofchar.js +15 -15
- package/build/src/builtin/repeat.d.ts +6 -6
- package/build/src/builtin/repeat.js +9 -9
- package/build/src/builtin/replace.d.ts +13 -13
- package/build/src/builtin/replace.js +65 -65
- package/build/src/builtin/reverse.d.ts +5 -5
- package/build/src/builtin/reverse.js +16 -16
- package/build/src/builtin/round.d.ts +8 -8
- package/build/src/builtin/round.js +41 -41
- package/build/src/builtin/segment.d.ts +8 -8
- package/build/src/builtin/segment.js +32 -32
- package/build/src/builtin/shift_left.d.ts +9 -9
- package/build/src/builtin/shift_left.js +30 -30
- package/build/src/builtin/sign.d.ts +5 -5
- package/build/src/builtin/sign.js +17 -17
- package/build/src/builtin/sin.d.ts +5 -5
- package/build/src/builtin/sin.js +22 -22
- package/build/src/builtin/sqrt.d.ts +5 -5
- package/build/src/builtin/sqrt.js +22 -22
- package/build/src/builtin/strlen.d.ts +5 -5
- package/build/src/builtin/strlen.js +15 -15
- package/build/src/builtin/substring.d.ts +8 -8
- package/build/src/builtin/substring.js +28 -28
- package/build/src/builtin/substring_after.d.ts +6 -6
- package/build/src/builtin/substring_after.js +28 -28
- package/build/src/builtin/substring_before.d.ts +6 -6
- package/build/src/builtin/substring_before.js +28 -28
- package/build/src/builtin/sy.d.ts +2 -2
- package/build/src/builtin/sy.js +30 -30
- package/build/src/builtin/tan.d.ts +5 -5
- package/build/src/builtin/tan.js +22 -22
- package/build/src/builtin/to_lower.d.ts +4 -4
- package/build/src/builtin/to_lower.js +9 -9
- package/build/src/builtin/to_mixed.d.ts +9 -9
- package/build/src/builtin/to_mixed.js +48 -48
- package/build/src/builtin/to_upper.d.ts +4 -4
- package/build/src/builtin/to_upper.js +9 -9
- package/build/src/builtin/translate.d.ts +6 -6
- package/build/src/builtin/translate.js +19 -19
- package/build/src/builtin/trunc.d.ts +5 -5
- package/build/src/builtin/trunc.js +17 -17
- package/build/src/builtin/xstrlen.d.ts +5 -5
- package/build/src/builtin/xstrlen.js +13 -13
- package/build/src/classic_error.d.ts +6 -6
- package/build/src/classic_error.js +10 -10
- package/build/src/clone.d.ts +1 -1
- package/build/src/clone.js +37 -37
- package/build/src/compare/assigned.d.ts +2 -2
- package/build/src/compare/assigned.js +7 -7
- package/build/src/compare/between.d.ts +2 -2
- package/build/src/compare/between.js +9 -9
- package/build/src/compare/ca.d.ts +3 -3
- package/build/src/compare/ca.js +36 -36
- package/build/src/compare/cn.d.ts +3 -3
- package/build/src/compare/cn.js +8 -8
- package/build/src/compare/co.d.ts +4 -4
- package/build/src/compare/co.js +37 -37
- package/build/src/compare/cp.d.ts +4 -4
- package/build/src/compare/cp.js +48 -48
- package/build/src/compare/cs.d.ts +3 -3
- package/build/src/compare/cs.js +33 -33
- package/build/src/compare/eq.d.ts +4 -4
- package/build/src/compare/eq.js +134 -134
- package/build/src/compare/ge.d.ts +3 -3
- package/build/src/compare/ge.js +8 -8
- package/build/src/compare/gt.d.ts +4 -4
- package/build/src/compare/gt.js +107 -107
- package/build/src/compare/in.d.ts +4 -4
- package/build/src/compare/in.js +34 -34
- package/build/src/compare/index.d.ts +22 -22
- package/build/src/compare/index.js +40 -40
- package/build/src/compare/initial.d.ts +4 -4
- package/build/src/compare/initial.js +63 -63
- package/build/src/compare/instance_of.d.ts +2 -2
- package/build/src/compare/instance_of.js +7 -7
- package/build/src/compare/le.d.ts +3 -3
- package/build/src/compare/le.js +8 -8
- package/build/src/compare/lt.d.ts +4 -4
- package/build/src/compare/lt.js +8 -8
- package/build/src/compare/m.d.ts +3 -3
- package/build/src/compare/m.js +37 -37
- package/build/src/compare/na.d.ts +3 -3
- package/build/src/compare/na.js +8 -8
- package/build/src/compare/ne.d.ts +3 -3
- package/build/src/compare/ne.js +8 -8
- package/build/src/compare/np.d.ts +3 -3
- package/build/src/compare/np.js +8 -8
- package/build/src/compare/ns.d.ts +3 -3
- package/build/src/compare/ns.js +8 -8
- package/build/src/compare/o.d.ts +2 -2
- package/build/src/compare/o.js +28 -28
- package/build/src/compare/z.d.ts +2 -2
- package/build/src/compare/z.js +28 -28
- package/build/src/console.d.ts +7 -7
- package/build/src/console.js +21 -21
- package/build/src/context.d.ts +13 -13
- package/build/src/context.js +17 -17
- package/build/src/db/db.d.ts +55 -55
- package/build/src/db/db.js +2 -2
- package/build/src/expand_dynamic.d.ts +2 -2
- package/build/src/expand_dynamic.js +22 -22
- package/build/src/expand_in.d.ts +2 -2
- package/build/src/expand_in.js +24 -24
- package/build/src/index.d.ts +52 -52
- package/build/src/index.js +54 -54
- package/build/src/offset_length.d.ts +16 -16
- package/build/src/offset_length.js +78 -78
- package/build/src/operators/_bit_operations.d.ts +6 -6
- package/build/src/operators/_bit_operations.js +29 -29
- package/build/src/operators/_parse.d.ts +4 -4
- package/build/src/operators/_parse.js +45 -45
- package/build/src/operators/add.d.ts +4 -4
- package/build/src/operators/add.js +42 -42
- package/build/src/operators/bit-and.d.ts +2 -2
- package/build/src/operators/bit-and.js +18 -18
- package/build/src/operators/bit-not.d.ts +2 -2
- package/build/src/operators/bit-not.js +14 -14
- package/build/src/operators/bit-or.d.ts +2 -2
- package/build/src/operators/bit-or.js +18 -18
- package/build/src/operators/bit-xor.d.ts +2 -2
- package/build/src/operators/bit-xor.js +18 -18
- package/build/src/operators/concat.d.ts +4 -4
- package/build/src/operators/concat.js +35 -35
- package/build/src/operators/div.d.ts +4 -4
- package/build/src/operators/div.js +12 -12
- package/build/src/operators/divide.d.ts +4 -4
- package/build/src/operators/divide.js +16 -16
- package/build/src/operators/index.d.ts +12 -12
- package/build/src/operators/index.js +28 -28
- package/build/src/operators/minus.d.ts +4 -4
- package/build/src/operators/minus.js +41 -41
- package/build/src/operators/mod.d.ts +4 -4
- package/build/src/operators/mod.js +12 -12
- package/build/src/operators/multiply.d.ts +4 -4
- package/build/src/operators/multiply.js +29 -29
- package/build/src/operators/power.d.ts +4 -4
- package/build/src/operators/power.js +9 -9
- package/build/src/rfc.d.ts +25 -25
- package/build/src/rfc.js +2 -2
- package/build/src/statements/append.d.ts +13 -13
- package/build/src/statements/append.js +66 -66
- package/build/src/statements/assert.d.ts +1 -1
- package/build/src/statements/assert.js +9 -9
- package/build/src/statements/assign.d.ts +12 -12
- package/build/src/statements/assign.js +136 -136
- package/build/src/statements/call_function.d.ts +15 -15
- package/build/src/statements/call_function.js +35 -35
- package/build/src/statements/cast.d.ts +2 -2
- package/build/src/statements/cast.js +56 -56
- package/build/src/statements/clear.d.ts +4 -4
- package/build/src/statements/clear.js +7 -7
- package/build/src/statements/collect.d.ts +3 -3
- package/build/src/statements/collect.js +13 -13
- package/build/src/statements/commit.d.ts +1 -1
- package/build/src/statements/commit.js +7 -7
- package/build/src/statements/concatenate.d.ts +11 -11
- package/build/src/statements/concatenate.js +47 -47
- package/build/src/statements/condense.d.ts +4 -4
- package/build/src/statements/condense.js +15 -15
- package/build/src/statements/convert.d.ts +14 -14
- package/build/src/statements/convert.js +78 -78
- package/build/src/statements/create_data.d.ts +16 -16
- package/build/src/statements/create_data.js +154 -154
- package/build/src/statements/delete_database.d.ts +13 -13
- package/build/src/statements/delete_database.js +51 -51
- package/build/src/statements/delete_internal.d.ts +12 -12
- package/build/src/statements/delete_internal.js +106 -99
- package/build/src/statements/describe.d.ts +13 -13
- package/build/src/statements/describe.js +89 -89
- package/build/src/statements/find.d.ts +17 -17
- package/build/src/statements/find.js +173 -168
- package/build/src/statements/get_bit.d.ts +4 -4
- package/build/src/statements/get_bit.js +12 -12
- package/build/src/statements/get_locale.d.ts +2 -2
- package/build/src/statements/get_locale.js +8 -8
- package/build/src/statements/get_parameter.d.ts +2 -2
- package/build/src/statements/get_parameter.js +9 -9
- package/build/src/statements/get_run_time.d.ts +2 -2
- package/build/src/statements/get_run_time.js +16 -16
- package/build/src/statements/get_time.d.ts +9 -9
- package/build/src/statements/get_time.js +30 -30
- package/build/src/statements/index.d.ts +96 -96
- package/build/src/statements/index.js +115 -115
- package/build/src/statements/insert_database.d.ts +13 -13
- package/build/src/statements/insert_database.js +56 -56
- package/build/src/statements/insert_internal.d.ts +13 -13
- package/build/src/statements/insert_internal.js +113 -113
- package/build/src/statements/loop.d.ts +15 -15
- package/build/src/statements/loop.js +115 -115
- package/build/src/statements/message.d.ts +17 -17
- package/build/src/statements/message.js +89 -89
- package/build/src/statements/modify_database.d.ts +12 -12
- package/build/src/statements/modify_database.js +39 -39
- package/build/src/statements/modify_internal.d.ts +7 -7
- package/build/src/statements/modify_internal.js +29 -29
- package/build/src/statements/move_corresponding.d.ts +2 -2
- package/build/src/statements/move_corresponding.js +10 -10
- package/build/src/statements/overlay.d.ts +3 -3
- package/build/src/statements/overlay.js +16 -16
- package/build/src/statements/raise_event.d.ts +1 -1
- package/build/src/statements/raise_event.js +8 -8
- package/build/src/statements/read_report.d.ts +8 -8
- package/build/src/statements/read_report.js +14 -14
- package/build/src/statements/read_table.d.ts +22 -22
- package/build/src/statements/read_table.js +130 -130
- package/build/src/statements/replace.d.ts +13 -13
- package/build/src/statements/replace.js +60 -60
- package/build/src/statements/rollback.d.ts +1 -1
- package/build/src/statements/rollback.js +7 -7
- package/build/src/statements/select.d.ts +8 -8
- package/build/src/statements/select.js +77 -77
- package/build/src/statements/set_bit.d.ts +4 -4
- package/build/src/statements/set_bit.js +41 -41
- package/build/src/statements/set_handler.d.ts +3 -3
- package/build/src/statements/set_handler.js +8 -8
- package/build/src/statements/set_locale.d.ts +2 -2
- package/build/src/statements/set_locale.js +7 -7
- package/build/src/statements/shift.d.ts +12 -12
- package/build/src/statements/shift.js +113 -113
- package/build/src/statements/sort.d.ts +9 -9
- package/build/src/statements/sort.js +82 -82
- package/build/src/statements/split.d.ts +9 -9
- package/build/src/statements/split.js +38 -38
- package/build/src/statements/translate.d.ts +2 -2
- package/build/src/statements/translate.js +39 -39
- package/build/src/statements/update_database.d.ts +14 -14
- package/build/src/statements/update_database.js +53 -53
- package/build/src/statements/write.d.ts +17 -17
- package/build/src/statements/write.js +56 -56
- package/build/src/template_formatting.d.ts +14 -14
- package/build/src/template_formatting.js +82 -82
- package/build/src/throw_error.d.ts +1 -1
- package/build/src/throw_error.js +14 -14
- package/build/src/types/_abstract_type_data.d.ts +5 -5
- package/build/src/types/_abstract_type_data.js +2 -2
- package/build/src/types/_character.d.ts +11 -11
- package/build/src/types/_character.js +2 -2
- package/build/src/types/_date_helper.d.ts +2 -2
- package/build/src/types/_date_helper.js +40 -40
- package/build/src/types/_numeric.d.ts +5 -5
- package/build/src/types/_numeric.js +2 -2
- package/build/src/types/abap_object.d.ts +11 -11
- package/build/src/types/abap_object.js +32 -32
- package/build/src/types/character.d.ts +26 -26
- package/build/src/types/character.js +111 -111
- package/build/src/types/data_reference.d.ts +28 -28
- package/build/src/types/data_reference.js +88 -88
- package/build/src/types/date.d.ts +20 -20
- package/build/src/types/date.js +66 -66
- package/build/src/types/decfloat34.d.ts +11 -11
- package/build/src/types/decfloat34.js +45 -45
- package/build/src/types/field_symbol.d.ts +32 -32
- package/build/src/types/field_symbol.js +115 -115
- package/build/src/types/float.d.ts +15 -15
- package/build/src/types/float.js +74 -74
- package/build/src/types/hex.d.ts +20 -20
- package/build/src/types/hex.js +81 -81
- package/build/src/types/index.d.ts +17 -17
- package/build/src/types/index.js +33 -33
- package/build/src/types/integer.d.ts +15 -15
- package/build/src/types/integer.js +56 -56
- package/build/src/types/numc.d.ts +21 -21
- package/build/src/types/numc.js +48 -48
- package/build/src/types/packed.d.ts +19 -19
- package/build/src/types/packed.js +53 -53
- package/build/src/types/string.d.ts +19 -19
- package/build/src/types/string.js +86 -86
- package/build/src/types/structure.d.ts +23 -23
- package/build/src/types/structure.js +113 -113
- package/build/src/types/table.d.ts +55 -55
- package/build/src/types/table.js +220 -220
- package/build/src/types/time.d.ts +20 -20
- package/build/src/types/time.js +67 -67
- package/build/src/types/utc_long.d.ts +18 -18
- package/build/src/types/utc_long.js +26 -26
- package/build/src/types/xstring.d.ts +18 -18
- package/build/src/types/xstring.js +70 -70
- package/build/src/unit_test.d.ts +26 -26
- package/build/src/unit_test.js +75 -75
- package/package.json +2 -2
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.space = exports.abap_undefined = exports.abap_false = exports.abap_true = void 0;
|
|
18
|
-
const types_1 = require("../types");
|
|
19
|
-
__exportStar(require("./abs"), exports);
|
|
20
|
-
__exportStar(require("./boolc"), exports);
|
|
21
|
-
__exportStar(require("./ceil"), exports);
|
|
22
|
-
__exportStar(require("./concat_lines_of"), exports);
|
|
23
|
-
__exportStar(require("./condense"), exports);
|
|
24
|
-
__exportStar(require("./contains"), exports);
|
|
25
|
-
__exportStar(require("./cos"), exports);
|
|
26
|
-
__exportStar(require("./count_any_of"), exports);
|
|
27
|
-
__exportStar(require("./count"), exports);
|
|
28
|
-
__exportStar(require("./escape"), exports);
|
|
29
|
-
__exportStar(require("./find"), exports);
|
|
30
|
-
__exportStar(require("./floor"), exports);
|
|
31
|
-
__exportStar(require("./frac"), exports);
|
|
32
|
-
__exportStar(require("./insert"), exports);
|
|
33
|
-
__exportStar(require("./ipow"), exports);
|
|
34
|
-
__exportStar(require("./lines"), exports);
|
|
35
|
-
__exportStar(require("./match"), exports);
|
|
36
|
-
__exportStar(require("./matches"), exports);
|
|
37
|
-
__exportStar(require("./nmax"), exports);
|
|
38
|
-
__exportStar(require("./nmin"), exports);
|
|
39
|
-
__exportStar(require("./numofchar"), exports);
|
|
40
|
-
__exportStar(require("./repeat"), exports);
|
|
41
|
-
__exportStar(require("./replace"), exports);
|
|
42
|
-
__exportStar(require("./reverse"), exports);
|
|
43
|
-
__exportStar(require("./round"), exports);
|
|
44
|
-
__exportStar(require("./segment"), exports);
|
|
45
|
-
__exportStar(require("./shift_left"), exports);
|
|
46
|
-
__exportStar(require("./sign"), exports);
|
|
47
|
-
__exportStar(require("./sin"), exports);
|
|
48
|
-
__exportStar(require("./sqrt"), exports);
|
|
49
|
-
__exportStar(require("./strlen"), exports);
|
|
50
|
-
__exportStar(require("./substring_after"), exports);
|
|
51
|
-
__exportStar(require("./substring_before"), exports);
|
|
52
|
-
__exportStar(require("./substring"), exports);
|
|
53
|
-
__exportStar(require("./sy"), exports);
|
|
54
|
-
__exportStar(require("./tan"), exports);
|
|
55
|
-
__exportStar(require("./to_lower"), exports);
|
|
56
|
-
__exportStar(require("./to_mixed"), exports);
|
|
57
|
-
__exportStar(require("./to_upper"), exports);
|
|
58
|
-
__exportStar(require("./translate"), exports);
|
|
59
|
-
__exportStar(require("./trunc"), exports);
|
|
60
|
-
__exportStar(require("./xstrlen"), exports);
|
|
61
|
-
exports.abap_true = new types_1.Character(1, { qualifiedName: "ABAP_BOOL", ddicName: "ABAP_BOOL" }).set("X").setConstant();
|
|
62
|
-
exports.abap_false = new types_1.Character(1, { qualifiedName: "ABAP_BOOL", ddicName: "ABAP_BOOL" }).set("").setConstant();
|
|
63
|
-
exports.abap_undefined = new types_1.Character(1, { qualifiedName: "ABAP_BOOL", ddicName: "ABAP_BOOL" }).set("-").setConstant();
|
|
64
|
-
exports.space = new types_1.Character(1, { qualifiedName: "ABAP_BOOL", ddicName: "ABAP_BOOL" }).set(" ").setConstant();
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.space = exports.abap_undefined = exports.abap_false = exports.abap_true = void 0;
|
|
18
|
+
const types_1 = require("../types");
|
|
19
|
+
__exportStar(require("./abs"), exports);
|
|
20
|
+
__exportStar(require("./boolc"), exports);
|
|
21
|
+
__exportStar(require("./ceil"), exports);
|
|
22
|
+
__exportStar(require("./concat_lines_of"), exports);
|
|
23
|
+
__exportStar(require("./condense"), exports);
|
|
24
|
+
__exportStar(require("./contains"), exports);
|
|
25
|
+
__exportStar(require("./cos"), exports);
|
|
26
|
+
__exportStar(require("./count_any_of"), exports);
|
|
27
|
+
__exportStar(require("./count"), exports);
|
|
28
|
+
__exportStar(require("./escape"), exports);
|
|
29
|
+
__exportStar(require("./find"), exports);
|
|
30
|
+
__exportStar(require("./floor"), exports);
|
|
31
|
+
__exportStar(require("./frac"), exports);
|
|
32
|
+
__exportStar(require("./insert"), exports);
|
|
33
|
+
__exportStar(require("./ipow"), exports);
|
|
34
|
+
__exportStar(require("./lines"), exports);
|
|
35
|
+
__exportStar(require("./match"), exports);
|
|
36
|
+
__exportStar(require("./matches"), exports);
|
|
37
|
+
__exportStar(require("./nmax"), exports);
|
|
38
|
+
__exportStar(require("./nmin"), exports);
|
|
39
|
+
__exportStar(require("./numofchar"), exports);
|
|
40
|
+
__exportStar(require("./repeat"), exports);
|
|
41
|
+
__exportStar(require("./replace"), exports);
|
|
42
|
+
__exportStar(require("./reverse"), exports);
|
|
43
|
+
__exportStar(require("./round"), exports);
|
|
44
|
+
__exportStar(require("./segment"), exports);
|
|
45
|
+
__exportStar(require("./shift_left"), exports);
|
|
46
|
+
__exportStar(require("./sign"), exports);
|
|
47
|
+
__exportStar(require("./sin"), exports);
|
|
48
|
+
__exportStar(require("./sqrt"), exports);
|
|
49
|
+
__exportStar(require("./strlen"), exports);
|
|
50
|
+
__exportStar(require("./substring_after"), exports);
|
|
51
|
+
__exportStar(require("./substring_before"), exports);
|
|
52
|
+
__exportStar(require("./substring"), exports);
|
|
53
|
+
__exportStar(require("./sy"), exports);
|
|
54
|
+
__exportStar(require("./tan"), exports);
|
|
55
|
+
__exportStar(require("./to_lower"), exports);
|
|
56
|
+
__exportStar(require("./to_mixed"), exports);
|
|
57
|
+
__exportStar(require("./to_upper"), exports);
|
|
58
|
+
__exportStar(require("./translate"), exports);
|
|
59
|
+
__exportStar(require("./trunc"), exports);
|
|
60
|
+
__exportStar(require("./xstrlen"), exports);
|
|
61
|
+
exports.abap_true = new types_1.Character(1, { qualifiedName: "ABAP_BOOL", ddicName: "ABAP_BOOL" }).set("X").setConstant();
|
|
62
|
+
exports.abap_false = new types_1.Character(1, { qualifiedName: "ABAP_BOOL", ddicName: "ABAP_BOOL" }).set("").setConstant();
|
|
63
|
+
exports.abap_undefined = new types_1.Character(1, { qualifiedName: "ABAP_BOOL", ddicName: "ABAP_BOOL" }).set("-").setConstant();
|
|
64
|
+
exports.space = new types_1.Character(1, { qualifiedName: "ABAP_BOOL", ddicName: "ABAP_BOOL" }).set(" ").setConstant();
|
|
65
65
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { String } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export interface IInsertInput {
|
|
5
|
-
val: ICharacter;
|
|
6
|
-
sub: ICharacter;
|
|
7
|
-
off?: INumeric;
|
|
8
|
-
}
|
|
9
|
-
export declare function insert(input: IInsertInput): String;
|
|
1
|
+
import { String } from "../types";
|
|
2
|
+
import { ICharacter } from "../types/_character";
|
|
3
|
+
import { INumeric } from "../types/_numeric";
|
|
4
|
+
export interface IInsertInput {
|
|
5
|
+
val: ICharacter;
|
|
6
|
+
sub: ICharacter;
|
|
7
|
+
off?: INumeric;
|
|
8
|
+
}
|
|
9
|
+
export declare function insert(input: IInsertInput): String;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.insert = void 0;
|
|
4
|
-
const types_1 = require("../types");
|
|
5
|
-
function insert(input) {
|
|
6
|
-
let offset = 0;
|
|
7
|
-
if (input.off) {
|
|
8
|
-
offset = input.off.get();
|
|
9
|
-
}
|
|
10
|
-
const value = input.val.getOffset({ offset: 0, length: offset }).get() +
|
|
11
|
-
input.sub.get() +
|
|
12
|
-
input.val.getOffset({ offset: offset }).get();
|
|
13
|
-
return new types_1.String().set(value);
|
|
14
|
-
}
|
|
15
|
-
exports.insert = insert;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.insert = void 0;
|
|
4
|
+
const types_1 = require("../types");
|
|
5
|
+
function insert(input) {
|
|
6
|
+
let offset = 0;
|
|
7
|
+
if (input.off) {
|
|
8
|
+
offset = input.off.get();
|
|
9
|
+
}
|
|
10
|
+
const value = input.val.getOffset({ offset: 0, length: offset }).get() +
|
|
11
|
+
input.sub.get() +
|
|
12
|
+
input.val.getOffset({ offset: offset }).get();
|
|
13
|
+
return new types_1.String().set(value);
|
|
14
|
+
}
|
|
15
|
+
exports.insert = insert;
|
|
16
16
|
//# sourceMappingURL=insert.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ICharacter } from "../types/_character";
|
|
2
|
-
import { INumeric } from "../types/_numeric";
|
|
3
|
-
export declare function ipow(input: {
|
|
4
|
-
base: number | string | ICharacter | INumeric;
|
|
5
|
-
exp: number | string | ICharacter | INumeric;
|
|
6
|
-
}): string;
|
|
1
|
+
import { ICharacter } from "../types/_character";
|
|
2
|
+
import { INumeric } from "../types/_numeric";
|
|
3
|
+
export declare function ipow(input: {
|
|
4
|
+
base: number | string | ICharacter | INumeric;
|
|
5
|
+
exp: number | string | ICharacter | INumeric;
|
|
6
|
+
}): string;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ipow = void 0;
|
|
4
|
-
function ipow(input) {
|
|
5
|
-
let base = undefined;
|
|
6
|
-
if (typeof input.base === "number") {
|
|
7
|
-
base = input.base;
|
|
8
|
-
}
|
|
9
|
-
else if (typeof input.base === "string") {
|
|
10
|
-
base = parseFloat(input.base);
|
|
11
|
-
}
|
|
12
|
-
else {
|
|
13
|
-
base = parseFloat(input.base.get().toString());
|
|
14
|
-
}
|
|
15
|
-
let exp = undefined;
|
|
16
|
-
if (typeof input.exp === "number") {
|
|
17
|
-
exp = input.exp;
|
|
18
|
-
}
|
|
19
|
-
else if (typeof input.exp === "string") {
|
|
20
|
-
exp = parseFloat(input.exp);
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
exp = parseFloat(input.exp.get().toString());
|
|
24
|
-
}
|
|
25
|
-
return Math.pow(base, exp).toFixed(0);
|
|
26
|
-
}
|
|
27
|
-
exports.ipow = ipow;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ipow = void 0;
|
|
4
|
+
function ipow(input) {
|
|
5
|
+
let base = undefined;
|
|
6
|
+
if (typeof input.base === "number") {
|
|
7
|
+
base = input.base;
|
|
8
|
+
}
|
|
9
|
+
else if (typeof input.base === "string") {
|
|
10
|
+
base = parseFloat(input.base);
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
base = parseFloat(input.base.get().toString());
|
|
14
|
+
}
|
|
15
|
+
let exp = undefined;
|
|
16
|
+
if (typeof input.exp === "number") {
|
|
17
|
+
exp = input.exp;
|
|
18
|
+
}
|
|
19
|
+
else if (typeof input.exp === "string") {
|
|
20
|
+
exp = parseFloat(input.exp);
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
exp = parseFloat(input.exp.get().toString());
|
|
24
|
+
}
|
|
25
|
+
return Math.pow(base, exp).toFixed(0);
|
|
26
|
+
}
|
|
27
|
+
exports.ipow = ipow;
|
|
28
28
|
//# sourceMappingURL=ipow.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Table, Integer } from "../types";
|
|
2
|
-
export declare function lines(input: {
|
|
3
|
-
val: Table;
|
|
4
|
-
}): Integer;
|
|
1
|
+
import { Table, Integer } from "../types";
|
|
2
|
+
export declare function lines(input: {
|
|
3
|
+
val: Table;
|
|
4
|
+
}): Integer;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.lines = void 0;
|
|
4
|
-
const types_1 = require("../types");
|
|
5
|
-
function lines(input) {
|
|
6
|
-
return new types_1.Integer().set(input.val.array().length);
|
|
7
|
-
}
|
|
8
|
-
exports.lines = lines;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.lines = void 0;
|
|
4
|
+
const types_1 = require("../types");
|
|
5
|
+
function lines(input) {
|
|
6
|
+
return new types_1.Integer().set(input.val.array().length);
|
|
7
|
+
}
|
|
8
|
+
exports.lines = lines;
|
|
9
9
|
//# sourceMappingURL=lines.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ICharacter } from "../types/_character";
|
|
2
|
-
export declare function match(input: {
|
|
3
|
-
val: ICharacter | string;
|
|
4
|
-
regex: ICharacter | string;
|
|
5
|
-
}): ICharacter;
|
|
1
|
+
import { ICharacter } from "../types/_character";
|
|
2
|
+
export declare function match(input: {
|
|
3
|
+
val: ICharacter | string;
|
|
4
|
+
regex: ICharacter | string;
|
|
5
|
+
}): ICharacter;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.match = void 0;
|
|
4
|
-
const string_1 = require("../types/string");
|
|
5
|
-
function match(input) {
|
|
6
|
-
const val = typeof input.val === "string" ? input.val : input.val.get();
|
|
7
|
-
let reg = "";
|
|
8
|
-
if (typeof input.regex === "string") {
|
|
9
|
-
reg = input.regex;
|
|
10
|
-
}
|
|
11
|
-
else {
|
|
12
|
-
reg = input.regex.get();
|
|
13
|
-
}
|
|
14
|
-
const r = new RegExp(reg);
|
|
15
|
-
const res = val.match(r);
|
|
16
|
-
let ret = "";
|
|
17
|
-
if (res && res[0]) {
|
|
18
|
-
ret = res[0];
|
|
19
|
-
}
|
|
20
|
-
return new string_1.String().set(ret);
|
|
21
|
-
}
|
|
22
|
-
exports.match = match;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.match = void 0;
|
|
4
|
+
const string_1 = require("../types/string");
|
|
5
|
+
function match(input) {
|
|
6
|
+
const val = typeof input.val === "string" ? input.val : input.val.get();
|
|
7
|
+
let reg = "";
|
|
8
|
+
if (typeof input.regex === "string") {
|
|
9
|
+
reg = input.regex;
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
reg = input.regex.get();
|
|
13
|
+
}
|
|
14
|
+
const r = new RegExp(reg);
|
|
15
|
+
const res = val.match(r);
|
|
16
|
+
let ret = "";
|
|
17
|
+
if (res && res[0]) {
|
|
18
|
+
ret = res[0];
|
|
19
|
+
}
|
|
20
|
+
return new string_1.String().set(ret);
|
|
21
|
+
}
|
|
22
|
+
exports.match = match;
|
|
23
23
|
//# sourceMappingURL=match.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ICharacter } from "../types/_character";
|
|
2
|
-
export declare function matches(input: {
|
|
3
|
-
val: ICharacter | string;
|
|
4
|
-
regex?: ICharacter | string;
|
|
5
|
-
pcre?: ICharacter | string;
|
|
6
|
-
}): ICharacter;
|
|
1
|
+
import { ICharacter } from "../types/_character";
|
|
2
|
+
export declare function matches(input: {
|
|
3
|
+
val: ICharacter | string;
|
|
4
|
+
regex?: ICharacter | string;
|
|
5
|
+
pcre?: ICharacter | string;
|
|
6
|
+
}): ICharacter;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.matches = void 0;
|
|
4
|
-
const types_1 = require("../types");
|
|
5
|
-
function matches(input) {
|
|
6
|
-
if (input.pcre !== undefined) {
|
|
7
|
-
throw "matches(), todo, pcre";
|
|
8
|
-
}
|
|
9
|
-
else if (input.regex === undefined) {
|
|
10
|
-
throw "matches(), regex input expected";
|
|
11
|
-
}
|
|
12
|
-
const val = typeof input.val === "string" ? input.val : input.val.get();
|
|
13
|
-
let reg = "";
|
|
14
|
-
if (typeof input.regex === "string") {
|
|
15
|
-
reg = input.regex;
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
reg = input.regex.get();
|
|
19
|
-
}
|
|
20
|
-
const r = new RegExp("^" + reg + "$");
|
|
21
|
-
const res = val.match(r);
|
|
22
|
-
if (res !== null) {
|
|
23
|
-
return new types_1.Character().set("X");
|
|
24
|
-
}
|
|
25
|
-
else {
|
|
26
|
-
return new types_1.Character().set(" ");
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
exports.matches = matches;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.matches = void 0;
|
|
4
|
+
const types_1 = require("../types");
|
|
5
|
+
function matches(input) {
|
|
6
|
+
if (input.pcre !== undefined) {
|
|
7
|
+
throw "matches(), todo, pcre";
|
|
8
|
+
}
|
|
9
|
+
else if (input.regex === undefined) {
|
|
10
|
+
throw "matches(), regex input expected";
|
|
11
|
+
}
|
|
12
|
+
const val = typeof input.val === "string" ? input.val : input.val.get();
|
|
13
|
+
let reg = "";
|
|
14
|
+
if (typeof input.regex === "string") {
|
|
15
|
+
reg = input.regex;
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
reg = input.regex.get();
|
|
19
|
+
}
|
|
20
|
+
const r = new RegExp("^" + reg + "$");
|
|
21
|
+
const res = val.match(r);
|
|
22
|
+
if (res !== null) {
|
|
23
|
+
return new types_1.Character().set("X");
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
return new types_1.Character().set(" ");
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.matches = matches;
|
|
30
30
|
//# sourceMappingURL=matches.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { INumeric } from "../types/_numeric";
|
|
2
|
-
import { Float } from "../types";
|
|
3
|
-
export interface INmaxInput {
|
|
4
|
-
val1: number | INumeric;
|
|
5
|
-
val2: number | INumeric;
|
|
6
|
-
val3?: number | INumeric;
|
|
7
|
-
val4?: number | INumeric;
|
|
8
|
-
val5?: number | INumeric;
|
|
9
|
-
val6?: number | INumeric;
|
|
10
|
-
val7?: number | INumeric;
|
|
11
|
-
val8?: number | INumeric;
|
|
12
|
-
val9?: number | INumeric;
|
|
13
|
-
}
|
|
14
|
-
export declare function nmax(input: INmaxInput): Float;
|
|
1
|
+
import { INumeric } from "../types/_numeric";
|
|
2
|
+
import { Float } from "../types";
|
|
3
|
+
export interface INmaxInput {
|
|
4
|
+
val1: number | INumeric;
|
|
5
|
+
val2: number | INumeric;
|
|
6
|
+
val3?: number | INumeric;
|
|
7
|
+
val4?: number | INumeric;
|
|
8
|
+
val5?: number | INumeric;
|
|
9
|
+
val6?: number | INumeric;
|
|
10
|
+
val7?: number | INumeric;
|
|
11
|
+
val8?: number | INumeric;
|
|
12
|
+
val9?: number | INumeric;
|
|
13
|
+
}
|
|
14
|
+
export declare function nmax(input: INmaxInput): Float;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.nmax = void 0;
|
|
4
|
-
const _parse_1 = require("../operators/_parse");
|
|
5
|
-
const types_1 = require("../types");
|
|
6
|
-
function nmax(input) {
|
|
7
|
-
const values = [];
|
|
8
|
-
values.push((0, _parse_1.parse)(input.val1));
|
|
9
|
-
values.push((0, _parse_1.parse)(input.val2));
|
|
10
|
-
if (input.val3) {
|
|
11
|
-
values.push((0, _parse_1.parse)(input.val3));
|
|
12
|
-
}
|
|
13
|
-
if (input.val4) {
|
|
14
|
-
values.push((0, _parse_1.parse)(input.val4));
|
|
15
|
-
}
|
|
16
|
-
if (input.val5) {
|
|
17
|
-
values.push((0, _parse_1.parse)(input.val5));
|
|
18
|
-
}
|
|
19
|
-
if (input.val6) {
|
|
20
|
-
values.push((0, _parse_1.parse)(input.val6));
|
|
21
|
-
}
|
|
22
|
-
if (input.val7) {
|
|
23
|
-
values.push((0, _parse_1.parse)(input.val7));
|
|
24
|
-
}
|
|
25
|
-
if (input.val8) {
|
|
26
|
-
values.push((0, _parse_1.parse)(input.val8));
|
|
27
|
-
}
|
|
28
|
-
if (input.val9) {
|
|
29
|
-
values.push((0, _parse_1.parse)(input.val9));
|
|
30
|
-
}
|
|
31
|
-
values.sort((a, b) => (b - a));
|
|
32
|
-
return new types_1.Float().set(values[0]);
|
|
33
|
-
}
|
|
34
|
-
exports.nmax = nmax;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.nmax = void 0;
|
|
4
|
+
const _parse_1 = require("../operators/_parse");
|
|
5
|
+
const types_1 = require("../types");
|
|
6
|
+
function nmax(input) {
|
|
7
|
+
const values = [];
|
|
8
|
+
values.push((0, _parse_1.parse)(input.val1));
|
|
9
|
+
values.push((0, _parse_1.parse)(input.val2));
|
|
10
|
+
if (input.val3) {
|
|
11
|
+
values.push((0, _parse_1.parse)(input.val3));
|
|
12
|
+
}
|
|
13
|
+
if (input.val4) {
|
|
14
|
+
values.push((0, _parse_1.parse)(input.val4));
|
|
15
|
+
}
|
|
16
|
+
if (input.val5) {
|
|
17
|
+
values.push((0, _parse_1.parse)(input.val5));
|
|
18
|
+
}
|
|
19
|
+
if (input.val6) {
|
|
20
|
+
values.push((0, _parse_1.parse)(input.val6));
|
|
21
|
+
}
|
|
22
|
+
if (input.val7) {
|
|
23
|
+
values.push((0, _parse_1.parse)(input.val7));
|
|
24
|
+
}
|
|
25
|
+
if (input.val8) {
|
|
26
|
+
values.push((0, _parse_1.parse)(input.val8));
|
|
27
|
+
}
|
|
28
|
+
if (input.val9) {
|
|
29
|
+
values.push((0, _parse_1.parse)(input.val9));
|
|
30
|
+
}
|
|
31
|
+
values.sort((a, b) => (b - a));
|
|
32
|
+
return new types_1.Float().set(values[0]);
|
|
33
|
+
}
|
|
34
|
+
exports.nmax = nmax;
|
|
35
35
|
//# sourceMappingURL=nmax.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { INumeric } from "../types/_numeric";
|
|
2
|
-
import { Float } from "../types";
|
|
3
|
-
export interface INminInput {
|
|
4
|
-
val1: number | INumeric;
|
|
5
|
-
val2: number | INumeric;
|
|
6
|
-
val3?: number | INumeric;
|
|
7
|
-
val4?: number | INumeric;
|
|
8
|
-
val5?: number | INumeric;
|
|
9
|
-
val6?: number | INumeric;
|
|
10
|
-
val7?: number | INumeric;
|
|
11
|
-
val8?: number | INumeric;
|
|
12
|
-
val9?: number | INumeric;
|
|
13
|
-
}
|
|
14
|
-
export declare function nmin(input: INminInput): Float;
|
|
1
|
+
import { INumeric } from "../types/_numeric";
|
|
2
|
+
import { Float } from "../types";
|
|
3
|
+
export interface INminInput {
|
|
4
|
+
val1: number | INumeric;
|
|
5
|
+
val2: number | INumeric;
|
|
6
|
+
val3?: number | INumeric;
|
|
7
|
+
val4?: number | INumeric;
|
|
8
|
+
val5?: number | INumeric;
|
|
9
|
+
val6?: number | INumeric;
|
|
10
|
+
val7?: number | INumeric;
|
|
11
|
+
val8?: number | INumeric;
|
|
12
|
+
val9?: number | INumeric;
|
|
13
|
+
}
|
|
14
|
+
export declare function nmin(input: INminInput): Float;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.nmin = void 0;
|
|
4
|
-
const _parse_1 = require("../operators/_parse");
|
|
5
|
-
const types_1 = require("../types");
|
|
6
|
-
function nmin(input) {
|
|
7
|
-
const values = [];
|
|
8
|
-
values.push((0, _parse_1.parse)(input.val1));
|
|
9
|
-
values.push((0, _parse_1.parse)(input.val2));
|
|
10
|
-
if (input.val3) {
|
|
11
|
-
values.push((0, _parse_1.parse)(input.val3));
|
|
12
|
-
}
|
|
13
|
-
if (input.val4) {
|
|
14
|
-
values.push((0, _parse_1.parse)(input.val4));
|
|
15
|
-
}
|
|
16
|
-
if (input.val5) {
|
|
17
|
-
values.push((0, _parse_1.parse)(input.val5));
|
|
18
|
-
}
|
|
19
|
-
if (input.val6) {
|
|
20
|
-
values.push((0, _parse_1.parse)(input.val6));
|
|
21
|
-
}
|
|
22
|
-
if (input.val7) {
|
|
23
|
-
values.push((0, _parse_1.parse)(input.val7));
|
|
24
|
-
}
|
|
25
|
-
if (input.val8) {
|
|
26
|
-
values.push((0, _parse_1.parse)(input.val8));
|
|
27
|
-
}
|
|
28
|
-
if (input.val9) {
|
|
29
|
-
values.push((0, _parse_1.parse)(input.val9));
|
|
30
|
-
}
|
|
31
|
-
values.sort((a, b) => (a - b));
|
|
32
|
-
return new types_1.Float().set(values[0]);
|
|
33
|
-
}
|
|
34
|
-
exports.nmin = nmin;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.nmin = void 0;
|
|
4
|
+
const _parse_1 = require("../operators/_parse");
|
|
5
|
+
const types_1 = require("../types");
|
|
6
|
+
function nmin(input) {
|
|
7
|
+
const values = [];
|
|
8
|
+
values.push((0, _parse_1.parse)(input.val1));
|
|
9
|
+
values.push((0, _parse_1.parse)(input.val2));
|
|
10
|
+
if (input.val3) {
|
|
11
|
+
values.push((0, _parse_1.parse)(input.val3));
|
|
12
|
+
}
|
|
13
|
+
if (input.val4) {
|
|
14
|
+
values.push((0, _parse_1.parse)(input.val4));
|
|
15
|
+
}
|
|
16
|
+
if (input.val5) {
|
|
17
|
+
values.push((0, _parse_1.parse)(input.val5));
|
|
18
|
+
}
|
|
19
|
+
if (input.val6) {
|
|
20
|
+
values.push((0, _parse_1.parse)(input.val6));
|
|
21
|
+
}
|
|
22
|
+
if (input.val7) {
|
|
23
|
+
values.push((0, _parse_1.parse)(input.val7));
|
|
24
|
+
}
|
|
25
|
+
if (input.val8) {
|
|
26
|
+
values.push((0, _parse_1.parse)(input.val8));
|
|
27
|
+
}
|
|
28
|
+
if (input.val9) {
|
|
29
|
+
values.push((0, _parse_1.parse)(input.val9));
|
|
30
|
+
}
|
|
31
|
+
values.sort((a, b) => (a - b));
|
|
32
|
+
return new types_1.Float().set(values[0]);
|
|
33
|
+
}
|
|
34
|
+
exports.nmin = nmin;
|
|
35
35
|
//# sourceMappingURL=nmin.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Integer } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
export declare function numofchar(input: {
|
|
4
|
-
val: ICharacter | string;
|
|
5
|
-
}): Integer;
|
|
1
|
+
import { Integer } from "../types";
|
|
2
|
+
import { ICharacter } from "../types/_character";
|
|
3
|
+
export declare function numofchar(input: {
|
|
4
|
+
val: ICharacter | string;
|
|
5
|
+
}): Integer;
|