diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs index f85ee1eef..3a8e6fa64 100644 --- a/src/lib.rs +++ b/src/lib.rs | |||
@@ -29,12 +29,14 @@ mod syntax_kinds; | |||
29 | mod yellow; | 29 | mod yellow; |
30 | /// Utilities for simple uses of the parser. | 30 | /// Utilities for simple uses of the parser. |
31 | pub mod utils; | 31 | pub mod utils; |
32 | pub mod ast; | ||
32 | 33 | ||
33 | pub use { | 34 | pub use { |
34 | lexer::{tokenize, Token}, | 35 | lexer::{tokenize, Token}, |
35 | syntax_kinds::SyntaxKind, | 36 | syntax_kinds::SyntaxKind, |
36 | text_unit::{TextRange, TextUnit}, | 37 | text_unit::{TextRange, TextUnit}, |
37 | yellow::{SyntaxNode, SyntaxNodeRef}, | 38 | yellow::{SyntaxNode, SyntaxNodeRef, TreeRoot, SyntaxRoot}, |
39 | ast::File, | ||
38 | }; | 40 | }; |
39 | 41 | ||
40 | pub(crate) use yellow::SyntaxError; | 42 | pub(crate) use yellow::SyntaxError; |