aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline/ok/0012_type_item_where_clause.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/inline/ok/0012_type_item_where_clause.txt
parent4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff)
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0012_type_item_where_clause.txt')
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0012_type_item_where_clause.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0012_type_item_where_clause.txt b/crates/ra_syntax/test_data/parser/inline/ok/0012_type_item_where_clause.txt
new file mode 100644
index 000000000..da04dac5c
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0012_type_item_where_clause.txt
@@ -0,0 +1,33 @@
1SOURCE_FILE@[0; 31)
2 TYPE_ALIAS_DEF@[0; 30)
3 TYPE_KW@[0; 4) "type"
4 WHITESPACE@[4; 5) " "
5 NAME@[5; 8)
6 IDENT@[5; 8) "Foo"
7 WHITESPACE@[8; 9) " "
8 WHERE_CLAUSE@[9; 24)
9 WHERE_KW@[9; 14) "where"
10 WHITESPACE@[14; 15) " "
11 WHERE_PRED@[15; 24)
12 PATH_TYPE@[15; 18)
13 PATH@[15; 18)
14 PATH_SEGMENT@[15; 18)
15 NAME_REF@[15; 18)
16 IDENT@[15; 18) "Foo"
17 COLON@[18; 19) ":"
18 WHITESPACE@[19; 20) " "
19 TYPE_BOUND_LIST@[20; 24)
20 TYPE_BOUND@[20; 24)
21 PATH_TYPE@[20; 24)
22 PATH@[20; 24)
23 PATH_SEGMENT@[20; 24)
24 NAME_REF@[20; 24)
25 IDENT@[20; 24) "Copy"
26 WHITESPACE@[24; 25) " "
27 EQ@[25; 26) "="
28 WHITESPACE@[26; 27) " "
29 TUPLE_TYPE@[27; 29)
30 L_PAREN@[27; 28) "("
31 R_PAREN@[28; 29) ")"
32 SEMI@[29; 30) ";"
33 WHITESPACE@[30; 31) "\n"