clang API Documentation

Public Member Functions | Static Public Member Functions | Protected Attributes
clang::comments::VerbatimBlockComment Class Reference

#include <Comment.h>

Inheritance diagram for clang::comments::VerbatimBlockComment:
Inheritance graph
[legend]
Collaboration diagram for clang::comments::VerbatimBlockComment:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 VerbatimBlockComment (SourceLocation LocBegin, SourceLocation LocEnd, unsigned CommandID)
child_iterator child_begin () const
child_iterator child_end () const
void setCloseName (StringRef Name, SourceLocation LocBegin)
void setLines (ArrayRef< VerbatimBlockLineComment * > L)
StringRef getCloseName () const
unsigned getNumLines () const
StringRef getText (unsigned LineIdx) const

Static Public Member Functions

static bool classof (const Comment *C)

Protected Attributes

StringRef CloseName
SourceLocation CloseNameLocBegin
ArrayRef
< VerbatimBlockLineComment * > 
Lines

Detailed Description

A verbatim block command (e. g., preformatted code). Verbatim block has an opening and a closing command and contains multiple lines of text (VerbatimBlockLineComment nodes).

Definition at line 897 of file Comment.h.


Constructor & Destructor Documentation

Definition at line 904 of file Comment.h.


Member Function Documentation

Reimplemented from clang::comments::BlockCommandComment.

Definition at line 916 of file Comment.h.

References Lines.

Reimplemented from clang::comments::BlockCommandComment.

Definition at line 920 of file Comment.h.

References Lines.

static bool clang::comments::VerbatimBlockComment::classof ( const Comment C) [inline, static]

Reimplemented from clang::comments::BlockCommandComment.

Definition at line 912 of file Comment.h.

References clang::comments::Comment::getCommentKind().

Definition at line 933 of file Comment.h.

References CloseName.

Definition at line 937 of file Comment.h.

References Lines.

StringRef clang::comments::VerbatimBlockComment::getText ( unsigned  LineIdx) const [inline]

Definition at line 941 of file Comment.h.

References Lines.

void clang::comments::VerbatimBlockComment::setCloseName ( StringRef  Name,
SourceLocation  LocBegin 
) [inline]

Definition at line 924 of file Comment.h.

References CloseName, and CloseNameLocBegin.

Referenced by clang::comments::Sema::actOnVerbatimBlockFinish().

Definition at line 929 of file Comment.h.

References Lines.

Referenced by clang::comments::Sema::actOnVerbatimBlockFinish().


Member Data Documentation

Definition at line 899 of file Comment.h.

Referenced by getCloseName(), and setCloseName().

Definition at line 900 of file Comment.h.

Referenced by setCloseName().

Definition at line 901 of file Comment.h.

Referenced by child_begin(), child_end(), getNumLines(), getText(), and setLines().


The documentation for this class was generated from the following file: