aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.rast
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.rast')
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.rast28
1 files changed, 28 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.rast b/crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.rast
new file mode 100644
index 000000000..8f192124b
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.rast
@@ -0,0 +1,28 @@
1SOURCE_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 L_BRACK@[49; 50) "["
17 PATH@[50; 53)
18 PATH_SEGMENT@[50; 53)
19 NAME_REF@[50; 53)
20 IDENT@[50; 53) "doc"
21 TOKEN_TREE@[53; 83)
22 L_PAREN@[53; 54) "("
23 STRING@[54; 82) "\"This is also a doc c ..."
24 R_PAREN@[82; 83) ")"
25 R_BRACK@[83; 84) "]"
26 WHITESPACE@[84; 85) "\n"
27 R_CURLY@[85; 86) "}"
28 WHITESPACE@[86; 87) "\n"