mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-18 02:04:59 +00:00
refactor: move expr and ty defs to analysis crate (#1633)
This commit is contained in:
parent
72e33e461d
commit
ac506dcc31
58 changed files with 968 additions and 890 deletions
|
@ -46,7 +46,7 @@ pub mod docs;
|
|||
pub mod package;
|
||||
pub mod syntax;
|
||||
pub mod testing;
|
||||
pub mod ty;
|
||||
pub use tinymist_analysis::{ty, upstream};
|
||||
|
||||
/// The physical position in a document.
|
||||
pub type FramePosition = typst::layout::Position;
|
||||
|
@ -81,15 +81,17 @@ mod semantic_tokens_delta;
|
|||
mod semantic_tokens_full;
|
||||
mod signature_help;
|
||||
mod symbol;
|
||||
mod upstream;
|
||||
mod will_rename_files;
|
||||
mod workspace_label;
|
||||
|
||||
use typst::syntax::Source;
|
||||
|
||||
use tinymist_analysis::log_debug_ct;
|
||||
use tinymist_analysis::{adt::interner::Interned, log_debug_ct};
|
||||
use tinymist_project::LspComputeGraph;
|
||||
|
||||
/// A reference to the interned string
|
||||
pub(crate) type StrRef = Interned<str>;
|
||||
|
||||
/// A request handler with given syntax information.
|
||||
pub trait SyntaxRequest {
|
||||
/// The response type of the request.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue