-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
I am exploring the Tree Sitter Multi Codeview Generator's functionalities, particularly its ability to resolve object types within a class. I have a scenario in my project where a class is designed to instantiate another class within its constructor and subsequently use this instance. Here's a simplified code snippet to illustrate the setup:
import AnotherClass;
class SomeClass {
private AnotherClass anotherClass;
// Constructor initializing some variables from another class
public SomeClass() {
this.anotherClass = new AnotherClass();
}
// Method that uses a variable from the constructor to perform operations
public void someMethod() {
// Operations using anotherClass instance
this.anotherClass.someMethodFromAnotherClass();
}
}
In this context, I am trying to understand whether Tree Sitter Multi Codeview Generator can effectively detect that this.anotherClass is an instance of AnotherClass.
Could you provide insights or confirm whether Tree Sitter Multi Codeview Generator supports this level of type resolution?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels