dmd.hdrgen

Generate D interface files.

Also used to convert AST nodes to D code in general, e.g. for error messages or printf debugging.

Members

Functions

argExpTypesToCBuffer
void argExpTypesToCBuffer(OutBuffer* buf, Expressions* arguments)

Write out argument types to buf.

moduleToBuffer
void moduleToBuffer(OutBuffer* buf, Module m)

Dumps the full contents of module m to buf.

parameterToChars
const(char)* parameterToChars(Parameter parameter, TypeFunction tf, bool fullQual)

Pretty print function parameter.

parametersTypeToChars
const(char)* parametersTypeToChars(ParameterList pl)

Pretty print function parameters.

protectionToChars
const(char)* protectionToChars(Prot.Kind kind)
protectionToString
string protectionToString(Prot.Kind kind)
stcToString
string stcToString(ref StorageClass stc)
trustToString
string trustToString(TRUST trust)

Pick off one of the storage classes from stc, and return a string representation of it. stc is reduced by the one picked.

Meta