Once the definitions' locations are retrieved (#160), usages can be added in the structures. The integration have to be determined. Then, the structure must be filled with all variables, structs, events, functions.. usages. Helper function must be provided to find usages for a specific identifier.
Definition of done
[ ] Determine how to integrate usages into the existing refrences structure
[ ] Implement the usages integration
[ ] Fill the usages using the project files' AST (using ast crate)
[ ] Create helper function to retrieve usages of a definition
QA
[ ] Structures and structures' filling must be unit-tested
[ ] Usage of this library should not exceed 15 lines
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Title
List solidity definitions usages' locations
Description
Once the definitions' locations are retrieved (#160), usages can be added in the structures. The integration have to be determined. Then, the structure must be filled with all variables, structs, events, functions.. usages. Helper function must be provided to find usages for a specific identifier.
Definition of done
QA
Code of Conduct