mirror of
https://github.com/SymboScript/Book.git
synced 2024-11-23 21:56:23 +03:00
doc: update impl in parser
This commit is contained in:
parent
51ee1e1c6a
commit
d02ffde5f7
1 changed files with 12 additions and 13 deletions
|
@ -6,20 +6,19 @@
|
|||
|
||||
| Operator/Expression | Associativity | Parser fn name | Impl |
|
||||
| -------------------------------------- | ------------- | -------------- | ---- |
|
||||
| Method calls | Right to Left | call | ❌ |
|
||||
| Function calls | Right to Left | call | ❌ |
|
||||
| Method calls | Left to Right | call | ❌ |
|
||||
| Function calls | Left to Right | call | ❌ |
|
||||
| `!` `++` `--` `()` `~` | Left to Right | factor | ✅ |
|
||||
| `^` | Left to Left | power | ✅ |
|
||||
| `*` `/` `%` | Left to Right | term | ✅ |
|
||||
| `+` `-` | Left to Right | add_sub | ✅ |
|
||||
| `>>` `<<` | Left to Right | shift | ❌ |
|
||||
| `<` `<=` `>` `>=` `==` `!=` | Left to Right | cmp | ❌ |
|
||||
| `&` | Left to Right | bit_and | ❌ |
|
||||
| `bxor` | Left to Right | bit_xor | ❌ |
|
||||
| <code>\|</code> | Left to Right | bit_or | ❌ |
|
||||
| `==` `!=` `<` `<=` `>` `>=` | Left to Right | cmp | ❌ |
|
||||
| `&&` | Left to Right | logical_and | ❌ |
|
||||
| <code>\|\|</code> | Left to Right | logical_or | ❌ |
|
||||
| `..` | Left to Right | range | ❌ |
|
||||
| `?` `:` | Left to Right | ternary | ❌ |
|
||||
| `=` `:=` `+=` `-=` `*=` `/=` `^=` `%=` | Right to Left | assign | ❌ |
|
||||
| `>>` `<<` | Left to Right | shift | ✅ |
|
||||
| `&` | Left to Right | bit_and | ✅ |
|
||||
| `bxor` | Left to Right | bit_xor | ✅ |
|
||||
| <code>\|</code> | Left to Right | bit_or | ✅ |
|
||||
| `==` `!=` `<` `<=` `>` `>=` | Left to Right | cmp | ✅ |
|
||||
| `&&` | Left to Right | logical_and | ✅ |
|
||||
| <code>\|\|</code> | Left to Right | logical_or | ✅ |
|
||||
| `..` | Left to Right | range | ✅ |
|
||||
| `?` `:` | Left to Right | ternary | ✅ |
|
||||
| `=` `:=` `+=` `-=` `*=` `/=` `^=` `%=` | Right to Left | assign | ✅? |
|
||||
|
|
Loading…
Add table
Reference in a new issue