@abaplint/runtime 2.1.35 → 2.1.36

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.
@@ -3,7 +3,11 @@ import { ICharacter } from "./_character";
3
3
  import { INumeric } from "./_numeric";
4
4
  export declare class Float {
5
5
  private value;
6
- constructor();
6
+ private readonly qualifiedName;
7
+ constructor(input?: {
8
+ qualifiedName?: string;
9
+ });
10
+ getQualifiedName(): string | undefined;
7
11
  set(value: INumeric | ICharacter | Hex | string | number): this;
8
12
  clear(): void;
9
13
  getRaw(): number;
@@ -19,8 +19,12 @@ function getNumberParts(x: number) {
19
19
  }
20
20
  */
21
21
  class Float {
22
- constructor() {
22
+ constructor(input) {
23
23
  this.value = 0;
24
+ this.qualifiedName = input === null || input === void 0 ? void 0 : input.qualifiedName;
25
+ }
26
+ getQualifiedName() {
27
+ return this.qualifiedName;
24
28
  }
25
29
  set(value) {
26
30
  if (typeof value === "number") {
@@ -4,9 +4,12 @@ import { INumeric } from "./_numeric";
4
4
  export declare class Numc implements ICharacter {
5
5
  private value;
6
6
  private readonly length;
7
+ private readonly qualifiedName;
7
8
  constructor(input?: {
8
9
  length?: number;
10
+ qualifiedName?: string;
9
11
  });
12
+ getQualifiedName(): string | undefined;
10
13
  set(value: INumeric | ICharacter | Hex | string | number): this | undefined;
11
14
  getLength(): number;
12
15
  clear(): void;
@@ -4,8 +4,12 @@ exports.Numc = void 0;
4
4
  class Numc {
5
5
  constructor(input) {
6
6
  this.length = (input === null || input === void 0 ? void 0 : input.length) ? input === null || input === void 0 ? void 0 : input.length : 1;
7
+ this.qualifiedName = input === null || input === void 0 ? void 0 : input.qualifiedName;
7
8
  this.clear();
8
9
  }
10
+ getQualifiedName() {
11
+ return this.qualifiedName;
12
+ }
9
13
  set(value) {
10
14
  if (typeof value === "number") {
11
15
  this.value = value.toString();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.1.35",
3
+ "version": "2.1.36",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",