Expand description
Library surface for leekscript-lsp (used by integration tests and potentially other tools).
The main binary is in main.rs; this crate re-exports types needed for testing the
parse/reparse + analysis pipeline.
Structs§
- Document
Analysis - Result of document-level analysis: source, AST, diagnostics, scope, types, definition map, doc maps, class hierarchy.
- Text
Edit - A text edit: replace
old_source[start..end]withnew_text.
Functions§
- parse
- Parse source as a program (Phase 3/4: list of statements).
- reparse
- Reparse after a text edit, reusing unchanged parts of the tree.
- reparse_
or_ parse - Apply a text edit and reparse incrementally, or fall back to full parse.