Fix table formatting

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

View file

@ -706,16 +706,16 @@ 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 |
| `~`x | binary negation | | `~`x | binary negation |
| `++`x | pre-increment | | `++`x | pre-increment |
| `--`x | pre-decrement | | `--`x | pre-decrement |
| x`++` | post-increment | | x`++` | post-increment |
| x`--` | post decrement | | x`--` | post decrement |
| `(type)`x | explicit casting | | `(type)`x | explicit casting |
### Mathematical Operators ### Mathematical Operators
@ -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 |
@ -767,7 +767,7 @@ Both of these are designed primarily for code generation scenarios, although the
| 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 |
| x ` | =` y | x = x | y | | x `|=` y | x = x | y |
| x `^=` y | x = x ^ y | | x `^=` y | x = x ^ y |
| x `??=` y | if (x == null) {x = y} | | x `??=` y | if (x == null) {x = y} |