class VerbatimLineComment
Declaration
class VerbatimLineComment : public BlockCommandComment { /* full declaration omitted */ };
Description
A verbatim line command. Verbatim line has an opening command, a single line of text (up to the newline after the opening command) and has no closing command.
Declared at: clang/include/clang/AST/Comment.h:926
Inherits from: BlockCommandComment
Member Variables
- protected llvm::StringRef Text
- protected clang::SourceLocation TextBegin
Inherited from BlockCommandComment:
Inherited from Comment:
Method Overview
- public VerbatimLineComment(clang::SourceLocation LocBegin, clang::SourceLocation LocEnd, unsigned int CommandID, clang::SourceLocation TextBegin, 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 clang::SourceRange getTextRange() const
Inherited from BlockCommandComment:
- public child_begin
- public child_end
- public classof
- public getArgRange
- public getArgText
- public getCommandID
- public getCommandMarker
- public getCommandName
- public getCommandNameBeginLoc
- public getCommandNameRange
- public getNumArgs
- public getParagraph
- public hasNonWhitespaceParagraph
- public setArgs
- public setParagraph
Inherited from BlockContentComment:
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
¶VerbatimLineComment(
clang::SourceLocation LocBegin,
clang::SourceLocation LocEnd,
unsigned int CommandID,
clang::SourceLocation TextBegin,
llvm::StringRef Text)
VerbatimLineComment(
clang::SourceLocation LocBegin,
clang::SourceLocation LocEnd,
unsigned int CommandID,
clang::SourceLocation TextBegin,
llvm::StringRef Text)
Declared at: clang/include/clang/AST/Comment.h:932
Parameters
- clang::SourceLocation LocBegin
- clang::SourceLocation LocEnd
- unsigned int CommandID
- clang::SourceLocation TextBegin
- 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:949
¶clang::comments::Comment::child_iterator
child_end() const
clang::comments::Comment::child_iterator
child_end() const
Declared at: clang/include/clang/AST/Comment.h:951
¶static bool classof(
const clang::comments::Comment* C)
static bool classof(
const clang::comments::Comment* C)
Declared at: clang/include/clang/AST/Comment.h:945
Parameters
- const clang::comments::Comment* C
¶llvm::StringRef getText() const
llvm::StringRef getText() const
Declared at: clang/include/clang/AST/Comment.h:953
¶clang::SourceRange getTextRange() const
clang::SourceRange getTextRange() const
Declared at: clang/include/clang/AST/Comment.h:957