bolts.reflection.metafunction

Meta-object that captures all the properties of a function

Members

Aliases

Function
alias Function(alias Fun, string Source = __traits(identifier, Fun), int Index = 0) = Function!(Fun, functionAttributes!Fun | (__traits(isStaticFunction, Fun) ? ExtendedFunctionAttribute.static_ : 0), Type!(ReturnType!Fun, "std.traits.ReturnType!(%s)".format(Source)), __traits(identifier, Fun), Index, reflectParameterList!(Fun, Source), UDAList!(makeUDAs!(Source, 0, __traits(getAttributes, Fun))))
Undocumented in source.
Function
alias Function(alias Fun, string Aggregate, string Member, int Index) = Function!(Fun, `__traits(getOverloads, %s, "%s")[%d]`.format(Aggregate, Member, Index), Index)

Create a Function meta-object from function Fun,

PDV
alias PDV = ParameterDefaults
Undocumented in source.
Parameter
alias Parameter(alias Type, string Name = "") = Parameter!([], Type, Name)
Undocumented in source.
Parameter
alias Parameter(string[] StorageClasses, alias Type, string Name = "") = Parameter!(UDAList!(), StorageClasses, Type, Name)
Undocumented in source.

Enums

subMixture
eponymoustemplate subMixture(alias Meta)
Undocumented in source.
subMixtureArray
eponymoustemplate subMixtureArray(alias Meta)
Undocumented in source.

Mixin templates

mixtureFromArray
mixintemplate mixtureFromArray()
Undocumented in source.

Templates

Function
template Function(Props...)

Meta-class Function

Parameter
template Parameter(alias UDAList, string[] StorageClasses, alias Type_, string Name = "", alias DefaultValue = ParameterDefaultValue!(void, ""))
Undocumented in source.
ParameterAttribute
template ParameterAttribute(alias F, int i, int j)
Undocumented in source.
ParameterDefaultValue
template ParameterDefaultValue(alias Value, string Mixture)
Undocumented in source.
ParameterList
template ParameterList(T...)
Undocumented in source.
UDAList
template UDAList(T...)
Undocumented in source.
makeUDAs
template makeUDAs(string Source, int Position, UDAs...)
Undocumented in source.
reflectParameterList
template reflectParameterList(alias fun, string mixture)
Undocumented in source.

Meta