summaryrefslogtreecommitdiff
path: root/src/syntax/mod.rs
blob: e1c9bbb07d6602b6406c83f2dfc7e6d3187ed4af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//! Syntax trees, parsing and tokenization.

#[cfg(test)]
#[macro_use]
mod test;

pub mod decoration;
pub mod expr;
pub mod parsing;
pub mod scope;
pub mod span;
pub mod tokens;
pub mod tree;
pub mod value;

/// Basic types used around the syntax side.
pub mod prelude {
    pub use super::expr::*;
    pub use super::span::{Span, SpanVec, Spanned};
    pub use super::tree::{DynamicNode, SyntaxNode, SyntaxTree};
    pub use super::value::*;
}