aboutsummaryrefslogtreecommitdiff
path: root/documentation/order.txt
blob: 3c06ce0476b358bc9df184ea2bf40fd992f8fd8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| Name           | Operators | Associates |
| -------------- | --------- | ---------- |
| parentheses    | ()        | Left       |
| member access  | . ! !! ?. | Left       |
| defaulting     | ?:        | Right      |
| function call  | ()        | Left       |
| unary          | ! - ~     | Right      |
| multiplicative | * / %     | Left       |
| additive       | + -       | Left       |
| bitwise shift  | << >>     | Left       |
| bitwise and    | &         | Left       |
| bitwise xor    | ^         | Left       |
| bitwise or     | |         | Left       |
| comparison     | < > <= >= | Left       |
| equality       | == !=     | Left       |
| range          | ..        | Left       |
| logical and    | &&        | Left       |
| logical or     | ||        | Left       |