@abaplint/runtime 1.7.16 → 1.7.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.
@@ -12,6 +12,7 @@ export declare class ABAP {
12
12
  FunctionModules: {};
13
13
  Classes: {};
14
14
  Interfaces: {};
15
+ DDIC: {};
15
16
  statements: Statements;
16
17
  types: typeof types;
17
18
  builtin: typeof builtin;
@@ -18,6 +18,7 @@ class ABAP {
18
18
  this.FunctionModules = {};
19
19
  this.Classes = {};
20
20
  this.Interfaces = {};
21
+ this.DDIC = {};
21
22
  this.types = types;
22
23
  this.builtin = builtin;
23
24
  this.operators = operators;
@@ -1,2 +1,2 @@
1
- import { Structure, Table } from "../types";
2
- export declare function select(target: Structure | Table, select: string): void;
1
+ import { FieldSymbol, Structure, Table } from "../types";
2
+ export declare function select(target: Structure | Table | FieldSymbol, select: string): void;
@@ -20,6 +20,10 @@ function select(target, select) {
20
20
  }
21
21
  throw error;
22
22
  }
23
+ if (target instanceof types_1.FieldSymbol) {
24
+ // @ts-ignore
25
+ target = target.getPointer();
26
+ }
23
27
  target.clear();
24
28
  if (target instanceof types_1.Structure) {
25
29
  if (((_a = res[0]) === null || _a === void 0 ? void 0 : _a.values[0]) === undefined) {
package/package.json CHANGED
@@ -1,42 +1,42 @@
1
- {
2
- "name": "@abaplint/runtime",
3
- "version": "1.7.16",
4
- "description": "Transpiler - Runtime",
5
- "main": "build/src/index.js",
6
- "typings": "build/src/index.d.ts",
7
- "repository": {
8
- "type": "git",
9
- "url": "git+https://github.com/abaplint/transpiler.git"
10
- },
11
- "scripts": {
12
- "compile": "tsc",
13
- "publish:minor": "npm --no-git-tag-version version minor && rm -rf build && npm install && npm run test && npm publish --access public",
14
- "publish:patch": "npm --no-git-tag-version version patch && rm -rf build && npm install && npm run test && npm publish --access public",
15
- "test": "npm run compile && mocha"
16
- },
17
- "mocha": {
18
- "recursive": true,
19
- "reporter": "progress",
20
- "spec": "build/test/**/*.js",
21
- "require": "source-map-support/register"
22
- },
23
- "keywords": [
24
- "ABAP",
25
- "abaplint"
26
- ],
27
- "author": "abaplint",
28
- "license": "MIT",
29
- "dependencies": {
30
- "hdb": "^0.19.1",
31
- "sql.js": "^1.6.2"
32
- },
33
- "devDependencies": {
34
- "@types/chai": "^4.3.0",
35
- "@types/mocha": "^9.0.0",
36
- "@types/sql.js": "^1.4.3",
37
- "chai": "^4.3.4",
38
- "mocha": "^9.1.4",
39
- "source-map-support": "^0.5.21",
40
- "typescript": "^4.5.4"
41
- }
42
- }
1
+ {
2
+ "name": "@abaplint/runtime",
3
+ "version": "1.7.17",
4
+ "description": "Transpiler - Runtime",
5
+ "main": "build/src/index.js",
6
+ "typings": "build/src/index.d.ts",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/abaplint/transpiler.git"
10
+ },
11
+ "scripts": {
12
+ "compile": "tsc",
13
+ "publish:minor": "npm --no-git-tag-version version minor && rm -rf build && npm install && npm run test && npm publish --access public",
14
+ "publish:patch": "npm --no-git-tag-version version patch && rm -rf build && npm install && npm run test && npm publish --access public",
15
+ "test": "npm run compile && mocha"
16
+ },
17
+ "mocha": {
18
+ "recursive": true,
19
+ "reporter": "progress",
20
+ "spec": "build/test/**/*.js",
21
+ "require": "source-map-support/register"
22
+ },
23
+ "keywords": [
24
+ "ABAP",
25
+ "abaplint"
26
+ ],
27
+ "author": "abaplint",
28
+ "license": "MIT",
29
+ "dependencies": {
30
+ "hdb": "^0.19.1",
31
+ "sql.js": "^1.6.2"
32
+ },
33
+ "devDependencies": {
34
+ "@types/chai": "^4.3.0",
35
+ "@types/mocha": "^9.0.0",
36
+ "@types/sql.js": "^1.4.3",
37
+ "chai": "^4.3.4",
38
+ "mocha": "^9.1.4",
39
+ "source-map-support": "^0.5.21",
40
+ "typescript": "^4.5.4"
41
+ }
42
+ }