digitalmars.D.learn - Finding packages recursively
- BLM768 (6/6) Nov 23 2015 I'm trying to recursively visit a package and all
I'm trying to recursively visit a package and all packages/modules within it using metaprogramming. I should be able to use __traits(allMembers, somePackage) recursively to get all symbols within the package, but is there an easy way to determine whether a symbol represents a package, a module, or something else?
Nov 23 2015