diff options
author | Aleksey Kladov <[email protected]> | 2019-02-20 13:24:39 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-20 13:24:39 +0000 |
commit | 45fc91cc470fa91d5b8905fea2cab4d42bbe72b3 (patch) | |
tree | c658e52cb6b3628ab0022b43efa1d613b4c7964a /crates | |
parent | a4a1e08ab81193112a2e14413d084916241c3fca (diff) |
rearrange modules in a suggestd reading order
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_syntax/src/lib.rs | 17 | ||||
-rw-r--r-- | crates/ra_syntax/src/parsing.rs | 2 |
2 files changed, 10 insertions, 9 deletions
diff --git a/crates/ra_syntax/src/lib.rs b/crates/ra_syntax/src/lib.rs index edd5b4a28..b12282b39 100644 --- a/crates/ra_syntax/src/lib.rs +++ b/crates/ra_syntax/src/lib.rs | |||
@@ -16,18 +16,19 @@ | |||
16 | #![allow(missing_docs)] | 16 | #![allow(missing_docs)] |
17 | //#![warn(unreachable_pub)] // rust-lang/rust#47816 | 17 | //#![warn(unreachable_pub)] // rust-lang/rust#47816 |
18 | 18 | ||
19 | pub mod algo; | 19 | mod syntax_kinds; |
20 | pub mod ast; | 20 | mod syntax_node; |
21 | mod syntax_text; | ||
22 | mod syntax_error; | ||
21 | mod parsing; | 23 | mod parsing; |
22 | mod string_lexing; | 24 | mod string_lexing; |
23 | mod syntax_kinds; | ||
24 | /// Utilities for simple uses of the parser. | ||
25 | pub mod utils; | ||
26 | mod validation; | 25 | mod validation; |
27 | mod syntax_node; | ||
28 | mod ptr; | 26 | mod ptr; |
29 | mod syntax_error; | 27 | |
30 | mod syntax_text; | 28 | pub mod algo; |
29 | pub mod ast; | ||
30 | /// Utilities for simple uses of the parser. | ||
31 | pub mod utils; | ||
31 | 32 | ||
32 | pub use rowan::{SmolStr, TextRange, TextUnit}; | 33 | pub use rowan::{SmolStr, TextRange, TextUnit}; |
33 | pub use crate::{ | 34 | pub use crate::{ |
diff --git a/crates/ra_syntax/src/parsing.rs b/crates/ra_syntax/src/parsing.rs index 023e1031c..761accd7b 100644 --- a/crates/ra_syntax/src/parsing.rs +++ b/crates/ra_syntax/src/parsing.rs | |||
@@ -4,8 +4,8 @@ mod builder; | |||
4 | mod lexer; | 4 | mod lexer; |
5 | mod parser_impl; | 5 | mod parser_impl; |
6 | mod parser_api; | 6 | mod parser_api; |
7 | mod reparsing; | ||
8 | mod grammar; | 7 | mod grammar; |
8 | mod reparsing; | ||
9 | 9 | ||
10 | use crate::{ | 10 | use crate::{ |
11 | SyntaxError, | 11 | SyntaxError, |