diff options
author | Aleksey Kladov <[email protected]> | 2019-07-24 10:38:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-24 10:49:19 +0100 |
commit | 459241f272748ff2e57b2c7e84f5a04f78d67edb (patch) | |
tree | 2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/test_data/parser/inline/ok/0022_crate_visibility.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0022_crate_visibility.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0022_crate_visibility.txt | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0022_crate_visibility.txt b/crates/ra_syntax/test_data/parser/inline/ok/0022_crate_visibility.txt new file mode 100644 index 000000000..891943f6e --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0022_crate_visibility.txt | |||
@@ -0,0 +1,53 @@ | |||
1 | SOURCE_FILE@[0; 81) | ||
2 | STRUCT_DEF@[0; 20) | ||
3 | VISIBILITY@[0; 10) | ||
4 | PUB_KW@[0; 3) "pub" | ||
5 | L_PAREN@[3; 4) "(" | ||
6 | CRATE_KW@[4; 9) "crate" | ||
7 | R_PAREN@[9; 10) ")" | ||
8 | WHITESPACE@[10; 11) " " | ||
9 | STRUCT_KW@[11; 17) "struct" | ||
10 | WHITESPACE@[17; 18) " " | ||
11 | NAME@[18; 19) | ||
12 | IDENT@[18; 19) "S" | ||
13 | SEMI@[19; 20) ";" | ||
14 | WHITESPACE@[20; 21) "\n" | ||
15 | STRUCT_DEF@[21; 40) | ||
16 | VISIBILITY@[21; 30) | ||
17 | PUB_KW@[21; 24) "pub" | ||
18 | L_PAREN@[24; 25) "(" | ||
19 | SELF_KW@[25; 29) "self" | ||
20 | R_PAREN@[29; 30) ")" | ||
21 | WHITESPACE@[30; 31) " " | ||
22 | STRUCT_KW@[31; 37) "struct" | ||
23 | WHITESPACE@[37; 38) " " | ||
24 | NAME@[38; 39) | ||
25 | IDENT@[38; 39) "S" | ||
26 | SEMI@[39; 40) ";" | ||
27 | WHITESPACE@[40; 41) "\n" | ||
28 | STRUCT_DEF@[41; 60) | ||
29 | VISIBILITY@[41; 50) | ||
30 | PUB_KW@[41; 44) "pub" | ||
31 | L_PAREN@[44; 45) "(" | ||
32 | SELF_KW@[45; 49) "self" | ||
33 | R_PAREN@[49; 50) ")" | ||
34 | WHITESPACE@[50; 51) " " | ||
35 | STRUCT_KW@[51; 57) "struct" | ||
36 | WHITESPACE@[57; 58) " " | ||
37 | NAME@[58; 59) | ||
38 | IDENT@[58; 59) "S" | ||
39 | SEMI@[59; 60) ";" | ||
40 | WHITESPACE@[60; 61) "\n" | ||
41 | STRUCT_DEF@[61; 80) | ||
42 | VISIBILITY@[61; 70) | ||
43 | PUB_KW@[61; 64) "pub" | ||
44 | L_PAREN@[64; 65) "(" | ||
45 | SELF_KW@[65; 69) "self" | ||
46 | R_PAREN@[69; 70) ")" | ||
47 | WHITESPACE@[70; 71) " " | ||
48 | STRUCT_KW@[71; 77) "struct" | ||
49 | WHITESPACE@[77; 78) " " | ||
50 | NAME@[78; 79) | ||
51 | IDENT@[78; 79) "S" | ||
52 | SEMI@[79; 80) ";" | ||
53 | WHITESPACE@[80; 81) "\n" | ||