How can I get the following information about a mix project?
- For every function or macro (public and private), file and line (EDIT: lines, because of multiple arities) where they are defined.
- For all modules, file and line where a module is defined
- For every function, macro and module call (from both the project and it’s dependencies), file and line where they are called. For individual functions or modules I can use xref, but I wanted to do this for every function used in the module.
This is to be used on whole projects, and not in a real time way like it’s done in IDEs.
The goal here is to build a visualization tool based on HTML + hyperlinked source.
Should I read mix’s source and borrow from there? Is the information I requested available?