compiler/AST/ForallStmt.cpp
/////////////////////////////////////////////////////////////////////////////
//
// ForallStmt represents a forall loop statement
//
/////////////////////////////////////////////////////////////////////////////
ForallStmt represents a forall loop statement
ForallStmt represents a forall loop statement
ForallStmt::ForallStmt(bool zippered, BlockStmt* body):
  Stmt(E_ForallStmt),
  fZippered(zippered),
  fLoopBody(body),
  fFromForLoop(false),
  fContinueLabel(NULL),
  fErrorHandlerLabel(NULL),
  fRecIterIRdef(NULL),
  fRecIterICdef(NULL),
  fRecIterGetIterator(NULL),
  fRecIterFreeIterator(NULL)
{
  fIterVars.parent = this;
  fIterExprs.parent = this;
  fShadowVars.parent = this;
  gForallStmts.add(this);
}
ForallStmt :: ForallStmt ( bool zippered , BlockStmt * body ) : Stmt ( E_ForallStmt ) , fZippered ( zippered ) , fLoopBody ( body ) , fFromForLoop ( false ) , fContinueLabel ( NULL ) , fErrorHandlerLabel ( NULL ) , fRecIterIRdef ( NULL ) , fRecIterICdef ( NULL ) , fRecIterGetIterator ( NULL ) , fRecIterFreeIterator ( NULL ) { fIterVars . parent = this ; fIterExprs . parent = this ; fShadowVars . parent = this ; gForallStmts . add ( this ) ; }
ForallStmt represents a forall loop statement
ForallStmt represents a forall loop statement