mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-23 12:46:43 +00:00
refactor: improving names of matched structs and documenting matchers (#1022)
This commit is contained in:
parent
902bd17cba
commit
ad0c1e8aca
16 changed files with 391 additions and 412 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use std::ops::Range;
|
||||
|
||||
use crate::{prelude::*, syntax::DerefTarget, SemanticRequest};
|
||||
use crate::{prelude::*, syntax::SyntaxClass, SemanticRequest};
|
||||
|
||||
/// The [`textDocument/declaration`] request asks the server for the declaration
|
||||
/// location of a symbol at a given text document position.
|
||||
|
|
@ -39,7 +39,7 @@ impl SemanticRequest for GotoDeclarationRequest {
|
|||
fn find_declarations(
|
||||
_ctx: &LocalContext,
|
||||
_expr_info: Arc<crate::syntax::ExprInfo>,
|
||||
_deref_target: DerefTarget<'_>,
|
||||
_syntax: SyntaxClass<'_>,
|
||||
) -> Option<Vec<Range<usize>>> {
|
||||
todo!()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue