@abaplint/runtime 2.7.89 → 2.7.90

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.
Files changed (174) hide show
  1. package/LICENSE +21 -0
  2. package/build/src/statements/read_table.js +4 -3
  3. package/package.json +1 -1
  4. package/build/src/abap_regex.d.ts +0 -4
  5. package/build/src/binary_search.d.ts +0 -7
  6. package/build/src/builtin/abs.d.ts +0 -5
  7. package/build/src/builtin/boolc.d.ts +0 -4
  8. package/build/src/builtin/ceil.d.ts +0 -5
  9. package/build/src/builtin/concat_lines_of.d.ts +0 -7
  10. package/build/src/builtin/condense.d.ts +0 -9
  11. package/build/src/builtin/contains.d.ts +0 -15
  12. package/build/src/builtin/cos.d.ts +0 -5
  13. package/build/src/builtin/count.d.ts +0 -12
  14. package/build/src/builtin/count_any_of.d.ts +0 -8
  15. package/build/src/builtin/escape.d.ts +0 -7
  16. package/build/src/builtin/find.d.ts +0 -13
  17. package/build/src/builtin/floor.d.ts +0 -5
  18. package/build/src/builtin/frac.d.ts +0 -6
  19. package/build/src/builtin/index.d.ts +0 -54
  20. package/build/src/builtin/insert.d.ts +0 -9
  21. package/build/src/builtin/ipow.d.ts +0 -6
  22. package/build/src/builtin/lines.d.ts +0 -4
  23. package/build/src/builtin/match.d.ts +0 -5
  24. package/build/src/builtin/matches.d.ts +0 -6
  25. package/build/src/builtin/nmax.d.ts +0 -14
  26. package/build/src/builtin/nmin.d.ts +0 -14
  27. package/build/src/builtin/numofchar.d.ts +0 -5
  28. package/build/src/builtin/repeat.d.ts +0 -6
  29. package/build/src/builtin/replace.d.ts +0 -13
  30. package/build/src/builtin/reverse.d.ts +0 -5
  31. package/build/src/builtin/round.d.ts +0 -8
  32. package/build/src/builtin/segment.d.ts +0 -8
  33. package/build/src/builtin/shift_left.d.ts +0 -9
  34. package/build/src/builtin/shift_right.d.ts +0 -9
  35. package/build/src/builtin/sign.d.ts +0 -5
  36. package/build/src/builtin/sin.d.ts +0 -5
  37. package/build/src/builtin/sqrt.d.ts +0 -5
  38. package/build/src/builtin/strlen.d.ts +0 -5
  39. package/build/src/builtin/substring.d.ts +0 -8
  40. package/build/src/builtin/substring_after.d.ts +0 -6
  41. package/build/src/builtin/substring_before.d.ts +0 -6
  42. package/build/src/builtin/sy.d.ts +0 -2
  43. package/build/src/builtin/tan.d.ts +0 -5
  44. package/build/src/builtin/to_lower.d.ts +0 -4
  45. package/build/src/builtin/to_mixed.d.ts +0 -9
  46. package/build/src/builtin/to_upper.d.ts +0 -4
  47. package/build/src/builtin/translate.d.ts +0 -6
  48. package/build/src/builtin/trunc.d.ts +0 -5
  49. package/build/src/builtin/xstrlen.d.ts +0 -5
  50. package/build/src/classic_error.d.ts +0 -6
  51. package/build/src/clone.d.ts +0 -1
  52. package/build/src/compare/assigned.d.ts +0 -2
  53. package/build/src/compare/between.d.ts +0 -2
  54. package/build/src/compare/ca.d.ts +0 -4
  55. package/build/src/compare/cn.d.ts +0 -3
  56. package/build/src/compare/co.d.ts +0 -4
  57. package/build/src/compare/cp.d.ts +0 -4
  58. package/build/src/compare/cs.d.ts +0 -3
  59. package/build/src/compare/eq.d.ts +0 -4
  60. package/build/src/compare/ge.d.ts +0 -3
  61. package/build/src/compare/gt.d.ts +0 -4
  62. package/build/src/compare/in.d.ts +0 -4
  63. package/build/src/compare/index.d.ts +0 -22
  64. package/build/src/compare/initial.d.ts +0 -4
  65. package/build/src/compare/instance_of.d.ts +0 -2
  66. package/build/src/compare/le.d.ts +0 -3
  67. package/build/src/compare/lt.d.ts +0 -4
  68. package/build/src/compare/m.d.ts +0 -3
  69. package/build/src/compare/na.d.ts +0 -3
  70. package/build/src/compare/ne.d.ts +0 -3
  71. package/build/src/compare/np.d.ts +0 -3
  72. package/build/src/compare/ns.d.ts +0 -3
  73. package/build/src/compare/o.d.ts +0 -2
  74. package/build/src/compare/z.d.ts +0 -2
  75. package/build/src/console/console.d.ts +0 -7
  76. package/build/src/console/memory_console.d.ts +0 -9
  77. package/build/src/console/standard_out_console.d.ts +0 -9
  78. package/build/src/context.d.ts +0 -13
  79. package/build/src/db/db.d.ts +0 -55
  80. package/build/src/expand_dynamic.d.ts +0 -2
  81. package/build/src/expand_in.d.ts +0 -2
  82. package/build/src/index.d.ts +0 -67
  83. package/build/src/offset_length.d.ts +0 -16
  84. package/build/src/operators/_bit_operations.d.ts +0 -6
  85. package/build/src/operators/_parse.d.ts +0 -4
  86. package/build/src/operators/add.d.ts +0 -4
  87. package/build/src/operators/bit-and.d.ts +0 -2
  88. package/build/src/operators/bit-not.d.ts +0 -2
  89. package/build/src/operators/bit-or.d.ts +0 -2
  90. package/build/src/operators/bit-xor.d.ts +0 -2
  91. package/build/src/operators/concat.d.ts +0 -4
  92. package/build/src/operators/div.d.ts +0 -4
  93. package/build/src/operators/divide.d.ts +0 -4
  94. package/build/src/operators/index.d.ts +0 -12
  95. package/build/src/operators/minus.d.ts +0 -4
  96. package/build/src/operators/mod.d.ts +0 -4
  97. package/build/src/operators/multiply.d.ts +0 -4
  98. package/build/src/operators/power.d.ts +0 -4
  99. package/build/src/prefix.d.ts +0 -1
  100. package/build/src/rfc.d.ts +0 -25
  101. package/build/src/statements/append.d.ts +0 -13
  102. package/build/src/statements/assert.d.ts +0 -1
  103. package/build/src/statements/assign.d.ts +0 -12
  104. package/build/src/statements/call_function.d.ts +0 -16
  105. package/build/src/statements/call_transaction.d.ts +0 -1
  106. package/build/src/statements/cast.d.ts +0 -2
  107. package/build/src/statements/clear.d.ts +0 -4
  108. package/build/src/statements/collect.d.ts +0 -3
  109. package/build/src/statements/commit.d.ts +0 -1
  110. package/build/src/statements/concatenate.d.ts +0 -11
  111. package/build/src/statements/condense.d.ts +0 -4
  112. package/build/src/statements/convert.d.ts +0 -14
  113. package/build/src/statements/create_data.d.ts +0 -17
  114. package/build/src/statements/delete_database.d.ts +0 -13
  115. package/build/src/statements/delete_internal.d.ts +0 -12
  116. package/build/src/statements/describe.d.ts +0 -13
  117. package/build/src/statements/find.d.ts +0 -17
  118. package/build/src/statements/get_bit.d.ts +0 -4
  119. package/build/src/statements/get_locale.d.ts +0 -2
  120. package/build/src/statements/get_parameter.d.ts +0 -2
  121. package/build/src/statements/get_run_time.d.ts +0 -2
  122. package/build/src/statements/get_time.d.ts +0 -9
  123. package/build/src/statements/index.d.ts +0 -106
  124. package/build/src/statements/insert_database.d.ts +0 -13
  125. package/build/src/statements/insert_internal.d.ts +0 -14
  126. package/build/src/statements/loop.d.ts +0 -15
  127. package/build/src/statements/message.d.ts +0 -17
  128. package/build/src/statements/modify_database.d.ts +0 -12
  129. package/build/src/statements/modify_internal.d.ts +0 -9
  130. package/build/src/statements/move_corresponding.d.ts +0 -2
  131. package/build/src/statements/overlay.d.ts +0 -3
  132. package/build/src/statements/raise_event.d.ts +0 -1
  133. package/build/src/statements/read_report.d.ts +0 -8
  134. package/build/src/statements/read_table.d.ts +0 -27
  135. package/build/src/statements/receive.d.ts +0 -9
  136. package/build/src/statements/replace.d.ts +0 -14
  137. package/build/src/statements/rollback.d.ts +0 -1
  138. package/build/src/statements/select.d.ts +0 -8
  139. package/build/src/statements/set_bit.d.ts +0 -4
  140. package/build/src/statements/set_handler.d.ts +0 -3
  141. package/build/src/statements/set_locale.d.ts +0 -2
  142. package/build/src/statements/shift.d.ts +0 -12
  143. package/build/src/statements/sort.d.ts +0 -10
  144. package/build/src/statements/split.d.ts +0 -9
  145. package/build/src/statements/translate.d.ts +0 -2
  146. package/build/src/statements/update_database.d.ts +0 -14
  147. package/build/src/statements/wait.d.ts +0 -5
  148. package/build/src/statements/write.d.ts +0 -17
  149. package/build/src/template_formatting.d.ts +0 -14
  150. package/build/src/throw_error.d.ts +0 -1
  151. package/build/src/types/_abstract_type_data.d.ts +0 -5
  152. package/build/src/types/_character.d.ts +0 -11
  153. package/build/src/types/_date_helper.d.ts +0 -2
  154. package/build/src/types/_numeric.d.ts +0 -5
  155. package/build/src/types/abap_object.d.ts +0 -14
  156. package/build/src/types/character.d.ts +0 -27
  157. package/build/src/types/data_reference.d.ts +0 -29
  158. package/build/src/types/date.d.ts +0 -20
  159. package/build/src/types/decfloat34.d.ts +0 -11
  160. package/build/src/types/field_symbol.d.ts +0 -32
  161. package/build/src/types/float.d.ts +0 -15
  162. package/build/src/types/hex.d.ts +0 -20
  163. package/build/src/types/index.d.ts +0 -18
  164. package/build/src/types/integer.d.ts +0 -15
  165. package/build/src/types/integer8.d.ts +0 -16
  166. package/build/src/types/numc.d.ts +0 -21
  167. package/build/src/types/packed.d.ts +0 -19
  168. package/build/src/types/string.d.ts +0 -19
  169. package/build/src/types/structure.d.ts +0 -31
  170. package/build/src/types/table.d.ts +0 -114
  171. package/build/src/types/time.d.ts +0 -20
  172. package/build/src/types/utc_long.d.ts +0 -18
  173. package/build/src/types/xstring.d.ts +0 -18
  174. package/build/src/unit_test.d.ts +0 -26
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Lars Hvam Petersen
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -146,9 +146,6 @@ function readTable(table, options) {
146
146
  foundIndex = searchResult.foundIndex;
147
147
  }
