FullComment
public struct FullComment: Comment
Undocumented
-
Undocumented
Declaration
Swift
public let clang: CXComment
-
Convert a given full parsed comment to an HTML fragment. Specific details of HTML layout are subject to change. Don’t try to parse this HTML back into an AST, use other APIs instead. Currently the following CSS classes are used:
para-brief
for \brief paragraph and equivalent commandspara-returns
for \returns paragraph and equivalent commandsword-returns
for theReturns
word in \returns paragraph. Function argument documentation is rendered as a- list with arguments
sorted in function prototype order. CSS classes used:
param-name-index-NUMBER
for parameter name (- )
param-descr-index-NUMBER
for parameter description (- )
param-name-index-invalid
andparam-descr-index-invalid
are used if parameter index is invalid. Template parameter documentation is rendered as a- list with
parameters sorted in template parameter list order. CSS classes used:
tparam-name-index-NUMBER
for parameter name (- )
tparam-descr-index-NUMBER
for parameter description (- )
tparam-name-index-other
andtparam-descr-index-other
are used for names inside template template parameterstparam-name-index-invalid
andtparam-descr-index-invalid
are used if parameter position is invalid.
Declaration
Swift
public var html: String
-
Convert a given full parsed comment to an XML document. A Relax NG schema for the XML can be found in comment-xml-schema.rng file inside the clang source tree.
Declaration
Swift
public var xml: String