list of all defined items in a D file

Dennis dkorpel at gmail.com
Fri Jan 24 12:22:49 UTC 2020


On Thursday, 23 January 2020 at 17:10:29 UTC, berni44 wrote:
> I'd like to get a list of all items (public, package, private) 
> that are defined in a D file. Is there a simple way, to get 
> them?

You can pass the -X flag to dmd, which makes it generate a .json 
file describing the compiled file.


More information about the Digitalmars-d-learn mailing list