clang API Documentation
#include <Comment.h>
Public Member Functions | |
VerbatimBlockComment (SourceLocation LocBegin, SourceLocation LocEnd, unsigned CommandID) | |
child_iterator | child_begin () const |
child_iterator | child_end () const |
void | setCloseName (StringRef Name, SourceLocation LocBegin) |
void | setLines (ArrayRef< VerbatimBlockLineComment * > L) |
StringRef | getCloseName () const |
unsigned | getNumLines () const |
StringRef | getText (unsigned LineIdx) const |
Static Public Member Functions | |
static bool | classof (const Comment *C) |
Protected Attributes | |
StringRef | CloseName |
SourceLocation | CloseNameLocBegin |
ArrayRef < VerbatimBlockLineComment * > | Lines |
A verbatim block command (e. g., preformatted code). Verbatim block has an opening and a closing command and contains multiple lines of text (VerbatimBlockLineComment nodes).
clang::comments::VerbatimBlockComment::VerbatimBlockComment | ( | SourceLocation | LocBegin, |
SourceLocation | LocEnd, | ||
unsigned | CommandID | ||
) | [inline] |
child_iterator clang::comments::VerbatimBlockComment::child_begin | ( | ) | const [inline] |
Reimplemented from clang::comments::BlockCommandComment.
Definition at line 916 of file Comment.h.
References Lines.
child_iterator clang::comments::VerbatimBlockComment::child_end | ( | ) | const [inline] |
Reimplemented from clang::comments::BlockCommandComment.
Definition at line 920 of file Comment.h.
References Lines.
static bool clang::comments::VerbatimBlockComment::classof | ( | const Comment * | C | ) | [inline, static] |
Reimplemented from clang::comments::BlockCommandComment.
Definition at line 912 of file Comment.h.
References clang::comments::Comment::getCommentKind().
StringRef clang::comments::VerbatimBlockComment::getCloseName | ( | ) | const [inline] |
unsigned clang::comments::VerbatimBlockComment::getNumLines | ( | ) | const [inline] |
StringRef clang::comments::VerbatimBlockComment::getText | ( | unsigned | LineIdx | ) | const [inline] |
void clang::comments::VerbatimBlockComment::setCloseName | ( | StringRef | Name, |
SourceLocation | LocBegin | ||
) | [inline] |
Definition at line 924 of file Comment.h.
References CloseName, and CloseNameLocBegin.
Referenced by clang::comments::Sema::actOnVerbatimBlockFinish().
void clang::comments::VerbatimBlockComment::setLines | ( | ArrayRef< VerbatimBlockLineComment * > | L | ) | [inline] |
Definition at line 929 of file Comment.h.
References Lines.
Referenced by clang::comments::Sema::actOnVerbatimBlockFinish().
StringRef clang::comments::VerbatimBlockComment::CloseName [protected] |
Definition at line 899 of file Comment.h.
Referenced by getCloseName(), and setCloseName().
Definition at line 900 of file Comment.h.
Referenced by setCloseName().
ArrayRef<VerbatimBlockLineComment *> clang::comments::VerbatimBlockComment::Lines [protected] |
Definition at line 901 of file Comment.h.
Referenced by child_begin(), child_end(), getNumLines(), getText(), and setLines().