racket / macro-debugger

Other
8 stars 16 forks source link

API to list references in a module? #27

Open jackfirth opened 5 years ago

jackfirth commented 5 years ago

The check-requires function is able to print out the imported identifiers that a module uses, but the show-requires function doesn't return that information. I'd like a programmatic API to the references in a module so I can build a "find usages" script and (hopefully) a "rename all usages" script. Something like a module-references function of type (-> module-path? (set/c reference?)).