summaryrefslogtreecommitdiff
path: root/src/syntax/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/mod.rs')
-rw-r--r--src/syntax/mod.rs15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/syntax/mod.rs b/src/syntax/mod.rs
index f4472df5..98e1b4d7 100644
--- a/src/syntax/mod.rs
+++ b/src/syntax/mod.rs
@@ -1,19 +1,10 @@
//! Syntax types.
-mod expr;
+pub mod ast;
+pub mod token;
+
mod ident;
-mod lit;
mod span;
-mod token;
-mod tree;
-
-/// Abstract syntax tree definition.
-pub mod ast {
- use super::*;
- pub use expr::*;
- pub use lit::*;
- pub use tree::*;
-}
pub use ast::*;
pub use ident::*;