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

ConstantEncapsedString Class Reference

Single quote encapsed string constant. More...

#include <stree.h>

Inheritance diagram for ConstantEncapsedString:

Unary List Node

Public Member Functions

 ConstantEncapsedString (Node *statement)
 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

Single quote encapsed string constant.

Definition at line 832 of file stree.h.


Constructor & Destructor Documentation

ConstantEncapsedString::ConstantEncapsedString Node statement  ) 
 

Constructor.

Definition at line 858 of file stree.cpp.

References CConstantEncapsedString.

Referenced by copy().


Member Function Documentation

Node * ConstantEncapsedString::copy  )  const [virtual]
 

Copies the node.

Reimplemented from Unary.

Definition at line 865 of file stree.cpp.

References ConstantEncapsedString(), and Unary::getStatement1().

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

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

Reimplemented from List.

Definition at line 869 of file stree.cpp.

References Node::evaluate(), and Unary::getStatement1().

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

Writes node to the stream as php.

Reimplemented from Unary.

Definition at line 860 of file stree.cpp.

References Unary::getStatement1().


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