rpt_stmt_expr Class Reference

#include <expr.h>

Inheritance diagram for rpt_stmt_expr:

rpt_stmt

Public Member Functions

virtual ~rpt_stmt_expr ()

Static Public Member Functions

static pointer create (const rpt_expr::pointer &ep)

Protected Member Functions

void run (rpt_stmt_result_ty *) const

Private Member Functions

 rpt_stmt_expr (const rpt_expr::pointer &ep)
 rpt_stmt_expr ()
 rpt_stmt_expr (const rpt_stmt_expr &)
rpt_stmt_exproperator= (const rpt_stmt_expr &)

Private Attributes

rpt_expr::pointer ep

Detailed Description

The rpt_stmt_expr is used to represent a statement which consists of a single expression (not much use if it doesn't have a side-effect, tho).

Definition at line 31 of file expr.h.


Constructor & Destructor Documentation

virtual rpt_stmt_expr::~rpt_stmt_expr (  )  [virtual]

The destructor.

rpt_stmt_expr::rpt_stmt_expr ( const rpt_expr::pointer ep  )  [private]

The constructor. It is private for a reason, use the "create" class method instead.

Parameters:
ep The expression in this node.

rpt_stmt_expr::rpt_stmt_expr (  )  [private]

The default constructor. Do not use.

rpt_stmt_expr::rpt_stmt_expr ( const rpt_stmt_expr  )  [private]

The copy constructor. Do not use.


Member Function Documentation

static pointer rpt_stmt_expr::create ( const rpt_expr::pointer ep  )  [static]

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

Parameters:
ep The expression in this node.

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

The run method is used to execute the statament.

Implements rpt_stmt.

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

The assignment operator. Do not use.


Field Documentation

The ep instance variable is used to remember the expression syntax tree attached to this node of the statement syntax tree.

Definition at line 69 of file expr.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