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

CCM::MethodCallNode Class Reference

Inheritance diagram for CCM::MethodCallNode:

CCM::TransitionNode CCM::Node List of all members.

Detailed Description

Represents a stub method call.


Public Member Functions

 MethodCallNode (string field, string prop, List callargs)
 Create an "id(callargs)" stub transition for void methods.

List getCallArgs ()
 Return the list of call arguments.

 MethodCallNode (string field, string prop, List callargs, Object value)
 Create a "id(callargs) = value" stub transition for methods returning a value.

override string ToString ()
 Return a string representation of this Node.

override string ToPrologString ()

Private Attributes

List callargs
bool hasReturn


Constructor & Destructor Documentation

CCM::MethodCallNode::MethodCallNode string  field,
string  prop,
List  callargs
 

Create an "id(callargs)" stub transition for void methods.

_class and field may be null for component method calls.

See also:
TransitionNode.TransitionNode

CCM::MethodCallNode::MethodCallNode string  field,
string  prop,
List  callargs,
Object  value
 

Create a "id(callargs) = value" stub transition for methods returning a value.

See also:
TransitionNode.TransitionNode


Member Function Documentation

List CCM::MethodCallNode::getCallArgs  ) 
 

Return the list of call arguments.

override string CCM::MethodCallNode::ToPrologString  )  [virtual]
 

Implements CCM::TransitionNode.

override string CCM::MethodCallNode::ToString  ) 
 

Return a string representation of this Node.

Reimplemented from CCM::Node.


Member Data Documentation

List CCM::MethodCallNode::callargs [private]
 

bool CCM::MethodCallNode::hasReturn [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