class HTMLTagComment
Declaration
class HTMLTagComment : public InlineContentComment { /* full declaration omitted */ };
Description
Abstract class for opening and closing HTML tags. HTML tags are always treated as inline content (regardless HTML semantics).
Declared at: clang/include/clang/AST/Comment.h:369
Inherits from: InlineContentComment
Member Variables
- protected llvm::StringRef TagName
- protected clang::SourceRange TagNameRange
Inherited from Comment:
Method Overview
- protected HTMLTagComment(clang::comments::Comment::CommentKind K, clang::SourceLocation LocBegin, clang::SourceLocation LocEnd, llvm::StringRef TagName, clang::SourceLocation TagNameBegin, clang::SourceLocation TagNameEnd)
- public static bool classof(const clang::comments::Comment * C)
- public llvm::StringRef getTagName() const
- public clang::SourceRange getTagNameSourceRange() const
- public bool isMalformed() const
- public void setIsMalformed()
Inherited from InlineContentComment:
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
¶HTMLTagComment(
clang::comments::Comment::CommentKind K,
clang::SourceLocation LocBegin,
clang::SourceLocation LocEnd,
llvm::StringRef TagName,
clang::SourceLocation TagNameBegin,
clang::SourceLocation TagNameEnd)
HTMLTagComment(
clang::comments::Comment::CommentKind K,
clang::SourceLocation LocBegin,
clang::SourceLocation LocEnd,
llvm::StringRef TagName,
clang::SourceLocation TagNameBegin,
clang::SourceLocation TagNameEnd)
Declared at: clang/include/clang/AST/Comment.h:374
Parameters
- clang::comments::Comment::CommentKind K
- clang::SourceLocation LocBegin
- clang::SourceLocation LocEnd
- llvm::StringRef TagName
- clang::SourceLocation TagNameBegin
- clang::SourceLocation TagNameEnd
¶static bool classof(
const clang::comments::Comment* C)
static bool classof(
const clang::comments::Comment* C)
Declared at: clang/include/clang/AST/Comment.h:388
Parameters
- const clang::comments::Comment* C
¶llvm::StringRef getTagName() const
llvm::StringRef getTagName() const
Declared at: clang/include/clang/AST/Comment.h:393
¶clang::SourceRange getTagNameSourceRange() const
clang::SourceRange getTagNameSourceRange() const
Declared at: clang/include/clang/AST/Comment.h:395
¶bool isMalformed() const
bool isMalformed() const
Declared at: clang/include/clang/AST/Comment.h:401
¶void setIsMalformed()
void setIsMalformed()
Declared at: clang/include/clang/AST/Comment.h:405