Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

Comma: comma::ParamValueDecl Class Reference

comma::ParamValueDecl Class Reference

#include <Decl.h>

Inheritance diagram for comma::ParamValueDecl:
Inheritance graph
Collaboration diagram for comma::ParamValueDecl:
Collaboration graph

List of all members.

Public Member Functions

 ParamValueDecl (IdentifierInfo *name, Type *type, PM::ParameterMode mode, Location loc)
bool parameterModeSpecified () const
PM::ParameterMode getParameterMode () const
PM::ParameterMode getExplicitParameterMode () const
 Returns the parameter mdoe associated with this decl.
void setParameterMode (PM::ParameterMode mode)
 Sets the parameter mode of this decl.

Static Public Member Functions

static bool classof (const ParamValueDecl *node)
 Support isa and dyn_cast.
static bool classof (const Ast *node)

Detailed Description

Definition at line 713 of file Decl.h.

Constructor & Destructor Documentation

comma::ParamValueDecl::ParamValueDecl ( IdentifierInfo name,
Type type,
PM::ParameterMode  mode,
Location  loc 
) [inline]

Definition at line 716 of file Decl.h.

Member Function Documentation

static bool comma::ParamValueDecl::classof ( const Ast node  )  [inline, static]

Reimplemented from comma::ValueDecl.

Definition at line 749 of file Decl.h.

static bool comma::ParamValueDecl::classof ( const ParamValueDecl node  )  [inline, static]

Support isa and dyn_cast.

Reimplemented from comma::ValueDecl.

Definition at line 748 of file Decl.h.

PM::ParameterMode ParamValueDecl::getExplicitParameterMode (  )  const

Returns the parameter mdoe associated with this decl.

Definition at line 849 of file Decl.cpp.

PM::ParameterMode ParamValueDecl::getParameterMode (  )  const

Returns the parameter mode associated with this decl. This function never returns MODE_DEFAULT, only MODE_IN. To check if the mode was implicitly defined as "in" use parameterModeSpecified, or call getExplicitParameterMode.

Definition at line 864 of file Decl.cpp.

bool ParamValueDecl::parameterModeSpecified (  )  const

Returns true if the parameter mode was explicitly specified for this parameter. This predicate is used to distinguish between the default parameter mode of "in" and the case where "in" was explicitly given.

Definition at line 859 of file Decl.cpp.

void ParamValueDecl::setParameterMode ( PM::ParameterMode  mode  ) 

Sets the parameter mode of this decl.

Definition at line 854 of file Decl.cpp.

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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1