diff options
author | Aleksey Kladov <[email protected]> | 2018-08-25 09:44:17 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-25 09:44:17 +0100 |
commit | cf278ed3bf71d336422f7d7d7d51be92b717b720 (patch) | |
tree | 57bc0fa827e9af90be00918ab26d35832d1a1425 /crates/libsyntax2/tests/data/parser/ok | |
parent | 9fae494a8da347a32cdcd3dcd714ba00aaff9664 (diff) |
rename file -> root
Diffstat (limited to 'crates/libsyntax2/tests/data/parser/ok')
30 files changed, 30 insertions, 30 deletions
diff --git a/crates/libsyntax2/tests/data/parser/ok/0000_empty.txt b/crates/libsyntax2/tests/data/parser/ok/0000_empty.txt index 54be3e7bc..9f505ee96 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0000_empty.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0000_empty.txt | |||
@@ -1 +1 @@ | |||
FILE@[0; 0) | ROOT@[0; 0) | ||
diff --git a/crates/libsyntax2/tests/data/parser/ok/0001_struct_item.txt b/crates/libsyntax2/tests/data/parser/ok/0001_struct_item.txt index bc74d52b2..90df3416a 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0001_struct_item.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0001_struct_item.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 32) | 1 | ROOT@[0; 32) |
2 | STRUCT_DEF@[0; 31) | 2 | STRUCT_DEF@[0; 31) |
3 | STRUCT_KW@[0; 6) | 3 | STRUCT_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0002_struct_item_field.txt b/crates/libsyntax2/tests/data/parser/ok/0002_struct_item_field.txt index 69da10900..0b65387ef 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0002_struct_item_field.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0002_struct_item_field.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 25) | 1 | ROOT@[0; 25) |
2 | STRUCT_DEF@[0; 25) | 2 | STRUCT_DEF@[0; 25) |
3 | STRUCT_KW@[0; 6) | 3 | STRUCT_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0004_file_shebang.txt b/crates/libsyntax2/tests/data/parser/ok/0004_file_shebang.txt index 33055cf3d..bb8874ead 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0004_file_shebang.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0004_file_shebang.txt | |||
@@ -1,2 +1,2 @@ | |||
1 | FILE@[0; 20) | 1 | ROOT@[0; 20) |
2 | SHEBANG@[0; 20) | 2 | SHEBANG@[0; 20) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0005_fn_item.txt b/crates/libsyntax2/tests/data/parser/ok/0005_fn_item.txt index 2dc8c85d6..8ed92f2a4 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0005_fn_item.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0005_fn_item.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 13) | 1 | ROOT@[0; 13) |
2 | FN_DEF@[0; 12) | 2 | FN_DEF@[0; 12) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0006_inner_attributes.txt b/crates/libsyntax2/tests/data/parser/ok/0006_inner_attributes.txt index d5a170144..2b64c497f 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0006_inner_attributes.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0006_inner_attributes.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 236) | 1 | ROOT@[0; 236) |
2 | ATTR@[0; 8) | 2 | ATTR@[0; 8) |
3 | POUND@[0; 1) | 3 | POUND@[0; 1) |
4 | EXCL@[1; 2) | 4 | EXCL@[1; 2) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0007_extern_crate.txt b/crates/libsyntax2/tests/data/parser/ok/0007_extern_crate.txt index 533af33c4..12193397e 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0007_extern_crate.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0007_extern_crate.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 43) | 1 | ROOT@[0; 43) |
2 | EXTERN_CRATE_ITEM@[0; 17) | 2 | EXTERN_CRATE_ITEM@[0; 17) |
3 | EXTERN_KW@[0; 6) | 3 | EXTERN_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0008_mod_item.txt b/crates/libsyntax2/tests/data/parser/ok/0008_mod_item.txt index a2b4f6495..c790f8431 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0008_mod_item.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0008_mod_item.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 118) | 1 | ROOT@[0; 118) |
2 | MODULE@[0; 6) | 2 | MODULE@[0; 6) |
3 | MOD_KW@[0; 3) | 3 | MOD_KW@[0; 3) |
4 | WHITESPACE@[3; 4) | 4 | WHITESPACE@[3; 4) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0009_use_item.txt b/crates/libsyntax2/tests/data/parser/ok/0009_use_item.txt index 8f850cd1c..4bcd15357 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0009_use_item.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0009_use_item.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 19) | 1 | ROOT@[0; 19) |
2 | USE_ITEM@[0; 8) | 2 | USE_ITEM@[0; 8) |
3 | USE_KW@[0; 3) | 3 | USE_KW@[0; 3) |
4 | WHITESPACE@[3; 4) | 4 | WHITESPACE@[3; 4) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0010_use_path_segments.txt b/crates/libsyntax2/tests/data/parser/ok/0010_use_path_segments.txt index 03ec342c2..f76ea1a35 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0010_use_path_segments.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0010_use_path_segments.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 40) | 1 | ROOT@[0; 40) |
2 | USE_ITEM@[0; 20) | 2 | USE_ITEM@[0; 20) |
3 | USE_KW@[0; 3) | 3 | USE_KW@[0; 3) |
4 | WHITESPACE@[3; 4) | 4 | WHITESPACE@[3; 4) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0011_outer_attribute.txt b/crates/libsyntax2/tests/data/parser/ok/0011_outer_attribute.txt index af4b55aed..203a07193 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0011_outer_attribute.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0011_outer_attribute.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 35) | 1 | ROOT@[0; 35) |
2 | FN_DEF@[0; 34) | 2 | FN_DEF@[0; 34) |
3 | ATTR@[0; 12) | 3 | ATTR@[0; 12) |
4 | POUND@[0; 1) | 4 | POUND@[0; 1) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0012_visibility.txt b/crates/libsyntax2/tests/data/parser/ok/0012_visibility.txt index 940721f8b..66901af54 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0012_visibility.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0012_visibility.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 98) | 1 | ROOT@[0; 98) |
2 | FN_DEF@[0; 9) | 2 | FN_DEF@[0; 9) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0013_use_path_self_super.txt b/crates/libsyntax2/tests/data/parser/ok/0013_use_path_self_super.txt index 5ed27ca37..95be4f75d 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0013_use_path_self_super.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0013_use_path_self_super.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 65) | 1 | ROOT@[0; 65) |
2 | USE_ITEM@[0; 14) | 2 | USE_ITEM@[0; 14) |
3 | USE_KW@[0; 3) | 3 | USE_KW@[0; 3) |
4 | WHITESPACE@[3; 4) | 4 | WHITESPACE@[3; 4) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0014_use_tree.txt b/crates/libsyntax2/tests/data/parser/ok/0014_use_tree.txt index 86bafc853..4aa539159 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0014_use_tree.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0014_use_tree.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 81) | 1 | ROOT@[0; 81) |
2 | USE_ITEM@[0; 6) | 2 | USE_ITEM@[0; 6) |
3 | USE_KW@[0; 3) | 3 | USE_KW@[0; 3) |
4 | WHITESPACE@[3; 4) | 4 | WHITESPACE@[3; 4) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0015_use_tree.txt b/crates/libsyntax2/tests/data/parser/ok/0015_use_tree.txt index 2e39766cf..aa4ef3715 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0015_use_tree.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0015_use_tree.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 55) | 1 | ROOT@[0; 55) |
2 | USE_ITEM@[0; 15) | 2 | USE_ITEM@[0; 15) |
3 | USE_KW@[0; 3) | 3 | USE_KW@[0; 3) |
4 | WHITESPACE@[3; 4) | 4 | WHITESPACE@[3; 4) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0016_struct_flavors.txt b/crates/libsyntax2/tests/data/parser/ok/0016_struct_flavors.txt index 5bf3a1794..349481157 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0016_struct_flavors.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0016_struct_flavors.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 97) | 1 | ROOT@[0; 97) |
2 | STRUCT_DEF@[0; 9) | 2 | STRUCT_DEF@[0; 9) |
3 | STRUCT_KW@[0; 6) | 3 | STRUCT_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0017_attr_trailing_comma.txt b/crates/libsyntax2/tests/data/parser/ok/0017_attr_trailing_comma.txt index 02e64c0d5..8cfd77256 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0017_attr_trailing_comma.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0017_attr_trailing_comma.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 23) | 1 | ROOT@[0; 23) |
2 | FN_DEF@[0; 22) | 2 | FN_DEF@[0; 22) |
3 | ATTR@[0; 10) | 3 | ATTR@[0; 10) |
4 | POUND@[0; 1) | 4 | POUND@[0; 1) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0018_struct_type_params.txt b/crates/libsyntax2/tests/data/parser/ok/0018_struct_type_params.txt index fb61096f6..a98e823f6 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0018_struct_type_params.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0018_struct_type_params.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 290) | 1 | ROOT@[0; 290) |
2 | STRUCT_DEF@[0; 13) | 2 | STRUCT_DEF@[0; 13) |
3 | STRUCT_KW@[0; 6) | 3 | STRUCT_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0019_enums.txt b/crates/libsyntax2/tests/data/parser/ok/0019_enums.txt index 0eca75cd8..6333e47c5 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0019_enums.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0019_enums.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 182) | 1 | ROOT@[0; 182) |
2 | ENUM_DEF@[0; 11) | 2 | ENUM_DEF@[0; 11) |
3 | ENUM_KW@[0; 4) | 3 | ENUM_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0020_type_param_bounds.txt b/crates/libsyntax2/tests/data/parser/ok/0020_type_param_bounds.txt index 62632d19a..eb01dc8f1 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0020_type_param_bounds.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0020_type_param_bounds.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 200) | 1 | ROOT@[0; 200) |
2 | STRUCT_DEF@[0; 12) | 2 | STRUCT_DEF@[0; 12) |
3 | STRUCT_KW@[0; 6) | 3 | STRUCT_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0021_extern_fn.txt b/crates/libsyntax2/tests/data/parser/ok/0021_extern_fn.txt index c3f377857..5ceef46e0 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0021_extern_fn.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0021_extern_fn.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 71) | 1 | ROOT@[0; 71) |
2 | FN_DEF@[0; 19) | 2 | FN_DEF@[0; 19) |
3 | ABI@[0; 6) | 3 | ABI@[0; 6) |
4 | EXTERN_KW@[0; 6) | 4 | EXTERN_KW@[0; 6) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0022_empty_extern_block.txt b/crates/libsyntax2/tests/data/parser/ok/0022_empty_extern_block.txt index 075055bfe..2099e2433 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0022_empty_extern_block.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0022_empty_extern_block.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 27) | 1 | ROOT@[0; 27) |
2 | EXTERN_BLOCK@[0; 10) | 2 | EXTERN_BLOCK@[0; 10) |
3 | ABI@[0; 6) | 3 | ABI@[0; 6) |
4 | EXTERN_KW@[0; 6) | 4 | EXTERN_KW@[0; 6) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0023_static_items.txt b/crates/libsyntax2/tests/data/parser/ok/0023_static_items.txt index dfe957fd8..5c1a3a7a5 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0023_static_items.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0023_static_items.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 47) | 1 | ROOT@[0; 47) |
2 | STATIC_DEF@[0; 20) | 2 | STATIC_DEF@[0; 20) |
3 | STATIC_KW@[0; 6) | 3 | STATIC_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0024_const_item.txt b/crates/libsyntax2/tests/data/parser/ok/0024_const_item.txt index 413bb3084..d0e5842da 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0024_const_item.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0024_const_item.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 46) | 1 | ROOT@[0; 46) |
2 | CONST_DEF@[0; 20) | 2 | CONST_DEF@[0; 20) |
3 | CONST_KW@[0; 5) | 3 | CONST_KW@[0; 5) |
4 | WHITESPACE@[5; 6) | 4 | WHITESPACE@[5; 6) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0025_extern_fn_in_block.txt b/crates/libsyntax2/tests/data/parser/ok/0025_extern_fn_in_block.txt index 088c6b54c..363b3576e 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0025_extern_fn_in_block.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0025_extern_fn_in_block.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 35) | 1 | ROOT@[0; 35) |
2 | FN_DEF@[0; 34) | 2 | FN_DEF@[0; 34) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0026_const_fn_in_block.txt b/crates/libsyntax2/tests/data/parser/ok/0026_const_fn_in_block.txt index 246ea583f..d45fc2559 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0026_const_fn_in_block.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0026_const_fn_in_block.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 34) | 1 | ROOT@[0; 34) |
2 | FN_DEF@[0; 33) | 2 | FN_DEF@[0; 33) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0027_unsafe_fn_in_block.txt b/crates/libsyntax2/tests/data/parser/ok/0027_unsafe_fn_in_block.txt index 03acfd891..5a39fa98c 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0027_unsafe_fn_in_block.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0027_unsafe_fn_in_block.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 53) | 1 | ROOT@[0; 53) |
2 | FN_DEF@[0; 52) | 2 | FN_DEF@[0; 52) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0028_operator_binding_power.txt b/crates/libsyntax2/tests/data/parser/ok/0028_operator_binding_power.txt index aa1fa0a81..27efd180f 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0028_operator_binding_power.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0028_operator_binding_power.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 248) | 1 | ROOT@[0; 248) |
2 | FN_DEF@[0; 247) | 2 | FN_DEF@[0; 247) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0029_range_forms.txt b/crates/libsyntax2/tests/data/parser/ok/0029_range_forms.txt index 28fd89ca4..6d6d2f4d0 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0029_range_forms.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0029_range_forms.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 79) | 1 | ROOT@[0; 79) |
2 | FN_DEF@[0; 78) | 2 | FN_DEF@[0; 78) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/libsyntax2/tests/data/parser/ok/0030_traits.txt b/crates/libsyntax2/tests/data/parser/ok/0030_traits.txt index ab87864fc..ddd666407 100644 --- a/crates/libsyntax2/tests/data/parser/ok/0030_traits.txt +++ b/crates/libsyntax2/tests/data/parser/ok/0030_traits.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | FILE@[0; 164) | 1 | ROOT@[0; 164) |
2 | TRAIT_DEF@[0; 66) | 2 | TRAIT_DEF@[0; 66) |
3 | VISIBILITY@[0; 3) | 3 | VISIBILITY@[0; 3) |
4 | PUB_KW@[0; 3) | 4 | PUB_KW@[0; 3) |