mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
More docs
This commit is contained in:
parent
a5a6973df6
commit
b072e68ad5
1 changed files with 8 additions and 2 deletions
|
@ -17,14 +17,20 @@ cargo tool
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
# Tool: `gen`
|
## Tool: `gen`
|
||||||
|
|
||||||
This tool reads a "grammar" from [grammar.ron](../grammar.ron) and
|
This tool reads a "grammar" from [grammar.ron](../grammar.ron) and
|
||||||
generates the `syntax_kinds.rs` file. You should run this tool if you
|
generates the `syntax_kinds.rs` file. You should run this tool if you
|
||||||
add new keywords or syntax elements.
|
add new keywords or syntax elements.
|
||||||
|
|
||||||
|
|
||||||
# Tool: 'parse'
|
## Tool: `parse`
|
||||||
|
|
||||||
This tool reads rust source code from the standard input, parses it,
|
This tool reads rust source code from the standard input, parses it,
|
||||||
and prints the result to stdout.
|
and prints the result to stdout.
|
||||||
|
|
||||||
|
|
||||||
|
## Tool: `collect-tests`
|
||||||
|
|
||||||
|
This tools collect inline tests from comments in libsyntax2 source code
|
||||||
|
and places them into `tests/data/inline` directory.
|
||||||
|
|
Loading…
Reference in a new issue