method_invocation: `[' receiver method_name_part `]' | `[' receiver method_invocation_part+ `]' | method_name_part tuple ;
The first method invocation simply sends a message without arguments to
the receiver
. The second kind sends a message, together with
associated arguments, and the third kind is a syntactic shorthand for
[isa <method_name_part> <tuple>]
A method_invocation_part
is part of a method name plus and
expression.
method_invocation_part: method_name_part expression ;
All the method_name_part
elements of a method_invocation
together define which message is sent to the receiver
. The
arguments to a method invocation, being the expression
in each of
the invocation's method_invocation_part
, are evaluated from left
to right. The receiver is evaluated before the arguments.
Go to the first, previous, next, last section, table of contents.