aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/inline/0060_function_type_params.txt
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-09 15:44:40 +0100
committerAleksey Kladov <[email protected]>2018-08-09 15:54:49 +0100
commitafa94d4f37b9a0a1e723edffcc79c3d48799bad1 (patch)
treeea4a5163bee5f202c3627b88280e74a704c186d0 /tests/data/parser/inline/0060_function_type_params.txt
parentd8b2a5efc0e5de3b0d72f29ccc86185f0827c9d3 (diff)
fn_item -> function
Diffstat (limited to 'tests/data/parser/inline/0060_function_type_params.txt')
-rw-r--r--tests/data/parser/inline/0060_function_type_params.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/data/parser/inline/0060_function_type_params.txt b/tests/data/parser/inline/0060_function_type_params.txt
new file mode 100644
index 000000000..8809ebc04
--- /dev/null
+++ b/tests/data/parser/inline/0060_function_type_params.txt
@@ -0,0 +1,32 @@
1FILE@[0; 28)
2 FUNCTION@[0; 27)
3 FN_KW@[0; 2)
4 WHITESPACE@[2; 3)
5 NAME@[3; 6)
6 IDENT@[3; 6) "foo"
7 TYPE_PARAM_LIST@[6; 23)
8 L_ANGLE@[6; 7)
9 TYPE_PARAM@[7; 22)
10 NAME@[7; 8)
11 IDENT@[7; 8) "T"
12 COLON@[8; 9)
13 WHITESPACE@[9; 10)
14 PATH@[10; 15)
15 PATH_SEGMENT@[10; 15)
16 NAME_REF@[10; 15)
17 IDENT@[10; 15) "Clone"
18 WHITESPACE@[15; 16)
19 PLUS@[16; 17)
20 WHITESPACE@[17; 18)
21 PATH@[18; 22)
22 PATH_SEGMENT@[18; 22)
23 NAME_REF@[18; 22)
24 IDENT@[18; 22) "Copy"
25 R_ANGLE@[22; 23)
26 PARAM_LIST@[23; 25)
27 L_PAREN@[23; 24)
28 R_PAREN@[24; 25)
29 BLOCK_EXPR@[25; 27)
30 L_CURLY@[25; 26)
31 R_CURLY@[26; 27)
32 WHITESPACE@[27; 28)