Skip to content

Support lexical definitions? #45

@ribru17

Description

@ribru17

Hello, and thanks for the amazing project! It seems like right now the only symbols considered are ones that are exported or imported. Are there any plans to support lexical scopes and other types of references? E.g. something like this:

let myvar = 2

for (let i = 0; i < 5; i++) {
  let myvar = 7 // shadowing
  console.log(myvar)
}

console.log(myvar)

when running the indexer over this, it would be super cool to get separate symbols / references for the inner myvar and the outer myvar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions