Expand description
Semantic static and dynamic analysis of the source code.
Re-exports§
pub use call::*;
pub use completion::*;
pub use code_action::*;
pub use color_expr::*;
pub use doc_highlight::*;
pub use link_expr::*;
pub use stats::*;
pub use definition::*;
pub use signature::*;
pub use semantic_tokens::*;
Modules§
- Hybrid analysis for function calls.
- Provides code actions for the document.
- Analyze color expressions in a source file.
- Provides completions for the document.
- Linked definition analysis
- Analyze related expressions to highlight in a source file.
- Analyze link expressions in a source file.
- Semantic tokens (highlighting) support for LSP.
- Analysis of function signatures.
- Statistics about the analyzers
Structs§
- The analysis data holds globally.
- A global (compiler server spanned) cache for all level of analysis results of a module.
- Shared workers to limit resource usage
- A local (lsp request spanned) cache for all level of analysis results of a module.
- A revision-managed (per input change) cache for all level of analysis results of a module.
- A lock for revision.
- The local context for analyzers. In addition to the shared context, it also holds mutable local caches.
- The local context guard that performs gc once dropped.
- A snapshot for LSP queries.
- A local cache for module-level analysis results of a module.
- A rate limiter on some (cpu-heavy) action
- The context for searching in the workspace.
- The shared analysis context for analyzers.
Traits§
- Extension trait for
typst::World
. - The periscope provider.