clang API Documentation
An opening HTML tag with attributes. More...
#include <Comment.h>
Classes | |
class | Attribute |
Public Member Functions | |
HTMLStartTagComment (SourceLocation LocBegin, StringRef TagName) | |
child_iterator | child_begin () const |
child_iterator | child_end () const |
unsigned | getNumAttrs () const |
const Attribute & | getAttr (unsigned Idx) const |
void | setAttrs (ArrayRef< Attribute > Attrs) |
void | setGreaterLoc (SourceLocation GreaterLoc) |
bool | isSelfClosing () const |
void | setSelfClosing () |
Static Public Member Functions | |
static bool | classof (const Comment *C) |
clang::comments::HTMLStartTagComment::HTMLStartTagComment | ( | SourceLocation | LocBegin, |
StringRef | TagName | ||
) | [inline] |
Definition at line 460 of file Comment.h.
References clang::comments::Comment::HTMLStartTagCommentBits.
child_iterator clang::comments::HTMLStartTagComment::child_begin | ( | ) | const [inline] |
Reimplemented from clang::comments::Comment.
child_iterator clang::comments::HTMLStartTagComment::child_end | ( | ) | const [inline] |
Reimplemented from clang::comments::Comment.
static bool clang::comments::HTMLStartTagComment::classof | ( | const Comment * | C | ) | [inline, static] |
Reimplemented from clang::comments::HTMLTagComment.
Definition at line 470 of file Comment.h.
References clang::comments::Comment::getCommentKind().
const Attribute& clang::comments::HTMLStartTagComment::getAttr | ( | unsigned | Idx | ) | const [inline] |
unsigned clang::comments::HTMLStartTagComment::getNumAttrs | ( | ) | const [inline] |
bool clang::comments::HTMLStartTagComment::isSelfClosing | ( | ) | const [inline] |
Definition at line 503 of file Comment.h.
References clang::comments::Comment::HTMLStartTagCommentBits.
void clang::comments::HTMLStartTagComment::setAttrs | ( | ArrayRef< Attribute > | Attrs | ) | [inline] |
Definition at line 486 of file Comment.h.
References clang::SourceRange::getEnd(), clang::comments::HTMLStartTagComment::Attribute::getNameLocEnd(), clang::SourceLocation::isValid(), clang::comments::Comment::Range, clang::SourceRange::setEnd(), and clang::comments::HTMLStartTagComment::Attribute::ValueRange.
Referenced by clang::comments::Sema::actOnHTMLStartTagFinish().
void clang::comments::HTMLStartTagComment::setGreaterLoc | ( | SourceLocation | GreaterLoc | ) | [inline] |
Definition at line 499 of file Comment.h.
References clang::comments::Comment::Range, and clang::SourceRange::setEnd().
Referenced by clang::comments::Sema::actOnHTMLStartTagFinish().
void clang::comments::HTMLStartTagComment::setSelfClosing | ( | ) | [inline] |
Definition at line 507 of file Comment.h.
References clang::comments::Comment::HTMLStartTagCommentBits.
Referenced by clang::comments::Sema::actOnHTMLStartTagFinish().