@abaplint/runtime 2.7.90 → 2.7.92
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/delete_internal.js +4 -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,13 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function raiseEvent(): void;
|
|
@@ -0,0 +1,27 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,14 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function rollback(): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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;
|
|
@@ -0,0 +1,10 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function throwError(name: string): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 {};
|
|
@@ -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 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
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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";
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Float } from "./float";
|
|
2
|
+
import { Hex } from "./hex";
|
|
3
|
+
import { ICharacter } from "./_character";
|
|
4
|
+
import { INumeric } from "./_numeric";
|
|
5
|
+
import { Integer } from "./integer";
|
|
6
|
+
export declare class Integer8 implements INumeric {
|
|
7
|
+
private value;
|
|
8
|
+
private readonly qualifiedName;
|
|
9
|
+
constructor(input?: {
|
|
10
|
+
qualifiedName?: string;
|
|
11
|
+
});
|
|
12
|
+
getQualifiedName(): string | undefined;
|
|
13
|
+
set(value: INumeric | ICharacter | Hex | string | number | Integer8 | Integer | Float): this;
|
|
14
|
+
clear(): void;
|
|
15
|
+
get(): number;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Hex } from "./hex";
|
|
2
|
+
import { ICharacter } from "./_character";
|
|
3
|
+
import { INumeric } from "./_numeric";
|
|
4
|
+
export declare class Numc implements ICharacter {
|
|
5
|
+
private value;
|
|
6
|
+
private readonly length;
|
|
7
|
+
private readonly qualifiedName;
|
|
8
|
+
constructor(input?: {
|
|
9
|
+
length?: number;
|
|
10
|
+
qualifiedName?: string;
|
|
11
|
+
});
|
|
12
|
+
getQualifiedName(): string | undefined;
|
|
13
|
+
set(value: INumeric | ICharacter | Hex | string | number, raw?: boolean): this | undefined;
|
|
14
|
+
getLength(): number;
|
|
15
|
+
clear(): void;
|
|
16
|
+
get(): string;
|
|
17
|
+
getOffset(input: {
|
|
18
|
+
offset?: number | INumeric | Hex;
|
|
19
|
+
length?: number | INumeric | Hex;
|
|
20
|
+
}): Numc;
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { INumeric } from "./_numeric";
|
|
2
|
+
export declare class Packed implements INumeric {
|
|
3
|
+
private value;
|
|
4
|
+
private readonly length;
|
|
5
|
+
private readonly decimals;
|
|
6
|
+
private readonly qualifiedName;
|
|
7
|
+
constructor(input?: {
|
|
8
|
+
length?: number;
|
|
9
|
+
decimals?: number;
|
|
10
|
+
qualifiedName?: string;
|
|
11
|
+
});
|
|
12
|
+
getQualifiedName(): string | undefined;
|
|
13
|
+
private round;
|
|
14
|
+
set(value: INumeric | number | string): this;
|
|
15
|
+
getLength(): number;
|
|
16
|
+
getDecimals(): number;
|
|
17
|
+
clear(): void;
|
|
18
|
+
get(): number;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FieldSymbol } from "./field_symbol";
|
|
2
|
+
import { Hex } from "./hex";
|
|
3
|
+
import { ICharacter } from "./_character";
|
|
4
|
+
import { INumeric } from "./_numeric";
|
|
5
|
+
export declare class String implements ICharacter {
|
|
6
|
+
private value;
|
|
7
|
+
private readonly qualifiedName;
|
|
8
|
+
constructor(input?: {
|
|
9
|
+
qualifiedName?: string;
|
|
10
|
+
});
|
|
11
|
+
getQualifiedName(): string | undefined;
|
|
12
|
+
set(value: ICharacter | string | number | FieldSymbol): String;
|
|
13
|
+
clear(): void;
|
|
14
|
+
get(): string;
|
|
15
|
+
getOffset(input: {
|
|
16
|
+
offset?: number | INumeric | Hex;
|
|
17
|
+
length?: number | INumeric | Hex;
|
|
18
|
+
}): String;
|
|
19
|
+
}
|