View source code
Display the source code in ddmd/doc.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Module ddmd.doc

Compiler implementation of the D programming language.

Functions

Name Description
cmp Compare 0-terminated string with length terminated string. Return < 0, ==0, > 0
escapeDdocString 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.
escapeStrayParenthesis Having unmatched parentheses can hose the output of Ddoc, as the macros depend on properly nested parentheses.
expandTemplateMixinComments Recursively expand template mixin member docs into the scope.
gendocfile
getCodeIndent emitComment
highlightCode Highlight code for DDOC section.
highlightCode
highlightCode2 Highlight code for CODE section.
highlightCode3
highlightText Highlight text section.
isCVariadicArg Determine if p points to the start of a "..." parameter identifier.
isDitto Return true if comment consists entirely of "ditto".
isFunctionParameter
isIdentifier
isIdStart Determine if p points to the start of an identifier.
isIdTail Determine if p points to the rest of an identifier.
isIndentWS Determine if p points to the indentation space.
isKeyword
isReservedName Return true if str is a reserved symbol name that starts with a double underscore.
isTemplateParameter
isTypeFunction
skippastident Scan forward past end of identifier.
skippastURL Scan forward past URL starting at i. We don't want to highlight parts of a URL.
skiptoident Scan forward to one of: start of identifier beginning of next line end of buf
skipwhitespace Skip white space.
utfStride Return number of bytes in UTF character.

Classes

Name Description
MacroSection
ParamSection
Section

Structs

Name Description
DocComment

Authors

Walter Bright

License

Boost License 1.0

Comments