comma::SubroutineType Class Reference
#include <Type.h>
List of all members.
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] |
SubroutineType::SubroutineType |
( |
AstKind |
kind, |
|
|
Type ** |
argTypes, |
|
|
unsigned |
numArgs | |
|
) |
| | [protected] |
Member Function Documentation
static bool comma::SubroutineType::classof |
( |
const Ast * |
node |
) |
[inline, static] |
static bool comma::SubroutineType::classof |
( |
const SubroutineType * |
node |
) |
[inline, static] |
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
The documentation for this class was generated from the following files: