diff options
author | veetaha <[email protected]> | 2020-04-06 12:04:26 +0100 |
---|---|---|
committer | veetaha <[email protected]> | 2020-04-06 12:04:26 +0100 |
commit | da091b130347c4d6d8c75acb8e65c30a17dc1f5e (patch) | |
tree | f97939669a700ed80a64086b1f0aefd530bc9bea /crates/ra_syntax/test_data/parser/ok/0036_fully_qualified.txt | |
parent | ec3fb1cdb4f1808a11fb6057550ed721c2aa36a9 (diff) |
Migrate tests .txt -> .rast
The sytax tree output files now use .rast extension
(rust-analyzer syntax tree or rust abstract syntax tree
(whatever)).
This format has a editors/code/ra_syntax_tree.tmGrammar.json declaration
that supplies nice syntax highlighting for .rast files.
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0036_fully_qualified.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/ok/0036_fully_qualified.txt | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0036_fully_qualified.txt b/crates/ra_syntax/test_data/parser/ok/0036_fully_qualified.txt deleted file mode 100644 index ac5444087..000000000 --- a/crates/ra_syntax/test_data/parser/ok/0036_fully_qualified.txt +++ /dev/null | |||
@@ -1,93 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 157) | ||
2 | COMMENT@[0; 60) "// https://github.com ..." | ||
3 | WHITESPACE@[60; 62) "\n\n" | ||
4 | FN_DEF@[62; 156) | ||
5 | VISIBILITY@[62; 65) | ||
6 | PUB_KW@[62; 65) "pub" | ||
7 | WHITESPACE@[65; 66) " " | ||
8 | FN_KW@[66; 68) "fn" | ||
9 | WHITESPACE@[68; 69) " " | ||
10 | NAME@[69; 72) | ||
11 | IDENT@[69; 72) "foo" | ||
12 | TYPE_PARAM_LIST@[72; 85) | ||
13 | L_ANGLE@[72; 73) "<" | ||
14 | TYPE_PARAM@[73; 84) | ||
15 | NAME@[73; 74) | ||
16 | IDENT@[73; 74) "S" | ||
17 | COLON@[74; 75) ":" | ||
18 | WHITESPACE@[75; 76) " " | ||
19 | TYPE_BOUND_LIST@[76; 84) | ||
20 | TYPE_BOUND@[76; 84) | ||
21 | PATH_TYPE@[76; 84) | ||
22 | PATH@[76; 84) | ||
23 | PATH_SEGMENT@[76; 84) | ||
24 | NAME_REF@[76; 84) | ||
25 | IDENT@[76; 84) "Iterator" | ||
26 | R_ANGLE@[84; 85) ">" | ||
27 | PARAM_LIST@[85; 87) | ||
28 | L_PAREN@[85; 86) "(" | ||
29 | R_PAREN@[86; 87) ")" | ||
30 | WHITESPACE@[87; 88) " " | ||
31 | RET_TYPE@[88; 97) | ||
32 | THIN_ARROW@[88; 90) "->" | ||
33 | WHITESPACE@[90; 91) " " | ||
34 | PATH_TYPE@[91; 97) | ||
35 | PATH@[91; 97) | ||
36 | PATH_SEGMENT@[91; 97) | ||
37 | NAME_REF@[91; 97) | ||
38 | IDENT@[91; 97) "String" | ||
39 | WHITESPACE@[97; 98) "\n" | ||
40 | WHERE_CLAUSE@[98; 134) | ||
41 | WHERE_KW@[98; 103) "where" | ||
42 | WHITESPACE@[103; 108) "\n " | ||
43 | WHERE_PRED@[108; 133) | ||
44 | PATH_TYPE@[108; 129) | ||
45 | PATH@[108; 129) | ||
46 | PATH@[108; 123) | ||
47 | PATH_SEGMENT@[108; 123) | ||
48 | L_ANGLE@[108; 109) "<" | ||
49 | PATH_TYPE@[109; 110) | ||
50 | PATH@[109; 110) | ||
51 | PATH_SEGMENT@[109; 110) | ||
52 | NAME_REF@[109; 110) | ||
53 | IDENT@[109; 110) "S" | ||
54 | WHITESPACE@[110; 111) " " | ||
55 | AS_KW@[111; 113) "as" | ||
56 | WHITESPACE@[113; 114) " " | ||
57 | PATH_TYPE@[114; 122) | ||
58 | PATH@[114; 122) | ||
59 | PATH_SEGMENT@[114; 122) | ||
60 | NAME_REF@[114; 122) | ||
61 | IDENT@[114; 122) "Iterator" | ||
62 | R_ANGLE@[122; 123) ">" | ||
63 | COLONCOLON@[123; 125) "::" | ||
64 | PATH_SEGMENT@[125; 129) | ||
65 | NAME_REF@[125; 129) | ||
66 | IDENT@[125; 129) "Item" | ||
67 | COLON@[129; 130) ":" | ||
68 | WHITESPACE@[130; 131) " " | ||
69 | TYPE_BOUND_LIST@[131; 133) | ||
70 | TYPE_BOUND@[131; 133) | ||
71 | PATH_TYPE@[131; 133) | ||
72 | PATH@[131; 133) | ||
73 | PATH_SEGMENT@[131; 133) | ||
74 | NAME_REF@[131; 133) | ||
75 | IDENT@[131; 133) "Eq" | ||
76 | COMMA@[133; 134) "," | ||
77 | WHITESPACE@[134; 135) "\n" | ||
78 | BLOCK_EXPR@[135; 156) | ||
79 | BLOCK@[135; 156) | ||
80 | L_CURLY@[135; 136) "{" | ||
81 | WHITESPACE@[136; 141) "\n " | ||
82 | METHOD_CALL_EXPR@[141; 154) | ||
83 | LITERAL@[141; 143) | ||
84 | STRING@[141; 143) "\"\"" | ||
85 | DOT@[143; 144) "." | ||
86 | NAME_REF@[144; 152) | ||
87 | IDENT@[144; 152) "to_owned" | ||
88 | ARG_LIST@[152; 154) | ||
89 | L_PAREN@[152; 153) "(" | ||
90 | R_PAREN@[153; 154) ")" | ||
91 | WHITESPACE@[154; 155) "\n" | ||
92 | R_CURLY@[155; 156) "}" | ||
93 | WHITESPACE@[156; 157) "\n" | ||