We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57cc080 + c332d9d commit 7c5f3f9Copy full SHA for 7c5f3f9
Cargo.toml
@@ -1,7 +1,7 @@
1
[package]
2
name = "ungrammar"
3
description = "A DSL for describing concrete syntax trees"
4
-version = "1.6.0"
+version = "1.7.0"
5
license = "MIT OR Apache-2.0"
6
repository = "https://github.com/matklad/ungrammar"
7
authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]
rust.ungram
@@ -351,6 +351,7 @@ Expr =
351
| TryExpr
352
| TupleExpr
353
| WhileExpr
354
+| YieldExpr
355
356
Literal =
357
Attr* value:(
@@ -491,6 +492,9 @@ MatchGuard =
491
492
ReturnExpr =
493
Attr* 'return' Expr?
494
495
+YieldExpr =
496
+ Attr* 'yield' Expr?
497
+
498
AwaitExpr =
499
Attr* Expr '.' 'await'
500
0 commit comments