diff options
Diffstat (limited to 'crates/typst-syntax/src/lib.rs')
| -rw-r--r-- | crates/typst-syntax/src/lib.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/typst-syntax/src/lib.rs b/crates/typst-syntax/src/lib.rs index d93a8264..0ddb1460 100644 --- a/crates/typst-syntax/src/lib.rs +++ b/crates/typst-syntax/src/lib.rs @@ -1,6 +1,7 @@ //! Parser and syntax tree for Typst. pub mod ast; +pub mod package; mod file; mod highlight; @@ -8,12 +9,13 @@ mod kind; mod lexer; mod node; mod parser; +mod path; mod reparser; mod set; mod source; mod span; -pub use self::file::{FileId, PackageSpec, PackageVersion, VirtualPath}; +pub use self::file::FileId; pub use self::highlight::{highlight, highlight_html, Tag}; pub use self::kind::SyntaxKind; pub use self::lexer::{ @@ -21,6 +23,7 @@ pub use self::lexer::{ }; pub use self::node::{LinkedChildren, LinkedNode, SyntaxError, SyntaxNode}; pub use self::parser::{parse, parse_code, parse_math}; +pub use self::path::VirtualPath; pub use self::source::Source; pub use self::span::{Span, Spanned}; |
