@abaplint/core 2.113.18 → 2.113.19
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/abaplint.d.ts
CHANGED
|
@@ -3150,6 +3150,7 @@ export declare const enum IdentifierMeta {
|
|
|
3150
3150
|
EventParameter = "event_parameter",
|
|
3151
3151
|
FormParameter = "form_parameter",
|
|
3152
3152
|
ReadOnly = "read_only",
|
|
3153
|
+
Tables = "tables",
|
|
3153
3154
|
Abstract = "abstract",
|
|
3154
3155
|
PassByValue = "pass_by_value",
|
|
3155
3156
|
InlineDefinition = "inline",
|
|
@@ -14,7 +14,7 @@ class Tables {
|
|
|
14
14
|
}
|
|
15
15
|
let name = nameToken.getStr();
|
|
16
16
|
if (name.startsWith("*")) {
|
|
17
|
-
name = name.
|
|
17
|
+
name = name.substring(1);
|
|
18
18
|
}
|
|
19
19
|
// lookupTableOrView will also give Unknown and Void
|
|
20
20
|
const found = (_b = input.scope.getDDIC()) === null || _b === void 0 ? void 0 : _b.lookupTableOrView(name);
|
|
@@ -22,10 +22,10 @@ class Tables {
|
|
|
22
22
|
input.scope.getDDICReferences().addUsing(input.scope.getParentObj(), { object: found.object, filename: input.filename, token: nameToken });
|
|
23
23
|
if (input.scope.getType() === _scope_type_1.ScopeType.Form || input.scope.getType() === _scope_type_1.ScopeType.FunctionModule) {
|
|
24
24
|
// hoist TABLES definitions to global scope
|
|
25
|
-
input.scope.addNamedIdentifierToParent(nameToken.getStr(), new _typed_identifier_1.TypedIdentifier(nameToken, input.filename, found.type));
|
|
25
|
+
input.scope.addNamedIdentifierToParent(nameToken.getStr(), new _typed_identifier_1.TypedIdentifier(nameToken, input.filename, found.type, ["tables" /* IdentifierMeta.Tables */]));
|
|
26
26
|
}
|
|
27
27
|
else {
|
|
28
|
-
input.scope.addIdentifier(new _typed_identifier_1.TypedIdentifier(nameToken, input.filename, found.type));
|
|
28
|
+
input.scope.addIdentifier(new _typed_identifier_1.TypedIdentifier(nameToken, input.filename, found.type, ["tables" /* IdentifierMeta.Tables */]));
|
|
29
29
|
}
|
|
30
30
|
return;
|
|
31
31
|
}
|
|
@@ -51,7 +51,8 @@ class InlayHints {
|
|
|
51
51
|
findImplicitReferences(node) {
|
|
52
52
|
const ret = [];
|
|
53
53
|
for (const r of node.getData().references) {
|
|
54
|
-
if (r.referenceType === _reference_1.ReferenceType.InferredType
|
|
54
|
+
if (r.referenceType === _reference_1.ReferenceType.InferredType ||
|
|
55
|
+
r.referenceType === _reference_1.ReferenceType.DataWriteReference) {
|
|
55
56
|
ret.push(r);
|
|
56
57
|
}
|
|
57
58
|
}
|
package/build/src/registry.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/core",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.19",
|
|
4
4
|
"description": "abaplint - Core API",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/abaplint.d.ts",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"@microsoft/api-extractor": "^7.47.9",
|
|
54
54
|
"@types/chai": "^4.3.20",
|
|
55
55
|
"@types/mocha": "^10.0.8",
|
|
56
|
-
"@types/node": "^22.7.
|
|
56
|
+
"@types/node": "^22.7.4",
|
|
57
57
|
"chai": "^4.5.0",
|
|
58
|
-
"eslint": "^9.
|
|
58
|
+
"eslint": "^9.12.0",
|
|
59
59
|
"mocha": "^10.7.3",
|
|
60
60
|
"c8": "^10.1.2",
|
|
61
61
|
"source-map-support": "^0.5.21",
|