Parameter

A struct capturing all the properties of a function parameter.

Members

Functions

mixture
string mixture()
Undocumented in source. Be warned that the author may not have intended to support it.
withName
Parameter withName(string value)

Return a new Parameter object with the name attribute set to value.

withStorageClasses
Parameter withStorageClasses(immutable(string)[] value)

Return a new Parameter object with the storageClasses attribute set to value.

withType
Parameter withType(string value)

Return a new Parameter object with the type attribute set to value.

withUdas
Parameter withUdas(immutable(string)[] value)

Return a new Parameter object with the udas attribute set to value.

Variables

name
string name;

Parameter name. Initial value: _i, where i is the position of the parameter.

storageClasses
string[] storageClasses;

Parameter storage classes. Initial value: [__traits(getParameterStorageClasses, fun, i)], where where fun is the refracted function and i is the position of the parameter.

type
string type;

Parameter type. Initial value: std.traits.Parameter!fun[i], where fun is the refracted function and i is the position of the parameter.

udas
string[] udas;

Parameter UDAs. Initial value: [@(bolts.experimental.refraction.ParameterAttribute!(fun,i)[j...])], where where fun is the refracted function, i is the position of the parameter, and j... are the positions of the UDAs.

Meta