diff options
Diffstat (limited to 'src/syntax/mod.rs')
| -rw-r--r-- | src/syntax/mod.rs | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/syntax/mod.rs b/src/syntax/mod.rs index 8b716da4..81702201 100644 --- a/src/syntax/mod.rs +++ b/src/syntax/mod.rs @@ -1,12 +1,18 @@ //! Syntax types. -pub mod ast; -pub mod token; - +mod expr; mod ident; +mod lit; +mod node; mod span; +mod token; -pub use ast::*; +pub use expr::*; pub use ident::*; +pub use lit::*; +pub use node::*; pub use span::*; pub use token::*; + +/// A collection of nodes which form a tree together with the nodes' children. +pub type SynTree = SpanVec<SynNode>; |
