@abaplint/runtime 2.2.15 → 2.2.17
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Float, Hex, Integer } from "../types";
|
|
2
2
|
import { ICharacter } from "../types/_character";
|
|
3
3
|
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export declare function add(left: INumeric | ICharacter | string | number | Float | Integer | Hex, right: INumeric | ICharacter | string | number | Float | Integer | Hex):
|
|
4
|
+
export declare function add(left: INumeric | ICharacter | string | number | Float | Integer | Hex, right: INumeric | ICharacter | string | number | Float | Integer | Hex): Float | Integer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Float, Integer } from "../types";
|
|
2
2
|
import { ICharacter } from "../types/_character";
|
|
3
3
|
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export declare function minus(left: INumeric | ICharacter | string | number | Integer | Float, right: INumeric | ICharacter | string | number | Integer | Float):
|
|
4
|
+
export declare function minus(left: INumeric | ICharacter | string | number | Integer | Float, right: INumeric | ICharacter | string | number | Integer | Float): Float | Integer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Float, Integer } from "../types";
|
|
2
2
|
import { ICharacter } from "../types/_character";
|
|
3
3
|
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export declare function multiply(left: INumeric | ICharacter | string | number, right: INumeric | ICharacter | string | number):
|
|
4
|
+
export declare function multiply(left: INumeric | ICharacter | string | number, right: INumeric | ICharacter | string | number): Float | Integer;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ABAPObject = void 0;
|
|
4
|
+
const field_symbol_1 = require("./field_symbol");
|
|
4
5
|
class ABAPObject {
|
|
5
6
|
constructor(input) {
|
|
6
7
|
this.qualifiedName = input === null || input === void 0 ? void 0 : input.qualifiedName;
|
|
@@ -19,6 +20,9 @@ class ABAPObject {
|
|
|
19
20
|
if (value instanceof ABAPObject) {
|
|
20
21
|
this.value = value.get();
|
|
21
22
|
}
|
|
23
|
+
else if (value instanceof field_symbol_1.FieldSymbol) {
|
|
24
|
+
this.value = value.getPointer().get();
|
|
25
|
+
}
|
|
22
26
|
else {
|
|
23
27
|
this.value = value;
|
|
24
28
|
}
|
|
@@ -18,7 +18,7 @@ export declare class DataReference {
|
|
|
18
18
|
clear(): void;
|
|
19
19
|
get(): any;
|
|
20
20
|
array(): any;
|
|
21
|
-
set(value: any): void |
|
|
21
|
+
set(value: any): void | INumeric | Float | ICharacter | Structure | Table | ABAPObject;
|
|
22
22
|
getOffset(input: {
|
|
23
23
|
offset?: number | INumeric | Hex;
|
|
24
24
|
length?: number | INumeric | Hex;
|
|
@@ -39,7 +39,7 @@ export declare class Table {
|
|
|
39
39
|
set(tab: Table): void;
|
|
40
40
|
insertIndex(item: TableRowType, index: number): TableRowType;
|
|
41
41
|
deleteIndex(index: number): void;
|
|
42
|
-
append(item: TableRowType, cloneRow?: boolean): FieldSymbol |
|
|
42
|
+
append(item: TableRowType, cloneRow?: boolean): FieldSymbol | DataReference | TableRowType;
|
|
43
43
|
appendInitial(): TableRowType;
|
|
44
44
|
sort(compareFn: (a: TableRowType, b: TableRowType) => number): void;
|
|
45
45
|
private getValue;
|