diff options
author | Aleksey Kladov <[email protected]> | 2020-04-24 22:51:02 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-04-25 10:59:18 +0100 |
commit | 8843588fca7a6022b86800d5d2539594c0de93cf (patch) | |
tree | 3c5162068377dbd53dbf40b602baeeed7aa82285 /crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast | |
parent | b1d5817dd18b7b5fc102a63b084b1ee7ff4f9996 (diff) |
Convert tests to text-size
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast | 126 |
1 files changed, 63 insertions, 63 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast b/crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast index 4c175e210..1a98e2610 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast | |||
@@ -1,63 +1,63 @@ | |||
1 | SOURCE_FILE@[0; 71) | 1 | SOURCE_FILE@0..71 |
2 | FN_DEF@[0; 19) | 2 | FN_DEF@0..19 |
3 | VISIBILITY@[0; 5) | 3 | VISIBILITY@0..5 |
4 | CRATE_KW@[0; 5) "crate" | 4 | CRATE_KW@0..5 "crate" |
5 | WHITESPACE@[5; 6) " " | 5 | WHITESPACE@5..6 " " |
6 | FN_KW@[6; 8) "fn" | 6 | FN_KW@6..8 "fn" |
7 | WHITESPACE@[8; 9) " " | 7 | WHITESPACE@8..9 " " |
8 | NAME@[9; 13) | 8 | NAME@9..13 |
9 | IDENT@[9; 13) "main" | 9 | IDENT@9..13 "main" |
10 | PARAM_LIST@[13; 15) | 10 | PARAM_LIST@13..15 |
11 | L_PAREN@[13; 14) "(" | 11 | L_PAREN@13..14 "(" |
12 | R_PAREN@[14; 15) ")" | 12 | R_PAREN@14..15 ")" |
13 | WHITESPACE@[15; 16) " " | 13 | WHITESPACE@15..16 " " |
14 | BLOCK_EXPR@[16; 19) | 14 | BLOCK_EXPR@16..19 |
15 | BLOCK@[16; 19) | 15 | BLOCK@16..19 |
16 | L_CURLY@[16; 17) "{" | 16 | L_CURLY@16..17 "{" |
17 | WHITESPACE@[17; 18) " " | 17 | WHITESPACE@17..18 " " |
18 | R_CURLY@[18; 19) "}" | 18 | R_CURLY@18..19 "}" |
19 | WHITESPACE@[19; 20) "\n" | 19 | WHITESPACE@19..20 "\n" |
20 | STRUCT_DEF@[20; 49) | 20 | STRUCT_DEF@20..49 |
21 | STRUCT_KW@[20; 26) "struct" | 21 | STRUCT_KW@20..26 "struct" |
22 | WHITESPACE@[26; 27) " " | 22 | WHITESPACE@26..27 " " |
23 | NAME@[27; 28) | 23 | NAME@27..28 |
24 | IDENT@[27; 28) "S" | 24 | IDENT@27..28 "S" |
25 | WHITESPACE@[28; 29) " " | 25 | WHITESPACE@28..29 " " |
26 | RECORD_FIELD_DEF_LIST@[29; 49) | 26 | RECORD_FIELD_DEF_LIST@29..49 |
27 | L_CURLY@[29; 30) "{" | 27 | L_CURLY@29..30 "{" |
28 | WHITESPACE@[30; 31) " " | 28 | WHITESPACE@30..31 " " |
29 | RECORD_FIELD_DEF@[31; 47) | 29 | RECORD_FIELD_DEF@31..47 |
30 | VISIBILITY@[31; 36) | 30 | VISIBILITY@31..36 |
31 | CRATE_KW@[31; 36) "crate" | 31 | CRATE_KW@31..36 "crate" |
32 | WHITESPACE@[36; 37) " " | 32 | WHITESPACE@36..37 " " |
33 | NAME@[37; 42) | 33 | NAME@37..42 |
34 | IDENT@[37; 42) "field" | 34 | IDENT@37..42 "field" |
35 | COLON@[42; 43) ":" | 35 | COLON@42..43 ":" |
36 | WHITESPACE@[43; 44) " " | 36 | WHITESPACE@43..44 " " |
37 | PATH_TYPE@[44; 47) | 37 | PATH_TYPE@44..47 |
38 | PATH@[44; 47) | 38 | PATH@44..47 |
39 | PATH_SEGMENT@[44; 47) | 39 | PATH_SEGMENT@44..47 |
40 | NAME_REF@[44; 47) | 40 | NAME_REF@44..47 |
41 | IDENT@[44; 47) "u32" | 41 | IDENT@44..47 "u32" |
42 | WHITESPACE@[47; 48) " " | 42 | WHITESPACE@47..48 " " |
43 | R_CURLY@[48; 49) "}" | 43 | R_CURLY@48..49 "}" |
44 | WHITESPACE@[49; 50) "\n" | 44 | WHITESPACE@49..50 "\n" |
45 | STRUCT_DEF@[50; 70) | 45 | STRUCT_DEF@50..70 |
46 | STRUCT_KW@[50; 56) "struct" | 46 | STRUCT_KW@50..56 "struct" |
47 | WHITESPACE@[56; 57) " " | 47 | WHITESPACE@56..57 " " |
48 | NAME@[57; 58) | 48 | NAME@57..58 |
49 | IDENT@[57; 58) "T" | 49 | IDENT@57..58 "T" |
50 | TUPLE_FIELD_DEF_LIST@[58; 69) | 50 | TUPLE_FIELD_DEF_LIST@58..69 |
51 | L_PAREN@[58; 59) "(" | 51 | L_PAREN@58..59 "(" |
52 | TUPLE_FIELD_DEF@[59; 68) | 52 | TUPLE_FIELD_DEF@59..68 |
53 | VISIBILITY@[59; 64) | 53 | VISIBILITY@59..64 |
54 | CRATE_KW@[59; 64) "crate" | 54 | CRATE_KW@59..64 "crate" |
55 | WHITESPACE@[64; 65) " " | 55 | WHITESPACE@64..65 " " |
56 | PATH_TYPE@[65; 68) | 56 | PATH_TYPE@65..68 |
57 | PATH@[65; 68) | 57 | PATH@65..68 |
58 | PATH_SEGMENT@[65; 68) | 58 | PATH_SEGMENT@65..68 |
59 | NAME_REF@[65; 68) | 59 | NAME_REF@65..68 |
60 | IDENT@[65; 68) "u32" | 60 | IDENT@65..68 "u32" |
61 | R_PAREN@[68; 69) ")" | 61 | R_PAREN@68..69 ")" |
62 | SEMICOLON@[69; 70) ";" | 62 | SEMICOLON@69..70 ";" |
63 | WHITESPACE@[70; 71) "\n" | 63 | WHITESPACE@70..71 "\n" |