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

EncapsExpr Class Reference

Encapsed statement. More...

#include <stree.h>

Inheritance diagram for EncapsExpr:

Ternary List Node

Public Member Functions

 EncapsExpr (string ebegin, Node *statement, string eend)
 Constructor.

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

virtual Nodecopy () const
 Copies the node.

virtual string evaluate (const NameSpace &nameSpace) const
 Computes the value of the expression (only basic atihmetic and string operations).


Detailed Description

Encapsed statement.

Definition at line 679 of file stree.h.


Constructor & Destructor Documentation

EncapsExpr::EncapsExpr string  ebegin,
Node statement,
string  eend
 

Constructor.

Definition at line 707 of file stree.cpp.

References CEncapsExpr.

Referenced by copy().


Member Function Documentation

Node * EncapsExpr::copy  )  const [virtual]
 

Copies the node.

Reimplemented from Ternary.

Definition at line 714 of file stree.cpp.

References EncapsExpr(), Ternary::getStatement1(), Ternary::getStatement2(), and Ternary::getStatement3().

string EncapsExpr::evaluate const NameSpace nameSpace  )  const [virtual]
 

Computes the value of the expression (only basic atihmetic and string operations).

Reimplemented from List.

Definition at line 720 of file stree.cpp.

References Node::evaluate(), and Ternary::getStatement2().

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

Writes node to the stream as php.

Reimplemented from Ternary.

Definition at line 709 of file stree.cpp.

References Ternary::getStatement1(), Ternary::getStatement2(), and Ternary::getStatement3().


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