clang-tools 22.0.0git
|
#include <SymbolDocumentation.h>
Public Member Functions | |
SymbolDocCommentVisitor (comments::FullComment *FC, const CommentOptions &CommentOpts) | |
SymbolDocCommentVisitor (llvm::StringRef Documentation, const CommentOptions &CommentOpts) | |
bool | isParameterDocumented (StringRef ParamName) const |
bool | isTemplateTypeParmDocumented (StringRef ParamName) const |
bool | hasBriefCommand () const |
bool | hasReturnCommand () const |
bool | hasRetvalCommands () const |
bool | hasNoteCommands () const |
bool | hasWarningCommands () const |
void | docToMarkup (markup::Document &Out) const |
Converts all unhandled comment commands to a markup document. | |
void | briefToMarkup (markup::Paragraph &Out) const |
Converts the "brief" command(s) to a markup document. | |
void | returnToMarkup (markup::Paragraph &Out) const |
Converts the "return" command(s) to a markup document. | |
void | notesToMarkup (markup::Document &Out) const |
Converts the "note" command(s) to a markup document. | |
void | warningsToMarkup (markup::Document &Out) const |
Converts the "warning" command(s) to a markup document. | |
void | visitBlockCommandComment (const comments::BlockCommandComment *B) |
void | templateTypeParmDocToMarkup (StringRef TemplateParamName, markup::Paragraph &Out) const |
void | templateTypeParmDocToString (StringRef TemplateParamName, llvm::raw_string_ostream &Out) const |
void | parameterDocToMarkup (StringRef ParamName, markup::Paragraph &Out) const |
void | parameterDocToString (StringRef ParamName, llvm::raw_string_ostream &Out) const |
void | visitParagraphComment (const comments::ParagraphComment *P) |
void | visitParamCommandComment (const comments::ParamCommandComment *P) |
void | visitTParamCommandComment (const comments::TParamCommandComment *TP) |
Definition at line 30 of file SymbolDocumentation.h.
|
inline |
Definition at line 33 of file SymbolDocumentation.h.
|
inline |
Definition at line 44 of file SymbolDocumentation.h.
References C.
void clang::clangd::SymbolDocCommentVisitor::briefToMarkup | ( | markup::Paragraph & | Out | ) | const |
Converts the "brief" command(s) to a markup document.
Definition at line 315 of file SymbolDocumentation.cpp.
References Out.
void clang::clangd::SymbolDocCommentVisitor::docToMarkup | ( | markup::Document & | Out | ) | const |
Converts all unhandled comment commands to a markup document.
Definition at line 355 of file SymbolDocumentation.cpp.
References Out.
Referenced by clang::clangd::TEST().
|
inline |
Definition at line 113 of file SymbolDocumentation.h.
|
inline |
Definition at line 119 of file SymbolDocumentation.h.
|
inline |
Definition at line 115 of file SymbolDocumentation.h.
|
inline |
Definition at line 117 of file SymbolDocumentation.h.
|
inline |
Definition at line 121 of file SymbolDocumentation.h.
|
inline |
Definition at line 105 of file SymbolDocumentation.h.
|
inline |
Definition at line 109 of file SymbolDocumentation.h.
void clang::clangd::SymbolDocCommentVisitor::notesToMarkup | ( | markup::Document & | Out | ) | const |
Converts the "note" command(s) to a markup document.
Definition at line 327 of file SymbolDocumentation.cpp.
References Out.
void clang::clangd::SymbolDocCommentVisitor::parameterDocToMarkup | ( | StringRef | ParamName, |
markup::Paragraph & | Out | ||
) | const |
Definition at line 335 of file SymbolDocumentation.cpp.
References Out.
void clang::clangd::SymbolDocCommentVisitor::parameterDocToString | ( | StringRef | ParamName, |
llvm::raw_string_ostream & | Out | ||
) | const |
Definition at line 345 of file SymbolDocumentation.cpp.
References Out.
Referenced by clang::clangd::getDeclComment().
void clang::clangd::SymbolDocCommentVisitor::returnToMarkup | ( | markup::Paragraph & | Out | ) | const |
Converts the "return" command(s) to a markup document.
Definition at line 321 of file SymbolDocumentation.cpp.
References Out.
void clang::clangd::SymbolDocCommentVisitor::templateTypeParmDocToMarkup | ( | StringRef | TemplateParamName, |
markup::Paragraph & | Out | ||
) | const |
Definition at line 365 of file SymbolDocumentation.cpp.
References Out.
void clang::clangd::SymbolDocCommentVisitor::templateTypeParmDocToString | ( | StringRef | TemplateParamName, |
llvm::raw_string_ostream & | Out | ||
) | const |
Definition at line 375 of file SymbolDocumentation.cpp.
References Out.
Referenced by clang::clangd::getDeclComment().
void clang::clangd::SymbolDocCommentVisitor::visitBlockCommandComment | ( | const comments::BlockCommandComment * | B | ) |
Definition at line 267 of file SymbolDocumentation.cpp.
|
inline |
Definition at line 147 of file SymbolDocumentation.h.
|
inline |
Definition at line 152 of file SymbolDocumentation.h.
|
inline |
Definition at line 156 of file SymbolDocumentation.h.
void clang::clangd::SymbolDocCommentVisitor::warningsToMarkup | ( | markup::Document & | Out | ) | const |
Converts the "warning" command(s) to a markup document.
Definition at line 331 of file SymbolDocumentation.cpp.
References Out.