Constructs a DDocEmitter object.
Keeps track of previous comments in each scope.
Writes a declaration to the text buffer.
Wraps the DDOC_DECL_DD macro around the text written by dg(). Writes the comment before dg() is called.
Wraps the DDOC_kind_MEMBERS macro around the text written by visit(members).
Writes a symbol to the text buffer. E.g: $(DIL_SYMBOL scan, Lexer.scan, func, 229, 646);
Adds a symbol to the symbol tree.
Sets some members and returns true if a comment was found.
Entry method.
Returns a unique, identifying string for the current symbol.
Returns the location of t.
Appends to parentFQN.
Reports a problem.
Reports an empty comment.
Reports a missing params section or undocumented parameters.
Reports an undocumented symbol.
Stores the attributes of the current symbol.
Writes a character to the buffer.
Writes an array of strings to the text buffer.
Writes a Node tree to the buffer.
Writes an alias or typedef declaration.
Writes the attributes of a declaration in brackets.
Writes a class or interface declaration.
Writes the DDoc comment to the text buffer.
Scans the comment text and:
Write highlighted tokens to the buffer.
Writes bases to the text buffer.
Writes params to the text buffer.
Writes a struct or union declaration.
Writes the current template parameters to the text buffer.
Returns the DDoc text of this module.
Returns true if the source text starts with "Ddoc\n" (ignores letter case.)
An empty comment. Used for undocumented symbols.
List of predefined, special sections.
All attributes a symbol can have.
Used to print Types/Expressions/etc.
Current comment.
True if current comment is "ditto".
Counts code examples in comments. This is used to make the code lines targetable in HTML.
The attributes of the current symbol.
The current declaration.
Saves the attributes of the current symbol.
The template parameters of the current declaration.
Counts symbols with the same FQN. This is useful for anchor names that require unique strings.
Include symbols with private protection?
Include undocumented symbols?
The module.
The macro table.
Reflects the fully qualified name of the current symbol's parent.
Previous comment in scope.
Offset at which to insert a declaration with a "ditto" comment.
Collects problem messages.
The symbols that will appear in the result document.
The buffer that is written to.
The token highlighter.
Traverses the syntax tree and writes DDoc macros to a string buffer.