typescript-go
typescript-go copied to clipboard
findAllReferences inital port
This port focuses on the logic needed to resolving symbols within a single file.
Todos after this PR:
- Search for references through module resolving
- Search for references through imported and exported symbol resolving
- Some imported and global symbols return references, but it is hard to test with the current
lstestutilcapabilities.
- Some imported and global symbols return references, but it is hard to test with the current
- Jsdoc references (not sure how much of the currently un-ported parts will be needed, since @sandersn has been working to simplify jsdoc checking)
- Special cases for object literals
- Special cases for classes and keywords
- String references