edu.vub.at.objects.grammar
Interface MessageSend


 MessageSend

The public interface to a synchronous or asynchronous message send AG element. Message sends of the form o.m() are transformed into > Message sends of the form o<-m() are transformed into > Message sends of the form o^m() are transformed into > Message sends of the form o<+exp are transformed into >

Author:
tvcutsem

Method Summary
 Expression messageExpression()
          The message to be sent must be an AmbientTalk expression that evaluates to a message.
 Expression receiverExpression()
          The receiver may be any valid AmbientTalk expression Example: `(f().m()).getReceiverExpression() == `(f())
 
Methods inherited from interface edu.vub.at.objects.AbstractGrammar
freeVariables
 
Methods inherited from interface edu.vub.at.objects.Object
super
 

Method Detail

receiverExpression

Expression receiverExpression()
The receiver may be any valid AmbientTalk expression Example: `(f().m()).getReceiverExpression() == `(f())

Returns:
the receiver of the message

messageExpression

Expression messageExpression()
The message to be sent must be an AmbientTalk expression that evaluates to a message. Example: `(f().m()).getMessageExpression() == `(.m())

Returns:
the message expression