DocComment

Members

Functions

parseSections
void parseSections(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.

Static functions

parseEscapes
void parseEscapes(Escape** pescapetable, const(char)* textstart, size_t textlen)

Parse escapes of the form: /c/string/ where c is a single character. Multiple escapes can be separated by whitespace and/or commas.

parseMacros
void parseMacros(Escape** pescapetable, Macro** pmacrotable, const(char)* m, size_t mlen)

Parse macros out of Macros: section. Macros are of the form: name1 = value1

Meta