@abaplint/runtime 1.7.21 → 1.7.25

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.
@@ -4,8 +4,10 @@ import { ICharacter } from "./_character";
4
4
  import { INumeric } from "./_numeric";
5
5
  export declare class Structure {
6
6
  private readonly value;
7
- constructor(fields: any);
7
+ private readonly qualifiedName;
8
+ constructor(fields: any, qualifiedName?: string);
8
9
  clear(): this;
10
+ getQualifiedName(): string | undefined;
9
11
  set(input: Structure | string | INumeric | Table | ICharacter | FieldSymbol | undefined): this | undefined;
10
12
  private setCharacter;
11
13
  get(): any;
@@ -5,8 +5,9 @@ const clone_1 = require("../clone");
5
5
  const field_symbol_1 = require("./field_symbol");
6
6
  const table_1 = require("./table");
7
7
  class Structure {
8
- constructor(fields) {
8
+ constructor(fields, qualifiedName) {
9
9
  this.value = fields;
10
+ this.qualifiedName = qualifiedName === null || qualifiedName === void 0 ? void 0 : qualifiedName.toUpperCase();
10
11
  }
11
12
  clear() {
12
13
  for (const f in this.value) {
@@ -15,6 +16,9 @@ class Structure {
15
16
  }
16
17
  return this;
17
18
  }
19
+ getQualifiedName() {
20
+ return this.qualifiedName;
21
+ }
18
22
  set(input) {
19
23
  if (input === undefined) {
20
24
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "1.7.21",
3
+ "version": "1.7.25",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",
@@ -32,11 +32,11 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/chai": "^4.3.0",
35
- "@types/mocha": "^9.0.0",
35
+ "@types/mocha": "^9.1.0",
36
36
  "@types/sql.js": "^1.4.3",
37
37
  "chai": "^4.3.4",
38
38
  "mocha": "^9.1.4",
39
39
  "source-map-support": "^0.5.21",
40
- "typescript": "^4.5.4"
40
+ "typescript": "^4.5.5"
41
41
  }
42
42
  }