Squeak Class Documentation category index | class index  
 
MethodCall
  category: Protocols-Kernel
  superclass: MessageSend
  subclasses: Verifier

A MethodCall is a resendable message-send, complete with receiver, instantiated arguments, and a memory of when it was last evaluated and what the last value was.

The methodInterface with which it is associated can furnish argument names, documentation, and other information.

instance methods
  argument access
  setArgumentNamed:toValue:

  evaluation
  evaluate
everEvaluated
lastValue

  initialization
  receiver:methodInterface:
receiver:methodInterface:initialArguments:
valueOfArgumentNamed:

  method interface
  ephemeralMethodInterface
methodInterface
methodInterface:
methodInterfaceOrNil

class methods
  no messages
 

instance methods
  argument access top  
 

setArgumentNamed:toValue:

Set the argument of the given name to the given value


  evaluation top  
 

evaluate

Evaluate the receiver, and if value has changed, signal value-changed


 

everEvaluated

Answer whether this method call has ever been evaluated


 

lastValue

Answer the last value I remember obtaining from an evaluation


  initialization top  
 

receiver:methodInterface:

Initialize me to have the given receiver and methodInterface


 

receiver:methodInterface:initialArguments:

Set up a method-call for the given receiver, method-interface, and initial arguments


 

valueOfArgumentNamed:

Answer the value of the given arguement variable


  method interface top  
 

ephemeralMethodInterface

Answer a methodInterface for me. If I have one stored, answer it; if not, conjure up an interface and answer it but do NOT store it internally. You can call this directly if you need a method interface for me but do not want any conjured-up interface to persist.


 

methodInterface

Answer the receiver's methodInterface, conjuring one up on the spot (and remembering) if not present


 

methodInterface:

Set my methodInterface


 

methodInterfaceOrNil

Answer my methodInterface, whether it is nil or not


class methods
  no messages top