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

mod expr;
mod ident;
mod node;
mod pretty;
mod span;
mod token;
pub mod visit;

pub use expr::*;
pub use ident::*;
pub use node::*;
pub use pretty::*;
pub use span::*;
pub use token::*;

use crate::util::EcoString;

/// The abstract syntax tree.
///
/// This type can represent a full parsed document.
pub type SyntaxTree = Vec<SyntaxNode>;