clang
7.0.0
|
A command with word-like arguments that is considered inline content. More...
#include "clang/AST/Comment.h"
Classes | |
struct | Argument |
Public Types | |
enum | RenderKind { RenderNormal, RenderBold, RenderMonospaced, RenderEmphasized } |
The most appropriate rendering mode for this command, chosen on command semantics in Doxygen. More... | |
![]() | |
enum | CommentKind { NoCommentKind = 0 } |
typedef Comment *const * | child_iterator |
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 |
![]() | |
void | addTrailingNewline () |
bool | hasTrailingNewline () const |
![]() | |
Comment (CommentKind K, SourceLocation LocBegin, SourceLocation LocEnd) | |
CommentKind | getCommentKind () const |
const char * | getCommentKindName () const |
void | dump () const |
void | dumpColor () const |
void | dump (const ASTContext &Context) const |
void | dump (raw_ostream &OS, const CommandTraits *Traits, const SourceManager *SM) const |
SourceRange | getSourceRange () const LLVM_READONLY |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getBeginLoc () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
SourceLocation | getEndLoc () const LLVM_READONLY |
SourceLocation | getLocation () const LLVM_READONLY |
child_iterator | child_begin () const |
child_iterator | child_end () const |
unsigned | child_count () const |
Static Public Member Functions | |
static bool | classof (const Comment *C) |
![]() | |
static bool | classof (const Comment *C) |
Protected Attributes | |
ArrayRef< Argument > | Args |
Command arguments. More... | |
![]() | |
SourceLocation | Loc |
Preferred location to show caret. More... | |
SourceRange | Range |
Source range of this AST node. More... | |
union { | |
CommentBitfields CommentBits | |
InlineContentCommentBitfields InlineContentCommentBits | |
TextCommentBitfields TextCommentBits | |
InlineCommandCommentBitfields InlineCommandCommentBits | |
HTMLTagCommentBitfields HTMLTagCommentBits | |
HTMLStartTagCommentBitfields HTMLStartTagCommentBits | |
ParagraphCommentBitfields ParagraphCommentBits | |
BlockCommandCommentBitfields BlockCommandCommentBits | |
ParamCommandCommentBitfields ParamCommandCommentBits | |
}; | |
Additional Inherited Members | |
![]() | |
enum | { NumCommentBits = 8 } |
enum | { NumInlineContentCommentBits = NumCommentBits + 1 } |
enum | { NumTextCommentBits = NumInlineContentCommentBits + 2 } |
enum | { NumInlineCommandCommentBits } |
enum | { NumHTMLTagCommentBits = NumInlineContentCommentBits + 1 } |
enum | { NumHTMLStartTagCommentBits = NumHTMLTagCommentBits + 1 } |
enum | { NumParagraphCommentBits = NumCommentBits + 2 } |
enum | { NumBlockCommandCommentBits } |
enum | { NumParamCommandCommentBits = NumBlockCommandCommentBits + 3 } |
![]() | |
InlineContentComment (CommentKind K, SourceLocation LocBegin, SourceLocation LocEnd) | |
![]() | |
void | setSourceRange (SourceRange SR) |
void | setLocation (SourceLocation L) |
A command with word-like arguments that is considered inline content.
|
inline |
Definition at line 324 of file Comment.h.
References clang::comments::Comment::InlineCommandCommentBits.
|
inline |
|
inline |
Definition at line 335 of file Comment.h.
References clang::comments::Comment::getCommentKind().
|
inline |
|
inline |
|
inline |
Definition at line 343 of file Comment.h.
References clang::comments::Comment::InlineCommandCommentBits.
|
inline |
Definition at line 347 of file Comment.h.
References clang::comments::CommandTraits::getCommandInfo(), and clang::comments::CommandInfo::Name.
|
inline |
Definition at line 351 of file Comment.h.
References clang::comments::Comment::getLocEnd(), and clang::comments::Comment::getLocStart().
|
inline |
|
inline |
Definition at line 356 of file Comment.h.
References clang::comments::Comment::InlineCommandCommentBits.