@abaplint/core 2.85.1 → 2.85.2
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.
|
@@ -65,6 +65,9 @@ class BasicTypes {
|
|
|
65
65
|
if (chain === undefined) {
|
|
66
66
|
chain = node.findFirstExpression(Expressions.FieldSub);
|
|
67
67
|
}
|
|
68
|
+
if (chain === undefined) {
|
|
69
|
+
chain = node.findFirstExpression(Expressions.SimpleFieldChain);
|
|
70
|
+
}
|
|
68
71
|
if (chain === undefined) {
|
|
69
72
|
throw new Error("resolveLikeName, chain undefined");
|
|
70
73
|
}
|
|
@@ -35,11 +35,11 @@ class ClassDefinition extends _identifier_1.Identifier {
|
|
|
35
35
|
helper.addAliasedTypes(this.aliases);
|
|
36
36
|
this.attributes = new class_attributes_1.Attributes(this.node, this.filename, scope);
|
|
37
37
|
this.types = this.attributes.getTypes();
|
|
38
|
-
this.methodDefs = new method_definitions_1.MethodDefinitions(this.node, this.filename, scope);
|
|
39
38
|
const events = this.node.findAllStatements(Statements.Events);
|
|
40
39
|
for (const e of events) {
|
|
41
40
|
this.events.push(new event_definition_1.EventDefinition(e, visibility_1.Visibility.Public, this.filename, scope)); // todo, all these are not Public
|
|
42
41
|
}
|
|
42
|
+
this.methodDefs = new method_definitions_1.MethodDefinitions(this.node, this.filename, scope);
|
|
43
43
|
scope.pop(node.getLastToken().getEnd());
|
|
44
44
|
const concat = this.node.findFirstStatement(Statements.ClassDefinition).concatTokens().toUpperCase();
|
|
45
45
|
this.testing = concat.includes(" FOR TESTING");
|
package/build/src/registry.js
CHANGED