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

CCM::VoidExpr Class Reference

Inheritance diagram for CCM::VoidExpr:

CCM::Expr List of all members.

Detailed Description

Void expression for void method calls.


Public Member Functions

 VoidExpr (Ref method, List args)
 Create void method call expression: method( args ).

override Type type ()
 Return the expression type.

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

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


Constructor & Destructor Documentation

CCM::VoidExpr::VoidExpr Ref  method,
List  args
 

Create void method call expression: method( args ).


Member Function Documentation

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

Evaluate expression and return its value.

Stub access expressions add transitions to the currently evaluated process.

Implements CCM::Expr.

override Expr CCM::VoidExpr::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::VoidExpr::ToString  ) 
 

override Type CCM::VoidExpr::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.


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