clang API Documentation

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

#include <Comment.h>

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

List of all members.

Public Member Functions

 VerbatimLineComment (SourceLocation LocBegin, SourceLocation LocEnd, unsigned CommandID, SourceLocation TextBegin, StringRef Text)
child_iterator child_begin () const
child_iterator child_end () const
StringRef getText () const
SourceRange getTextRange () const

Static Public Member Functions

static bool classof (const Comment *C)

Protected Attributes

StringRef Text
SourceLocation TextBegin

Detailed 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.

Definition at line 949 of file Comment.h.


Constructor & Destructor Documentation

clang::comments::VerbatimLineComment::VerbatimLineComment ( SourceLocation  LocBegin,
SourceLocation  LocEnd,
unsigned  CommandID,
SourceLocation  TextBegin,
StringRef  Text 
) [inline]

Definition at line 955 of file Comment.h.


Member Function Documentation

Reimplemented from clang::comments::BlockCommandComment.

Definition at line 972 of file Comment.h.

Reimplemented from clang::comments::BlockCommandComment.

Definition at line 974 of file Comment.h.

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

Reimplemented from clang::comments::BlockCommandComment.

Definition at line 968 of file Comment.h.

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

StringRef clang::comments::VerbatimLineComment::getText ( ) const [inline]

Definition at line 976 of file Comment.h.

References Text.

Definition at line 980 of file Comment.h.

References clang::comments::Comment::getLocEnd(), and TextBegin.


Member Data Documentation

Definition at line 951 of file Comment.h.

Referenced by getText().

Definition at line 952 of file Comment.h.

Referenced by getTextRange().


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