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

Case Class Reference

Case statement CaseList Switch. More...

#include <stree.h>

Inheritance diagram for Case:

Binary List Node

Public Member Functions

 Case (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

Case statement CaseList Switch.

Definition at line 580 of file stree.h.


Constructor & Destructor Documentation

Case::Case Node statement1,
Node statement2
 

Constructor.

Definition at line 555 of file stree.cpp.

References CCase.

Referenced by copy().


Member Function Documentation

Node * Case::copy  )  const [virtual]
 

Copies the node.

Reimplemented from Binary.

Definition at line 567 of file stree.cpp.

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

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

Writes node to the stream as php.

Reimplemented from Binary.

Definition at line 558 of file stree.cpp.

References Binary::getStatement1(), Binary::getStatement2(), Node::getType(), and SPin.


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