diff options
author | Aleksey Kladov <[email protected]> | 2019-07-21 11:28:58 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-21 11:28:58 +0100 |
commit | d52ee59a712932bc381d8c690dc2f681598760fe (patch) | |
tree | f1fd1615203dd5552172cc35e0b6c5c9b76104c2 /crates/ra_syntax/src/lib.rs | |
parent | 62be91b82d6368a20a40893b199bc4f7a35a2223 (diff) |
streamline API
Diffstat (limited to 'crates/ra_syntax/src/lib.rs')
-rw-r--r-- | crates/ra_syntax/src/lib.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crates/ra_syntax/src/lib.rs b/crates/ra_syntax/src/lib.rs index 7b778f38c..d02078256 100644 --- a/crates/ra_syntax/src/lib.rs +++ b/crates/ra_syntax/src/lib.rs | |||
@@ -44,12 +44,10 @@ pub use crate::{ | |||
44 | syntax_error::{Location, SyntaxError, SyntaxErrorKind}, | 44 | syntax_error::{Location, SyntaxError, SyntaxErrorKind}, |
45 | syntax_node::{ | 45 | syntax_node::{ |
46 | Direction, NodeOrToken, SyntaxElement, SyntaxNode, SyntaxToken, SyntaxTreeBuilder, | 46 | Direction, NodeOrToken, SyntaxElement, SyntaxNode, SyntaxToken, SyntaxTreeBuilder, |
47 | WalkEvent, | ||
48 | }, | 47 | }, |
49 | }; | 48 | }; |
50 | pub use ra_parser::SyntaxKind; | 49 | pub use ra_parser::{SyntaxKind, T}; |
51 | pub use ra_parser::T; | 50 | pub use rowan::{SmolStr, SyntaxText, TextRange, TextUnit, TokenAtOffset, WalkEvent}; |
52 | pub use rowan::{SmolStr, SyntaxText, TextRange, TextUnit}; | ||
53 | 51 | ||
54 | /// `Parse` is the result of the parsing: a syntax tree and a collection of | 52 | /// `Parse` is the result of the parsing: a syntax tree and a collection of |
55 | /// errors. | 53 | /// errors. |