Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals

While Class Reference

While statement. More...

#include <stree.h>

Inheritance diagram for While:

Binary List Node

Public Member Functions

 While (Node *statement1, Node *statement2)
 Constructor.

virtual ostream & php (ostream &os) const
 Writes node to the stream as php.

virtual Nodecopy () const
 Copies the node.


Detailed Description

While statement.

The meaning of arguments is as follows:

Definition at line 286 of file stree.h.


Constructor & Destructor Documentation

While::While Node statement1,
Node statement2
 

Constructor.

Definition at line 286 of file stree.cpp.

References CWhile.

Referenced by copy().


Member Function Documentation

Node * While::copy  )  const [virtual]
 

Copies the node.

Reimplemented from Binary.

Definition at line 294 of file stree.cpp.

References Binary::getStatement1(), Binary::getStatement2(), and While().

ostream & While::php ostream &  os  )  const [virtual]
 

Writes node to the stream as php.

Reimplemented from Binary.

Definition at line 289 of file stree.cpp.

References Binary::getStatement1(), and Binary::getStatement2().


The documentation for this class was generated from the following files:
Generated on Fri Nov 21 17:54:10 2003 for PHPX by doxygen 1.3.3