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

@ -9,13 +9,13 @@ use typst::{
syntax::Span,
};
use crate::adt::interner::Interned;
use crate::{
analysis::{get_link_exprs, LinkObject, LinkTarget},
find_references,
prelude::*,
prepare_renaming,
syntax::{first_ancestor_expr, get_index_info, node_ancestors, Decl, RefExpr, SyntaxClass},
ty::Interned,
};
/// The [`textDocument/rename`] request is sent from the client to the server to