mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
add await to syntax, parser for await_expr
This commit is contained in:
parent
e18f8495d6
commit
3a7f07c62d
5 changed files with 93 additions and 0 deletions
|
@ -97,6 +97,7 @@ Grammar(
|
|||
"return",
|
||||
"try",
|
||||
"box",
|
||||
"await"
|
||||
],
|
||||
contextual_keywords: [
|
||||
"auto",
|
||||
|
@ -200,6 +201,7 @@ Grammar(
|
|||
"INDEX_EXPR",
|
||||
"METHOD_CALL_EXPR",
|
||||
"FIELD_EXPR",
|
||||
"AWAIT_EXPR",
|
||||
"TRY_EXPR",
|
||||
"CAST_EXPR",
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue