jaster.cli.udas

Contains helpful templates relating to UDAs.

Members

Templates

ctorUdaIfNeeded
template ctorUdaIfNeeded(alias UDA)

Sometimes code needs to support both @UDA and @UDA(), so this template is used to ensure that the given UDA is an actual object, not just a type.

getSingleUDA
template getSingleUDA(alias Symbol, alias UDA)

Gets a single specified UDA from the given Symbol.

getSymbolsByUDAInModules
template getSymbolsByUDAInModules(alias attribute, Modules...)

Gets all symbols that have specified UDA from all specified modules

Meta