statement_expression Class Reference

#include <expression.h>

Inheritance diagram for statement_expression:

statement statement_expression_compile List of all members.

Public Member Functions

virtual ~statement_expression ()
 statement_expression (const expression::pointer &arg)

Protected Member Functions

bool execution_flows_out () const
void traversal ()

Private Member Functions

 statement_expression ()
 statement_expression (const statement_expression &)
statement_expressionoperator= (const statement_expression &)

Private Attributes

expression::pointer arg

Detailed Description

The statement_expression class is used to represent a statement which evaluates and expression as its effect.

Definition at line 31 of file expression.h.


Constructor & Destructor Documentation

virtual statement_expression::~statement_expression (  )  [virtual]

The destructor.

statement_expression::statement_expression ( const expression::pointer arg  ) 

The constructor.

statement_expression::statement_expression (  )  [private]

The default constructor. Do not use.

statement_expression::statement_expression ( const statement_expression  )  [private]

The copy constructor. Do not use.


Member Function Documentation

bool statement_expression::execution_flows_out (  )  const [protected, virtual]

The execution_flows_out method may be used to determine whether the flow of execution, having entered this statement, can ever flow out again.

Returns:
true if exection flows out, false if it does not.
Note:
Where the answer is indeterminate, true is returned.

Implements statement.

void statement_expression::traversal (  )  [protected, virtual]

The traversal method may be used to traverse each of the statements in the list.

Implements statement.

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

The assignment operator. Do not use.


Member Data Documentation

expression::pointer statement_expression::arg [private]

The arg instance variable is used to remember the expression which is this statement's body.

Definition at line 57 of file expression.h.


The documentation for this class was generated from the following file:
Generated on Sun Feb 25 01:27:13 2007 for UCSDp-SystemCrossCompiler by  doxygen 1.5.1