@abaplint/runtime 2.7.88 → 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 (175) hide show
  1. package/LICENSE +21 -0
  2. package/build/src/statements/read_table.js +4 -3
  3. package/build/src/types/table.js +6 -0
  4. package/package.json +1 -1
  5. package/build/src/abap_regex.d.ts +0 -4
  6. package/build/src/binary_search.d.ts +0 -7
  7. package/build/src/builtin/abs.d.ts +0 -5
  8. package/build/src/builtin/boolc.d.ts +0 -4
  9. package/build/src/builtin/ceil.d.ts +0 -5
  10. package/build/src/builtin/concat_lines_of.d.ts +0 -7
  11. package/build/src/builtin/condense.d.ts +0 -9
  12. package/build/src/builtin/contains.d.ts +0 -15
  13. package/build/src/builtin/cos.d.ts +0 -5
  14. package/build/src/builtin/count.d.ts +0 -12
  15. package/build/src/builtin/count_any_of.d.ts +0 -8
  16. package/build/src/builtin/escape.d.ts +0 -7
  17. package/build/src/builtin/find.d.ts +0 -13
  18. package/build/src/builtin/floor.d.ts +0 -5
  19. package/build/src/builtin/frac.d.ts +0 -6
  20. package/build/src/builtin/index.d.ts +0 -54
  21. package/build/src/builtin/insert.d.ts +0 -9
  22. package/build/src/builtin/ipow.d.ts +0 -6
  23. package/build/src/builtin/lines.d.ts +0 -4
  24. package/build/src/builtin/match.d.ts +0 -5
  25. package/build/src/builtin/matches.d.ts +0 -6
  26. package/build/src/builtin/nmax.d.ts +0 -14
  27. package/build/src/builtin/nmin.d.ts +0 -14
  28. package/build/src/builtin/numofchar.d.ts +0 -5
  29. package/build/src/builtin/repeat.d.ts +0 -6
  30. package/build/src/builtin/replace.d.ts +0 -13
  31. package/build/src/builtin/reverse.d.ts +0 -5
  32. package/build/src/builtin/round.d.ts +0 -8
  33. package/build/src/builtin/segment.d.ts +0 -8
  34. package/build/src/builtin/shift_left.d.ts +0 -9
  35. package/build/src/builtin/shift_right.d.ts +0 -9
  36. package/build/src/builtin/sign.d.ts +0 -5
  37. package/build/src/builtin/sin.d.ts +0 -5
  38. package/build/src/builtin/sqrt.d.ts +0 -5
  39. package/build/src/builtin/strlen.d.ts +0 -5
  40. package/build/src/builtin/substring.d.ts +0 -8
  41. package/build/src/builtin/substring_after.d.ts +0 -6
  42. package/build/src/builtin/substring_before.d.ts +0 -6
  43. package/build/src/builtin/sy.d.ts +0 -2
  44. package/build/src/builtin/tan.d.ts +0 -5
  45. package/build/src/builtin/to_lower.d.ts +0 -4
  46. package/build/src/builtin/to_mixed.d.ts +0 -9
  47. package/build/src/builtin/to_upper.d.ts +0 -4
  48. package/build/src/builtin/translate.d.ts +0 -6
  49. package/build/src/builtin/trunc.d.ts +0 -5
  50. package/build/src/builtin/xstrlen.d.ts +0 -5
  51. package/build/src/classic_error.d.ts +0 -6
  52. package/build/src/clone.d.ts +0 -1
  53. package/build/src/compare/assigned.d.ts +0 -2
  54. package/build/src/compare/between.d.ts +0 -2
  55. package/build/src/compare/ca.d.ts +0 -4
  56. package/build/src/compare/cn.d.ts +0 -3
  57. package/build/src/compare/co.d.ts +0 -4
  58. package/build/src/compare/cp.d.ts +0 -4
  59. package/build/src/compare/cs.d.ts +0 -3
  60. package/build/src/compare/eq.d.ts +0 -4
  61. package/build/src/compare/ge.d.ts +0 -3
  62. package/build/src/compare/gt.d.ts +0 -4
  63. package/build/src/compare/in.d.ts +0 -4
  64. package/build/src/compare/index.d.ts +0 -22
  65. package/build/src/compare/initial.d.ts +0 -4
  66. package/build/src/compare/instance_of.d.ts +0 -2
  67. package/build/src/compare/le.d.ts +0 -3
  68. package/build/src/compare/lt.d.ts +0 -4
  69. package/build/src/compare/m.d.ts +0 -3
  70. package/build/src/compare/na.d.ts +0 -3
  71. package/build/src/compare/ne.d.ts +0 -3
  72. package/build/src/compare/np.d.ts +0 -3
  73. package/build/src/compare/ns.d.ts +0 -3
  74. package/build/src/compare/o.d.ts +0 -2
  75. package/build/src/compare/z.d.ts +0 -2
  76. package/build/src/console/console.d.ts +0 -7
  77. package/build/src/console/memory_console.d.ts +0 -9
  78. package/build/src/console/standard_out_console.d.ts +0 -9
  79. package/build/src/context.d.ts +0 -13
  80. package/build/src/db/db.d.ts +0 -55
  81. package/build/src/expand_dynamic.d.ts +0 -2
  82. package/build/src/expand_in.d.ts +0 -2
  83. package/build/src/index.d.ts +0 -67
  84. package/build/src/offset_length.d.ts +0 -16
  85. package/build/src/operators/_bit_operations.d.ts +0 -6
  86. package/build/src/operators/_parse.d.ts +0 -4
  87. package/build/src/operators/add.d.ts +0 -4
  88. package/build/src/operators/bit-and.d.ts +0 -2
  89. package/build/src/operators/bit-not.d.ts +0 -2
  90. package/build/src/operators/bit-or.d.ts +0 -2
  91. package/build/src/operators/bit-xor.d.ts +0 -2
  92. package/build/src/operators/concat.d.ts +0 -4
  93. package/build/src/operators/div.d.ts +0 -4
  94. package/build/src/operators/divide.d.ts +0 -4
  95. package/build/src/operators/index.d.ts +0 -12
  96. package/build/src/operators/minus.d.ts +0 -4
  97. package/build/src/operators/mod.d.ts +0 -4
  98. package/build/src/operators/multiply.d.ts +0 -4
  99. package/build/src/operators/power.d.ts +0 -4
  100. package/build/src/prefix.d.ts +0 -1
  101. package/build/src/rfc.d.ts +0 -25
  102. package/build/src/statements/append.d.ts +0 -13
  103. package/build/src/statements/assert.d.ts +0 -1
  104. package/build/src/statements/assign.d.ts +0 -12
  105. package/build/src/statements/call_function.d.ts +0 -16
  106. package/build/src/statements/call_transaction.d.ts +0 -1
  107. package/build/src/statements/cast.d.ts +0 -2
  108. package/build/src/statements/clear.d.ts +0 -4
  109. package/build/src/statements/collect.d.ts +0 -3
  110. package/build/src/statements/commit.d.ts +0 -1
  111. package/build/src/statements/concatenate.d.ts +0 -11
  112. package/build/src/statements/condense.d.ts +0 -4
  113. package/build/src/statements/convert.d.ts +0 -14
  114. package/build/src/statements/create_data.d.ts +0 -17
  115. package/build/src/statements/delete_database.d.ts +0 -13
  116. package/build/src/statements/delete_internal.d.ts +0 -12
  117. package/build/src/statements/describe.d.ts +0 -13
  118. package/build/src/statements/find.d.ts +0 -17
  119. package/build/src/statements/get_bit.d.ts +0 -4
  120. package/build/src/statements/get_locale.d.ts +0 -2
  121. package/build/src/statements/get_parameter.d.ts +0 -2
  122. package/build/src/statements/get_run_time.d.ts +0 -2
  123. package/build/src/statements/get_time.d.ts +0 -9
  124. package/build/src/statements/index.d.ts +0 -106
  125. package/build/src/statements/insert_database.d.ts +0 -13
  126. package/build/src/statements/insert_internal.d.ts +0 -14
  127. package/build/src/statements/loop.d.ts +0 -15
  128. package/build/src/statements/message.d.ts +0 -17
  129. package/build/src/statements/modify_database.d.ts +0 -12
  130. package/build/src/statements/modify_internal.d.ts +0 -9
  131. package/build/src/statements/move_corresponding.d.ts +0 -2
  132. package/build/src/statements/overlay.d.ts +0 -3
  133. package/build/src/statements/raise_event.d.ts +0 -1
  134. package/build/src/statements/read_report.d.ts +0 -8
  135. package/build/src/statements/read_table.d.ts +0 -27
  136. package/build/src/statements/receive.d.ts +0 -9
  137. package/build/src/statements/replace.d.ts +0 -14
  138. package/build/src/statements/rollback.d.ts +0 -1
  139. package/build/src/statements/select.d.ts +0 -8
  140. package/build/src/statements/set_bit.d.ts +0 -4
  141. package/build/src/statements/set_handler.d.ts +0 -3
  142. package/build/src/statements/set_locale.d.ts +0 -2
  143. package/build/src/statements/shift.d.ts +0 -12
  144. package/build/src/statements/sort.d.ts +0 -10
  145. package/build/src/statements/split.d.ts +0 -9
  146. package/build/src/statements/translate.d.ts +0 -2
  147. package/build/src/statements/update_database.d.ts +0 -14
  148. package/build/src/statements/wait.d.ts +0 -5
  149. package/build/src/statements/write.d.ts +0 -17
  150. package/build/src/template_formatting.d.ts +0 -14
  151. package/build/src/throw_error.d.ts +0 -1
  152. package/build/src/types/_abstract_type_data.d.ts +0 -5
  153. package/build/src/types/_character.d.ts +0 -11
  154. package/build/src/types/_date_helper.d.ts +0 -2
  155. package/build/src/types/_numeric.d.ts +0 -5
  156. package/build/src/types/abap_object.d.ts +0 -14
  157. package/build/src/types/character.d.ts +0 -27
  158. package/build/src/types/data_reference.d.ts +0 -29
  159. package/build/src/types/date.d.ts +0 -20
  160. package/build/src/types/decfloat34.d.ts +0 -11
  161. package/build/src/types/field_symbol.d.ts +0 -32
  162. package/build/src/types/float.d.ts +0 -15
  163. package/build/src/types/hex.d.ts +0 -20
  164. package/build/src/types/index.d.ts +0 -18
  165. package/build/src/types/integer.d.ts +0 -15
  166. package/build/src/types/integer8.d.ts +0 -16
  167. package/build/src/types/numc.d.ts +0 -21
  168. package/build/src/types/packed.d.ts +0 -19
  169. package/build/src/types/string.d.ts +0 -19
  170. package/build/src/types/structure.d.ts +0 -31
  171. package/build/src/types/table.d.ts +0 -114
  172. package/build/src/types/time.d.ts +0 -20
  173. package/build/src/types/utc_long.d.ts +0 -18
  174. package/build/src/types/xstring.d.ts +0 -18
  175. package/build/src/unit_test.d.ts +0 -26
