comma::FunctionType Class Reference

#include <Type.h>

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

List of all members.

Public Member Functions

TypegetReturnType () const
 Returns the result type of this function.
void Profile (llvm::FoldingSetNodeID &ID)
 Profile implementation for use by llvm::FoldingSet.

Static Public Member Functions

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

Friends

class AstResource
 Function types are constructed thru an AstResource.

Detailed Description

Definition at line 177 of file Type.h.


Member Function Documentation

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

Reimplemented from comma::SubroutineType.

Definition at line 190 of file Type.h.

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

Support isa and dyn_cast.

Reimplemented from comma::SubroutineType.

Definition at line 189 of file Type.h.

Type* comma::FunctionType::getReturnType (  )  const [inline]

Returns the result type of this function.

Definition at line 181 of file Type.h.

void comma::FunctionType::Profile ( llvm::FoldingSetNodeID &  ID  )  [inline]

Profile implementation for use by llvm::FoldingSet.

Definition at line 184 of file Type.h.


Friends And Related Function Documentation

friend class AstResource [friend]

Function types are constructed thru an AstResource.

Definition at line 198 of file Type.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1