#include <Decl.h>
Public Member Functions | |
const Type * | getType () const |
Returns the type of this value declaration. | |
Type * | getType () |
Returns the type of this value declaration. | |
Static Public Member Functions | |
static bool | classof (const ValueDecl *node) |
Support isa and dyn_cast. | |
static bool | classof (const Ast *node) |
Protected Member Functions | |
ValueDecl (AstKind kind, IdentifierInfo *name, Type *type, Location loc) | |
Protected Attributes | |
Type * | correspondingType |
Definition at line 682 of file Decl.h.
comma::ValueDecl::ValueDecl | ( | AstKind | kind, | |
IdentifierInfo * | name, | |||
Type * | type, | |||
Location | loc | |||
) | [inline, protected] |
static bool comma::ValueDecl::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::Decl.
Reimplemented in comma::ParamValueDecl, comma::ObjectDecl, comma::RenamedObjectDecl, and comma::LoopDecl.
static bool comma::ValueDecl::classof | ( | const ValueDecl * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::Decl.
Reimplemented in comma::ParamValueDecl, comma::ObjectDecl, comma::RenamedObjectDecl, and comma::LoopDecl.
Type* comma::ValueDecl::getType | ( | ) | [inline] |
Returns the type of this value declaration.
Reimplemented in comma::LoopDecl.
const Type* comma::ValueDecl::getType | ( | ) | const [inline] |
Returns the type of this value declaration.
Reimplemented in comma::LoopDecl.
Type* comma::ValueDecl::correspondingType [protected] |