You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expose AST ranges of definition body bounds in save-analysis data #61596
We've recently updated the Firefox searchfox code indexer to do a "position:sticky" trick so that namespaces/class definitions/method definitions provide context for the source code you're looking at. Our Clang indexer has easy access to the C++ AST to expose this information, but our rust indexer depends on the save-analysis data which only has access to the locations of the token/symbol being defined, not the range of the body of the thing being defined.
It would be invaluable to expose these AST ranges, or have some easy way to reconstruct the AST data given the save-analysis data.
Activity
jyn514 commentedon Feb 19, 2023
Save-analysis has been removed from the compiler.