diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-03-06 12:33:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-06 11:33:35 +0000 |
| commit | a558fd232b379e527eac2d5196eb9367b7d28032 (patch) | |
| tree | 1e91330df3b21bb86e067067cc9ff07ac8d513c8 /crates/typst-syntax/src/lib.rs | |
| parent | 898367f096fef507488438e00caae8c4ea1d0ff4 (diff) | |
Add `typst init` command (#3544)
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}; |
