diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok')
4 files changed, 10 insertions, 10 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast index 51a6c5170..a80d79563 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast | |||
@@ -12,7 +12,7 @@ SOURCE_FILE@0..134 | |||
12 | L_CURLY@9..10 "{" | 12 | L_CURLY@9..10 "{" |
13 | WHITESPACE@10..15 "\n " | 13 | WHITESPACE@10..15 "\n " |
14 | EXPR_STMT@15..21 | 14 | EXPR_STMT@15..21 |
15 | LAMBDA_EXPR@15..20 | 15 | CLOSURE_EXPR@15..20 |
16 | PARAM_LIST@15..17 | 16 | PARAM_LIST@15..17 |
17 | PIPE@15..16 "|" | 17 | PIPE@15..16 "|" |
18 | PIPE@16..17 "|" | 18 | PIPE@16..17 "|" |
@@ -23,7 +23,7 @@ SOURCE_FILE@0..134 | |||
23 | SEMICOLON@20..21 ";" | 23 | SEMICOLON@20..21 ";" |
24 | WHITESPACE@21..26 "\n " | 24 | WHITESPACE@21..26 "\n " |
25 | EXPR_STMT@26..43 | 25 | EXPR_STMT@26..43 |
26 | LAMBDA_EXPR@26..42 | 26 | CLOSURE_EXPR@26..42 |
27 | PARAM_LIST@26..28 | 27 | PARAM_LIST@26..28 |
28 | PIPE@26..27 "|" | 28 | PIPE@26..27 "|" |
29 | PIPE@27..28 "|" | 29 | PIPE@27..28 "|" |
@@ -47,7 +47,7 @@ SOURCE_FILE@0..134 | |||
47 | SEMICOLON@42..43 ";" | 47 | SEMICOLON@42..43 ";" |
48 | WHITESPACE@43..48 "\n " | 48 | WHITESPACE@43..48 "\n " |
49 | EXPR_STMT@48..54 | 49 | EXPR_STMT@48..54 |
50 | LAMBDA_EXPR@48..53 | 50 | CLOSURE_EXPR@48..53 |
51 | PARAM_LIST@48..51 | 51 | PARAM_LIST@48..51 |
52 | PIPE@48..49 "|" | 52 | PIPE@48..49 "|" |
53 | PARAM@49..50 | 53 | PARAM@49..50 |
@@ -64,7 +64,7 @@ SOURCE_FILE@0..134 | |||
64 | SEMICOLON@53..54 ";" | 64 | SEMICOLON@53..54 ";" |
65 | WHITESPACE@54..59 "\n " | 65 | WHITESPACE@54..59 "\n " |
66 | EXPR_STMT@59..76 | 66 | EXPR_STMT@59..76 |
67 | LAMBDA_EXPR@59..75 | 67 | CLOSURE_EXPR@59..75 |
68 | MOVE_KW@59..63 "move" | 68 | MOVE_KW@59..63 "move" |
69 | WHITESPACE@63..64 " " | 69 | WHITESPACE@63..64 " " |
70 | PARAM_LIST@64..73 | 70 | PARAM_LIST@64..73 |
@@ -91,7 +91,7 @@ SOURCE_FILE@0..134 | |||
91 | SEMICOLON@75..76 ";" | 91 | SEMICOLON@75..76 ";" |
92 | WHITESPACE@76..81 "\n " | 92 | WHITESPACE@76..81 "\n " |
93 | EXPR_STMT@81..93 | 93 | EXPR_STMT@81..93 |
94 | LAMBDA_EXPR@81..92 | 94 | CLOSURE_EXPR@81..92 |
95 | ASYNC_KW@81..86 "async" | 95 | ASYNC_KW@81..86 "async" |
96 | WHITESPACE@86..87 " " | 96 | WHITESPACE@86..87 " " |
97 | PARAM_LIST@87..89 | 97 | PARAM_LIST@87..89 |
@@ -104,7 +104,7 @@ SOURCE_FILE@0..134 | |||
104 | SEMICOLON@92..93 ";" | 104 | SEMICOLON@92..93 ";" |
105 | WHITESPACE@93..98 "\n " | 105 | WHITESPACE@93..98 "\n " |
106 | EXPR_STMT@98..109 | 106 | EXPR_STMT@98..109 |
107 | LAMBDA_EXPR@98..108 | 107 | CLOSURE_EXPR@98..108 |
108 | MOVE_KW@98..102 "move" | 108 | MOVE_KW@98..102 "move" |
109 | WHITESPACE@102..103 " " | 109 | WHITESPACE@102..103 " " |
110 | PARAM_LIST@103..105 | 110 | PARAM_LIST@103..105 |
@@ -117,7 +117,7 @@ SOURCE_FILE@0..134 | |||
117 | SEMICOLON@108..109 ";" | 117 | SEMICOLON@108..109 ";" |
118 | WHITESPACE@109..114 "\n " | 118 | WHITESPACE@109..114 "\n " |
119 | EXPR_STMT@114..131 | 119 | EXPR_STMT@114..131 |
120 | LAMBDA_EXPR@114..130 | 120 | CLOSURE_EXPR@114..130 |
121 | ASYNC_KW@114..119 "async" | 121 | ASYNC_KW@114..119 "async" |
122 | WHITESPACE@119..120 " " | 122 | WHITESPACE@119..120 " " |
123 | MOVE_KW@120..124 "move" | 123 | MOVE_KW@120..124 "move" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast b/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast index 931e81f27..d2fd6e567 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast | |||
@@ -105,7 +105,7 @@ SOURCE_FILE@0..135 | |||
105 | WHITESPACE@117..118 " " | 105 | WHITESPACE@117..118 " " |
106 | EQ@118..119 "=" | 106 | EQ@118..119 "=" |
107 | WHITESPACE@119..120 " " | 107 | WHITESPACE@119..120 " " |
108 | LAMBDA_EXPR@120..131 | 108 | CLOSURE_EXPR@120..131 |
109 | ATTR@120..127 | 109 | ATTR@120..127 |
110 | POUND@120..121 "#" | 110 | POUND@120..121 "#" |
111 | L_BRACK@121..122 "[" | 111 | L_BRACK@121..122 "[" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast b/crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast index c63a55a56..0a9f7c137 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast | |||
@@ -20,7 +20,7 @@ SOURCE_FILE@0..63 | |||
20 | WHITESPACE@22..23 " " | 20 | WHITESPACE@22..23 " " |
21 | EQ@23..24 "=" | 21 | EQ@23..24 "=" |
22 | WHITESPACE@24..25 " " | 22 | WHITESPACE@24..25 " " |
23 | LAMBDA_EXPR@25..59 | 23 | CLOSURE_EXPR@25..59 |
24 | PARAM_LIST@25..56 | 24 | PARAM_LIST@25..56 |
25 | PIPE@25..26 "|" | 25 | PIPE@25..26 "|" |
26 | PARAM@26..29 | 26 | PARAM@26..29 |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0158_lambda_ret_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0158_lambda_ret_block.rast index 9c071ec2e..aa4099a92 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0158_lambda_ret_block.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0158_lambda_ret_block.rast | |||
@@ -13,7 +13,7 @@ SOURCE_FILE@0..34 | |||
13 | WHITESPACE@11..12 " " | 13 | WHITESPACE@11..12 " " |
14 | EXPR_STMT@12..31 | 14 | EXPR_STMT@12..31 |
15 | CALL_EXPR@12..30 | 15 | CALL_EXPR@12..30 |
16 | LAMBDA_EXPR@12..28 | 16 | CLOSURE_EXPR@12..28 |
17 | PARAM_LIST@12..14 | 17 | PARAM_LIST@12..14 |
18 | PIPE@12..13 "|" | 18 | PIPE@12..13 "|" |
19 | PIPE@13..14 "|" | 19 | PIPE@13..14 "|" |