@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.
- package/LICENSE +21 -0
- package/build/src/statements/read_table.js +4 -3
- package/build/src/types/table.js +6 -0
- package/package.json +1 -1
- package/build/src/abap_regex.d.ts +0 -4
- package/build/src/binary_search.d.ts +0 -7
- package/build/src/builtin/abs.d.ts +0 -5
- package/build/src/builtin/boolc.d.ts +0 -4
- package/build/src/builtin/ceil.d.ts +0 -5
- package/build/src/builtin/concat_lines_of.d.ts +0 -7
- package/build/src/builtin/condense.d.ts +0 -9
- package/build/src/builtin/contains.d.ts +0 -15
- package/build/src/builtin/cos.d.ts +0 -5
- package/build/src/builtin/count.d.ts +0 -12
- package/build/src/builtin/count_any_of.d.ts +0 -8
- package/build/src/builtin/escape.d.ts +0 -7
- package/build/src/builtin/find.d.ts +0 -13
- package/build/src/builtin/floor.d.ts +0 -5
- package/build/src/builtin/frac.d.ts +0 -6
- package/build/src/builtin/index.d.ts +0 -54
- package/build/src/builtin/insert.d.ts +0 -9
- package/build/src/builtin/ipow.d.ts +0 -6
- package/build/src/builtin/lines.d.ts +0 -4
- package/build/src/builtin/match.d.ts +0 -5
- package/build/src/builtin/matches.d.ts +0 -6
- package/build/src/builtin/nmax.d.ts +0 -14
- package/build/src/builtin/nmin.d.ts +0 -14
- package/build/src/builtin/numofchar.d.ts +0 -5
- package/build/src/builtin/repeat.d.ts +0 -6
- package/build/src/builtin/replace.d.ts +0 -13
- package/build/src/builtin/reverse.d.ts +0 -5
- package/build/src/builtin/round.d.ts +0 -8
- package/build/src/builtin/segment.d.ts +0 -8
- package/build/src/builtin/shift_left.d.ts +0 -9
- package/build/src/builtin/shift_right.d.ts +0 -9
- package/build/src/builtin/sign.d.ts +0 -5
- package/build/src/builtin/sin.d.ts +0 -5
- package/build/src/builtin/sqrt.d.ts +0 -5
- package/build/src/builtin/strlen.d.ts +0 -5
- package/build/src/builtin/substring.d.ts +0 -8
- package/build/src/builtin/substring_after.d.ts +0 -6
- package/build/src/builtin/substring_before.d.ts +0 -6
- package/build/src/builtin/sy.d.ts +0 -2
- package/build/src/builtin/tan.d.ts +0 -5
- package/build/src/builtin/to_lower.d.ts +0 -4
- package/build/src/builtin/to_mixed.d.ts +0 -9
- package/build/src/builtin/to_upper.d.ts +0 -4
- package/build/src/builtin/translate.d.ts +0 -6
- package/build/src/builtin/trunc.d.ts +0 -5
- package/build/src/builtin/xstrlen.d.ts +0 -5
- package/build/src/classic_error.d.ts +0 -6
- package/build/src/clone.d.ts +0 -1
- package/build/src/compare/assigned.d.ts +0 -2
- package/build/src/compare/between.d.ts +0 -2
- package/build/src/compare/ca.d.ts +0 -4
- package/build/src/compare/cn.d.ts +0 -3
- package/build/src/compare/co.d.ts +0 -4
- package/build/src/compare/cp.d.ts +0 -4
- package/build/src/compare/cs.d.ts +0 -3
- package/build/src/compare/eq.d.ts +0 -4
- package/build/src/compare/ge.d.ts +0 -3
- package/build/src/compare/gt.d.ts +0 -4
- package/build/src/compare/in.d.ts +0 -4
- package/build/src/compare/index.d.ts +0 -22
- package/build/src/compare/initial.d.ts +0 -4
- package/build/src/compare/instance_of.d.ts +0 -2
- package/build/src/compare/le.d.ts +0 -3
- package/build/src/compare/lt.d.ts +0 -4
- package/build/src/compare/m.d.ts +0 -3
- package/build/src/compare/na.d.ts +0 -3
- package/build/src/compare/ne.d.ts +0 -3
- package/build/src/compare/np.d.ts +0 -3
- package/build/src/compare/ns.d.ts +0 -3
- package/build/src/compare/o.d.ts +0 -2
- package/build/src/compare/z.d.ts +0 -2
- package/build/src/console/console.d.ts +0 -7
- package/build/src/console/memory_console.d.ts +0 -9
- package/build/src/console/standard_out_console.d.ts +0 -9
- package/build/src/context.d.ts +0 -13
- package/build/src/db/db.d.ts +0 -55
- package/build/src/expand_dynamic.d.ts +0 -2
- package/build/src/expand_in.d.ts +0 -2
- package/build/src/index.d.ts +0 -67
- package/build/src/offset_length.d.ts +0 -16
- package/build/src/operators/_bit_operations.d.ts +0 -6
- package/build/src/operators/_parse.d.ts +0 -4
- package/build/src/operators/add.d.ts +0 -4
- package/build/src/operators/bit-and.d.ts +0 -2
- package/build/src/operators/bit-not.d.ts +0 -2
- package/build/src/operators/bit-or.d.ts +0 -2
- package/build/src/operators/bit-xor.d.ts +0 -2
- package/build/src/operators/concat.d.ts +0 -4
- package/build/src/operators/div.d.ts +0 -4
- package/build/src/operators/divide.d.ts +0 -4
- package/build/src/operators/index.d.ts +0 -12
- package/build/src/operators/minus.d.ts +0 -4
- package/build/src/operators/mod.d.ts +0 -4
- package/build/src/operators/multiply.d.ts +0 -4
- package/build/src/operators/power.d.ts +0 -4
- package/build/src/prefix.d.ts +0 -1
- package/build/src/rfc.d.ts +0 -25
- package/build/src/statements/append.d.ts +0 -13
- package/build/src/statements/assert.d.ts +0 -1
- package/build/src/statements/assign.d.ts +0 -12
- package/build/src/statements/call_function.d.ts +0 -16
- package/build/src/statements/call_transaction.d.ts +0 -1
- package/build/src/statements/cast.d.ts +0 -2
- package/build/src/statements/clear.d.ts +0 -4
- package/build/src/statements/collect.d.ts +0 -3
- package/build/src/statements/commit.d.ts +0 -1
- package/build/src/statements/concatenate.d.ts +0 -11
- package/build/src/statements/condense.d.ts +0 -4
- package/build/src/statements/convert.d.ts +0 -14
- package/build/src/statements/create_data.d.ts +0 -17
- package/build/src/statements/delete_database.d.ts +0 -13
- package/build/src/statements/delete_internal.d.ts +0 -12
- package/build/src/statements/describe.d.ts +0 -13
- package/build/src/statements/find.d.ts +0 -17
- package/build/src/statements/get_bit.d.ts +0 -4
- package/build/src/statements/get_locale.d.ts +0 -2
- package/build/src/statements/get_parameter.d.ts +0 -2
- package/build/src/statements/get_run_time.d.ts +0 -2
- package/build/src/statements/get_time.d.ts +0 -9
- package/build/src/statements/index.d.ts +0 -106
- package/build/src/statements/insert_database.d.ts +0 -13
- package/build/src/statements/insert_internal.d.ts +0 -14
- package/build/src/statements/loop.d.ts +0 -15
- package/build/src/statements/message.d.ts +0 -17
- package/build/src/statements/modify_database.d.ts +0 -12
- package/build/src/statements/modify_internal.d.ts +0 -9
- package/build/src/statements/move_corresponding.d.ts +0 -2
- package/build/src/statements/overlay.d.ts +0 -3
- package/build/src/statements/raise_event.d.ts +0 -1
- package/build/src/statements/read_report.d.ts +0 -8
- package/build/src/statements/read_table.d.ts +0 -27
- package/build/src/statements/receive.d.ts +0 -9
- package/build/src/statements/replace.d.ts +0 -14
- package/build/src/statements/rollback.d.ts +0 -1
- package/build/src/statements/select.d.ts +0 -8
- package/build/src/statements/set_bit.d.ts +0 -4
- package/build/src/statements/set_handler.d.ts +0 -3
- package/build/src/statements/set_locale.d.ts +0 -2
- package/build/src/statements/shift.d.ts +0 -12
- package/build/src/statements/sort.d.ts +0 -10
- package/build/src/statements/split.d.ts +0 -9
- package/build/src/statements/translate.d.ts +0 -2
- package/build/src/statements/update_database.d.ts +0 -14
- package/build/src/statements/wait.d.ts +0 -5
- package/build/src/statements/write.d.ts +0 -17
- package/build/src/template_formatting.d.ts +0 -14
- package/build/src/throw_error.d.ts +0 -1
- package/build/src/types/_abstract_type_data.d.ts +0 -5
- package/build/src/types/_character.d.ts +0 -11
- package/build/src/types/_date_helper.d.ts +0 -2
- package/build/src/types/_numeric.d.ts +0 -5
- package/build/src/types/abap_object.d.ts +0 -14
- package/build/src/types/character.d.ts +0 -27
- package/build/src/types/data_reference.d.ts +0 -29
- package/build/src/types/date.d.ts +0 -20
- package/build/src/types/decfloat34.d.ts +0 -11
- package/build/src/types/field_symbol.d.ts +0 -32
- package/build/src/types/float.d.ts +0 -15
- package/build/src/types/hex.d.ts +0 -20
- package/build/src/types/index.d.ts +0 -18
- package/build/src/types/integer.d.ts +0 -15
- package/build/src/types/integer8.d.ts +0 -16
- package/build/src/types/numc.d.ts +0 -21
- package/build/src/types/packed.d.ts +0 -19
- package/build/src/types/string.d.ts +0 -19
- package/build/src/types/structure.d.ts +0 -31
- package/build/src/types/table.d.ts +0 -114
- package/build/src/types/time.d.ts +0 -20
- package/build/src/types/utc_long.d.ts +0 -18
- package/build/src/types/xstring.d.ts +0 -18
- package/build/src/unit_test.d.ts +0 -26
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { append } from "./append";
|
|
2
|
-
import { assert } from "./assert";
|
|
3
|
-
import { assign } from "./assign";
|
|
4
|
-
import { clear } from "./clear";
|
|
5
|
-
import { commit } from "./commit";
|
|
6
|
-
import { concatenate } from "./concatenate";
|
|
7
|
-
import { condense } from "./condense";
|
|
8
|
-
import { convert } from "./convert";
|
|
9
|
-
import { createData } from "./create_data";
|
|
10
|
-
import { deleteInternal } from "./delete_internal";
|
|
11
|
-
import { describe } from "./describe";
|
|
12
|
-
import { find } from "./find";
|
|
13
|
-
import { collect } from "./collect";
|
|
14
|
-
import { overlay } from "./overlay";
|
|
15
|
-
import { cast } from "./cast";
|
|
16
|
-
import { getBit } from "./get_bit";
|
|
17
|
-
import { readReport } from "./read_report";
|
|
18
|
-
import { raiseEvent } from "./raise_event";
|
|
19
|
-
import { receive } from "./receive";
|
|
20
|
-
import { getLocale } from "./get_locale";
|
|
21
|
-
import { getParameter } from "./get_parameter";
|
|
22
|
-
import { setLocale } from "./set_locale";
|
|
23
|
-
import { getRunTime } from "./get_run_time";
|
|
24
|
-
import { getTime } from "./get_time";
|
|
25
|
-
import { IInsertDatabaseOptions } from "./insert_database";
|
|
26
|
-
import { insertInternal } from "./insert_internal";
|
|
27
|
-
import { IDeleteDatabaseOptions } from "./delete_database";
|
|
28
|
-
import { loop } from "./loop";
|
|
29
|
-
import { IMessageOptions } from "./message";
|
|
30
|
-
import { IModifyDatabaseOptions } from "./modify_database";
|
|
31
|
-
import { modifyInternal } from "./modify_internal";
|
|
32
|
-
import { moveCorresponding } from "./move_corresponding";
|
|
33
|
-
import { readTable } from "./read_table";
|
|
34
|
-
import { replace } from "./replace";
|
|
35
|
-
import { rollback } from "./rollback";
|
|
36
|
-
import { setBit } from "./set_bit";
|
|
37
|
-
import { shift } from "./shift";
|
|
38
|
-
import { sort } from "./sort";
|
|
39
|
-
import { wait } from "./wait";
|
|
40
|
-
import { setHandler } from "./set_handler";
|
|
41
|
-
import { split } from "./split";
|
|
42
|
-
import { translate } from "./translate";
|
|
43
|
-
import { callTransaction } from "./call_transaction";
|
|
44
|
-
import { IUpdateDatabaseOptions } from "./update_database";
|
|
45
|
-
import { IWriteOptions } from "./write";
|
|
46
|
-
import { Context } from "../context";
|
|
47
|
-
import { ICharacter } from "../types/_character";
|
|
48
|
-
import { FieldSymbol, Structure, Table } from "../types";
|
|
49
|
-
import { INumeric } from "../types/_numeric";
|
|
50
|
-
import { ICallFunctionOptions } from "./call_function";
|
|
51
|
-
import { SelectDatabaseOptions, SelectRuntimeOptions } from "../db/db";
|
|
52
|
-
export declare class Statements {
|
|
53
|
-
append: typeof append;
|
|
54
|
-
assert: typeof assert;
|
|
55
|
-
assign: typeof assign;
|
|
56
|
-
cast: typeof cast;
|
|
57
|
-
clear: typeof clear;
|
|
58
|
-
collect: typeof collect;
|
|
59
|
-
commit: typeof commit;
|
|
60
|
-
concatenate: typeof concatenate;
|
|
61
|
-
condense: typeof condense;
|
|
62
|
-
convert: typeof convert;
|
|
63
|
-
createData: typeof createData;
|
|
64
|
-
deleteInternal: typeof deleteInternal;
|
|
65
|
-
describe: typeof describe;
|
|
66
|
-
find: typeof find;
|
|
67
|
-
getBit: typeof getBit;
|
|
68
|
-
readReport: typeof readReport;
|
|
69
|
-
getLocale: typeof getLocale;
|
|
70
|
-
getParameter: typeof getParameter;
|
|
71
|
-
getRunTime: typeof getRunTime;
|
|
72
|
-
getTime: typeof getTime;
|
|
73
|
-
insertInternal: typeof insertInternal;
|
|
74
|
-
loop: typeof loop;
|
|
75
|
-
modifyInternal: typeof modifyInternal;
|
|
76
|
-
moveCorresponding: typeof moveCorresponding;
|
|
77
|
-
overlay: typeof overlay;
|
|
78
|
-
raiseEvent: typeof raiseEvent;
|
|
79
|
-
readTable: typeof readTable;
|
|
80
|
-
replace: typeof replace;
|
|
81
|
-
rollback: typeof rollback;
|
|
82
|
-
setBit: typeof setBit;
|
|
83
|
-
setHandler: typeof setHandler;
|
|
84
|
-
setLocale: typeof setLocale;
|
|
85
|
-
shift: typeof shift;
|
|
86
|
-
sort: typeof sort;
|
|
87
|
-
split: typeof split;
|
|
88
|
-
translate: typeof translate;
|
|
89
|
-
wait: typeof wait;
|
|
90
|
-
receive: typeof receive;
|
|
91
|
-
callTransaction: typeof callTransaction;
|
|
92
|
-
private readonly context;
|
|
93
|
-
private readonly traceTotals;
|
|
94
|
-
constructor(context: Context);
|
|
95
|
-
private _trace;
|
|
96
|
-
private _traceAsync;
|
|
97
|
-
_setTrace(min?: number, totals?: boolean): void;
|
|
98
|
-
deleteDatabase(table: string | ICharacter, options: IDeleteDatabaseOptions): Promise<void>;
|
|
99
|
-
insertDatabase(table: string | ICharacter, options: IInsertDatabaseOptions): Promise<number | undefined>;
|
|
100
|
-
message(options: IMessageOptions): Promise<void>;
|
|
101
|
-
modifyDatabase(table: string | ICharacter, options: IModifyDatabaseOptions): Promise<void>;
|
|
102
|
-
select(target: Structure | Table | FieldSymbol, select: SelectDatabaseOptions, runtimeOptions?: SelectRuntimeOptions): Promise<void>;
|
|
103
|
-
updateDatabase(table: string | ICharacter, options: IUpdateDatabaseOptions): Promise<number>;
|
|
104
|
-
callFunction(options: ICallFunctionOptions): Promise<void>;
|
|
105
|
-
write(source: INumeric | ICharacter | FieldSymbol | string | number, options?: IWriteOptions): void;
|
|
106
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Context } from "../context";
|
|
2
|
-
import { Structure, Table } from "../types";
|
|
3
|
-
import { ICharacter } from "../types/_character";
|
|
4
|
-
export declare function toValue(value: any): any;
|
|
5
|
-
export interface IInsertDatabaseOptions {
|
|
6
|
-
values?: Structure;
|
|
7
|
-
table?: Table;
|
|
8
|
-
}
|
|
9
|
-
export declare class InsertDatabase {
|
|
10
|
-
private readonly context;
|
|
11
|
-
constructor(context: Context);
|
|
12
|
-
insertDatabase(table: string | ICharacter, options: IInsertDatabaseOptions): Promise<number | undefined>;
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ABAPObject, DataReference, FieldSymbol, HashedTable, Structure, Table } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export interface IInsertInternalOptions {
|
|
5
|
-
index?: INumeric;
|
|
6
|
-
initial?: boolean;
|
|
7
|
-
data?: INumeric | ICharacter | Structure | ABAPObject | Table | FieldSymbol | string;
|
|
8
|
-
table: Table | HashedTable | FieldSymbol;
|
|
9
|
-
referenceInto?: DataReference;
|
|
10
|
-
assigning?: FieldSymbol;
|
|
11
|
-
noClone?: boolean;
|
|
12
|
-
lines?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare function insertInternal(options: IInsertInternalOptions): void;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FieldSymbol, HashedTable, Integer, Table } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
type topType = {
|
|
5
|
-
[name: string]: INumeric | ICharacter;
|
|
6
|
-
};
|
|
7
|
-
export interface ILoopOptions {
|
|
8
|
-
where?: (i: any) => Promise<boolean>;
|
|
9
|
-
usingKey?: string;
|
|
10
|
-
from?: Integer;
|
|
11
|
-
to?: Integer;
|
|
12
|
-
topEquals?: topType;
|
|
13
|
-
}
|
|
14
|
-
export declare function loop(table: Table | HashedTable | FieldSymbol | undefined, options?: ILoopOptions): AsyncGenerator<any, void, unknown>;
|
|
15
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Context } from "../context";
|
|
2
|
-
import { ABAPObject } from "../types";
|
|
3
|
-
import { ICharacter } from "../types/_character";
|
|
4
|
-
export interface IMessageOptions {
|
|
5
|
-
id?: ICharacter | string;
|
|
6
|
-
number?: ICharacter | string;
|
|
7
|
-
type?: ICharacter | string;
|
|
8
|
-
displayLike?: ICharacter | string;
|
|
9
|
-
exception?: ABAPObject;
|
|
10
|
-
with?: (ICharacter | string)[];
|
|
11
|
-
into?: ICharacter;
|
|
12
|
-
}
|
|
13
|
-
export declare class MessageStatement {
|
|
14
|
-
private readonly context;
|
|
15
|
-
constructor(context: Context);
|
|
16
|
-
message(options: IMessageOptions): Promise<void>;
|
|
17
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Context } from "../context";
|
|
2
|
-
import { FieldSymbol, Structure, Table } from "../types";
|
|
3
|
-
import { ICharacter } from "../types/_character";
|
|
4
|
-
export interface IModifyDatabaseOptions {
|
|
5
|
-
values?: Structure | FieldSymbol;
|
|
6
|
-
table?: Table | FieldSymbol;
|
|
7
|
-
}
|
|
8
|
-
export declare class ModifyDatabase {
|
|
9
|
-
private readonly context;
|
|
10
|
-
constructor(context: Context);
|
|
11
|
-
modifyDatabase(table: string | ICharacter, options: IModifyDatabaseOptions): Promise<void>;
|
|
12
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Table } from "../types";
|
|
2
|
-
import { INumeric } from "../types/_numeric";
|
|
3
|
-
export interface IModifyInternalOptions {
|
|
4
|
-
index: INumeric;
|
|
5
|
-
from: any;
|
|
6
|
-
where?: (i: any) => boolean;
|
|
7
|
-
transporting?: string[];
|
|
8
|
-
}
|
|
9
|
-
export declare function modifyInternal(table: Table, options: IModifyInternalOptions): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function raiseEvent(): void;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { DataReference, FieldSymbol, HashedTable, Structure, Table } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export interface IReadTableOptions {
|
|
5
|
-
index?: INumeric | FieldSymbol | number;
|
|
6
|
-
into?: INumeric | ICharacter | Structure | Table | DataReference;
|
|
7
|
-
from?: INumeric | ICharacter | Structure | Table | DataReference;
|
|
8
|
-
referenceInto?: DataReference;
|
|
9
|
-
assigning?: FieldSymbol;
|
|
10
|
-
binarySearch?: boolean;
|
|
11
|
-
withTableKey?: boolean;
|
|
12
|
-
keyName?: string;
|
|
13
|
-
usesTableLine?: boolean;
|
|
14
|
-
withKey?: (i: any) => boolean;
|
|
15
|
-
withKeyValue?: {
|
|
16
|
-
key: (i: any) => any;
|
|
17
|
-
value: any;
|
|
18
|
-
}[];
|
|
19
|
-
withKeySimple?: {
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export type ReadTableReturn = {
|
|
24
|
-
subrc: number;
|
|
25
|
-
foundIndex: number;
|
|
26
|
-
};
|
|
27
|
-
export declare function readTable(table: Table | HashedTable | FieldSymbol, options?: IReadTableOptions): ReadTableReturn;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export interface IReceiveOptions {
|
|
2
|
-
exporting?: any;
|
|
3
|
-
importing?: any;
|
|
4
|
-
tables?: any;
|
|
5
|
-
changing?: any;
|
|
6
|
-
exceptions?: any;
|
|
7
|
-
}
|
|
8
|
-
export declare function _receiveSetResult(options: IReceiveOptions): void;
|
|
9
|
-
export declare function receive(options: IReceiveOptions): void;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Table } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export type replaceInput = {
|
|
5
|
-
target: ICharacter | Table;
|
|
6
|
-
sectionLength?: INumeric;
|
|
7
|
-
sectionOffset?: INumeric;
|
|
8
|
-
regex?: ICharacter;
|
|
9
|
-
all: boolean;
|
|
10
|
-
with: ICharacter;
|
|
11
|
-
of: ICharacter;
|
|
12
|
-
ignoringCase?: boolean;
|
|
13
|
-
};
|
|
14
|
-
export declare function replace(input: replaceInput): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function rollback(): void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Context } from "../context";
|
|
2
|
-
import { SelectDatabaseOptions, SelectRuntimeOptions } from "../db/db";
|
|
3
|
-
import { FieldSymbol, HashedTable, Structure, Table } from "../types";
|
|
4
|
-
export declare class SelectDatabase {
|
|
5
|
-
private readonly context;
|
|
6
|
-
constructor(context: Context);
|
|
7
|
-
select(target: Structure | Table | HashedTable | FieldSymbol, input: SelectDatabaseOptions, runtimeOptions?: SelectRuntimeOptions): Promise<void>;
|
|
8
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ICharacter } from "../types/_character";
|
|
2
|
-
import { INumeric } from "../types/_numeric";
|
|
3
|
-
export interface IShiftOptions {
|
|
4
|
-
deletingLeading?: string | ICharacter;
|
|
5
|
-
deletingTrailing?: string | ICharacter;
|
|
6
|
-
places?: INumeric;
|
|
7
|
-
to?: ICharacter | string;
|
|
8
|
-
direction?: "LEFT" | "RIGHT";
|
|
9
|
-
circular?: boolean;
|
|
10
|
-
mode?: "BYTE" | "CHARACTER";
|
|
11
|
-
}
|
|
12
|
-
export declare function shift(target: ICharacter, options?: IShiftOptions): void;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FieldSymbol, Table } from "../types";
|
|
2
|
-
export interface ISortOptions {
|
|
3
|
-
descending?: boolean;
|
|
4
|
-
skipSortedCheck?: boolean;
|
|
5
|
-
by?: {
|
|
6
|
-
component: string;
|
|
7
|
-
descending?: boolean;
|
|
8
|
-
}[];
|
|
9
|
-
}
|
|
10
|
-
export declare function sort(input: Table | FieldSymbol | any[], options?: ISortOptions): void;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ICharacter } from "../types/_character";
|
|
2
|
-
import { Table } from "../types";
|
|
3
|
-
export interface ISplitOptions {
|
|
4
|
-
source: ICharacter | string;
|
|
5
|
-
at: ICharacter | string;
|
|
6
|
-
table?: Table;
|
|
7
|
-
targets?: ICharacter[];
|
|
8
|
-
}
|
|
9
|
-
export declare function split(param: ISplitOptions): void;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Context } from "../context";
|
|
2
|
-
import { FieldSymbol, Structure, Table } from "../types";
|
|
3
|
-
import { ICharacter } from "../types/_character";
|
|
4
|
-
export interface IUpdateDatabaseOptions {
|
|
5
|
-
from?: Structure | FieldSymbol;
|
|
6
|
-
table?: Table | FieldSymbol;
|
|
7
|
-
set?: string[];
|
|
8
|
-
where?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare class UpdateDatabase {
|
|
11
|
-
private readonly context;
|
|
12
|
-
constructor(context: Context);
|
|
13
|
-
updateDatabase(table: string | ICharacter, options: IUpdateDatabaseOptions): Promise<number>;
|
|
14
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Context } from "../context";
|
|
2
|
-
import { FieldSymbol } from "../types/field_symbol";
|
|
3
|
-
import { ICharacter } from "../types/_character";
|
|
4
|
-
import { INumeric } from "../types/_numeric";
|
|
5
|
-
export interface IWriteOptions {
|
|
6
|
-
newLine?: boolean;
|
|
7
|
-
skipLine?: boolean;
|
|
8
|
-
target?: ICharacter;
|
|
9
|
-
exponent?: ICharacter | INumeric;
|
|
10
|
-
noGrouping?: boolean;
|
|
11
|
-
noSign?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare class WriteStatement {
|
|
14
|
-
private readonly context;
|
|
15
|
-
constructor(context: Context);
|
|
16
|
-
write(source: INumeric | ICharacter | FieldSymbol | string | number, options?: IWriteOptions): void;
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ICharacter } from "./types/_character";
|
|
2
|
-
import { INumeric } from "./types/_numeric";
|
|
3
|
-
type options = {
|
|
4
|
-
timestamp?: string;
|
|
5
|
-
date?: string;
|
|
6
|
-
time?: string;
|
|
7
|
-
pad?: string;
|
|
8
|
-
width?: number;
|
|
9
|
-
decimals?: number;
|
|
10
|
-
currency?: any;
|
|
11
|
-
align?: "left" | "right";
|
|
12
|
-
};
|
|
13
|
-
export declare function templateFormatting(source: ICharacter | INumeric, options?: options): string;
|
|
14
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function throwError(name: string): void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Hex } from "./hex";
|
|
2
|
-
import { INumeric } from "./_numeric";
|
|
3
|
-
export interface ICharacter {
|
|
4
|
-
set(value: ICharacter | string): void;
|
|
5
|
-
get(): string;
|
|
6
|
-
clear(): void;
|
|
7
|
-
getOffset(input: {
|
|
8
|
-
offset?: number | INumeric | Hex;
|
|
9
|
-
length?: number | INumeric | Hex;
|
|
10
|
-
}): ICharacter;
|
|
11
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare class ABAPObject {
|
|
2
|
-
private value;
|
|
3
|
-
private readonly qualifiedName;
|
|
4
|
-
private readonly RTTIName;
|
|
5
|
-
constructor(input?: {
|
|
6
|
-
qualifiedName?: string;
|
|
7
|
-
RTTIName?: string;
|
|
8
|
-
});
|
|
9
|
-
get(): any;
|
|
10
|
-
clear(): void;
|
|
11
|
-
getQualifiedName(): string | undefined;
|
|
12
|
-
getRTTIName(): string | undefined;
|
|
13
|
-
set(value: ABAPObject | any): this;
|
|
14
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { FieldSymbol } from "./field_symbol";
|
|
2
|
-
import { Hex } from "./hex";
|
|
3
|
-
import { Structure } from "./structure";
|
|
4
|
-
import { AbstractTypeData } from "./_abstract_type_data";
|
|
5
|
-
import { ICharacter } from "./_character";
|
|
6
|
-
import { INumeric } from "./_numeric";
|
|
7
|
-
import { Integer } from "./integer";
|
|
8
|
-
export declare class Character implements ICharacter {
|
|
9
|
-
private value;
|
|
10
|
-
private constant;
|
|
11
|
-
private readonly length;
|
|
12
|
-
private readonly extra;
|
|
13
|
-
constructor(length?: number, extra?: AbstractTypeData);
|
|
14
|
-
setConstant(): this;
|
|
15
|
-
set(value: ICharacter | string | Structure | FieldSymbol | Integer): this;
|
|
16
|
-
getQualifiedName(): string | undefined;
|
|
17
|
-
getConversionExit(): string | undefined;
|
|
18
|
-
getDDICName(): string | undefined;
|
|
19
|
-
getLength(): number;
|
|
20
|
-
clear(): void;
|
|
21
|
-
get(): string;
|
|
22
|
-
getTrimEnd(): string;
|
|
23
|
-
getOffset(input: {
|
|
24
|
-
offset?: number | INumeric | Hex;
|
|
25
|
-
length?: number | INumeric | Hex;
|
|
26
|
-
}): Character;
|
|
27
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { INumeric } from "./_numeric";
|
|
2
|
-
import { ICharacter } from "./_character";
|
|
3
|
-
import { ABAPObject } from "./abap_object";
|
|
4
|
-
import { Table } from "./table";
|
|
5
|
-
import { String } from "./string";
|
|
6
|
-
import { Structure } from "./structure";
|
|
7
|
-
import { Float } from "./float";
|
|
8
|
-
import { Hex } from "./hex";
|
|
9
|
-
type PointerType = INumeric | Table | ICharacter | ABAPObject | undefined | Structure | Float;
|
|
10
|
-
export declare class DataReference {
|
|
11
|
-
private pointer;
|
|
12
|
-
private readonly type;
|
|
13
|
-
constructor(type: PointerType);
|
|
14
|
-
getType(): PointerType;
|
|
15
|
-
assign(pointer: PointerType): void;
|
|
16
|
-
unassign(): void;
|
|
17
|
-
getPointer(): PointerType;
|
|
18
|
-
dereference(): PointerType;
|
|
19
|
-
clear(): void;
|
|
20
|
-
get(): any;
|
|
21
|
-
array(): any;
|
|
22
|
-
getArrayLength(): any;
|
|
23
|
-
set(value: any): void | Float | ABAPObject | this | Table | Structure;
|
|
24
|
-
getOffset(input: {
|
|
25
|
-
offset?: number | INumeric | Hex;
|
|
26
|
-
length?: number | INumeric | Hex;
|
|
27
|
-
}): String;
|
|
28
|
-
}
|
|
29
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Hex } from "./hex";
|
|
2
|
-
import { ICharacter } from "./_character";
|
|
3
|
-
import { INumeric } from "./_numeric";
|
|
4
|
-
import { String } from "./string";
|
|
5
|
-
export declare class Date 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
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Hex } from "./hex";
|
|
2
|
-
import { ICharacter } from "./_character";
|
|
3
|
-
import { INumeric } from "./_numeric";
|
|
4
|
-
export declare class DecFloat34 {
|
|
5
|
-
private value;
|
|
6
|
-
constructor();
|
|
7
|
-
set(value: INumeric | ICharacter | Hex | string | number): this;
|
|
8
|
-
clear(): void;
|
|
9
|
-
getRaw(): number;
|
|
10
|
-
get(): string;
|
|
11
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { INumeric } from "./_numeric";
|
|
2
|
-
import { ICharacter } from "./_character";
|
|
3
|
-
import { ABAPObject } from "./abap_object";
|
|
4
|
-
import { Table } from "./table";
|
|
5
|
-
import { Structure } from "./structure";
|
|
6
|
-
import { Hex } from "./hex";
|
|
7
|
-
import { Float } from "./float";
|
|
8
|
-
type PointerType = INumeric | Table | ICharacter | ABAPObject | undefined | Structure | Float;
|
|
9
|
-
export declare class FieldSymbol {
|
|
10
|
-
private pointer;
|
|
11
|
-
private casting;
|
|
12
|
-
private readonly type;
|
|
13
|
-
constructor(type?: PointerType);
|
|
14
|
-
getQualifiedName(): any;
|
|
15
|
-
assign(pointer: PointerType): void;
|
|
16
|
-
setCasting(): void;
|
|
17
|
-
unassign(): void;
|
|
18
|
-
isAssigned(): boolean;
|
|
19
|
-
getPointer(): any;
|
|
20
|
-
dereference(): INumeric | Float | ICharacter | ABAPObject | Table | Structure | undefined;
|
|
21
|
-
clear(): void | Structure | undefined;
|
|
22
|
-
get(): any;
|
|
23
|
-
appendInitial(): import("./table").TableRowType | undefined;
|
|
24
|
-
array(): any;
|
|
25
|
-
getArrayLength(): any;
|
|
26
|
-
set(value: any): this;
|
|
27
|
-
getOffset(input: {
|
|
28
|
-
offset?: number | INumeric | Hex;
|
|
29
|
-
length?: number | INumeric | Hex;
|
|
30
|
-
}): any;
|
|
31
|
-
}
|
|
32
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Hex } from "./hex";
|
|
2
|
-
import { ICharacter } from "./_character";
|
|
3
|
-
import { INumeric } from "./_numeric";
|
|
4
|
-
export declare class Float {
|
|
5
|
-
private value;
|
|
6
|
-
private readonly qualifiedName;
|
|
7
|
-
constructor(input?: {
|
|
8
|
-
qualifiedName?: string;
|
|
9
|
-
});
|
|
10
|
-
getQualifiedName(): string | undefined;
|
|
11
|
-
set(value: INumeric | ICharacter | Hex | string | number): this;
|
|
12
|
-
clear(): void;
|
|
13
|
-
getRaw(): number;
|
|
14
|
-
get(): string;
|
|
15
|
-
}
|
package/build/src/types/hex.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Float } from "./float";
|
|
2
|
-
import { Integer } from "./integer";
|
|
3
|
-
import { XString } from "./xstring";
|
|
4
|
-
import { ICharacter } from "./_character";
|
|
5
|
-
import { INumeric } from "./_numeric";
|
|
6
|
-
export declare class Hex implements ICharacter {
|
|
7
|
-
private value;
|
|
8
|
-
private readonly length;
|
|
9
|
-
constructor(input?: {
|
|
10
|
-
length?: number;
|
|
11
|
-
});
|
|
12
|
-
set(value: ICharacter | INumeric | string | number | Integer | Float): this;
|
|
13
|
-
getLength(): number;
|
|
14
|
-
clear(): void;
|
|
15
|
-
get(): string;
|
|
16
|
-
getOffset(input: {
|
|
17
|
-
offset?: number | INumeric | Hex;
|
|
18
|
-
length?: number | INumeric | Hex;
|
|
19
|
-
}): XString;
|
|
20
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export * from "./abap_object";
|
|
2
|
-
export * from "./character";
|
|
3
|
-
export * from "./data_reference";
|
|
4
|
-
export * from "./date";
|
|
5
|
-
export * from "./decfloat34";
|
|
6
|
-
export * from "./field_symbol";
|
|
7
|
-
export * from "./float";
|
|
8
|
-
export * from "./hex";
|
|
9
|
-
export * from "./integer";
|
|
10
|
-
export * from "./integer8";
|
|
11
|
-
export * from "./numc";
|
|
12
|
-
export * from "./packed";
|
|
13
|
-
export * from "./string";
|
|
14
|
-
export * from "./structure";
|
|
15
|
-
export * from "./table";
|
|
16
|
-
export * from "./time";
|
|
17
|
-
export * from "./utc_long";
|
|
18
|
-
export * from "./xstring";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Float } from "./float";
|
|
2
|
-
import { Hex } from "./hex";
|
|
3
|
-
import { ICharacter } from "./_character";
|
|
4
|
-
import { INumeric } from "./_numeric";
|
|
5
|
-
export declare class Integer implements INumeric {
|
|
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 | Integer | Float): this;
|
|
13
|
-
clear(): void;
|
|
14
|
-
get(): number;
|
|
15
|
-
}
|