dmd.doc
Ddoc documentation generation.
Specification: Documentation Generator
License
Source: doc.d
Documentation: https://dlang.org/phobos/dmd_doc.html
-
Declaration
voidgendocfile(Modulem); -
Declaration
voidescapeDdocString(OutBuffer*buf, size_tstart);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.
-
Declaration
structDocComment;-
Declaration
static voidparseMacros(Escape*escapetable, ref MacroTablepmacrotable, const(char)[]m);Parse macros out of Macros: section. Macros are of the form: name1 = value1
Discussion
name2 = value2
-
Declaration
static voidparseEscapes(Escape*escapetable, const(char)[]text);Parse escapes of the form: /c/string/ where c is a single character. Multiple escapes can be separated by whitespace and/or commas.
-
Declaration
voidparseSections(const(char)*comment);Parse next paragraph out of *pcomment. Update *pcomment to point past paragraph. Returns NULL if no more paragraphs. If paragraph ends in 'identifier:', then (*pcomment)[0 .. idlen] is the identifier.
-
-
Declaration
size_tskiptoident(ref OutBufferbuf, size_ti);Scan forward to one of: start of identifier beginning of next line end of
buf -
Declaration
boolisIdStart(const(char)*p);Determine if
ppoints to the start of an identifier. -
Declaration
boolisIdTail(const(char)*p);Determine if
ppoints to the rest of an identifier. -
Declaration
intutfStride(const(char)*p);Return number of bytes in UTF character.