Home
last modified time | relevance | path

Searched defs:use_tree (Results 1 – 17 of 17) sorted by relevance

/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-assists/src/handlers/
Dsplit_import.rs20 let use_tree = path.top_path().syntax().ancestors().find_map(ast::UseTree::cast)?; in split_import() localVariable
33 let use_tree = edit.make_mut(use_tree.clone()); in split_import() localVariable
Dexpand_glob_import.rs45 let use_tree = star.parent().and_then(ast::UseTree::cast)?; in expand_glob_import() localVariable
64 let use_tree = builder.make_mut(use_tree); in expand_glob_import() localVariable
109 let use_tree = ast::UseTree::cast(n)?; in find_parent_and_path() localVariable
Dgenerate_enum_variant.rs510 fn use_tree() { in use_tree() function
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/completions/
Duse_.rs35 let use_tree = list.parent_use_tree(); localVariable
/third_party/rust/rust/src/tools/rust-analyzer/crates/parser/src/grammar/items/
Duse_item.rs14 fn use_tree(p: &mut Parser<'_>, top_level: bool) { in use_tree() function
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-db/src/imports/
Dinsert_use.rs203 let use_tree = path.syntax().parent().and_then(ast::UseTree::cast)?; in ast_to_remove_for_path_in_use_stmt() localVariable
270 let use_tree = use_.use_tree()?; in guess_granularity_from_scope() localVariable
/third_party/rust/rust/compiler/rustc_resolve/src/
Dcheck_unused.rs42 use_tree: &'a ast::UseTree, field
105 let use_tree = self.base_use_tree.unwrap(); in unused_import() localVariable
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/path/
Dlower.rs174 let use_tree = use_tree_list.parent_use_tree(); in lower_path() localVariable
/third_party/rust/rust/src/tools/rust-analyzer/crates/parser/src/grammar/
Dpaths.rs57 let use_tree = mode == Mode::Use && matches!(p.nth(2), T![*] | T!['{']); in path_for_qualifier() localVariable
/third_party/libabigail/tools/
Dabilint.cc319 unique_ptr<artifact_use_relation_tree> use_tree in build_type_use_tree() local
461 unique_ptr<artifact_use_relation_tree> use_tree = in show_how_type_is_used() local
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/
Dtests.rs23 mod use_tree; module
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/context/
Danalysis.rs1321 let use_tree = use_tree_list.syntax().parent().and_then(ast::UseTree::cast)?; in path_or_use_tree_qualifier() localVariable
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/item_tree/
Dlower.rs760 fn use_tree(&mut self, kind: UseTreeKind, ast: ast::UseTree) -> UseTree { in use_tree() method
/third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/ast/
Dmake.rs366 pub fn use_tree( in use_tree() function
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/
Ditem_tree.rs547 pub use_tree: UseTree, field
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir/src/
Dlib.rs746 let use_tree = import.use_tree_to_ast(db.upcast(), file_id, *index); in emit_def_diagnostic_() localVariable
/third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/ast/generated/
Dnodes.rs471 pub fn use_tree(&self) -> Option<UseTree> { support::child(&self.syntax) } in use_tree() method