comma::LoopStmt Class Reference

This class represents the simple "loop" statement. More...

#include <Stmt.h>

Inheritance diagram for comma::LoopStmt:
Inheritance graph
[legend]
Collaboration diagram for comma::LoopStmt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LoopStmt (Location loc, StmtSequence *body)



const StmtSequencegetBody () const
 Returns the body of this loop.
StmtSequencegetBody ()
 Returns the body of this loop.

Static Public Member Functions

static bool classof (const LoopStmt *node)
 Support isa and dyn_cast.
static bool classof (const Ast *node)

Detailed Description

This class represents the simple "loop" statement.

Definition at line 511 of file Stmt.h.


Constructor & Destructor Documentation

comma::LoopStmt::LoopStmt ( Location  loc,
StmtSequence body 
) [inline]

Definition at line 514 of file Stmt.h.


Member Function Documentation

static bool comma::LoopStmt::classof ( const Ast node  )  [inline, static]

Reimplemented from comma::Stmt.

Definition at line 526 of file Stmt.h.

static bool comma::LoopStmt::classof ( const LoopStmt node  )  [inline, static]

Support isa and dyn_cast.

Reimplemented from comma::Stmt.

Definition at line 525 of file Stmt.h.

StmtSequence* comma::LoopStmt::getBody (  )  [inline]

Returns the body of this loop.

Definition at line 521 of file Stmt.h.

const StmtSequence* comma::LoopStmt::getBody (  )  const [inline]

Returns the body of this loop.

Definition at line 520 of file Stmt.h.


The documentation for this class was generated from the following file:

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1