clang API Documentation

Public Member Functions | Static Public Member Functions
clang::comments::TParamCommandComment Class Reference

Doxygen \tparam command, describes a template parameter. More...

#include <Comment.h>

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

List of all members.

Public Member Functions

 TParamCommandComment (SourceLocation LocBegin, SourceLocation LocEnd, unsigned CommandID, CommandMarkerKind CommandMarker)
bool hasParamName () const
StringRef getParamName (const FullComment *FC) const
StringRef getParamNameAsWritten () const
SourceRange getParamNameRange () const
bool isPositionValid () const LLVM_READONLY
unsigned getDepth () const
unsigned getIndex (unsigned Depth) const
void setPosition (ArrayRef< unsigned > NewPosition)

Static Public Member Functions

static bool classof (const Comment *C)

Detailed Description

Doxygen \tparam command, describes a template parameter.

Definition at line 805 of file Comment.h.


Constructor & Destructor Documentation

Definition at line 822 of file Comment.h.


Member Function Documentation

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

Reimplemented from clang::comments::BlockCommandComment.

Definition at line 830 of file Comment.h.

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

Definition at line 852 of file Comment.h.

References isPositionValid().

Referenced by getParamName().

Definition at line 857 of file Comment.h.

References Depth, and isPositionValid().

Referenced by getParamName().

Definition at line 840 of file Comment.h.

References clang::comments::BlockCommandComment::Args.

Definition at line 834 of file Comment.h.

References clang::comments::BlockCommandComment::getNumArgs().

Definition at line 848 of file Comment.h.

Referenced by getDepth(), getIndex(), getParamName(), and setPosition().

void clang::comments::TParamCommandComment::setPosition ( ArrayRef< unsigned NewPosition) [inline]

Definition at line 862 of file Comment.h.

References isPositionValid().

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


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