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