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

comma::SubroutineType Class Reference

#include <Type.h>

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

List of all members.

Public Types

typedef Type ** arg_type_iterator
 Iterators over the argument types.

Public Member Functions

virtual ~SubroutineType ()
unsigned getArity () const
 Returns the number of arguments accepted by this type.
TypegetArgType (unsigned i) const
 Returns the type of the i'th parameter.
arg_type_iterator begin () const
arg_type_iterator end () const

Static Public Member Functions

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

Protected Member Functions

 SubroutineType (AstKind kind, Type **argTypes, unsigned numArgs)

Protected Attributes

Type ** argumentTypes
unsigned numArguments

Detailed Description

Definition at line 145 of file Type.h.


Member Typedef Documentation

Iterators over the argument types.

Definition at line 157 of file Type.h.


Constructor & Destructor Documentation

virtual comma::SubroutineType::~SubroutineType (  )  [inline, virtual]

Definition at line 148 of file Type.h.

SubroutineType::SubroutineType ( AstKind  kind,
Type **  argTypes,
unsigned  numArgs 
) [protected]

Definition at line 233 of file Type.cpp.


Member Function Documentation

arg_type_iterator comma::SubroutineType::begin (  )  const [inline]

Definition at line 158 of file Type.h.

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

Reimplemented from comma::Type.

Reimplemented in comma::FunctionType, and comma::ProcedureType.

Definition at line 164 of file Type.h.

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

Support isa and dyn_cast.

Reimplemented from comma::Type.

Reimplemented in comma::FunctionType, and comma::ProcedureType.

Definition at line 163 of file Type.h.

arg_type_iterator comma::SubroutineType::end (  )  const [inline]

Definition at line 159 of file Type.h.

Type* comma::SubroutineType::getArgType ( unsigned  i  )  const [inline]

Returns the type of the i'th parameter.

Definition at line 154 of file Type.h.

unsigned comma::SubroutineType::getArity (  )  const [inline]

Returns the number of arguments accepted by this type.

Definition at line 151 of file Type.h.


Member Data Documentation

Definition at line 171 of file Type.h.

Definition at line 172 of file Type.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1