typst/src/syntax/mod.rs
2021-08-14 15:55:39 +02:00

24 lines
360 B
Rust

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