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

Switch Class Reference

Switch statement. More...

#include <stree.h>

Inheritance diagram for Switch:

Binary List Node

Public Member Functions

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

Switch statement.

The meaning of arguments is as follows:

Definition at line 316 of file stree.h.


Constructor & Destructor Documentation

Switch::Switch Node statement1,
Node statement2
 

Constructor.

Definition at line 310 of file stree.cpp.

References CSwitch.

Referenced by copy().


Member Function Documentation

Node * Switch::copy  )  const [virtual]
 

Copies the node.

Reimplemented from Binary.

Definition at line 318 of file stree.cpp.

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

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

Writes node to the stream as php.

Reimplemented from Binary.

Definition at line 313 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:09 2003 for PHPX by doxygen 1.3.3