Expand description
The types you almost always want, in one glob (includes the core prelude).
Re-exports§
pub use crate::diagnostics;pub use crate::diagnostics;pub use crate::serve;pub use crate::serve_on;pub use crate::CompletionFn;pub use crate::DefinitionFn;pub use crate::DescribeFn;pub use crate::DiagnosticsOptions;pub use crate::Document;pub use crate::Documents;pub use crate::ExtraDiagnosticsFn;pub use crate::FailedNode;pub use crate::HoverFn;pub use crate::LabelFn;pub use crate::Language;pub use crate::LineIndex;pub use crate::NodeLabel;pub use crate::PositionEncoding;pub use crate::SimpleLanguage;pub use crate::SymbolsFn;
Structs§
- Cancel
Token - A cheap, thread-safe flag for cancelling an engine run.
- Engine
- The multi-pass fixpoint driver.
- Engine
Config - Tunables for an
Engine. - Job
- One ready node prepared for execution by a round.
- NodeId
- A stable identifier for a node within a
ParseTree. - Parse
Tree - A tree of source regions grown by the
Engine. - RunReport
- Summary of a single
Engine::run. - Schedule
- An ordered sequence of passes, indexed by round.
- Serial
Executor - An
Executorthat runs jobs one at a time on the calling thread. - Session
- A long-lived document: a
ParseTreethat can absorbEdits. - Span
- A half-open byte range
[start, end)into a source text, tagged with the revision of that text it refers to. - Status
Counts - Per-status node counts for a whole tree.
- Violation
- One rejected child region: what a pass tried to produce and why the engine refused it.
Enums§
- Outcome
- What a
Passinstructs the engine to do with a node. - Status
- Lifecycle state of a node in a
ParseTree. - Violation
Kind - The reason a produced child region was rejected. See
Violation.