clang API Documentation
#include <Comment.h>


Public Member Functions | |
| StringRef | getTagName () const LLVM_READONLY |
| SourceRange | getTagNameSourceRange () const LLVM_READONLY |
| bool | isMalformed () const |
| void | setIsMalformed () |
Static Public Member Functions | |
| static bool | classof (const Comment *C) |
Protected Member Functions | |
| HTMLTagComment (CommentKind K, SourceLocation LocBegin, SourceLocation LocEnd, StringRef TagName, SourceLocation TagNameBegin, SourceLocation TagNameEnd) | |
Protected Attributes | |
| StringRef | TagName |
| SourceRange | TagNameRange |
Abstract class for opening and closing HTML tags. HTML tags are always treated as inline content (regardless HTML semantics).
| clang::comments::HTMLTagComment::HTMLTagComment | ( | CommentKind | K, |
| SourceLocation | LocBegin, | ||
| SourceLocation | LocEnd, | ||
| StringRef | TagName, | ||
| SourceLocation | TagNameBegin, | ||
| SourceLocation | TagNameEnd | ||
| ) | [inline, protected] |
Definition at line 382 of file Comment.h.
References clang::comments::Comment::HTMLTagCommentBits, and clang::comments::Comment::setLocation().
| static bool clang::comments::HTMLTagComment::classof | ( | const Comment * | C | ) | [inline, static] |
Reimplemented from clang::comments::InlineContentComment.
Reimplemented in clang::comments::HTMLEndTagComment, and clang::comments::HTMLStartTagComment.
Definition at line 396 of file Comment.h.
References clang::comments::Comment::getCommentKind().
| StringRef clang::comments::HTMLTagComment::getTagName | ( | ) | const [inline] |
Definition at line 401 of file Comment.h.
References TagName.
Referenced by clang::comments::Sema::actOnFullComment(), clang::comments::Sema::actOnHTMLEndTag(), and clang::comments::Sema::actOnHTMLStartTagFinish().
| SourceRange clang::comments::HTMLTagComment::getTagNameSourceRange | ( | ) | const [inline] |
Definition at line 403 of file Comment.h.
References clang::comments::Comment::getLocation(), clang::SourceLocation::getLocWithOffset(), and TagName.
| bool clang::comments::HTMLTagComment::isMalformed | ( | ) | const [inline] |
Definition at line 409 of file Comment.h.
References clang::comments::Comment::HTMLTagCommentBits.
Referenced by clang::comments::Sema::actOnHTMLEndTag().
| void clang::comments::HTMLTagComment::setIsMalformed | ( | ) | [inline] |
Definition at line 413 of file Comment.h.
References clang::comments::Comment::HTMLTagCommentBits.
Referenced by clang::comments::Sema::actOnFullComment(), and clang::comments::Sema::actOnHTMLEndTag().
StringRef clang::comments::HTMLTagComment::TagName [protected] |
Definition at line 379 of file Comment.h.
Referenced by getTagName(), and getTagNameSourceRange().