aboutsummaryrefslogtreecommitdiff
path: root/docs/dev
diff options
context:
space:
mode:
authorEkaterina Babshukova <[email protected]>2019-10-05 15:48:31 +0100
committerEkaterina Babshukova <[email protected]>2019-10-05 15:48:31 +0100
commit311dbb854536dd526cdbcadc6d270f9a37e4b816 (patch)
treedb4857e394f6bd6a1045a13d0b3f11a98be8da49 /docs/dev
parent2fc22901730f35405d2bdfe33f88d7b3c6b14304 (diff)
remove `visitor` module
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/architecture.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/dev/architecture.md b/docs/dev/architecture.md
index 1201f6e5a..1ffabc6ef 100644
--- a/docs/dev/architecture.md
+++ b/docs/dev/architecture.md
@@ -79,9 +79,7 @@ Rust syntax tree structure and parser. See
79- `grammar.ron` RON description of the grammar, which is used to 79- `grammar.ron` RON description of the grammar, which is used to
80 generate `syntax_kinds` and `ast` modules, using `cargo gen-syntax` command. 80 generate `syntax_kinds` and `ast` modules, using `cargo gen-syntax` command.
81- `algo`: generic tree algorithms, including `walk` for O(1) stack 81- `algo`: generic tree algorithms, including `walk` for O(1) stack
82 space tree traversal (this is cool) and `visit` for type-driven 82 space tree traversal (this is cool).
83 visiting the nodes (this is double plus cool, if you understand how
84 `Visitor` works, you understand the design of syntax trees).
85 83
86Tests for ra_syntax are mostly data-driven: `test_data/parser` contains subdirectories with a bunch of `.rs` 84Tests for ra_syntax are mostly data-driven: `test_data/parser` contains subdirectories with a bunch of `.rs`
87(test vectors) and `.txt` files with corresponding syntax trees. During testing, we check 85(test vectors) and `.txt` files with corresponding syntax trees. During testing, we check