Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members

CCM::ThisExpr Class Reference

Inheritance diagram for CCM::ThisExpr:

CCM::Expr List of all members.

Detailed Description

"this" expression.


Public Member Functions

 ThisExpr (Class c)
 Create "this" expression referring to given class.

override Object eval ()
 Evaluate expression and return its value.

override Type type ()
 Return the expression type.

override Expr makeElementAssign (Expr value)
 Return an expression that assigns value to the element if called on an array element access expression.

override string ToString ()

Private Attributes

Class cls


Constructor & Destructor Documentation

CCM::ThisExpr::ThisExpr Class  c  ) 
 

Create "this" expression referring to given class.


Member Function Documentation

override Object CCM::ThisExpr::eval  )  [virtual]
 

Evaluate expression and return its value.

Stub access expressions add transitions to the currently evaluated process.

Implements CCM::Expr.

override Expr CCM::ThisExpr::makeElementAssign Expr  value  )  [virtual]
 

Return an expression that assigns value to the element if called on an array element access expression.

Implements CCM::Expr.

override string CCM::ThisExpr::ToString  ) 
 

override Type CCM::ThisExpr::type  )  [virtual]
 

Return the expression type.

This is generally the type of the expression value, not of the Expr itself (e. g. "int", not "IntExpr").

Implements CCM::Expr.


Member Data Documentation

Class CCM::ThisExpr::cls [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Jun 21 01:20:50 2004 for cs2ccmb by doxygen 1.3.7