Aegis  4.25.D505
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
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:
epThe loop constrol expression
bodyThe loop body

The default constructor. Do not use.

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:
epThe loop constrol expression
bodyThe loop body
rpt_stmt_while& rpt_stmt_while::operator= ( const rpt_stmt_while ) [private]

The assignment operator. Do not use.

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

The run method is used to execute the statament.

Implements rpt_stmt.


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: