refactor: move expr and ty defs to analysis crate (#1633)

This commit is contained in:
Myriad-Dreamin 2025-04-08 05:50:55 +08:00 committed by GitHub
parent 72e33e461d
commit ac506dcc31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
58 changed files with 968 additions and 890 deletions

View file

@ -1,5 +1,6 @@
//! Semantic tokens (highlighting) support for LSP.
use std::collections::HashMap;
use std::{
num::NonZeroUsize,
ops::Range,
@ -7,7 +8,6 @@ use std::{
sync::{Arc, OnceLock},
};
use hashbrown::HashMap;
use lsp_types::SemanticToken;
use lsp_types::{SemanticTokenModifier, SemanticTokenType};
use parking_lot::Mutex;