comma::ForStmt Class Reference
This node represents the "for" loop iteration scheme.
More...
#include <Stmt.h>
List of all members.
Detailed Description
This node represents the "for" loop iteration scheme.
Definition at line 452 of file Stmt.h.
Constructor & Destructor Documentation
Constructs a for-loop statement over the given declaration and discrete subtype definition node.
Definition at line 102 of file Stmt.cpp.
Member Function Documentation
static bool comma::ForStmt::classof |
( |
const Ast * |
node |
) |
[inline, static] |
static bool comma::ForStmt::classof |
( |
const ForStmt * |
node |
) |
[inline, static] |
Returns the LoopDecl corresponding to the iteration value of this loop.
Definition at line 492 of file Stmt.h.
const StmtSequence* comma::ForStmt::getBody |
( |
|
) |
const [inline] |
Returns the LoopDecl corresponding to the iteration value of this loop.
Definition at line 468 of file Stmt.h.
const DSTDefinition* comma::ForStmt::getControl |
( |
|
) |
const [inline] |
Returns the discrete subtype definition controlling this loop.
Definition at line 467 of file Stmt.h.
Returns the LoopDecl corresponding to the iteration value of this loop.
Definition at line 477 of file Stmt.h.
const DiscreteType* comma::ForStmt::getControlType |
( |
|
) |
const [inline] |
Returns the controlling subtype of this loop. All loop controls have an associated type (the type of the associated LoopDecl).
Definition at line 474 of file Stmt.h.
LoopDecl* comma::ForStmt::getLoopDecl |
( |
|
) |
[inline] |
Returns the LoopDecl corresponding to the iteration value of this loop.
Definition at line 462 of file Stmt.h.
const LoopDecl* comma::ForStmt::getLoopDecl |
( |
|
) |
const [inline] |
Returns the LoopDecl corresponding to the iteration value of this loop.
Definition at line 461 of file Stmt.h.
bool comma::ForStmt::isReversed |
( |
|
) |
const [inline] |
Returns true if the controlling scheme is reversed.
Definition at line 481 of file Stmt.h.
void comma::ForStmt::markAsReversed |
( |
|
) |
[inline] |
Marks that this loop is reversed.
Definition at line 484 of file Stmt.h.
The documentation for this class was generated from the following files: