clang API Documentation
#include <Comment.h>
Public Member Functions | |
VerbatimLineComment (SourceLocation LocBegin, SourceLocation LocEnd, unsigned CommandID, SourceLocation TextBegin, StringRef Text) | |
child_iterator | child_begin () const |
child_iterator | child_end () const |
StringRef | getText () const |
SourceRange | getTextRange () const |
Static Public Member Functions | |
static bool | classof (const Comment *C) |
Protected Attributes | |
StringRef | Text |
SourceLocation | TextBegin |
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.
clang::comments::VerbatimLineComment::VerbatimLineComment | ( | SourceLocation | LocBegin, |
SourceLocation | LocEnd, | ||
unsigned | CommandID, | ||
SourceLocation | TextBegin, | ||
StringRef | Text | ||
) | [inline] |
child_iterator clang::comments::VerbatimLineComment::child_begin | ( | ) | const [inline] |
Reimplemented from clang::comments::BlockCommandComment.
child_iterator clang::comments::VerbatimLineComment::child_end | ( | ) | const [inline] |
Reimplemented from clang::comments::BlockCommandComment.
static bool clang::comments::VerbatimLineComment::classof | ( | const Comment * | C | ) | [inline, static] |
Reimplemented from clang::comments::BlockCommandComment.
Definition at line 968 of file Comment.h.
References clang::comments::Comment::getCommentKind().
StringRef clang::comments::VerbatimLineComment::getText | ( | ) | const [inline] |
SourceRange clang::comments::VerbatimLineComment::getTextRange | ( | ) | const [inline] |
Definition at line 980 of file Comment.h.
References clang::comments::Comment::getLocEnd(), and TextBegin.
StringRef clang::comments::VerbatimLineComment::Text [protected] |
Definition at line 952 of file Comment.h.
Referenced by getTextRange().