diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-07-24 10:51:25 +0100 |
---|---|---|
committer | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-07-24 10:51:25 +0100 |
commit | 0194adb651257b69fdf04423b22c69db09fc489c (patch) | |
tree | 2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.txt | |
parent | bf3030404ef8a161334326bad706f60ee8838f63 (diff) | |
parent | 459241f272748ff2e57b2c7e84f5a04f78d67edb (diff) |
Merge #1585
1585: move syntax tests to unit tests r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.txt b/crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.txt new file mode 100644 index 000000000..4487a6e2e --- /dev/null +++ b/crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.txt | |||
@@ -0,0 +1,26 @@ | |||
1 | SOURCE_FILE@[0; 87) | ||
2 | EXTERN_BLOCK@[0; 86) | ||
3 | ABI@[0; 10) | ||
4 | EXTERN_KW@[0; 6) "extern" | ||
5 | WHITESPACE@[6; 7) " " | ||
6 | STRING@[7; 10) "\"C\"" | ||
7 | WHITESPACE@[10; 11) " " | ||
8 | EXTERN_ITEM_LIST@[11; 86) | ||
9 | L_CURLY@[11; 12) "{" | ||
10 | WHITESPACE@[12; 17) "\n " | ||
11 | COMMENT@[17; 42) "//! This is a doc com ..." | ||
12 | WHITESPACE@[42; 47) "\n " | ||
13 | ATTR@[47; 84) | ||
14 | POUND@[47; 48) "#" | ||
15 | EXCL@[48; 49) "!" | ||
16 | TOKEN_TREE@[49; 84) | ||
17 | L_BRACK@[49; 50) "[" | ||
18 | IDENT@[50; 53) "doc" | ||
19 | TOKEN_TREE@[53; 83) | ||
20 | L_PAREN@[53; 54) "(" | ||
21 | STRING@[54; 82) "\"This is also a doc c ..." | ||
22 | R_PAREN@[82; 83) ")" | ||
23 | R_BRACK@[83; 84) "]" | ||
24 | WHITESPACE@[84; 85) "\n" | ||
25 | R_CURLY@[85; 86) "}" | ||
26 | WHITESPACE@[86; 87) "\n" | ||