@@ -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;
@@ -1,3 +0,0 @@
1
- import { Hex, XString } from "../types";
2
- export declare function hexToBinary(input: Hex | XString): string;
3
- export declare function m(operand1: Hex | XString, operand2: Hex | XString): boolean;
@@ -1,3 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function na(left: number | string | ICharacter | INumeric, right: string | ICharacter): boolean;
@@ -1,3 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function ne(left: number | string | ICharacter | INumeric, right: number | string | ICharacter | INumeric): boolean;
@@ -1,3 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function np(left: number | string | ICharacter | INumeric, right: string | ICharacter): boolean;
@@ -1,3 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export declare function ns(left: number | string | ICharacter | INumeric, right: string | ICharacter): boolean;
@@ -1,2 +0,0 @@
1
- import { Hex, XString } from "../types";
2
- export declare function o(operand1: Hex | XString, operand2: Hex | XString): boolean;
@@ -1,2 +0,0 @@
1
- import { Hex, XString } from "../types";
2
- export declare function z(operand1: Hex | XString, operand2: Hex | XString): boolean;
@@ -1,7 +0,0 @@
1
- export interface Console {
2
- clear(): void;
3
- add(data: string): void;
4
- get(): string;
5
- getTrimmed(): string;
6
- isEmpty(): boolean;
7
- }
@@ -1,9 +0,0 @@
1
- import { Console } from "./console";
2
- export declare class MemoryConsole implements Console {
3
- private data;
4
- clear(): void;
5
- add(data: string): void;
6
- get(): string;
7
- isEmpty(): boolean;
8
- getTrimmed(): string;
9
- }
@@ -1,9 +0,0 @@
1
- import { Console } from "./console";
2
- export declare class StandardOutConsole implements Console {
3
- private empty;
4
- clear(): void;
5
- add(data: string): void;
6
- get(): string;
7
- isEmpty(): boolean;
8
- getTrimmed(): string;
9
- }
@@ -1,13 +0,0 @@
1
- import { Console } from "./console/console";
2
- import { DatabaseClient } from "./db/db";
3
- import * as RFC from "./rfc";
4
- export declare class Context {
5
- console: Console;
6
- databaseConnections: {
7
- [name: string]: DatabaseClient;
8
- };
9
- RFCDestinations: {
10
- [name: string]: RFC.RFCClient;
11
- };
12
- defaultDB(): DatabaseClient;
13
- }
@@ -1,55 +0,0 @@
1
- export interface DeleteDatabaseOptions {
2
- table: string;
3
- where: string;
4
- }
5
- export interface UpdateDatabaseOptions {
6
- table: string;
7
- where: string;
8
- set: string[];
9
- }
10
- export interface InsertDatabaseOptions {
11
- table: string;
12
- columns: string[];
13
- values: string[];
14
- }
15
- export interface SelectDatabaseOptions {
16
- /** select statement, in ABAP SQL syntax */
17
- select: string;
18
- /** list of primary key fields, in lower case, if known */
19
- primaryKey?: string[];
20
- }
21
- export interface SelectRuntimeOptions {
22
- appending?: boolean;
23
- }
24
- export type DatabaseValue = number | string | Uint8Array | null;
25
- export type DatabaseRow = {
26
- [name: string]: DatabaseValue;
27
- };
28
- export type DatabaseRows = DatabaseRow[];
29
- export interface SelectDatabaseResult {
30
- rows: DatabaseRows;
31
- }
32
- export interface DatabaseClient {
33
- /*** the type/name/identifier of the database */
34
- name: string;
35
- connect(): Promise<void>;
36
- disconnect(): Promise<void>;
37
- /*** execute any native SQL command */
38
- execute(sql: string | string[]): Promise<void>;
39
- beginTransaction(): Promise<void>;
40
- commit(): Promise<void>;
41
- rollback(): Promise<void>;
42
- delete(options: DeleteDatabaseOptions): Promise<{
43
- subrc: number;
44
- dbcnt: number;
45
- }>;
46
- update(options: UpdateDatabaseOptions): Promise<{
47
- subrc: number;
48
- dbcnt: number;
49
- }>;
50
- insert(options: InsertDatabaseOptions): Promise<{
51
- subrc: number;
52
- dbcnt: number;
53
- }>;
54
- select(options: SelectDatabaseOptions): Promise<SelectDatabaseResult>;
55
- }
@@ -1,2 +0,0 @@
1
- import { FieldSymbol } from "./types";
2
- export declare function expandDynamic(code: string, ev: (name: string) => FieldSymbol | undefined): string;
@@ -1,2 +0,0 @@
1
- import { Table } from "./types";
2
- export declare function expandIN(fieldName: string, table: Table): string;
@@ -1,67 +0,0 @@
1
- import { Context } from "./context";
2
- import { OffsetLength } from "./offset_length";
3
- import { Statements } from "./statements";
4
- import { templateFormatting } from "./template_formatting";
5
- import { UnitTestResult } from "./unit_test";
6
- import * as builtin from "./builtin";
7
- import * as compare from "./compare";
8
- import * as DB from "./db/db";
9
- import * as operators from "./operators";
10
- import * as RFC from "./rfc";
11
- import * as types from "./types";
12
- import { expandIN } from "./expand_in";
13
- import { expandDynamic } from "./expand_dynamic";
14
- import { ClassicError } from "./classic_error";
15
- import { Console } from "./console/console";
16
- import { MemoryConsole } from "./console/memory_console";
17
- import { buildDbTableName } from "./prefix";
18
- export { UnitTestResult, RFC, types, DB, MemoryConsole };
19
- export type RuntimeDatabaseOptions = {
20
- schemaPrefix?: string;
21
- tablePrefix?: string;
22
- };
23
- export type RuntimeOptions = {
24
- console?: Console;
25
- database?: RuntimeDatabaseOptions;
26
- };
27
- export declare class ABAP {
28
- Classes: {
29
- [name: string]: any;
30
- };
31
- DDIC: {
32
- [name: string]: any;
33
- };
34
- FunctionModules: {
35
- [name: string]: any;
36
- };
37
- Interfaces: {
38
- [name: string]: any;
39
- };
40
- MSAG: {
41
- [name: string]: any;
42
- };
43
- SMIM: {
44
- [name: string]: any;
45
- };
46
- TypePools: {
47
- [name: string]: any;
48
- };
49
- W3MI: {
50
- [name: string]: any;
51
- };
52
- statements: Statements;
53
- types: typeof types;
54
- builtin: typeof builtin;
55
- operators: typeof operators;
56
- compare: typeof compare;
57
- readonly console: Console;
58
- OffsetLength: typeof OffsetLength;
59
- templateFormatting: typeof templateFormatting;
60
- expandIN: typeof expandIN;
61
- expandDynamic: typeof expandDynamic;
62
- buildDbTableName: typeof buildDbTableName;
63
- ClassicError: typeof ClassicError;
64
- readonly context: Context;
65
- readonly dbo: RuntimeDatabaseOptions;
66
- constructor(input?: RuntimeOptions);
67
- }
@@ -1,16 +0,0 @@
1
- import { Character, Hex, Structure, XString } from "./types";
2
- import { ICharacter } from "./types/_character";
3
- import { INumeric } from "./types/_numeric";
4
- export interface IOffsetLengthOptions {
5
- length?: INumeric | number;
6
- offset?: INumeric | number;
7
- }
8
- export declare class OffsetLength {
9
- private readonly obj;
10
- private readonly offset?;
11
- private readonly length?;
12
- private readonly isHex;
13
- constructor(obj: ICharacter | Character | Hex | XString | Structure, options: IOffsetLengthOptions);
14
- get(): string;
15
- set(value: ICharacter | string): void;
16
- }
@@ -1,6 +0,0 @@
1
- import { XString } from "../types";
2
- export declare function get_bit_operation_chunks(left: XString, right: XString): {
3
- leftChunk: number;
4
- rightChunk: number;
5
- chunkLen: number;
6
- }[];
@@ -1,4 +0,0 @@
1
- import { Float, Integer } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function parse(val: INumeric | ICharacter | string | number | Float | Integer): number;
@@ -1,4 +0,0 @@
1
- import { FieldSymbol, Float, Hex, Integer } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function add(left: INumeric | ICharacter | string | number | Float | Integer | Hex | FieldSymbol, right: INumeric | ICharacter | string | number | Float | Integer | Hex | FieldSymbol): Integer | Float;
@@ -1,2 +0,0 @@
1
- import { XString } from "../types";
2
- export declare function bitand(left: XString, right: XString): XString;
@@ -1,2 +0,0 @@
1
- import { Hex, XString } from "../types";
2
- export declare function bitnot(right: XString | Hex): Hex;
@@ -1,2 +0,0 @@
1
- import { XString } from "../types";
2
- export declare function bitor(left: XString, right: XString): XString;
@@ -1,2 +0,0 @@
1
- import { XString } from "../types";
2
- export declare function bitxor(left: XString, right: XString): XString;
@@ -1,4 +0,0 @@
1
- import { String } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function concat(left: INumeric | ICharacter | string | number | any[], right: INumeric | ICharacter | string | number): String;
@@ -1,4 +0,0 @@
1
- import { Integer, Integer8 } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function div(left: INumeric | ICharacter | string | number, right: INumeric | ICharacter | string | number): Integer | Integer8;
@@ -1,4 +0,0 @@
1
- import { Float } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function divide(left: INumeric | ICharacter | string | number, right: INumeric | ICharacter | string | number): Float;
@@ -1,12 +0,0 @@
1
- export * from "./add";
2
- export * from "./div";
3
- export * from "./divide";
4
- export * from "./minus";
5
- export * from "./mod";
6
- export * from "./multiply";
7
- export * from "./power";
8
- export * from "./bit-and";
9
- export * from "./bit-not";
10
- export * from "./bit-or";
11
- export * from "./bit-xor";
12
- export * from "./concat";
@@ -1,4 +0,0 @@
1
- import { FieldSymbol, Float, Integer } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function minus(left: INumeric | ICharacter | string | number | Integer | Float | FieldSymbol, right: INumeric | ICharacter | string | number | Integer | Float | FieldSymbol): Integer | Float;
@@ -1,4 +0,0 @@
1
- import { Integer, Integer8 } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function mod(left: INumeric | ICharacter | string | number, right: INumeric | ICharacter | string | number): Integer | Integer8;
@@ -1,4 +0,0 @@
1
- import { Float, Integer } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function multiply(left: INumeric | ICharacter | string | number, right: INumeric | ICharacter | string | number): Float | Integer;
@@ -1,4 +0,0 @@
1
- import { Float } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function power(left: INumeric | ICharacter | string | number, right: INumeric | ICharacter | string | number): Float;
@@ -1 +0,0 @@
1
- export declare function buildDbTableName(table: string): string;
@@ -1,25 +0,0 @@
1
- import { FieldSymbol, Structure, Table } from "./types";
2
- import { ICharacter } from "./types/_character";
3
- import { INumeric } from "./types/_numeric";
4
- type TypeType = INumeric | Table | ICharacter | Structure | FieldSymbol;
5
- export type RFCCallSignature = {
6
- exporting?: {
7
- [name: string]: TypeType;
8
- };
9
- importing?: {
10
- [name: string]: TypeType;
11
- };
12
- tables?: {
13
- [name: string]: TypeType;
14
- };
15
- changing?: {
16
- [name: string]: TypeType;
17
- };
18
- exceptions?: {
19
- [name: string]: number;
20
- };
21
- };
22
- export interface RFCClient {
23
- call(name: string, signature: RFCCallSignature): Promise<void>;
24
- }
25
- export {};
@@ -1,13 +0,0 @@
1
- import { DataReference, FieldSymbol, Table, TableRowType } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export interface IAppendOptions {
5
- source: TableRowType | FieldSymbol | Table;
6
- target: Table | FieldSymbol | undefined;
7
- lines?: boolean;
8
- assigning?: FieldSymbol;
9
- referenceInto?: DataReference;
10
- from?: ICharacter | INumeric;
11
- to?: ICharacter | INumeric;
12
- }
13
- export declare function append(input: IAppendOptions): void;
@@ -1 +0,0 @@
1
- export declare function assert(input: boolean): void;
@@ -1,12 +0,0 @@
1
- import { DataReference, FieldSymbol, Structure, Table } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export interface IAssignInput {
5
- source?: INumeric | ICharacter | Table | Structure | DataReference;
6
- target: FieldSymbol;
7
- dynamicName?: string;
8
- dynamicSource?: ICharacter;
9
- casting?: boolean;
10
- component?: string | ICharacter;
11
- }
12
- export declare function assign(input: IAssignInput): void;
@@ -1,16 +0,0 @@
1
- import { Context } from "../context";
2
- export interface ICallFunctionOptions {
3
- name: string;
4
- destination?: string;
5
- calling?: (INPUT: any) => any;
6
- exporting?: any;
7
- importing?: any;
8
- tables?: any;
9
- changing?: any;
10
- exceptions?: any;
11
- }
12
- export declare class CallFunction {
13
- private readonly context;
14
- constructor(context: Context);
15
- callFunction(options: ICallFunctionOptions): Promise<void>;
16
- }
@@ -1 +0,0 @@
1
- export declare function callTransaction(): void;
@@ -1,2 +0,0 @@
1
- import { ABAPObject, FieldSymbol } from "../types";
2
- export declare function cast(target: ABAPObject | FieldSymbol, source: ABAPObject): Promise<void>;
@@ -1,4 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- import { Table } from "../types";
4
- export declare function clear(value: ICharacter | INumeric | Table): void;
@@ -1,3 +0,0 @@
1
- import { Table } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- export declare function collect(source: ICharacter, target: Table): void;
@@ -1 +0,0 @@
1
- export declare function commit(): void;
@@ -1,11 +0,0 @@
1
- import { INumeric } from "../types/_numeric";
2
- import { ICharacter } from "../types/_character";
3
- import { Table } from "../types";
4
- export interface IConcatenateInput {
5
- source: (number | string | INumeric | ICharacter | Table)[];
6
- target: ICharacter;
7
- separatedBy?: number | string | INumeric | ICharacter;
8
- respectingBlanks?: boolean;
9
- lines?: boolean;
10
- }
11
- export declare function concatenate(input: IConcatenateInput): void;
@@ -1,4 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- export declare function condense(input: ICharacter, options: {
3
- nogaps: boolean;
4
- }): void;
@@ -1,14 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- import { INumeric } from "../types/_numeric";
3
- export interface IConvertSource {
4
- date?: ICharacter | string;
5
- time?: ICharacter | string;
6
- stamp?: ICharacter | INumeric | string;
7
- zone: ICharacter | string;
8
- }
9
- export interface IConvertTarget {
10
- stamp?: ICharacter;
11
- date?: ICharacter;
12
- time?: ICharacter;
13
- }
14
- export declare function convert(source: IConvertSource, target: IConvertTarget): void;
@@ -1,17 +0,0 @@
1
- import { ABAPObject, DataReference, FieldSymbol, Structure, Table } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- type PointerType = INumeric | Table | ICharacter | ABAPObject | undefined | Structure | FieldSymbol;
5
- export interface ICreateDataOptions {
6
- table?: boolean;
7
- name?: string;
8
- type?: PointerType;
9
- typeName?: string;
10
- length?: INumeric;
11
- decimals?: INumeric;
12
- likeLineOf?: FieldSymbol | Table;
13
- typeLineOf?: boolean;
14
- like?: any;
15
- }
16
- export declare function createData(target: DataReference | FieldSymbol, options?: ICreateDataOptions): void;
17
- export {};
@@ -1,13 +0,0 @@
1
- import { Context } from "../context";
2
- import { FieldSymbol, Structure, Table } from "../types";
3
- import { ICharacter } from "../types/_character";
4
- export interface IDeleteDatabaseOptions {
5
- from?: Structure | FieldSymbol;
6
- where?: string;
7
- table?: Table | FieldSymbol;
8
- }
9
- export declare class DeleteDatabase {
10
- private readonly context;
11
- constructor(context: Context);
12
- deleteDatabase(table: string | ICharacter, options: IDeleteDatabaseOptions): Promise<void>;
13
- }
@@ -1,12 +0,0 @@
1
- import { FieldSymbol, HashedTable, Table } from "../types";
2
- import { INumeric } from "../types/_numeric";
3
- export interface IDeleteInternalOptions {
4
- where?: (i: any) => boolean;
5
- index?: INumeric;
6
- adjacent?: boolean;
7
- comparing?: string[];
8
- fromValue?: any;
9
- from?: any;
10
- to?: any;
11
- }
12
- export declare function deleteInternal(target: Table | HashedTable | FieldSymbol, options?: IDeleteInternalOptions): Promise<void>;
@@ -1,13 +0,0 @@
1
- import { Table } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export interface IDescribeOptions {
5
- field: any;
6
- type?: ICharacter;
7
- length?: INumeric;
8
- decimals?: INumeric;
9
- lines?: INumeric;
10
- table?: Table;
11
- mode?: "BYTE" | "CHARACTER";
12
- }
13
- export declare function describe(input: IDescribeOptions): void;
@@ -1,17 +0,0 @@
1
- import { ABAPObject, Structure, Table } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export interface IFindOptions {
5
- find?: ICharacter | string;
6
- first?: boolean;
7
- regex?: string | ICharacter | ABAPObject;
8
- offset?: INumeric;
9
- sectionOffset?: INumeric;
10
- byteMode?: boolean;
11
- length?: INumeric;
12
- count?: INumeric;
13
- results?: Table | Structure;
14
- ignoringCase?: boolean;
15
- submatches?: ICharacter[];
16
- }
17
- export declare function find(input: ICharacter | Table, options: IFindOptions): void;
@@ -1,4 +0,0 @@
1
- import { Hex, XString } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- import { INumeric } from "../types/_numeric";
4
- export declare function getBit(number: INumeric, hex: XString | Hex, output: ICharacter): void;
@@ -1,2 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- export declare function getLocale(target: ICharacter): void;
@@ -1,2 +0,0 @@
1
- import { ICharacter } from "../types/_character";
2
- export declare function getParameter(_source: ICharacter, _target: ICharacter): void;
@@ -1,2 +0,0 @@
1
- import { INumeric } from "../types/_numeric";
2
- export declare function getRunTime(value: INumeric): void;
@@ -1,9 +0,0 @@
1
- import { Structure } from "../types";
2
- import { ICharacter } from "../types/_character";
3
- type options = {
4
- field?: ICharacter;
5
- stamp?: ICharacter;
6
- sy?: Structure;
7
- };
8
- export declare function getTime(options?: options): void;
9
- export {};