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

ConstantString Class Reference

String constant. More...

#include <stree.h>

Inheritance diagram for ConstantString:

Unary List Node

Public Member Functions

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

String constant.

Definition at line 845 of file stree.h.


Constructor & Destructor Documentation

ConstantString::ConstantString Node statement  ) 
 

Constructor.

Definition at line 884 of file stree.cpp.

References CConstantString.

Referenced by copy().


Member Function Documentation

Node * ConstantString::copy  )  const [virtual]
 

Copies the node.

Reimplemented from Unary.

Definition at line 891 of file stree.cpp.

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

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

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

Reimplemented from List.

Definition at line 895 of file stree.cpp.

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

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

Writes node to the stream as php.

Reimplemented from Unary.

Definition at line 886 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