mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-18 18:25:00 +00:00
feat: implement expression checker (#714)
* feat: implements expression checker * dev: resolve information * dev: delete def_use * stage * stage * stage * stage concurrent * stage concurrent * dev: better concurrency * dev: final constant evaluation improvement * dev: change reference site * dev: handle comments * dev: remove indirect import structure * dev: adjust linked_def impl * dev: finalize goto definition impl * dev: replace all old import and def_use analyses with expr analysis * dev: update expr_of snapshots * dev: split def/expr, refactor definition * dev: more consistent definition solver * dev: rename definition crate * dev: references work again * dev: resolve root decl * dev: resolve root decl * dev: resolve global definitions * dev: resolve tokens with world * feat: render semantic tokens with expression information * dev: loop detection * dev: recover type checking * dev: recover more type checking * dev: refactor analysis context * fix: process case of spread left * dev: label inference * dev: recover more signature checking * dev: recover more ident reference checking * dev: pass all tests * Revert "dev: dirty changes" This reverts commit 9ae2dacd0c96851e088feea76c61c184a1cf9722. * test: update snapshot * fix: bad cached signatures * fix: slash problem
This commit is contained in:
parent
136b162360
commit
81ebc8a635
173 changed files with 5529 additions and 4370 deletions
|
@ -10,6 +10,7 @@
|
|||
mod adt;
|
||||
pub mod analysis;
|
||||
pub mod docs;
|
||||
pub mod package;
|
||||
pub mod syntax;
|
||||
pub mod ty;
|
||||
mod upstream;
|
||||
|
@ -298,8 +299,8 @@ mod polymorphic {
|
|||
Self::DocumentSymbol(..) => ContextFreeUnique,
|
||||
Self::WorkspaceLabel(..) => Mergeable,
|
||||
Self::Symbol(..) => Mergeable,
|
||||
Self::SemanticTokensFull(..) => ContextFreeUnique,
|
||||
Self::SemanticTokensDelta(..) => ContextFreeUnique,
|
||||
Self::SemanticTokensFull(..) => PinnedFirst,
|
||||
Self::SemanticTokensDelta(..) => PinnedFirst,
|
||||
Self::Formatting(..) => ContextFreeUnique,
|
||||
Self::FoldingRange(..) => ContextFreeUnique,
|
||||
Self::SelectionRange(..) => ContextFreeUnique,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue