Fix table formatting

This commit is contained in:
Marcello 2021-10-04 22:42:04 +02:00
parent b2abff42c4
commit 1c4f7c0185

View file

@ -707,7 +707,7 @@ Both of these are designed primarily for code generation scenarios, although the
### Unary Operators ### Unary Operators
| Operator | Operation | | Operator | Operation |
| --------- | --------------- | | --------- | ---------------- |
| `+`x | identity | | `+`x | identity |
| `-`x | negation | | `-`x | negation |
| `!`x | logic negation | | `!`x | logic negation |
@ -745,20 +745,20 @@ Both of these are designed primarily for code generation scenarios, although the
### Logical Operators ### Logical Operators
| Operator | Operation | Name | | Operator | Operation | Name |
| -------- | ----------------------------------------------------- | ---------------- | ----------------------------------- | | -------- | ----------------------------------------------------- | ---------------- |
| `~`x | bitwise NOT | | `~`x | bitwise NOT | |
| x `&` y | bitwise AND | | x `&` y | bitwise AND | |
| x `^` y | bitwise XOR | | x `^` y | bitwise XOR | |
| x ` | ` y | bitwise OR | | x `|` y | bitwise OR | |
| x `&&` y | evaluate `y` only if `x` is `true` | | x `&&` y | evaluate `y` only if `x` is `true` | |
| x ` | | ` y | evaluate `y` only if `x` is `false` | | x `||` y | evaluate `y` only if `x` is `false` | |
| x `??` y | evaluates to `y` only if `x` is `null`, `x` otherwise | Null coalescing | | x `??` y | evaluates to `y` only if `x` is `null`, `x` otherwise | Null coalescing |
| x`?.`y | stop if `x == null`, evaluate `x.y` otherwise | Null conditional | | x`?.`y | stop if `x == null`, evaluate `x.y` otherwise | Null conditional |
### Assignment ### Assignment
| Operator | Operation | | Operator | Operation |
| --------- | ---------------------- | ----- | --- | | --------- | ---------------------- |
| x `+=` y | x = x + y | | x `+=` y | x = x + y |
| x `-=` y | x = x - y | | x `-=` y | x = x - y |
| x `*=` y | x = x \* y | | x `*=` y | x = x \* y |