Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

List solidity definitions usages' locations #161

Open
1 of 7 tasks
Tracked by #70
0xmemorygrinder opened this issue Oct 4, 2023 · 0 comments
Open
1 of 7 tasks
Tracked by #70

List solidity definitions usages' locations #161

0xmemorygrinder opened this issue Oct 4, 2023 · 0 comments
Labels

Comments

@0xmemorygrinder
Copy link
Contributor

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

  • 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

  • I agree to follow this project's Code of Conduct
@osmium-manager osmium-manager bot moved this to To describe in Project Management Oct 4, 2023
@0xmemorygrinder 0xmemorygrinder moved this from To describe to Planned in Project Management Oct 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Status: Planned
Development

No branches or pull requests

1 participant