diff options
Diffstat (limited to 'documentation/order.txt')
| -rw-r--r-- | documentation/order.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/documentation/order.txt b/documentation/order.txt new file mode 100644 index 0000000..8727306 --- /dev/null +++ b/documentation/order.txt @@ -0,0 +1,18 @@ +| Name | Operators | Associates | +| -------------- | --------- | ---------- | +| parentheses | () | Left | +| member access | . ! !! ?. | Left | +| defaulting | ?: | Right | +| function call | () | Left | +| unary | ! - ~ | Right | +| multiplicative | * / % | Left | +| additive | + - | Left | +| bitwise shift | << >> | Left | +| comparison | < > <= >= | Left | +| equality | == != | Left | +| bitwise and | & | Left | +| bitwise xor | ^ | Left | +| bitwise or | | | Left | +| logical and | && | Left | +| logical or | || | Left | + |
