blob: 48dcb95a161a4cba27e70dabb37e11cfd3928e6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Statements are terminated by ';'.
The usual infix expression rules apply, with the following precedence table:
(higher precedence number means tighter binding)
Operators Precedence Associativity
= += -= *= 1 Right
/= //= %= **= 1 Right
&= ^= |= 1 Right
|| 2 Left (short-circuiting)
^^ 3 Left
&& 4 Left (short-circuiting)
== != 5 Nonassociative
< > <= >= 6 Nonassociative
| 7 Left
^ 8 Left
& 9 Left
+ - 10 Left
* / // % 11 Left
(-) (!) (~) 12 Prefix (unary)
** 13 Right
break and continue get parsed to calls to the __break() and __continue()
compiler intrinsics (thus become AST_CALL nodes).
|