rpt_stmt_while Class Reference

#include <while.h>

Inheritance diagram for rpt_stmt_while:

rpt_stmt

Public Member Functions

virtual ~rpt_stmt_while ()

Static Public Member Functions

static pointer create (const rpt_expr::pointer &ep, const rpt_stmt::pointer &body)

Protected Member Functions

void run (rpt_stmt_result_ty *) const

Private Member Functions

 rpt_stmt_while (const rpt_expr::pointer &ep, const rpt_stmt::pointer &body)
 rpt_stmt_while ()
 rpt_stmt_while (const rpt_stmt_while &)
rpt_stmt_whileoperator= (const rpt_stmt_while &)

Private Attributes

rpt_expr::pointer condition

Detailed Description

The rpt_stmt_while class is used to repesent "while" statement syntax tree nodes.

Definition at line 30 of file while.h.


Constructor & Destructor Documentation

virtual rpt_stmt_while::~rpt_stmt_while (  )  [virtual]

The destructor.

rpt_stmt_while::rpt_stmt_while ( const rpt_expr::pointer ep,
const rpt_stmt::pointer body 
) [private]

The constructor. It is private on purpose, use the "create" class method instead.

Parameters:
ep The loop constrol expression
body The loop body

rpt_stmt_while::rpt_stmt_while (  )  [private]

The default constructor. Do not use.

rpt_stmt_while::rpt_stmt_while ( const rpt_stmt_while  )  [private]

The copy constructor. Do not use.


Member Function Documentation

static pointer rpt_stmt_while::create ( const rpt_expr::pointer ep,
const rpt_stmt::pointer body 
) [static]

The create class method is used to create new dynamically allocated instances of this class.

Parameters:
ep The loop constrol expression
body The loop body

void rpt_stmt_while::run ( rpt_stmt_result_ty  )  const [protected, virtual]

The run method is used to execute the statament.

Implements rpt_stmt.

rpt_stmt_while& rpt_stmt_while::operator= ( const rpt_stmt_while  )  [private]

The assignment operator. Do not use.


Field Documentation

The condition instance variable is used to remember the loop control expression.

Definition at line 73 of file while.h.


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

Generated on Wed Mar 12 23:37:43 2008 for Aegis by  doxygen 1.5.5