From b072e68ad5bf1687aebd2ff1c7bf327d38a6a2f2 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 3 Feb 2018 22:44:17 +0300 Subject: [PATCH] More docs --- docs/TOOLS.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/TOOLS.md b/docs/TOOLS.md index 1fcfa2dec8..f8754c06fe 100644 --- a/docs/TOOLS.md +++ b/docs/TOOLS.md @@ -17,14 +17,20 @@ cargo tool ``` -# Tool: `gen` +## Tool: `gen` This tool reads a "grammar" from [grammar.ron](../grammar.ron) and generates the `syntax_kinds.rs` file. You should run this tool if you add new keywords or syntax elements. -# Tool: 'parse' +## Tool: `parse` This tool reads rust source code from the standard input, parses it, 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.