class ParamCommandComment

Declaration

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

Description

Doxygen \ param command.

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

Inherits from: BlockCommandComment

Member Variables

private unsigned int ParamIndex
Parameter index in the function declaration.

Inherited from BlockCommandComment:

protected Args
protected Paragraph

Inherited from Comment:

protected Loc
protected Range
protected

Method Overview

Inherited from BlockCommandComment:

Inherited from BlockContentComment:

Inherited from Comment:

Methods

ParamCommandComment(
    clang::SourceLocation LocBegin,
    clang::SourceLocation LocEnd,
    unsigned int CommandID,
    clang::comments::CommandMarkerKind
        CommandMarker)

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

Parameters

clang::SourceLocation LocBegin
clang::SourceLocation LocEnd
unsigned int CommandID
clang::comments::CommandMarkerKind CommandMarker

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

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

Parameters

const clang::comments::Comment* C

clang::comments::ParamCommandComment::
    PassDirection
    getDirection() const

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

static const char* getDirectionAsString(
    clang::comments::ParamCommandComment::
        PassDirection D)

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

Parameters

clang::comments::ParamCommandComment:: PassDirection D

unsigned int getParamIndex() const

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

llvm::StringRef getParamName(
    const clang::comments::FullComment* FC) const

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

Parameters

const clang::comments::FullComment* FC

llvm::StringRef getParamNameAsWritten() const

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

clang::SourceRange getParamNameRange() const

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

bool hasParamName() const

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

bool isDirectionExplicit() const

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

bool isParamIndexValid() const

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

bool isVarArgParam() const

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

void setDirection(
    clang::comments::ParamCommandComment::
        PassDirection Direction,
    bool Explicit)

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

Parameters

clang::comments::ParamCommandComment:: PassDirection Direction
bool Explicit

void setIsVarArgParam()

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

void setParamIndex(unsigned int Index)

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

Parameters

unsigned int Index