clang 20.0.0git
|
A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument (e. More...
#include "clang/AST/Comment.h"
Static Public Member Functions | |
static bool | classof (const Comment *C) |
Static Public Member Functions inherited from clang::comments::BlockContentComment | |
static bool | classof (const Comment *C) |
Protected Member Functions | |
BlockCommandComment (CommentKind K, SourceLocation LocBegin, SourceLocation LocEnd, unsigned CommandID, CommandMarkerKind CommandMarker) | |
Protected Member Functions inherited from clang::comments::BlockContentComment | |
BlockContentComment (CommentKind K, SourceLocation LocBegin, SourceLocation LocEnd) | |
Protected Member Functions inherited from clang::comments::Comment | |
void | setSourceRange (SourceRange SR) |
void | setLocation (SourceLocation L) |
Protected Attributes | |
ArrayRef< Argument > | Args |
Word-like arguments. | |
ParagraphComment * | Paragraph |
Paragraph argument. | |
Protected Attributes inherited from clang::comments::Comment | |
SourceLocation | Loc |
Preferred location to show caret. | |
SourceRange | Range |
Source range of this AST node. | |
union { | |
CommentBitfields CommentBits | |
InlineContentCommentBitfields InlineContentCommentBits | |
TextCommentBitfields TextCommentBits | |
InlineCommandCommentBitfields InlineCommandCommentBits | |
HTMLTagCommentBitfields HTMLTagCommentBits | |
HTMLStartTagCommentBitfields HTMLStartTagCommentBits | |
ParagraphCommentBitfields ParagraphCommentBits | |
BlockCommandCommentBitfields BlockCommandCommentBits | |
ParamCommandCommentBitfields ParamCommandCommentBits | |
}; | |
Additional Inherited Members | |
Public Types inherited from clang::comments::Comment | |
typedef Comment *const * | child_iterator |
Protected Types inherited from clang::comments::Comment | |
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 } |
A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument (e.
g., \brief).
|
inlineprotected |
Definition at line 612 of file Comment.h.
References clang::comments::Comment::BlockCommandCommentBits, getCommandNameBeginLoc(), and clang::comments::Comment::setLocation().
|
inline |
Definition at line 625 of file Comment.h.
References clang::comments::Comment::BlockCommandCommentBits, getCommandNameBeginLoc(), and clang::comments::Comment::setLocation().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 648 of file Comment.h.
References clang::comments::Comment::BlockCommandCommentBits.
Referenced by getCommandName().
|
inline |
Definition at line 702 of file Comment.h.
References clang::comments::Comment::BlockCommandCommentBits.
|
inline |
Definition at line 652 of file Comment.h.
References getCommandID(), clang::comments::CommandTraits::getCommandInfo(), and clang::comments::CommandInfo::Name.
Referenced by getCommandNameRange().
|
inline |
Definition at line 656 of file Comment.h.
References clang::comments::Comment::getBeginLoc(), and clang::SourceLocation::getLocWithOffset().
Referenced by BlockCommandComment(), and getCommandNameRange().
|
inline |
Definition at line 660 of file Comment.h.
References clang::comments::Comment::getBeginLoc(), getCommandName(), and getCommandNameBeginLoc().
Referenced by clang::comments::Sema::actOnParamCommandStart(), and clang::comments::Sema::actOnTParamCommandStart().
|
inline |
Definition at line 666 of file Comment.h.
References Args.
Referenced by clang::comments::Sema::actOnParamCommandParamNameArg(), clang::comments::Sema::actOnTParamCommandParamNameArg(), clang::comments::ParamCommandComment::hasParamName(), and clang::comments::TParamCommandComment::hasParamName().
|
inline |
|
inline |
Definition at line 691 of file Comment.h.
References clang::comments::ParagraphComment::isWhitespace(), and Paragraph.
Definition at line 678 of file Comment.h.
References Args, clang::comments::Comment::getBeginLoc(), clang::SourceLocation::isValid(), and clang::comments::Comment::setSourceRange().
Referenced by clang::comments::Sema::actOnBlockCommandArgs(), clang::comments::Sema::actOnParamCommandParamNameArg(), and clang::comments::Sema::actOnTParamCommandParamNameArg().
|
inline |
Definition at line 695 of file Comment.h.
References clang::comments::Comment::getBeginLoc(), clang::comments::Comment::getEndLoc(), clang::SourceLocation::isValid(), Paragraph, and clang::comments::Comment::setSourceRange().
Referenced by clang::comments::Sema::actOnBlockCommandFinish(), clang::comments::Sema::actOnParamCommandFinish(), and clang::comments::Sema::actOnTParamCommandFinish().
Word-like arguments.
Definition at line 607 of file Comment.h.
Referenced by getArgRange(), getArgText(), getNumArgs(), clang::comments::ParamCommandComment::getParamNameAsWritten(), clang::comments::TParamCommandComment::getParamNameAsWritten(), clang::comments::ParamCommandComment::getParamNameRange(), clang::comments::TParamCommandComment::getParamNameRange(), and setArgs().
|
protected |
Paragraph argument.
Definition at line 610 of file Comment.h.
Referenced by child_begin(), child_end(), getParagraph(), hasNonWhitespaceParagraph(), and setParagraph().