mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
24 lines
360 B
Rust
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>;
|