aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/ok/0011_outer_attribute.txt
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-07-24 10:38:21 +0100
committerAleksey Kladov <[email protected]>2019-07-24 10:49:19 +0100
commit459241f272748ff2e57b2c7e84f5a04f78d67edb (patch)
tree2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/test_data/parser/ok/0011_outer_attribute.txt
parent4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff)
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0011_outer_attribute.txt')
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0011_outer_attribute.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0011_outer_attribute.txt b/crates/ra_syntax/test_data/parser/ok/0011_outer_attribute.txt
new file mode 100644
index 000000000..2a0dc7bad
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/ok/0011_outer_attribute.txt
@@ -0,0 +1,32 @@
1SOURCE_FILE@[0; 35)
2 FN_DEF@[0; 34)
3 ATTR@[0; 12)
4 POUND@[0; 1) "#"
5 TOKEN_TREE@[1; 12)
6 L_BRACK@[1; 2) "["
7 IDENT@[2; 5) "cfg"
8 TOKEN_TREE@[5; 11)
9 L_PAREN@[5; 6) "("
10 IDENT@[6; 10) "test"
11 R_PAREN@[10; 11) ")"
12 R_BRACK@[11; 12) "]"
13 WHITESPACE@[12; 13) "\n"
14 ATTR@[13; 22)
15 POUND@[13; 14) "#"
16 TOKEN_TREE@[14; 22)
17 L_BRACK@[14; 15) "["
18 IDENT@[15; 21) "ignore"
19 R_BRACK@[21; 22) "]"
20 WHITESPACE@[22; 23) "\n"
21 FN_KW@[23; 25) "fn"
22 WHITESPACE@[25; 26) " "
23 NAME@[26; 29)
24 IDENT@[26; 29) "foo"
25 PARAM_LIST@[29; 31)
26 L_PAREN@[29; 30) "("
27 R_PAREN@[30; 31) ")"
28 WHITESPACE@[31; 32) " "
29 BLOCK@[32; 34)
30 L_CURLY@[32; 33) "{"
31 R_CURLY@[33; 34) "}"
32 WHITESPACE@[34; 35) "\n"