DocComment

struct DocComment {
Sections sections;
Section summary;
Section copyright;
Section macros;
MacroTable* pmacrotable;
Escape* escapetable;
Dsymbols a;
}

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* 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.

parseMacros
void parseMacros(Escape* escapetable, MacroTable pmacrotable, const(char)[] m)

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

Meta