|
clang 22.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 633 of file Comment.h.
References clang::comments::Comment::BlockCommandCommentBits, clang::comments::BlockContentComment::BlockContentComment(), getCommandNameBeginLoc(), clang::nullptr, Paragraph, and clang::comments::Comment::setLocation().
Referenced by BlockCommandComment(), clang::comments::ParamCommandComment::ParamCommandComment(), clang::comments::TParamCommandComment::TParamCommandComment(), clang::comments::VerbatimBlockComment::VerbatimBlockComment(), and clang::comments::VerbatimLineComment::VerbatimLineComment().
|
inline |
Definition at line 646 of file Comment.h.
References BlockCommandComment(), clang::comments::Comment::BlockCommandCommentBits, clang::comments::BlockContentComment::BlockContentComment(), getCommandNameBeginLoc(), clang::nullptr, Paragraph, and clang::comments::Comment::setLocation().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 669 of file Comment.h.
References clang::comments::Comment::BlockCommandCommentBits.
Referenced by getCommandName().
|
inline |
Definition at line 723 of file Comment.h.
References clang::comments::Comment::BlockCommandCommentBits.
|
inline |
Definition at line 673 of file Comment.h.
References getCommandID().
Referenced by getCommandNameRange().
|
inline |
Definition at line 677 of file Comment.h.
References clang::comments::Comment::getBeginLoc(), and clang::SourceLocation::getLocWithOffset().
Referenced by BlockCommandComment(), BlockCommandComment(), and getCommandNameRange().
|
inline |
Definition at line 681 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 687 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 699 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 716 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 628 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 631 of file Comment.h.
Referenced by BlockCommandComment(), BlockCommandComment(), child_begin(), child_end(), getParagraph(), hasNonWhitespaceParagraph(), and setParagraph().