Crate tinymist_world

Source
Expand description

World implementation of typst for tinymist.

Re-exports§

pub use system::SystemCompilerFeat;
pub use system::TypstSystemUniverse;
pub use system::TypstSystemWorld;
pub use system::print_diagnostics;
pub use tinymist_vfs as vfs;
pub use entry::*;
pub use world::*;

Modules§

args
Shared arguments to create a world.
build_info
The build information of the world crate.
config
The configuration of the world.
debug_loc
The debug location that can be used to locate a position in a document or a file.
diag
The diagnostic utilities.
entry
The entry state of the world.
font
The font implementations for typst worlds.
package
The package registry of the world.
parser
The legacy parser of the world.
source
The source database of the world.
system
Run the compiler in the system environment.
world
The world of the compiler.

Structs§

BrowserCompilerFeat
The feature of the browser world.
CompilationTask
A task that compiles a document.
CompileSignal
A signal that possibly triggers a compile (export).
CompileSnapshot
A snapshot of the project and compilation state.
ConfigTask
A task that computes a configuration.
DiagnosticsTask
A task that computes the diagnostics of a document.
OptionDocumentTask
A task that computes an optional document.
ProjectInsId
Project instance id. This is slightly different from the project ids that persist in disk.
TaskFlagBase
A base task flag.
WorldComputeGraph
A world compute graph.

Enums§

DiagnosticFormat
The format to use for diagnostics.

Traits§

CompilerFeat
The type trait interface of CompilerWorld.
ExportComputation
A trait to compute the export of a document.
ExportDetection
A trait to detect the export of a document.
ShadowApi
Latest version of the shadow api, which is in beta.
ShadowApiExt
The extension trait for the shadow api.
WorldComputable
A world computable trait.
WorldDeps
Latest version of the world dependencies api, which is in beta.

Type Aliases§

ExportSignalDeprecated
The export signal for the document.
FlagTask
A task that computes a flag.
HtmlCompilationTask
A task that compiles an HTML document.
PagedCompilationTask
A task that compiles a paged document.
TypstBrowserUniverse
A universe that provides access to the browser.
TypstBrowserWorld
A world that provides access to the browser.