File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ //*************************//
2
+ // Names, Paths and Macros //
3
+ //*************************//
4
+
1
5
Name =
2
6
'ident'
3
7
@@ -50,6 +54,10 @@ MacroStmts =
50
54
statements:Stmt*
51
55
Expr?
52
56
57
+ //*************************//
58
+ // Items //
59
+ //*************************//
60
+
53
61
SourceFile =
54
62
'shebang'?
55
63
Attr*
@@ -245,6 +253,10 @@ Visibility =
245
253
Attr =
246
254
'#' '!'? '[' Path ('=' Literal | TokenTree)? ']'
247
255
256
+ //****************************//
257
+ // Statements and Expressions //
258
+ //****************************//
259
+
248
260
Stmt =
249
261
ExprStmt
250
262
| Item
@@ -434,6 +446,10 @@ AwaitExpr =
434
446
BoxExpr =
435
447
Attr* 'box' Expr
436
448
449
+ //*************************//
450
+ // Types //
451
+ //*************************//
452
+
437
453
Type =
438
454
ArrayType
439
455
| DynTraitType
@@ -495,6 +511,10 @@ TypeBound =
495
511
'lifetime'
496
512
| '?'? Type
497
513
514
+ //************************//
515
+ // Patterns //
516
+ //************************//
517
+
498
518
Pat =
499
519
IdentPat
500
520
| BoxPat
You can’t perform that action at this time.
0 commit comments