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::ProcedureDecl Class Reference

comma::ProcedureDecl Class Reference

#include <Decl.h>

Inheritance diagram for comma::ProcedureDecl:
Inheritance graph
[legend]
Collaboration diagram for comma::ProcedureDecl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ProcedureDecl (AstResource &resource, IdentifierInfo *name, Location loc, ParamValueDecl **params, unsigned numParams, DeclRegion *parent)
 ProcedureDecl (IdentifierInfo *name, Location loc, IdentifierInfo **keywords, ProcedureType *type, DeclRegion *parent)
 ProcedureDecl (IdentifierInfo *name, Location loc, ProcedureType *type, DeclRegion *parent)
ProcedureDeclgetDefiningDeclaration ()
const ProcedureDeclgetDefiningDeclaration () const
ProcedureDeclgetForwardDeclaration ()
const ProcedureDeclgetForwardDeclaration () const



const ProcedureTypegetType () const
 Returns the type of this procedure declaration.
ProcedureTypegetType ()
 Returns the type of this procedure declaration.

Static Public Member Functions

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

Detailed Description

Definition at line 1070 of file Decl.h.


Constructor & Destructor Documentation

ProcedureDecl::ProcedureDecl ( AstResource resource,
IdentifierInfo name,
Location  loc,
ParamValueDecl **  params,
unsigned  numParams,
DeclRegion parent 
)

Definition at line 554 of file Decl.cpp.

comma::ProcedureDecl::ProcedureDecl ( IdentifierInfo name,
Location  loc,
IdentifierInfo **  keywords,
ProcedureType type,
DeclRegion parent 
) [inline]

Constructs a Procedure given a ProcedureType and set of keywords.

This constructor is most useful for generating implicit declarations, typically using a rewritten type. ParamValue decls are generated using the supplied array of keywords (which must be long enough to match the arity of the supplied type, or 0 if this is a nullary procedure). The resulting parameter decls all have default modes, and so one must set each by hand if need be afterwords.

Definition at line 1086 of file Decl.h.

comma::ProcedureDecl::ProcedureDecl ( IdentifierInfo name,
Location  loc,
ProcedureType type,
DeclRegion parent 
)

Member Function Documentation

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

Reimplemented from comma::SubroutineDecl.

Definition at line 1125 of file Decl.h.

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

Support isa and dyn_cast.

Reimplemented from comma::SubroutineDecl.

Definition at line 1124 of file Decl.h.

const ProcedureDecl* comma::ProcedureDecl::getDefiningDeclaration (  )  const [inline]

Reimplemented from comma::SubroutineDecl.

Definition at line 1106 of file Decl.h.

ProcedureDecl* comma::ProcedureDecl::getDefiningDeclaration (  )  [inline]

Reimplemented from comma::SubroutineDecl.

Definition at line 1101 of file Decl.h.

const ProcedureDecl* comma::ProcedureDecl::getForwardDeclaration (  )  const [inline]

Reimplemented from comma::SubroutineDecl.

Definition at line 1117 of file Decl.h.

ProcedureDecl* comma::ProcedureDecl::getForwardDeclaration (  )  [inline]

Reimplemented from comma::SubroutineDecl.

Definition at line 1112 of file Decl.h.

ProcedureType* comma::ProcedureDecl::getType (  )  [inline, virtual]

Returns the type of this procedure declaration.

Implements comma::SubroutineDecl.

Definition at line 1098 of file Decl.h.

const ProcedureType* comma::ProcedureDecl::getType (  )  const [inline, virtual]

Returns the type of this procedure declaration.

Implements comma::SubroutineDecl.

Definition at line 1097 of file Decl.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1