diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0093_index_expr.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0093_index_expr.txt | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0093_index_expr.txt b/crates/ra_syntax/test_data/parser/inline/ok/0093_index_expr.txt index b4a71f925..1a979e597 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0093_index_expr.txt +++ b/crates/ra_syntax/test_data/parser/inline/ok/0093_index_expr.txt | |||
@@ -8,26 +8,27 @@ SOURCE_FILE@[0; 26) | |||
8 | L_PAREN@[6; 7) "(" | 8 | L_PAREN@[6; 7) "(" |
9 | R_PAREN@[7; 8) ")" | 9 | R_PAREN@[7; 8) ")" |
10 | WHITESPACE@[8; 9) " " | 10 | WHITESPACE@[8; 9) " " |
11 | BLOCK@[9; 25) | 11 | BLOCK_EXPR@[9; 25) |
12 | L_CURLY@[9; 10) "{" | 12 | BLOCK@[9; 25) |
13 | WHITESPACE@[10; 15) "\n " | 13 | L_CURLY@[9; 10) "{" |
14 | EXPR_STMT@[15; 23) | 14 | WHITESPACE@[10; 15) "\n " |
15 | INDEX_EXPR@[15; 22) | 15 | EXPR_STMT@[15; 23) |
16 | INDEX_EXPR@[15; 19) | 16 | INDEX_EXPR@[15; 22) |
17 | PATH_EXPR@[15; 16) | 17 | INDEX_EXPR@[15; 19) |
18 | PATH@[15; 16) | 18 | PATH_EXPR@[15; 16) |
19 | PATH_SEGMENT@[15; 16) | 19 | PATH@[15; 16) |
20 | NAME_REF@[15; 16) | 20 | PATH_SEGMENT@[15; 16) |
21 | IDENT@[15; 16) "x" | 21 | NAME_REF@[15; 16) |
22 | L_BRACK@[16; 17) "[" | 22 | IDENT@[15; 16) "x" |
23 | LITERAL@[17; 18) | 23 | L_BRACK@[16; 17) "[" |
24 | INT_NUMBER@[17; 18) "1" | 24 | LITERAL@[17; 18) |
25 | R_BRACK@[18; 19) "]" | 25 | INT_NUMBER@[17; 18) "1" |
26 | L_BRACK@[19; 20) "[" | 26 | R_BRACK@[18; 19) "]" |
27 | LITERAL@[20; 21) | 27 | L_BRACK@[19; 20) "[" |
28 | INT_NUMBER@[20; 21) "2" | 28 | LITERAL@[20; 21) |
29 | R_BRACK@[21; 22) "]" | 29 | INT_NUMBER@[20; 21) "2" |
30 | SEMI@[22; 23) ";" | 30 | R_BRACK@[21; 22) "]" |
31 | WHITESPACE@[23; 24) "\n" | 31 | SEMI@[22; 23) ";" |
32 | R_CURLY@[24; 25) "}" | 32 | WHITESPACE@[23; 24) "\n" |
33 | R_CURLY@[24; 25) "}" | ||
33 | WHITESPACE@[25; 26) "\n" | 34 | WHITESPACE@[25; 26) "\n" |