diff options
Diffstat (limited to 'crates/syntax/test_data/parser/inline')
3 files changed, 26 insertions, 36 deletions
diff --git a/crates/syntax/test_data/parser/inline/ok/0062_mod_contents.rast b/crates/syntax/test_data/parser/inline/ok/0062_mod_contents.rast index de8217064..e4fb32de1 100644 --- a/crates/syntax/test_data/parser/inline/ok/0062_mod_contents.rast +++ b/crates/syntax/test_data/parser/inline/ok/0062_mod_contents.rast | |||
@@ -12,11 +12,8 @@ SOURCE_FILE@0..70 | |||
12 | L_CURLY@9..10 "{" | 12 | L_CURLY@9..10 "{" |
13 | R_CURLY@10..11 "}" | 13 | R_CURLY@10..11 "}" |
14 | WHITESPACE@11..12 "\n" | 14 | WHITESPACE@11..12 "\n" |
15 | MACRO_CALL@12..31 | 15 | MACRO_RULES@12..31 |
16 | PATH@12..23 | 16 | MACRO_RULES_KW@12..23 "macro_rules" |
17 | PATH_SEGMENT@12..23 | ||
18 | NAME_REF@12..23 | ||
19 | IDENT@12..23 "macro_rules" | ||
20 | BANG@23..24 "!" | 17 | BANG@23..24 "!" |
21 | WHITESPACE@24..25 " " | 18 | WHITESPACE@24..25 " " |
22 | NAME@25..28 | 19 | NAME@25..28 |
diff --git a/crates/syntax/test_data/parser/inline/ok/0096_no_semi_after_block.rast b/crates/syntax/test_data/parser/inline/ok/0096_no_semi_after_block.rast index e757249f0..e84b9164f 100644 --- a/crates/syntax/test_data/parser/inline/ok/0096_no_semi_after_block.rast +++ b/crates/syntax/test_data/parser/inline/ok/0096_no_semi_after_block.rast | |||
@@ -82,32 +82,28 @@ SOURCE_FILE@0..167 | |||
82 | L_CURLY@102..103 "{" | 82 | L_CURLY@102..103 "{" |
83 | R_CURLY@103..104 "}" | 83 | R_CURLY@103..104 "}" |
84 | WHITESPACE@104..109 "\n " | 84 | WHITESPACE@104..109 "\n " |
85 | EXPR_STMT@109..152 | 85 | MACRO_RULES@109..152 |
86 | MACRO_CALL@109..152 | 86 | MACRO_RULES_KW@109..120 "macro_rules" |
87 | PATH@109..120 | 87 | BANG@120..121 "!" |
88 | PATH_SEGMENT@109..120 | 88 | WHITESPACE@121..122 " " |
89 | NAME_REF@109..120 | 89 | NAME@122..126 |
90 | IDENT@109..120 "macro_rules" | 90 | IDENT@122..126 "test" |
91 | BANG@120..121 "!" | 91 | WHITESPACE@126..127 " " |
92 | WHITESPACE@121..122 " " | 92 | TOKEN_TREE@127..152 |
93 | NAME@122..126 | 93 | L_CURLY@127..128 "{" |
94 | IDENT@122..126 "test" | 94 | WHITESPACE@128..138 "\n " |
95 | WHITESPACE@126..127 " " | 95 | TOKEN_TREE@138..140 |
96 | TOKEN_TREE@127..152 | 96 | L_PAREN@138..139 "(" |
97 | L_CURLY@127..128 "{" | 97 | R_PAREN@139..140 ")" |
98 | WHITESPACE@128..138 "\n " | 98 | WHITESPACE@140..141 " " |
99 | TOKEN_TREE@138..140 | 99 | EQ@141..142 "=" |
100 | L_PAREN@138..139 "(" | 100 | R_ANGLE@142..143 ">" |
101 | R_PAREN@139..140 ")" | 101 | WHITESPACE@143..144 " " |
102 | WHITESPACE@140..141 " " | 102 | TOKEN_TREE@144..146 |
103 | EQ@141..142 "=" | 103 | L_CURLY@144..145 "{" |
104 | R_ANGLE@142..143 ">" | 104 | R_CURLY@145..146 "}" |
105 | WHITESPACE@143..144 " " | 105 | WHITESPACE@146..151 "\n " |
106 | TOKEN_TREE@144..146 | 106 | R_CURLY@151..152 "}" |
107 | L_CURLY@144..145 "{" | ||
108 | R_CURLY@145..146 "}" | ||
109 | WHITESPACE@146..151 "\n " | ||
110 | R_CURLY@151..152 "}" | ||
111 | WHITESPACE@152..157 "\n " | 107 | WHITESPACE@152..157 "\n " |
112 | MACRO_CALL@157..164 | 108 | MACRO_CALL@157..164 |
113 | PATH@157..161 | 109 | PATH@157..161 |
diff --git a/crates/syntax/test_data/parser/inline/ok/0160_try_macro_rules.rast b/crates/syntax/test_data/parser/inline/ok/0160_try_macro_rules.rast index 05b89d1c3..d1c22947b 100644 --- a/crates/syntax/test_data/parser/inline/ok/0160_try_macro_rules.rast +++ b/crates/syntax/test_data/parser/inline/ok/0160_try_macro_rules.rast | |||
@@ -1,9 +1,6 @@ | |||
1 | SOURCE_FILE@0..30 | 1 | SOURCE_FILE@0..30 |
2 | MACRO_CALL@0..29 | 2 | MACRO_RULES@0..29 |
3 | PATH@0..11 | 3 | MACRO_RULES_KW@0..11 "macro_rules" |
4 | PATH_SEGMENT@0..11 | ||
5 | NAME_REF@0..11 | ||
6 | IDENT@0..11 "macro_rules" | ||
7 | BANG@11..12 "!" | 4 | BANG@11..12 "!" |
8 | WHITESPACE@12..13 " " | 5 | WHITESPACE@12..13 " " |
9 | NAME@13..16 | 6 | NAME@13..16 |