Module vibe.internal.meta.codegen

Templates and CTFE-functions useful for type introspection during code generation.

Some of those are very similar to `traits` utilities but instead of general type information focus on properties that are most important during such code generation.

Functions

Name Description
getRequiredImports For a given interface I finds all modules that types in its methods come from.

Global variables

Name Type Description
cloneFunction string Clones function declaration.

Aliases

Name Type Description
getSymbols NoDuplicates!(Implementation!T) For a given type T finds all user-defined symbols it embeds.

Authors

Sönke Ludwig, Михаил Страшун

Copyright

© 2013 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.