clang API Documentation
Doxygen \tparam command, describes a template parameter. More...
#include <Comment.h>
Public Member Functions | |
TParamCommandComment (SourceLocation LocBegin, SourceLocation LocEnd, unsigned CommandID, CommandMarkerKind CommandMarker) | |
bool | hasParamName () const |
StringRef | getParamName (const FullComment *FC) const |
StringRef | getParamNameAsWritten () const |
SourceRange | getParamNameRange () const |
bool | isPositionValid () const LLVM_READONLY |
unsigned | getDepth () const |
unsigned | getIndex (unsigned Depth) const |
void | setPosition (ArrayRef< unsigned > NewPosition) |
Static Public Member Functions | |
static bool | classof (const Comment *C) |
clang::comments::TParamCommandComment::TParamCommandComment | ( | SourceLocation | LocBegin, |
SourceLocation | LocEnd, | ||
unsigned | CommandID, | ||
CommandMarkerKind | CommandMarker | ||
) | [inline] |
static bool clang::comments::TParamCommandComment::classof | ( | const Comment * | C | ) | [inline, static] |
Reimplemented from clang::comments::BlockCommandComment.
Definition at line 830 of file Comment.h.
References clang::comments::Comment::getCommentKind().
unsigned clang::comments::TParamCommandComment::getDepth | ( | ) | const [inline] |
Definition at line 852 of file Comment.h.
References isPositionValid().
Referenced by getParamName().
unsigned clang::comments::TParamCommandComment::getIndex | ( | unsigned | Depth | ) | const [inline] |
Definition at line 857 of file Comment.h.
References Depth, and isPositionValid().
Referenced by getParamName().
StringRef clang::comments::TParamCommandComment::getParamName | ( | const FullComment * | FC | ) | const |
Definition at line 331 of file Comment.cpp.
References clang::comments::FullComment::getDeclInfo(), getDepth(), getIndex(), clang::NamedDecl::getName(), clang::TemplateParameterList::getParam(), isPositionValid(), and clang::comments::DeclInfo::TemplateParameters.
StringRef clang::comments::TParamCommandComment::getParamNameAsWritten | ( | ) | const [inline] |
Definition at line 840 of file Comment.h.
References clang::comments::BlockCommandComment::Args.
SourceRange clang::comments::TParamCommandComment::getParamNameRange | ( | ) | const [inline] |
Definition at line 844 of file Comment.h.
References clang::comments::BlockCommandComment::Args.
Referenced by clang::comments::Sema::actOnTParamCommandParamNameArg().
bool clang::comments::TParamCommandComment::hasParamName | ( | ) | const [inline] |
Definition at line 834 of file Comment.h.
References clang::comments::BlockCommandComment::getNumArgs().
bool clang::comments::TParamCommandComment::isPositionValid | ( | ) | const [inline] |
Definition at line 848 of file Comment.h.
Referenced by getDepth(), getIndex(), getParamName(), and setPosition().
void clang::comments::TParamCommandComment::setPosition | ( | ArrayRef< unsigned > | NewPosition | ) | [inline] |
Definition at line 862 of file Comment.h.
References isPositionValid().
Referenced by clang::comments::Sema::actOnTParamCommandParamNameArg().