clang 20.0.0git
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
clang::comments::InlineContentComment Class Reference

Inline content (contained within a block). More...

#include "clang/AST/Comment.h"

Inheritance diagram for clang::comments::InlineContentComment:
Inheritance graph
[legend]

Public Member Functions

void addTrailingNewline ()
 
bool hasTrailingNewline () const
 
- Public Member Functions inherited from clang::comments::Comment
 Comment (CommentKind K, SourceLocation LocBegin, SourceLocation LocEnd)
 
CommentKind getCommentKind () const
 
const char * getCommentKindName () const
 
void dump () const
 
void dumpColor () const
 
void dump (raw_ostream &OS, const ASTContext &Context) const
 
SourceRange getSourceRange () const LLVM_READONLY
 
SourceLocation getBeginLoc () 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)
 

Protected Member Functions

 InlineContentComment (CommentKind K, SourceLocation LocBegin, SourceLocation LocEnd)
 
- Protected Member Functions inherited from clang::comments::Comment
void setSourceRange (SourceRange SR)
 
void setLocation (SourceLocation L)
 

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 }
 
- 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
 
}; 
 

Detailed Description

Inline content (contained within a block).

Abstract class.

Definition at line 265 of file Comment.h.

Constructor & Destructor Documentation

◆ InlineContentComment()

clang::comments::InlineContentComment::InlineContentComment ( CommentKind  K,
SourceLocation  LocBegin,
SourceLocation  LocEnd 
)
inlineprotected

Definition at line 267 of file Comment.h.

References clang::comments::Comment::InlineContentCommentBits.

Member Function Documentation

◆ addTrailingNewline()

void clang::comments::InlineContentComment::addTrailingNewline ( )
inline

Definition at line 281 of file Comment.h.

References clang::comments::Comment::InlineContentCommentBits.

◆ classof()

static bool clang::comments::InlineContentComment::classof ( const Comment C)
inlinestatic

Definition at line 275 of file Comment.h.

References clang::C.

◆ hasTrailingNewline()

bool clang::comments::InlineContentComment::hasTrailingNewline ( ) const
inline

Definition at line 285 of file Comment.h.

References clang::comments::Comment::InlineContentCommentBits.


The documentation for this class was generated from the following file: