tinymist/crates
Hong Jiarong bc61e150ec
Some checks are pending
tinymist::auto_tag / auto-tag (push) Waiting to run
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
feat: add module item layout tracking to expression analysis (#2250)
This pr adds support for tracking the layout information of module
import items in the source code and refactors the expression analysis
pipeline to accommodate this feature, which introduces a new
`ModuleItemLayout` struct that records the parent module declaration,
the byte range of each import clause, and the bound identifier span.
Expression analysis (`expr_of` / `ExprWorker`) is updated to initialize,
collect, and store this layout data in a new `module_items` field within
`ExprInfoRepr`, which is now also included in its `Hash` implementation.
During import declaration handling, each import item—including renamed
items—is recorded through the new `record_module_item` method, ensuring
that all layout information is captured consistently as part of the
analysis workflow.

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-24 02:29:14 +08:00
..
cmark-writer build: update cmark-writer version to 0.9.0 (#2199) 2025-10-27 18:06:17 +08:00
cmark-writer-macros build: update cmark-writer version to 0.9.0 (#2199) 2025-10-27 18:06:17 +08:00
crityp feat: bump typst to v0.14.0 (#2201) 2025-10-28 23:27:31 +08:00
sync-lsp feat: add js package registry support for tinymist-wasm (#2102) 2025-10-01 16:40:21 +08:00
tinymist build: bump version to 0.14.2 (#2263) 2025-11-22 18:12:55 +08:00
tinymist-analysis feat: add module item layout tracking to expression analysis (#2250) 2025-11-24 02:29:14 +08:00
tinymist-assets docs: document all public items in rust codebase (#2058) 2025-08-21 12:50:03 +08:00
tinymist-cli feat: add c alias for compile command (#2261) 2025-11-20 03:29:31 +08:00
tinymist-dap feat: minimal viable support for syntax-only mode (#2247) 2025-11-16 08:30:20 +08:00
tinymist-debug feat: minimal viable support for syntax-only mode (#2247) 2025-11-16 08:30:20 +08:00
tinymist-derive build: bump version to 0.14.0 (#2215) 2025-11-02 16:15:26 +08:00
tinymist-l10n build: bump version to 0.14.0 (#2215) 2025-11-02 16:15:26 +08:00
tinymist-lint feat: bump typst to v0.14.0 (#2201) 2025-10-28 23:27:31 +08:00
tinymist-package build: bump version to 0.14.0 (#2215) 2025-11-02 16:15:26 +08:00
tinymist-project feat: minimal viable support for syntax-only mode (#2247) 2025-11-16 08:30:20 +08:00
tinymist-query feat: add module item layout tracking to expression analysis (#2250) 2025-11-24 02:29:14 +08:00
tinymist-render fix: eliminate clippy warnings (#2036) 2025-08-18 12:42:03 +08:00
tinymist-std fix: update code and docs about syntax mode (#2248) 2025-11-16 09:15:04 +08:00
tinymist-task feat: add PathAt code context query (#2232) 2025-11-11 02:43:02 +08:00
tinymist-tests fix: update tinymist-project features to include 'system' (#2156) 2025-10-10 08:28:12 +08:00
tinymist-vfs build: bump version to 0.14.0 (#2215) 2025-11-02 16:15:26 +08:00
tinymist-world feat: hot reload compiler respecting typst font, package and library options (#2252) 2025-11-18 01:40:22 +08:00
typlite build: bump version to 0.14.2 (#2263) 2025-11-22 18:12:55 +08:00
typst-preview build: bump dependencies (#2206) 2025-10-29 04:30:38 +08:00
typst-shim fix: update code and docs about syntax mode (#2248) 2025-11-16 09:15:04 +08:00