Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.


Compiler implementation of the D programming language.

Source hdrgen.d

const(char)* stcToChars(ref StorageClass stc);
Pick off one of the storage classes from stc, and return a pointer to a string representation of it. stc is reduced by the one picked.
void argExpTypesToCBuffer(OutBuffer* buf, Expressions* arguments);
Write out argument types to buf.
const(char)* parametersTypeToChars(Parameters* parameters, int varargs);
Pretty print function parameters.
Parameters* parameters parameters to print, such as TypeFunction.parameters.
int varargs kind of varargs, see TypeFunction.varargs.
Null-terminated string representing parameters.
const(char)* parameterToChars(Parameter parameter, TypeFunction tf, bool fullQual);
Pretty print function parameter.
Parameter parameter parameter to print.
TypeFunction tf TypeFunction which holds parameter.
bool fullQual whether to fully qualify types.
Null-terminated string representing parameters.