summaryrefslogtreecommitdiff
path: root/src/syntax/mod.rs
blob: 817022016e08a6f32190fc08b4fcb9c82f72c180 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Syntax types.

mod expr;
mod ident;
mod lit;
mod node;
mod span;
mod token;

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>;