Source File and Position of User Defined Type

Kapps via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 11 13:39:04 PDT 2014


On Tuesday, 10 June 2014 at 20:58:41 UTC, Nordlöw wrote:
> Is there a way to, programatically (trait), lookup the source 
> file and position of a user defined type either dynamically or, 
> even better, statically?

I don't believe this is possible. Perhaps you would be able to
generate the .json file and use that at runtime, but I don't know
if even that will handle situations like using mixins.


More information about the Digitalmars-d-learn mailing list