class TextComment

Declaration

class TextComment : public InlineContentComment { /* full declaration omitted */ };

Description

Plain text.

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

Inherits from: InlineContentComment

Member Variables

private llvm::StringRef Text

Inherited from Comment:

protected Loc
protected Range
protected

Method Overview

  • public TextComment(clang::SourceLocation LocBegin, clang::SourceLocation LocEnd, llvm::StringRef Text)
  • 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 llvm::StringRef getText() const
  • public bool isWhitespace() const
  • private bool isWhitespaceNoCache() const

Inherited from InlineContentComment:

Inherited from Comment:

Methods

TextComment(clang::SourceLocation LocBegin,
            clang::SourceLocation LocEnd,
            llvm::StringRef Text)

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

Parameters

clang::SourceLocation LocBegin
clang::SourceLocation LocEnd
llvm::StringRef Text

clang::comments::Comment::child_iterator
child_begin() const

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

clang::comments::Comment::child_iterator
child_end() const

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

static bool classof(
    const clang::comments::Comment* C)

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

Parameters

const clang::comments::Comment* C

llvm::StringRef getText() const

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

bool isWhitespace() const

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

bool isWhitespaceNoCache() const

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