On Wednesday, 21 February 2018 at 01:58:17 UTC, psychoticRabbit
wrote:
On Tuesday, 20 February 2018 at 15:26:12 UTC, Adam D. Ruppe
wrote:
dmd -X spits out the json file with a list of functions and
classes and other stuff. Then you can just filter that.
'dmd -X' looks like the perfect solution for my need. thanks.
I don't know what exactly you plan to do, but the AST dump from
DScanner is usually also quite handy:
https://github.com/dlang-community/D-Scanner#ast-dump
In fact, with libdparse, you don't get it as XML, but as AST:
https://github.com/dlang-community/libdparse
Example:
https://run.dlang.io/is/qZsGDD