dmd.doc

Ddoc documentation generation.

Specification: Documentation Generator

Members

Functions

escapeDdocString
void escapeDdocString(OutBuffer* buf, size_t start)

Having unmatched parentheses can hose the output of Ddoc, as the macros depend on properly nested parentheses. This function replaces all ( with ( and ) with ) to preserve text literally. This also means macros in the text won't be expanded.

gendocfile
void gendocfile(Module m)
isIdStart
bool isIdStart(const(char)* p)

Determine if p points to the start of an identifier.

isIdTail
bool isIdTail(const(char)* p)

Determine if p points to the rest of an identifier.

skiptoident
size_t skiptoident(OutBuffer buf, size_t i)

Scan forward to one of: start of identifier beginning of next line end of buf

utfStride
int utfStride(const(char)* p)

Return number of bytes in UTF character.

Structs

DocComment
struct DocComment
Escape
struct Escape
Undocumented in source.

Meta