#include <Decl.h>


Public Member Functions | |
| ObjectDecl (IdentifierInfo *name, Type *type, Location loc, Expr *init=0) | |
| bool | hasInitializer () const |
| Expr * | getInitializer () const |
| void | setInitializer (Expr *init) |
Static Public Member Functions | |
| static bool | classof (const ObjectDecl *node) |
| Support isa and dyn_cast. | |
| static bool | classof (const Ast *node) |
Definition at line 759 of file Decl.h.
| comma::ObjectDecl::ObjectDecl | ( | IdentifierInfo * | name, | |
| Type * | type, | |||
| Location | loc, | |||
| Expr * | init = 0 | |||
| ) | [inline] |
| static bool comma::ObjectDecl::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::ValueDecl.
| static bool comma::ObjectDecl::classof | ( | const ObjectDecl * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::ValueDecl.
| void comma::ObjectDecl::setInitializer | ( | Expr * | init | ) | [inline] |
1.6.1