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:

protected TagName
protected TagNameRange

Inherited from Comment:

protected Loc
protected Range
protected

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:

Methods

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

Declared at: clang/include/clang/AST/Comment.h:460

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)

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

Declared at: clang/include/clang/AST/Comment.h:468

Parameters

unsigned int Idx

unsigned int getNumAttrs() const

Declared at: clang/include/clang/AST/Comment.h:464

bool isSelfClosing() const

Declared at: clang/include/clang/AST/Comment.h:489

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)

Declared at: clang/include/clang/AST/Comment.h:485

Parameters

clang::SourceLocation GreaterLoc

void setSelfClosing()

Declared at: clang/include/clang/AST/Comment.h:493