@abaplint/runtime 2.7.90 → 2.7.91
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 -0
- package/build/src/binary_search.d.ts +7 -0
- package/build/src/builtin/abs.d.ts +5 -0
- package/build/src/builtin/boolc.d.ts +4 -0
- package/build/src/builtin/ceil.d.ts +5 -0
- package/build/src/builtin/concat_lines_of.d.ts +7 -0
- package/build/src/builtin/condense.d.ts +9 -0
- package/build/src/builtin/contains.d.ts +15 -0
- package/build/src/builtin/cos.d.ts +5 -0
- package/build/src/builtin/count.d.ts +12 -0
- package/build/src/builtin/count_any_of.d.ts +8 -0
- package/build/src/builtin/escape.d.ts +7 -0
- package/build/src/builtin/find.d.ts +13 -0
- package/build/src/builtin/floor.d.ts +5 -0
- package/build/src/builtin/frac.d.ts +6 -0
- package/build/src/builtin/index.d.ts +54 -0
- package/build/src/builtin/insert.d.ts +9 -0
- package/build/src/builtin/ipow.d.ts +6 -0
- package/build/src/builtin/lines.d.ts +4 -0
- package/build/src/builtin/match.d.ts +5 -0
- package/build/src/builtin/matches.d.ts +6 -0
- package/build/src/builtin/nmax.d.ts +14 -0
- package/build/src/builtin/nmin.d.ts +14 -0
- package/build/src/builtin/numofchar.d.ts +5 -0
- package/build/src/builtin/repeat.d.ts +6 -0
- package/build/src/builtin/replace.d.ts +13 -0
- package/build/src/builtin/reverse.d.ts +5 -0
- package/build/src/builtin/round.d.ts +8 -0
- package/build/src/builtin/segment.d.ts +8 -0
- package/build/src/builtin/shift_left.d.ts +9 -0
- package/build/src/builtin/shift_right.d.ts +9 -0
- package/build/src/builtin/sign.d.ts +5 -0
- package/build/src/builtin/sin.d.ts +5 -0
- package/build/src/builtin/sqrt.d.ts +5 -0
- package/build/src/builtin/strlen.d.ts +5 -0
- package/build/src/builtin/substring.d.ts +8 -0
- package/build/src/builtin/substring_after.d.ts +6 -0
- package/build/src/builtin/substring_before.d.ts +6 -0
- package/build/src/builtin/sy.d.ts +2 -0
- package/build/src/builtin/tan.d.ts +5 -0
- package/build/src/builtin/to_lower.d.ts +4 -0
- package/build/src/builtin/to_mixed.d.ts +9 -0
- package/build/src/builtin/to_upper.d.ts +4 -0
- package/build/src/builtin/translate.d.ts +6 -0
- package/build/src/builtin/trunc.d.ts +5 -0
- package/build/src/builtin/xstrlen.d.ts +5 -0
- package/build/src/classic_error.d.ts +6 -0
- package/build/src/clone.d.ts +1 -0
- package/build/src/compare/assigned.d.ts +2 -0
- package/build/src/compare/between.d.ts +2 -0
- package/build/src/compare/ca.d.ts +4 -0
- package/build/src/compare/cn.d.ts +3 -0
- package/build/src/compare/co.d.ts +4 -0
- package/build/src/compare/cp.d.ts +4 -0
- package/build/src/compare/cs.d.ts +3 -0
- package/build/src/compare/eq.d.ts +4 -0
- package/build/src/compare/ge.d.ts +3 -0
- package/build/src/compare/gt.d.ts +4 -0
- package/build/src/compare/in.d.ts +4 -0
- package/build/src/compare/index.d.ts +22 -0
- package/build/src/compare/initial.d.ts +4 -0
- package/build/src/compare/instance_of.d.ts +2 -0
- package/build/src/compare/le.d.ts +3 -0
- package/build/src/compare/lt.d.ts +4 -0
- package/build/src/compare/m.d.ts +3 -0
- package/build/src/compare/na.d.ts +3 -0
- package/build/src/compare/ne.d.ts +3 -0
- package/build/src/compare/np.d.ts +3 -0
- package/build/src/compare/ns.d.ts +3 -0
- package/build/src/compare/o.d.ts +2 -0
- package/build/src/compare/z.d.ts +2 -0
- package/build/src/console/console.d.ts +7 -0
- package/build/src/console/memory_console.d.ts +9 -0
- package/build/src/console/standard_out_console.d.ts +9 -0
- package/build/src/context.d.ts +13 -0
- package/build/src/db/db.d.ts +55 -0
- package/build/src/expand_dynamic.d.ts +2 -0
- package/build/src/expand_in.d.ts +2 -0
- package/build/src/index.d.ts +67 -0
- package/build/src/offset_length.d.ts +16 -0
- package/build/src/operators/_bit_operations.d.ts +6 -0
- package/build/src/operators/_parse.d.ts +4 -0
- package/build/src/operators/add.d.ts +4 -0
- package/build/src/operators/bit-and.d.ts +2 -0
- package/build/src/operators/bit-not.d.ts +2 -0
- package/build/src/operators/bit-or.d.ts +2 -0
- package/build/src/operators/bit-xor.d.ts +2 -0
- package/build/src/operators/concat.d.ts +4 -0
- package/build/src/operators/div.d.ts +4 -0
- package/build/src/operators/divide.d.ts +4 -0
- package/build/src/operators/index.d.ts +12 -0
- package/build/src/operators/minus.d.ts +4 -0
- package/build/src/operators/mod.d.ts +4 -0
- package/build/src/operators/multiply.d.ts +4 -0
- package/build/src/operators/power.d.ts +4 -0
- package/build/src/prefix.d.ts +1 -0
- package/build/src/rfc.d.ts +25 -0
- package/build/src/statements/append.d.ts +13 -0
- package/build/src/statements/assert.d.ts +1 -0
- package/build/src/statements/assign.d.ts +12 -0
- package/build/src/statements/call_function.d.ts +16 -0
- package/build/src/statements/call_transaction.d.ts +1 -0
- package/build/src/statements/cast.d.ts +2 -0
- package/build/src/statements/clear.d.ts +4 -0
- package/build/src/statements/collect.d.ts +3 -0
- package/build/src/statements/commit.d.ts +1 -0
- package/build/src/statements/concatenate.d.ts +11 -0
- package/build/src/statements/condense.d.ts +4 -0
- package/build/src/statements/convert.d.ts +14 -0
- package/build/src/statements/create_data.d.ts +17 -0
- package/build/src/statements/delete_database.d.ts +13 -0
- package/build/src/statements/delete_internal.d.ts +12 -0
- package/build/src/statements/describe.d.ts +13 -0
- package/build/src/statements/find.d.ts +17 -0
- package/build/src/statements/get_bit.d.ts +4 -0
- package/build/src/statements/get_locale.d.ts +2 -0
- package/build/src/statements/get_parameter.d.ts +2 -0
- package/build/src/statements/get_run_time.d.ts +2 -0
- package/build/src/statements/get_time.d.ts +9 -0
- package/build/src/statements/index.d.ts +106 -0
- package/build/src/statements/insert_database.d.ts +13 -0
- package/build/src/statements/insert_internal.d.ts +14 -0
- package/build/src/statements/loop.d.ts +15 -0
- package/build/src/statements/message.d.ts +17 -0
- package/build/src/statements/modify_database.d.ts +12 -0
- package/build/src/statements/modify_internal.d.ts +9 -0
- package/build/src/statements/move_corresponding.d.ts +2 -0
- package/build/src/statements/overlay.d.ts +3 -0
- package/build/src/statements/raise_event.d.ts +1 -0
- package/build/src/statements/read_report.d.ts +8 -0
- package/build/src/statements/read_table.d.ts +27 -0
- package/build/src/statements/receive.d.ts +9 -0
- package/build/src/statements/replace.d.ts +14 -0
- package/build/src/statements/rollback.d.ts +1 -0
- package/build/src/statements/select.d.ts +8 -0
- package/build/src/statements/set_bit.d.ts +4 -0
- package/build/src/statements/set_handler.d.ts +3 -0
- package/build/src/statements/set_locale.d.ts +2 -0
- package/build/src/statements/shift.d.ts +12 -0
- package/build/src/statements/sort.d.ts +10 -0
- package/build/src/statements/split.d.ts +9 -0
- package/build/src/statements/translate.d.ts +2 -0
- package/build/src/statements/update_database.d.ts +14 -0
- package/build/src/statements/wait.d.ts +5 -0
- package/build/src/statements/write.d.ts +17 -0
- package/build/src/template_formatting.d.ts +14 -0
- package/build/src/throw_error.d.ts +1 -0
- package/build/src/types/_abstract_type_data.d.ts +5 -0
- package/build/src/types/_character.d.ts +11 -0
- package/build/src/types/_date_helper.d.ts +2 -0
- package/build/src/types/_numeric.d.ts +5 -0
- package/build/src/types/abap_object.d.ts +14 -0
- package/build/src/types/character.d.ts +27 -0
- package/build/src/types/data_reference.d.ts +29 -0
- package/build/src/types/date.d.ts +20 -0
- package/build/src/types/decfloat34.d.ts +11 -0
- package/build/src/types/field_symbol.d.ts +32 -0
- package/build/src/types/float.d.ts +15 -0
- package/build/src/types/hex.d.ts +20 -0
- package/build/src/types/index.d.ts +18 -0
- package/build/src/types/integer.d.ts +15 -0
- package/build/src/types/integer8.d.ts +16 -0
- package/build/src/types/numc.d.ts +21 -0
- package/build/src/types/packed.d.ts +19 -0
- package/build/src/types/string.d.ts +19 -0
- package/build/src/types/structure.d.ts +31 -0
- package/build/src/types/table.d.ts +114 -0
- package/build/src/types/time.d.ts +20 -0
- package/build/src/types/utc_long.d.ts +18 -0
- package/build/src/types/xstring.d.ts +18 -0
- package/build/src/unit_test.d.ts +26 -0
- package/package.json +1 -1
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { INumeric } from "./_numeric";
|
|
2
|
+
import { ICharacter } from "./_character";
|
|
3
|
+
import { ABAPObject } from "./abap_object";
|
|
4
|
+
import { Structure } from "./structure";
|
|
5
|
+
export declare enum TableAccessType {
|
|
6
|
+
standard = "STANDARD",
|
|
7
|
+
sorted = "SORTED",
|
|
8
|
+
hashed = "HASHED",
|
|
9
|
+
index = "INDEX",
|
|
10
|
+
any = "ANY"
|
|
11
|
+
}
|
|
12
|
+
export declare enum TableKeyType {
|
|
13
|
+
default = "DEFAULT",
|
|
14
|
+
user = "USER",
|
|
15
|
+
empty = "EMPTY"
|
|
16
|
+
}
|
|
17
|
+
export declare class LoopController {
|
|
18
|
+
index: number;
|
|
19
|
+
loopTo: number;
|
|
20
|
+
array: any[];
|
|
21
|
+
constructor(from: number, loopTo: number, array: any[]);
|
|
22
|
+
}
|
|
23
|
+
export type ITableKey = {
|
|
24
|
+
name: string;
|
|
25
|
+
type?: TableAccessType;
|
|
26
|
+
keyFields: string[];
|
|
27
|
+
isUnique: boolean;
|
|
28
|
+
};
|
|
29
|
+
export type ITableOptions = {
|
|
30
|
+
withHeader: boolean;
|
|
31
|
+
keyType: TableKeyType;
|
|
32
|
+
primaryKey?: ITableKey;
|
|
33
|
+
secondary?: ITableKey[];
|
|
34
|
+
};
|
|
35
|
+
export type TableRowType = INumeric | Structure | ICharacter | Table | ABAPObject;
|
|
36
|
+
interface ITable {
|
|
37
|
+
getQualifiedName(): string | undefined;
|
|
38
|
+
getOptions(): ITableOptions | undefined;
|
|
39
|
+
getRowType(): TableRowType;
|
|
40
|
+
getArrayLength(): number;
|
|
41
|
+
clear(): void;
|
|
42
|
+
set(tab: Table | HashedTable | TableRowType): ITable;
|
|
43
|
+
getHeader(): TableRowType;
|
|
44
|
+
}
|
|
45
|
+
export declare class TableFactory {
|
|
46
|
+
static construct(rowType: TableRowType, options?: ITableOptions, qualifiedName?: string): Table | HashedTable;
|
|
47
|
+
}
|
|
48
|
+
export declare class HashedTable implements ITable {
|
|
49
|
+
private value;
|
|
50
|
+
private readonly header;
|
|
51
|
+
private readonly rowType;
|
|
52
|
+
private readonly loops;
|
|
53
|
+
private readonly options;
|
|
54
|
+
private readonly qualifiedName;
|
|
55
|
+
private secondaryIndexes;
|
|
56
|
+
constructor(rowType: TableRowType, options: ITableOptions, qualifiedName?: string);
|
|
57
|
+
getArrayLength(): number;
|
|
58
|
+
getKeyByName(name: string): ITableKey | undefined;
|
|
59
|
+
getSecondaryIndex(name: string): any[];
|
|
60
|
+
buildHashFromData(data: TableRowType): string;
|
|
61
|
+
deleteIndex(_index: number): void;
|
|
62
|
+
deleteFrom(row: TableRowType): void;
|
|
63
|
+
buildHashFromSimple(data: {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
}): string;
|
|
66
|
+
read(hash: string): TableRowType | undefined;
|
|
67
|
+
insert(data: TableRowType): {
|
|
68
|
+
value: TableRowType | undefined;
|
|
69
|
+
subrc: number;
|
|
70
|
+
};
|
|
71
|
+
array(): any[];
|
|
72
|
+
startLoop(from: number, to: number, array: any[]): LoopController;
|
|
73
|
+
unregisterLoop(loop: LoopController): void;
|
|
74
|
+
insertIndex(_item: TableRowType, _index: number): void;
|
|
75
|
+
append(_item: TableRowType): void;
|
|
76
|
+
getQualifiedName(): string | undefined;
|
|
77
|
+
getOptions(): ITableOptions;
|
|
78
|
+
getRowType(): TableRowType;
|
|
79
|
+
clear(): void;
|
|
80
|
+
set(tab: TableRowType): ITable;
|
|
81
|
+
getHeader(): TableRowType;
|
|
82
|
+
private getValue;
|
|
83
|
+
}
|
|
84
|
+
export declare class Table implements ITable {
|
|
85
|
+
private value;
|
|
86
|
+
private readonly header;
|
|
87
|
+
private readonly rowType;
|
|
88
|
+
private readonly loops;
|
|
89
|
+
private readonly options;
|
|
90
|
+
private readonly qualifiedName;
|
|
91
|
+
private readonly isStructured;
|
|
92
|
+
private secondaryIndexes;
|
|
93
|
+
constructor(rowType: TableRowType, options: ITableOptions, qualifiedName?: string);
|
|
94
|
+
getArrayLength(): number;
|
|
95
|
+
getKeyByName(name: string): ITableKey | undefined;
|
|
96
|
+
getSecondaryIndex(name: string): TableRowType[];
|
|
97
|
+
getQualifiedName(): string | undefined;
|
|
98
|
+
getOptions(): ITableOptions;
|
|
99
|
+
startLoop(from: number, to: number, array: any[]): LoopController;
|
|
100
|
+
unregisterLoop(loop: LoopController): void;
|
|
101
|
+
getRowType(): TableRowType;
|
|
102
|
+
array(): any[];
|
|
103
|
+
clear(): void;
|
|
104
|
+
set(tab: Table | TableRowType): this;
|
|
105
|
+
getHeader(): TableRowType;
|
|
106
|
+
insertIndex(item: TableRowType, index: number, noClone?: boolean): any;
|
|
107
|
+
/** index = javascript indexed */
|
|
108
|
+
deleteIndex(index: number): void;
|
|
109
|
+
append(item: TableRowType): any;
|
|
110
|
+
appendInitial(): TableRowType;
|
|
111
|
+
sort(compareFn: (a: TableRowType, b: TableRowType) => number): void;
|
|
112
|
+
private getValue;
|
|
113
|
+
}
|
|
114
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Hex } from "./hex";
|
|
2
|
+
import { ICharacter } from "./_character";
|
|
3
|
+
import { INumeric } from "./_numeric";
|
|
4
|
+
import { String } from "./string";
|
|
5
|
+
export declare class Time implements ICharacter {
|
|
6
|
+
private value;
|
|
7
|
+
private readonly qualifiedName;
|
|
8
|
+
constructor(input?: {
|
|
9
|
+
qualifiedName?: string;
|
|
10
|
+
});
|
|
11
|
+
getQualifiedName(): string | undefined;
|
|
12
|
+
set(value: INumeric | ICharacter | Hex | string | number): this;
|
|
13
|
+
clear(): void;
|
|
14
|
+
get(): string;
|
|
15
|
+
getNumeric(): number;
|
|
16
|
+
getOffset(input: {
|
|
17
|
+
offset?: number | INumeric | Hex;
|
|
18
|
+
length?: number | INumeric | Hex;
|
|
19
|
+
}): String;
|
|
20
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Hex } from "./hex";
|
|
2
|
+
import { ICharacter } from "./_character";
|
|
3
|
+
import { INumeric } from "./_numeric";
|
|
4
|
+
export declare class UTCLong implements ICharacter {
|
|
5
|
+
private value;
|
|
6
|
+
private readonly qualifiedName;
|
|
7
|
+
constructor(input?: {
|
|
8
|
+
qualifiedName?: string;
|
|
9
|
+
});
|
|
10
|
+
getQualifiedName(): string | undefined;
|
|
11
|
+
getOffset(_input: {
|
|
12
|
+
offset?: number | undefined;
|
|
13
|
+
length?: number | undefined;
|
|
14
|
+
}): ICharacter;
|
|
15
|
+
set(_value: INumeric | ICharacter | Hex | string | number): this;
|
|
16
|
+
clear(): void;
|
|
17
|
+
get(): string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Hex } from "./hex";
|
|
2
|
+
import { ICharacter } from "./_character";
|
|
3
|
+
import { INumeric } from "./_numeric";
|
|
4
|
+
export declare class XString implements ICharacter {
|
|
5
|
+
private value;
|
|
6
|
+
private readonly qualifiedName;
|
|
7
|
+
constructor(input?: {
|
|
8
|
+
qualifiedName?: string;
|
|
9
|
+
});
|
|
10
|
+
getQualifiedName(): string | undefined;
|
|
11
|
+
set(value: ICharacter | INumeric | string | number): this;
|
|
12
|
+
clear(): void;
|
|
13
|
+
get(): string;
|
|
14
|
+
getOffset(input: {
|
|
15
|
+
offset?: number | INumeric | Hex;
|
|
16
|
+
length?: number | INumeric | Hex;
|
|
17
|
+
}): XString;
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare class UnitTestMethodResult {
|
|
2
|
+
readonly name: string;
|
|
3
|
+
result: "Pass" | "Fail" | "Skip" | undefined;
|
|
4
|
+
constructor(name: string);
|
|
5
|
+
pass(): void;
|
|
6
|
+
fail(): void;
|
|
7
|
+
skip(): void;
|
|
8
|
+
}
|
|
9
|
+
declare class UnitTestClassResult {
|
|
10
|
+
readonly name: string;
|
|
11
|
+
methods: UnitTestMethodResult[];
|
|
12
|
+
constructor(name: string);
|
|
13
|
+
addMethod(name: string): UnitTestMethodResult;
|
|
14
|
+
}
|
|
15
|
+
declare class UnitTestObjectResult {
|
|
16
|
+
readonly name: string;
|
|
17
|
+
classes: UnitTestClassResult[];
|
|
18
|
+
constructor(name: string);
|
|
19
|
+
addTestClass(name: string): UnitTestClassResult;
|
|
20
|
+
}
|
|
21
|
+
export declare class UnitTestResult {
|
|
22
|
+
objects: UnitTestObjectResult[];
|
|
23
|
+
addObject(name: string): UnitTestObjectResult;
|
|
24
|
+
xUnitXML(): string;
|
|
25
|
+
}
|
|
26
|
+
export {};
|