Skip to content

Query on Tree Sitter Multi Codeview Generator's Ability to Resolve Object Types #27

@code-rex1

Description

@code-rex1

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions