class TextComment
Declaration
class TextComment : public InlineContentComment { /* full declaration omitted */ };
Description
Plain text.
Declared at: clang/include/clang/AST/Comment.h:266
Inherits from: InlineContentComment
Member Variables
- private llvm::StringRef Text
Inherited from Comment:
Method Overview
- public TextComment(clang::SourceLocation LocBegin, clang::SourceLocation LocEnd, llvm::StringRef Text)
- public clang::comments::Comment::child_iterator child_begin() const
- public clang::comments::Comment::child_iterator child_end() const
- public static bool classof(const clang::comments::Comment * C)
- public llvm::StringRef getText() const
- public bool isWhitespace() const
- private bool isWhitespaceNoCache() const
Inherited from InlineContentComment:
Inherited from Comment:
- public child_begin
- public child_count
- public child_end
- public dump
- public dump
- public dumpColor
- public getBeginLoc
- public getCommentKind
- public getCommentKindName
- public getEndLoc
- public getLocation
- public getSourceRange
- protected setLocation
- protected setSourceRange
Methods
¶TextComment(clang::SourceLocation LocBegin,
clang::SourceLocation LocEnd,
llvm::StringRef Text)
TextComment(clang::SourceLocation LocBegin,
clang::SourceLocation LocEnd,
llvm::StringRef Text)
Declared at: clang/include/clang/AST/Comment.h:270
Parameters
- clang::SourceLocation LocBegin
- clang::SourceLocation LocEnd
- llvm::StringRef Text
¶clang::comments::Comment::child_iterator
child_begin() const
clang::comments::Comment::child_iterator
child_begin() const
Declared at: clang/include/clang/AST/Comment.h:282
¶clang::comments::Comment::child_iterator
child_end() const
clang::comments::Comment::child_iterator
child_end() const
Declared at: clang/include/clang/AST/Comment.h:284
¶static bool classof(
const clang::comments::Comment* C)
static bool classof(
const clang::comments::Comment* C)
Declared at: clang/include/clang/AST/Comment.h:278
Parameters
- const clang::comments::Comment* C
¶llvm::StringRef getText() const
llvm::StringRef getText() const
Declared at: clang/include/clang/AST/Comment.h:286
¶bool isWhitespace() const
bool isWhitespace() const
Declared at: clang/include/clang/AST/Comment.h:288
¶bool isWhitespaceNoCache() const
bool isWhitespaceNoCache() const
Declared at: clang/include/clang/AST/Comment.h:298