aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
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;
29mod yellow; 29mod yellow;
30/// Utilities for simple uses of the parser. 30/// Utilities for simple uses of the parser.
31pub mod utils; 31pub mod utils;
32pub mod ast;
32 33
33pub use { 34pub 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
40pub(crate) use yellow::SyntaxError; 42pub(crate) use yellow::SyntaxError;