aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/grammar.ron
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-01-08 09:23:34 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-01-08 09:23:34 +0000
commit1e0948a509e8f6ec7cbb5e2ef77669325fee0637 (patch)
tree81b546c105388e1fc3154c90a42a8cc5fb930d0b /crates/ra_syntax/src/grammar.ron
parent3f4be819125ce4a22edd86721fa56b5caba99c2e (diff)
parentfa6e0b0d38d2a030b959be91232927b9c096272b (diff)
Merge #453
453: itroduce trait for ast tokens r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r--crates/ra_syntax/src/grammar.ron14
1 files changed, 7 insertions, 7 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron
index d7505ea06..bddd96a5c 100644
--- a/crates/ra_syntax/src/grammar.ron
+++ b/crates/ra_syntax/src/grammar.ron
@@ -424,10 +424,10 @@ Grammar(
424 "PrefixExpr": (options: ["Expr"]), 424 "PrefixExpr": (options: ["Expr"]),
425 "RangeExpr": (), 425 "RangeExpr": (),
426 "BinExpr": (), 426 "BinExpr": (),
427 "String": (), 427 "String": ( traits: ["AstToken"] ),
428 "Byte": (), 428 "Byte": ( traits: ["AstToken"] ),
429 "ByteString": (), 429 "ByteString": ( traits: ["AstToken"] ),
430 "Char": (), 430 "Char": ( traits: ["AstToken"] ),
431 "Literal": (), 431 "Literal": (),
432 432
433 "Expr": ( 433 "Expr": (
@@ -505,7 +505,7 @@ Grammar(
505 ), 505 ),
506 "TypeParam": ( traits: ["NameOwner"] ), 506 "TypeParam": ( traits: ["NameOwner"] ),
507 "LifetimeParam": ( options: [ "Lifetime" ] ), 507 "LifetimeParam": ( options: [ "Lifetime" ] ),
508 "Lifetime": (), 508 "Lifetime": ( traits: ["AstToken"] ),
509 "WhereClause": (), 509 "WhereClause": (),
510 "ExprStmt": ( 510 "ExprStmt": (
511 options: [ ["expr", "Expr"] ] 511 options: [ ["expr", "Expr"] ]
@@ -562,7 +562,7 @@ Grammar(
562 "PathSegment": ( 562 "PathSegment": (
563 options: [ "NameRef" ] 563 options: [ "NameRef" ]
564 ), 564 ),
565 "Comment": (), 565 "Comment": ( traits: ["AstToken"] ),
566 "Whitespace": (), 566 "Whitespace": ( traits: ["AstToken"] ),
567 }, 567 },
568) 568)