clang API Documentation
A command with word-like arguments that is considered inline content. More...
#include <Comment.h>
Classes | |
struct | Argument |
Public Types | |
enum | RenderKind { RenderNormal, RenderBold, RenderMonospaced, RenderEmphasized } |
Public Member Functions | |
InlineCommandComment (SourceLocation LocBegin, SourceLocation LocEnd, unsigned CommandID, RenderKind RK, ArrayRef< Argument > Args) | |
child_iterator | child_begin () const |
child_iterator | child_end () const |
unsigned | getCommandID () const |
StringRef | getCommandName (const CommandTraits &Traits) const |
SourceRange | getCommandNameRange () const |
RenderKind | getRenderKind () const |
unsigned | getNumArgs () const |
StringRef | getArgText (unsigned Idx) const |
SourceRange | getArgRange (unsigned Idx) const |
Static Public Member Functions | |
static bool | classof (const Comment *C) |
Protected Attributes | |
ArrayRef< Argument > | Args |
Command arguments. |
A command with word-like arguments that is considered inline content.
clang::comments::InlineCommandComment::InlineCommandComment | ( | SourceLocation | LocBegin, |
SourceLocation | LocEnd, | ||
unsigned | CommandID, | ||
RenderKind | RK, | ||
ArrayRef< Argument > | Args | ||
) | [inline] |
Definition at line 326 of file Comment.h.
References clang::comments::Comment::InlineCommandCommentBits.
child_iterator clang::comments::InlineCommandComment::child_begin | ( | ) | const [inline] |
Reimplemented from clang::comments::Comment.
child_iterator clang::comments::InlineCommandComment::child_end | ( | ) | const [inline] |
Reimplemented from clang::comments::Comment.
static bool clang::comments::InlineCommandComment::classof | ( | const Comment * | C | ) | [inline, static] |
Reimplemented from clang::comments::InlineContentComment.
Definition at line 337 of file Comment.h.
References clang::comments::Comment::getCommentKind().
SourceRange clang::comments::InlineCommandComment::getArgRange | ( | unsigned | Idx | ) | const [inline] |
StringRef clang::comments::InlineCommandComment::getArgText | ( | unsigned | Idx | ) | const [inline] |
unsigned clang::comments::InlineCommandComment::getCommandID | ( | ) | const [inline] |
Definition at line 345 of file Comment.h.
References clang::comments::Comment::InlineCommandCommentBits.
Referenced by getCommandName().
StringRef clang::comments::InlineCommandComment::getCommandName | ( | const CommandTraits & | Traits | ) | const [inline] |
Definition at line 349 of file Comment.h.
References getCommandID(), clang::comments::CommandTraits::getCommandInfo(), and clang::comments::CommandInfo::Name.
SourceRange clang::comments::InlineCommandComment::getCommandNameRange | ( | ) | const [inline] |
Definition at line 353 of file Comment.h.
References clang::comments::Comment::getLocEnd(), and clang::comments::Comment::getLocStart().
unsigned clang::comments::InlineCommandComment::getNumArgs | ( | ) | const [inline] |
RenderKind clang::comments::InlineCommandComment::getRenderKind | ( | ) | const [inline] |
Definition at line 358 of file Comment.h.
References clang::comments::Comment::InlineCommandCommentBits.
ArrayRef<Argument> clang::comments::InlineCommandComment::Args [protected] |
Command arguments.
Definition at line 323 of file Comment.h.
Referenced by getArgRange(), getArgText(), and getNumArgs().