DMD JSON output

ANtlord via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Feb 25 19:01:15 PST 2017


Hello! I've encroutered intresting tool of DMD. It is dump of AST 
in JSON format (dmd -X main.d). But I it contains only 
declaration of methods, templates and structs. It doesn't contain 
statements like a variables or nested functions inside function's 
body.

Is it possible to make dump with statements inside function's 
body? If yes, how can I do this?

Thanks.


More information about the Digitalmars-d-learn mailing list