il::for_loop Class Reference

A for loop construct. More...

#include <for_loop.h>

Inheritance diagram for il::for_loop:
il::control_statement il::statement il::node

List of all members.

Public Member Functions

 for_loop (expression *init, expression *continue_cond, expression *update, statement *body, location loc)
expressionget_continuation_cond ()
expressionget_update_expression ()
statementget_body ()
void print ()
virtual string to_string () const

Friends

class boost::serialization::access

Detailed Description

A for loop construct.


Member Function Documentation

statement * il::for_loop::get_body (  ) 
Returns:
the actual body of the loop
expression * il::for_loop::get_continuation_cond (  ) 
Returns:
the expression representing the continuation condition of the loop
expression * il::for_loop::get_update_expression (  ) 
Returns:
update expression such as i++

The documentation for this class was generated from the following files:
Generated on Sun Oct 17 14:01:24 2010 by  doxygen 1.6.3