class VerbatimLineComment

Declaration

class VerbatimLineComment : public BlockCommandComment { /* full declaration omitted */ };

Description

A verbatim line command. Verbatim line has an opening command, a single line of text (up to the newline after the opening command) and has no closing command.

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

Inherits from: BlockCommandComment

Member Variables

protected llvm::StringRef Text
protected clang::SourceLocation TextBegin

Inherited from BlockCommandComment:

protected Args
protected Paragraph

Inherited from Comment:

protected Loc
protected Range
protected

Method Overview

  • public VerbatimLineComment(clang::SourceLocation LocBegin, clang::SourceLocation LocEnd, unsigned int CommandID, clang::SourceLocation TextBegin, 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 clang::SourceRange getTextRange() const

Inherited from BlockCommandComment:

Inherited from BlockContentComment:

Inherited from Comment:

Methods

VerbatimLineComment(
    clang::SourceLocation LocBegin,
    clang::SourceLocation LocEnd,
    unsigned int CommandID,
    clang::SourceLocation TextBegin,
    llvm::StringRef Text)

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

Parameters

clang::SourceLocation LocBegin
clang::SourceLocation LocEnd
unsigned int CommandID
clang::SourceLocation TextBegin
llvm::StringRef Text

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

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

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

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

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

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

Parameters

const clang::comments::Comment* C

llvm::StringRef getText() const

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

clang::SourceRange getTextRange() const

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