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§
- call
- Hybrid analysis for function calls.
- code_
action - Provides code actions for the document.
- color_
expr - Analyze color expressions in a source file.
- completion
- Provides completions for the document.
- definition
- Linked definition analysis
- doc_
highlight - Analyze related expressions to highlight in a source file.
- link_
expr - Analyze link expressions in a source file.
- semantic_
tokens - Semantic tokens (highlighting) support for LSP.
- signature
- Analysis of function signatures.
- stats
- Statistics about the analyzers
Structs§
- Analysis
- The analysis data holds globally.
- Analysis
Global Caches - A global (compiler server spanned) cache for all level of analysis results of a module.
- Analysis
Global Workers - Shared workers to limit resource usage
- Analysis
Local Caches - A local (lsp request spanned) cache for all level of analysis results of a module.
- Analysis
RevCache - A revision-managed (per input change) cache for all level of analysis results of a module.
- Analysis
RevLock - A lock for revision.
- Local
Context - The local context for analyzers. In addition to the shared context, it also holds mutable local caches.
- Local
Context Guard - The local context guard that performs gc once dropped.
- LspQuery
Snapshot - A snapshot for LSP queries.
- Module
Analysis Local Cache - A local cache for module-level analysis results of a module.
- Rate
Limiter - A rate limiter on some (cpu-heavy) action
- Search
Ctx - The context for searching in the workspace.
- Shared
Context - The shared analysis context for analyzers.
Traits§
- LspWorld
Ext - Extension trait for
typst::World
. - Periscope
Provider - The periscope provider.