forked from argotorg/fe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblock.snap
More file actions
66 lines (66 loc) · 1.64 KB
/
Copy pathblock.snap
File metadata and controls
66 lines (66 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
source: crates/parser/tests/syntax_node.rs
expression: node
input_file: test_files/syntax_node/exprs/block.fe
---
Root@0..75
BlockExpr@0..75
LBrace@0..1 "{"
Newline@1..2 "\n"
WhiteSpace@2..6 " "
Item@6..20
Use@6..20
UseKw@6..9 "use"
WhiteSpace@9..10 " "
UseTree@10..20
UsePath@10..20
UsePathSegment@10..15
SuperKw@10..15 "super"
Colon2@15..17 "::"
UsePathSegment@17..20
Ident@17..20 "Foo"
Newline@20..21 "\n"
WhiteSpace@21..25 " "
Item@25..38
Struct@25..38
StructKw@25..31 "struct"
WhiteSpace@31..32 " "
Ident@32..35 "Foo"
WhiteSpace@35..36 " "
RecordFieldDefList@36..38
LBrace@36..37 "{"
RBrace@37..38 "}"
Newline@38..39 "\n"
WhiteSpace@39..43 " "
Item@43..54
Func@43..54
FnKw@43..45 "fn"
WhiteSpace@45..46 " "
FuncSignature@46..51
Ident@46..49 "foo"
FuncParamList@49..51
LParen@49..50 "("
RParen@50..51 ")"
WhiteSpace@51..52 " "
BlockExpr@52..54
LBrace@52..53 "{"
RBrace@53..54 "}"
Newline@54..55 "\n"
WhiteSpace@55..59 " "
Newline@59..60 "\n"
WhiteSpace@60..64 " "
LetStmt@64..73
LetKw@64..67 "let"
WhiteSpace@67..68 " "
PathPat@68..69
Path@68..69
PathSegment@68..69
Ident@68..69 "x"
WhiteSpace@69..70 " "
Eq@70..71 "="
WhiteSpace@71..72 " "
LitExpr@72..73
Lit@72..73
Int@72..73 "1"
Newline@73..74 "\n"
RBrace@74..75 "}"