These specialized nodes represent the iteration variable in a for loop. More...
#include <Decl.h>
Public Member Functions | |
LoopDecl (IdentifierInfo *name, DiscreteType *type, Location loc) | |
const DiscreteType * | getType () const |
Specialize ValueDecl::getType(). | |
DiscreteType * | getType () |
Specialize ValueDecl::getType(). | |
Static Public Member Functions | |
static bool | classof (const LoopDecl *node) |
Support isa and dyn_cast. | |
static bool | classof (const Ast *node) |
These specialized nodes represent the iteration variable in a for loop.
Definition at line 828 of file Decl.h.
comma::LoopDecl::LoopDecl | ( | IdentifierInfo * | name, | |
DiscreteType * | type, | |||
Location | loc | |||
) | [inline] |
static bool comma::LoopDecl::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::ValueDecl.
static bool comma::LoopDecl::classof | ( | const LoopDecl * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::ValueDecl.
DiscreteType* comma::LoopDecl::getType | ( | ) | [inline] |
Specialize ValueDecl::getType().
Reimplemented from comma::ValueDecl.
const DiscreteType* comma::LoopDecl::getType | ( | ) | const [inline] |
Specialize ValueDecl::getType().
Reimplemented from comma::ValueDecl.