Operator precedence: Difference between revisions
Content added Content deleted
Line 2,182: | Line 2,182: | ||
=={{header|Smalltalk}}== |
=={{header|Smalltalk}}== |
||
Smalltalk does not have operators which are built in to the language. |
Smalltalk does not have operators which are built in to the language. |
||
<br>All operations are message sends to a receiver object (aka virtual function calls). |
<br>All operations are message sends to a receiver object (aka virtual function calls). |
||
Messages are one of 3 types: |
|||
<br> <I>unary message</I>: no argument, alphanumeric name (highest precedence; left to right evaluation) |
<br> <I>unary message</I>: no argument, alphanumeric name (highest precedence; left to right evaluation) |
||
<br> <I>binary message</I>: any combination of special characters (left to right evaluation) |
<br> <I>binary message</I>: any combination of special characters (left to right evaluation) |