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:

protected Loc
protected Range
protected

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:

Methods

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)

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

Parameters

const clang::comments::Comment* C

llvm::StringRef getTagName() const

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

clang::SourceRange getTagNameSourceRange() const

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

bool isMalformed() const

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

void setIsMalformed()

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