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
Methods inherited from interface edu.vub.at.objects.Object |
super |
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