doc: update impl in parser

This commit is contained in:
Artemy 2023-12-26 18:40:11 +03:00
parent 51ee1e1c6a
commit d02ffde5f7

View file

@ -6,20 +6,19 @@
| Operator/Expression | Associativity | Parser fn name | Impl | | Operator/Expression | Associativity | Parser fn name | Impl |
| -------------------------------------- | ------------- | -------------- | ---- | | -------------------------------------- | ------------- | -------------- | ---- |
| Method calls | Right to Left | call | ❌ | | Method calls | Left to Right | call | ❌ |
| Function calls | Right to Left | call | ❌ | | Function calls | Left to Right | call | ❌ |
| `!` `++` `--` `()` `~` | Left to Right | factor | ✅ | | `!` `++` `--` `()` `~` | Left to Right | factor | ✅ |
| `^` | Left to Left | power | ✅ | | `^` | Left to Left | power | ✅ |
| `*` `/` `%` | Left to Right | term | ✅ | | `*` `/` `%` | Left to Right | term | ✅ |
| `+` `-` | Left to Right | add_sub | ✅ | | `+` `-` | Left to Right | add_sub | ✅ |
| `>>` `<<` | Left to Right | shift | ❌ | | `>>` `<<` | Left to Right | shift | ✅ |
| `<` `<=` `>` `>=` `==` `!=` | Left to Right | cmp | ❌ | | `&` | Left to Right | bit_and | ✅ |
| `&` | Left to Right | bit_and | ❌ | | `bxor` | Left to Right | bit_xor | ✅ |
| `bxor` | Left to Right | bit_xor | ❌ | | <code>\|</code> | Left to Right | bit_or | ✅ |
| <code>\|</code> | Left to Right | bit_or | ❌ | | `==` `!=` `<` `<=` `>` `>=` | Left to Right | cmp | ✅ |
| `==` `!=` `<` `<=` `>` `>=` | Left to Right | cmp | ❌ | | `&&` | Left to Right | logical_and | ✅ |
| `&&` | Left to Right | logical_and | ❌ | | <code>\|\|</code> | Left to Right | logical_or | ✅ |
| <code>\|\|</code> | Left to Right | logical_or | ❌ | | `..` | Left to Right | range | ✅ |
| `..` | Left to Right | range | ❌ | | `?` `:` | Left to Right | ternary | ✅ |
| `?` `:` | Left to Right | ternary | ❌ | | `=` `:=` `+=` `-=` `*=` `/=` `^=` `%=` | Right to Left | assign | ✅? |
| `=` `:=` `+=` `-=` `*=` `/=` `^=` `%=` | Right to Left | assign | ❌ |