Parameter

A struct capturing all the properties of a function parameter.

Members

Functions

mixture
string mixture()

Return a string representing the parameter.

setName
Parameter setName(string value)

Set the parameter name.

setStorage
Parameter setStorage(string[] value)

Set the parameter storage classes.

setType
Parameter setType(string value)

Set the parameter type.

setUdas
Parameter setUdas(string[] value)

Set the parameter udas.

Variables

name
string name;

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

storage
string[] storage;

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