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

CCM::NullExpr Class Reference

Inheritance diagram for CCM::NullExpr:

CCM::Expr List of all members.

Detailed Description

Expression without type.

The only valid instance is "null".


Public Member Functions

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.


Member Function Documentation

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

Evaluate expression and return its value.

Stub access expressions add transitions to the currently evaluated process.

Implements CCM::Expr.

override Expr CCM::NullExpr::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 Type CCM::NullExpr::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