148
148
  else if (options === null || options === void 0 ? void 0 : options.from) {
149
- if (table instanceof types_1.HashedTable) {
150
- throw new Error("runtime, todo readTable Hashed FROM");
151
- }
152
149
  if (options.from instanceof types_1.FieldSymbol) {
153
150
  options.from = options.from.getPointer();
154
151
  }
@@ -176,6 +173,10 @@ function readTable(table, options) {
176
173
  }
177
174
  }
178
175
  }
176
+ else if (table instanceof types_1.HashedTable && options.from instanceof types_1.Structure) {
177
+ const key = table.buildHashFromData(options.from);
178
+ found = table.read(key);
179
+ }
179
180
  if (found === undefined) {
180
181
  foundIndex = 0;
181
182
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.7.89",
3
+ "version": "2.7.90",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",
@@ -1,4 +0,0 @@
1
- export declare class ABAPRegExp {
2
- static convert(input: string): string;
3
- static escapeRegExp(text: string): string;
4
- }
@@ -1,7 +0,0 @@
1
- import { ICharacter } from "./types/_character";
2
- import { INumeric } from "./types/_numeric";
3
- /** input indexes = javascript indexes,
4
- output index = javascript index */
5
- export declare function binarySearchFromRow(array: readonly any[], left: number, right: number, keyField: (i: any) => any, keyValue: INumeric | ICharacter, usesTableLine: boolean | undefined): number;
6
- export declare function binarySearchFrom(array: readonly any[], left: number, right: number, keyField: string, keyValue: INumeric | ICharacter): number;
7
- export declare function binarySearchTo(array: readonly any[], left: number, right: number, keyField: string, keyValue: INumeric | ICharacter): number;
@@ -1,5 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function abs(input: {
4
- val: number | string | ICharacter | INumeric;
5
- }): number;
@@ -1,4 +0,0 @@
1
- import { Character, String } from "../types";
2
- export declare function boolc(input: boolean | undefined | {
3
- val: Character | String;
4
- }): String;
@@ -1,5 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function ceil(input: {
4
- val: number | string | ICharacter | INumeric;
5
- }): number;
@@ -1,7 +0,0 @@
1
- import { Table } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { String } from "../types/string";
4
- export declare function concat_lines_of(input: {
5
- table: Table;
6
- sep: ICharacter | string | undefined;
7
- }): String;
@@ -1,9 +0,0 @@
1
- import { String } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function condense(input: {
5
- val: ICharacter | INumeric | string;
6
- from?: ICharacter | string;
7
- to?: ICharacter | string;
8
- del?: ICharacter | string;
9
- }): String;
@@ -1,15 +0,0 @@
1
- import { String } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export type ContainsInput = {
5
- val: ICharacter;
6
- regex?: ICharacter;
7
- sub?: ICharacter;
8
- start?: ICharacter;
9
- end?: ICharacter;
10
- case?: ICharacter;
11
- off?: INumeric;
12
- len?: INumeric;
13
- occ?: INumeric;
14
- };
15
- export declare function contains(input: ContainsInput): String;
@@ -1,5 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function cos(input: {
4
- val: number | string | ICharacter | INumeric;
5
- }): number;
@@ -1,12 +0,0 @@
1
- import { Integer } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export type countInput = {
5
- val: ICharacter;
6
- sub: ICharacter;
7
- regex?: ICharacter;
8
- case?: ICharacter;
9
- len?: INumeric;
10
- off?: INumeric;
11
- };
12
- export declare function count(input: countInput): Integer;
@@ -1,8 +0,0 @@
1
- import { Integer } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- type countAnyOfInput = {
4
- val: ICharacter;
5
- sub: ICharacter;
6
- };
7
- export declare function count_any_of(input: countAnyOfInput): Integer;
8
- export {};
@@ -1,7 +0,0 @@
1
- import { String } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function escape(input: {
5
- val: ICharacter | string;
6
- format: INumeric | number;
7
- }): String;
@@ -1,13 +0,0 @@
1
- import { Integer } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export interface IFindInput {
5
- val: ICharacter | string;
6
- sub?: ICharacter | string;
7
- off?: INumeric | number;
8
- occ?: INumeric | number;
9
- len?: INumeric | number;
10
- regex?: ICharacter | string;
11
- case?: ICharacter | string;
12
- }
13
- export declare function find(input: IFindInput): Integer;
@@ -1,5 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function floor(input: {
4
- val: number | string | ICharacter | INumeric;
5
- }): number;
@@ -1,6 +0,0 @@
1
- import { DecFloat34, Float } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function frac(input: {
5
- val: number | string | ICharacter | INumeric;
6
- }): number | Float | DecFloat34;
@@ -1,54 +0,0 @@
1
- import { Character } from "../types";
2
- export * from "./abs";
3
- export * from "./boolc";
4
- export * from "./ceil";
5
- export * from "./concat_lines_of";
6
- export * from "./condense";
7
- export * from "./contains";
8
- export * from "./cos";
9
- export * from "./count_any_of";
10
- export * from "./count";
11
- export * from "./escape";
12
- export * from "./find";
13
- export * from "./floor";
14
- export * from "./frac";
15
- export * from "./insert";
16
- export * from "./ipow";
17
- export * from "./lines";
18
- export * from "./match";
19
- export * from "./matches";
20
- export * from "./nmax";
21
- export * from "./nmin";
22
- export * from "./numofchar";
23
- export * from "./repeat";
24
- export * from "./replace";
25
- export * from "./reverse";
26
- export * from "./round";
27
- export * from "./segment";
28
- export * from "./shift_right";
29
- export * from "./shift_left";
30
- export * from "./sign";
31
- export * from "./sin";
32
- export * from "./sqrt";
33
- export * from "./strlen";
34
- export * from "./substring_after";
35
- export * from "./substring_before";
36
- export * from "./substring";
37
- export * from "./sy";
38
- export * from "./tan";
39
- export * from "./to_lower";
40
- export * from "./to_mixed";
41
- export * from "./to_upper";
42
- export * from "./translate";
43
- export * from "./trunc";
44
- export * from "./xstrlen";
45
- export declare const abap_true: Character;
46
- export declare const abap_false: Character;
47
- export declare const abap_undefined: Character;
48
- export declare const space: Character;
49
- export declare const $_backspace: Character;
50
- export declare const $_cr_lf: Character;
51
- export declare const $_formfeed: Character;
52
- export declare const $_horizontal_tab: Character;
53
- export declare const $_newline: Character;
54
- export declare const $_vertical_tab: Character;
@@ -1,9 +0,0 @@
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,6 +0,0 @@
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,4 +0,0 @@
1
- import { Table, Integer, FieldSymbol } from "../types";
2
- export declare function lines(input: {
3
- val: Table | FieldSymbol;
4
- }): Integer;
@@ -1,5 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- export declare function match(input: {
3
- val: ICharacter | string;
4
- regex: ICharacter | string;
5
- }): ICharacter;
@@ -1,6 +0,0 @@
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,14 +0,0 @@
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,14 +0,0 @@
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,5 +0,0 @@
1
- import { Integer } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- export declare function numofchar(input: {
4
- val: ICharacter | string;
5
- }): Integer;
@@ -1,6 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function repeat(input: {
4
- val: ICharacter | string;
5
- occ: INumeric;
6
- }): ICharacter;
@@ -1,13 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- import { String } from "../types/string";
4
- export interface IReplaceInput {
5
- val: string | ICharacter;
6
- sub?: string | ICharacter;
7
- with?: string | ICharacter;
8
- regex?: string | ICharacter;
9
- off?: INumeric;
10
- len?: INumeric;
11
- occ?: INumeric;
12
- }
13
- export declare function replace(input: IReplaceInput): String;
@@ -1,5 +0,0 @@
1
- import { String } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- export declare function reverse(input: {
4
- val: ICharacter | string;
5
- }): String;
@@ -1,8 +0,0 @@
1
- import { Float } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function round(input: {
5
- val: ICharacter | string;
6
- dec: INumeric | number;
7
- mode?: INumeric | number;
8
- }): Float;
@@ -1,8 +0,0 @@
1
- import { String } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function segment(input: {
5
- val: ICharacter | string;
6
- index: INumeric | number;
7
- sep: ICharacter | string;
8
- }): String;
@@ -1,9 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export interface IShiftLeftInput {
4
- val: ICharacter | string;
5
- sub?: ICharacter | string;
6
- places?: ICharacter | INumeric | string;
7
- circular?: INumeric;
8
- }
9
- export declare function shift_left(input: IShiftLeftInput): ICharacter;
@@ -1,9 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export interface IShiftRight {
4
- val: ICharacter | string;
5
- sub?: ICharacter | string;
6
- places?: ICharacter | INumeric | string;
7
- circular?: INumeric;
8
- }
9
- export declare function shift_right(input: IShiftRight): ICharacter;
@@ -1,5 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function sign(input: {
4
- val: number | string | ICharacter | INumeric;
5
- }): number;
@@ -1,5 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function sin(input: {
4
- val: number | string | ICharacter | INumeric;
5
- }): number;
@@ -1,5 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function sqrt(input: {
4
- val: number | string | ICharacter | INumeric;
5
- }): number;
@@ -1,5 +0,0 @@
1
- import { Integer } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- export declare function strlen(input: {
4
- val: ICharacter | string;
5
- }): Integer;
@@ -1,8 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export interface ISubstringInput {
4
- val: ICharacter | string;
5
- off?: INumeric;
6
- len?: INumeric;
7
- }
8
- export declare function substring(input: ISubstringInput): ICharacter;
@@ -1,6 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- export declare function substring_after(input: {
3
- val: ICharacter | string;
4
- sub?: ICharacter | string;
5
- regex?: ICharacter | string;
6
- }): ICharacter;
@@ -1,6 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- export declare function substring_before(input: {
3
- val: ICharacter | string;
4
- sub?: ICharacter | string;
5
- regex?: ICharacter | string;
6
- }): ICharacter;
@@ -1,2 +0,0 @@
1
- import { Structure } from "../types";
2
- export declare const sy: Structure;
@@ -1,5 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function tan(input: {
4
- val: number | string | ICharacter | INumeric;
5
- }): number;
@@ -1,4 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- export declare function to_lower(input: {
3
- val: ICharacter | string;
4
- }): ICharacter;
@@ -1,9 +0,0 @@
1
- import { String } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function to_mixed(input: {
5
- val: ICharacter | string;
6
- sep?: ICharacter | string;
7
- case?: ICharacter | string;
8
- min?: INumeric | number;
9
- }): String;
@@ -1,4 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- export declare function to_upper(input: {
3
- val: ICharacter | string;
4
- }): ICharacter;
@@ -1,6 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- export declare function translate(input: {
3
- val: ICharacter | string;
4
- from: ICharacter | string;
5
- to: ICharacter | string;
6
- }): ICharacter;
@@ -1,5 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function trunc(input: {
4
- val: number | string | ICharacter | INumeric;
5
- }): number;
@@ -1,5 +0,0 @@
1
- import { Hex, Integer, XString } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- export declare function xstrlen(input: {
4
- val: ICharacter | string | Hex | XString;
5
- }): Integer;
@@ -1,6 +0,0 @@
1
- export declare class ClassicError extends Error {
2
- classic: string;
3
- constructor(input: {
4
- classic: string;
5
- });
6
- }
@@ -1 +0,0 @@
1
- export declare function clone<T>(obj: T): T;
@@ -1,2 +0,0 @@
1
- import { FieldSymbol } from "../types";
2
- export declare function assigned(val: FieldSymbol): boolean;
@@ -1,2 +0,0 @@
1
- import { INumeric } from "../types/_numeric";
2
- export declare function between(left: number | INumeric, and1: number | INumeric, and2: number | INumeric): boolean;
@@ -1,4 +0,0 @@
1
- import { Structure } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function ca(left: number | string | ICharacter | INumeric | Structure, right: string | ICharacter): boolean;
@@ -1,3 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function cn(left: number | string | ICharacter | INumeric, right: string | ICharacter): boolean;
@@ -1,4 +0,0 @@
1
- import { Structure } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function co(left: number | string | ICharacter | INumeric, right: string | Structure | ICharacter): boolean;
@@ -1,4 +0,0 @@
1
- import { Structure } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function cp(left: number | string | ICharacter | INumeric | Structure, right: string | ICharacter): boolean;
@@ -1,3 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function cs(left: number | string | ICharacter | INumeric, right: string | ICharacter): boolean;
@@ -1,4 +0,0 @@
1
- import { ABAPObject, FieldSymbol, Float, HashedTable, String, Hex, Structure, Table } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function eq(left: number | string | ICharacter | INumeric | Float | String | ABAPObject | Structure | Hex | HashedTable | Table | FieldSymbol, right: number | string | ICharacter | INumeric | Float | String | ABAPObject | Structure | Hex | HashedTable | Table | FieldSymbol): boolean;
@@ -1,3 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function ge(left: number | string | ICharacter | INumeric, right: number | string | ICharacter | INumeric): boolean;
@@ -1,4 +0,0 @@
1
- import { ABAPObject, HashedTable, Structure, Table } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function gt(left: number | string | ICharacter | INumeric | ABAPObject | Structure | Table | HashedTable, right: number | string | ICharacter | INumeric | ABAPObject | Structure | Table | HashedTable): boolean;
@@ -1,4 +0,0 @@
1
- import { Table } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function compareIn(left: number | string | ICharacter | INumeric, right: Table): boolean;
@@ -1,22 +0,0 @@
1
- export * from "./assigned";
2
- export * from "./between";
3
- export * from "./ca";
4
- export * from "./cn";
5
- export * from "./co";
6
- export * from "./cp";
7
- export * from "./cs";
8
- export * from "./eq";
9
- export * from "./ge";
10
- export * from "./gt";
11
- export * from "./initial";
12
- export * from "./instance_of";
13
- export * from "./le";
14
- export * from "./lt";
15
- export * from "./m";
16
- export * from "./na";
17
- export * from "./ne";
18
- export * from "./np";
19
- export * from "./ns";
20
- export * from "./o";
21
- export * from "./z";
22
- export { compareIn as in } from "./in";
@@ -1,4 +0,0 @@
1
- import { ABAPObject, DataReference, FieldSymbol, Structure, Table } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function initial(val: ICharacter | INumeric | string | number | Structure | DataReference | FieldSymbol | Table | ABAPObject): boolean;
@@ -1,2 +0,0 @@
1
- import { ABAPObject } from "../types";
2
- export declare function instance_of(val: ABAPObject, cname: any): boolean;
@@ -1,3 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function le(left: number | string | ICharacter | INumeric, right: number | string | ICharacter | INumeric): boolean;
@@ -1,4 +0,0 @@
1
- import { ABAPObject, Structure, Table } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function lt(left: number | string | ICharacter | INumeric | ABAPObject | Structure | Table, right: number | string | ICharacter | INumeric | ABAPObject | Structure | Table): boolean;