class HTMLStartTagComment
Declaration
class HTMLStartTagComment : public HTMLTagComment { /* full declaration omitted */ };
Description
An opening HTML tag with attributes.
Declared at: clang/include/clang/AST/Comment.h:411
Inherits from: HTMLTagComment
Member Variables
- private ArrayRef<clang::comments::HTMLStartTagComment:: Attribute> Attributes
Inherited from HTMLTagComment:
Inherited from Comment:
Method Overview
- public HTMLStartTagComment(clang::SourceLocation LocBegin, llvm::StringRef TagName)
- public clang::comments::Comment::child_iterator child_begin() const
- public clang::comments::Comment::child_iterator child_end() const
- public static bool classof(const clang::comments::Comment * C)
- public const clang::comments::HTMLStartTagComment::Attribute & getAttr(unsigned int Idx) const
- public unsigned int getNumAttrs() const
- public bool isSelfClosing() const
- public void setAttrs(ArrayRef<clang::comments::HTMLStartTagComment::Attribute> Attrs)
- public void setGreaterLoc(clang::SourceLocation GreaterLoc)
- public void setSelfClosing()
Inherited from HTMLTagComment:
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
¶HTMLStartTagComment(
clang::SourceLocation LocBegin,
llvm::StringRef TagName)
HTMLStartTagComment(
clang::SourceLocation LocBegin,
llvm::StringRef TagName)
Declared at: clang/include/clang/AST/Comment.h:446
Parameters
- clang::SourceLocation LocBegin
- llvm::StringRef TagName
¶clang::comments::Comment::child_iterator
child_begin() const
clang::comments::Comment::child_iterator
child_begin() const
Declared at: clang/include/clang/AST/Comment.h:460
¶clang::comments::Comment::child_iterator
child_end() const
clang::comments::Comment::child_iterator
child_end() const
Declared at: clang/include/clang/AST/Comment.h:462
¶static bool classof(
const clang::comments::Comment* C)
static bool classof(
const clang::comments::Comment* C)
Declared at: clang/include/clang/AST/Comment.h:456
Parameters
- const clang::comments::Comment* C
¶const clang::comments::HTMLStartTagComment::
Attribute&
getAttr(unsigned int Idx) const
const clang::comments::HTMLStartTagComment::
Attribute&
getAttr(unsigned int Idx) const
Declared at: clang/include/clang/AST/Comment.h:468
Parameters
- unsigned int Idx
¶unsigned int getNumAttrs() const
unsigned int getNumAttrs() const
Declared at: clang/include/clang/AST/Comment.h:464
¶bool isSelfClosing() const
bool isSelfClosing() const
Declared at: clang/include/clang/AST/Comment.h:489
¶void setAttrs(
ArrayRef<clang::comments::
HTMLStartTagComment::Attribute>
Attrs)
void setAttrs(
ArrayRef<clang::comments::
HTMLStartTagComment::Attribute>
Attrs)
Declared at: clang/include/clang/AST/Comment.h:472
Parameters
- ArrayRef<clang::comments::HTMLStartTagComment:: Attribute> Attrs
¶void setGreaterLoc(
clang::SourceLocation GreaterLoc)
void setGreaterLoc(
clang::SourceLocation GreaterLoc)
Declared at: clang/include/clang/AST/Comment.h:485
Parameters
- clang::SourceLocation GreaterLoc
¶void setSelfClosing()
void setSelfClosing()
Declared at: clang/include/clang/AST/Comment.h:493