Home
last modified time | relevance | path

Searched refs:ImportScope (Results 1 – 25 of 97) sorted by relevance

1234

/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/ide_db/src/helpers/
H A Dinsert_use.rs46 pub enum ImportScope { enum
52 impl ImportScope { implementation
109 .map(ImportScope::Block) in find_insert_use_container()
148 ImportScope::File(file) => ImportScope::File(file.clone_for_update()), in clone_for_update()
149 ImportScope::Module(item_list) => ImportScope::Module(item_list.clone_for_update()), in clone_for_update()
150 ImportScope::Block(block) => ImportScope::Block(block.clone_for_update()), in clone_for_update()
267 ImportScope::File(f) => f.items(), in guess_granularity_from_scope()
268 ImportScope::Module(m) => m.items(), in guess_granularity_from_scope()
269 ImportScope::Block(b) => b.items(), in guess_granularity_from_scope()
321 scope: &ImportScope, in insert_use_() argument
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/ide_db/src/helpers/
H A Dinsert_use.rs46 pub enum ImportScope { enum
52 impl ImportScope { impl
109 .map(ImportScope::Block) in find_insert_use_container()
148 ImportScope::File(file) => ImportScope::File(file.clone_for_update()), in clone_for_update()
149 ImportScope::Module(item_list) => ImportScope::Module(item_list.clone_for_update()), in clone_for_update()
150 ImportScope::Block(block) => ImportScope::Block(block.clone_for_update()), in clone_for_update()
267 ImportScope::File(f) => f.items(), in guess_granularity_from_scope()
268 ImportScope::Module(m) => m.items(), in guess_granularity_from_scope()
269 ImportScope::Block(b) => b.items(), in guess_granularity_from_scope()
321 scope: &ImportScope, in insert_use_() argument
[all …]
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/ide_assists/src/handlers/
H A Dreplace_qualified_name_with_use.rs3 insert_use::{insert_use, ImportScope},
73 let scope = ImportScope::find_insert_use_container(path.syntax(), &ctx.sema)?; in replace_qualified_name_with_use()
83 ImportScope::File(it) => ImportScope::File(builder.make_mut(it)), in replace_qualified_name_with_use()
84 ImportScope::Module(it) => ImportScope::Module(builder.make_mut(it)), in replace_qualified_name_with_use()
85 ImportScope::Block(it) => ImportScope::Block(builder.make_mut(it)), in replace_qualified_name_with_use()
H A Dauto_import.rs3 insert_use::{insert_use, ImportScope},
98 let scope = ImportScope::find_insert_use_container( in auto_import()
116 ImportScope::File(it) => ImportScope::File(builder.make_mut(it)), in auto_import()
117 ImportScope::Module(it) => ImportScope::Module(builder.make_mut(it)), in auto_import()
118 ImportScope::Block(it) => ImportScope::Block(builder.make_mut(it)), in auto_import()
H A Dextract_struct_from_enum_variant.rs8 insert_use::{insert_use, ImportScope, InsertUseConfig},
280 import: Option<(ImportScope, hir::ModPath)>, in apply_references() argument
299 ) -> Vec<(ast::PathSegment, SyntaxNode, Option<(ImportScope, hir::ModPath)>)> { in process_references() argument
316 let scope = ImportScope::find_insert_use_container(&scope_node, &ctx.sema)?; in process_references()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/ide_assists/src/handlers/
H A Dreplace_qualified_name_with_use.rs3 insert_use::{insert_use, ImportScope},
73 let scope = ImportScope::find_insert_use_container(path.syntax(), &ctx.sema)?; in replace_qualified_name_with_use()
83 ImportScope::File(it) => ImportScope::File(builder.make_mut(it)), in replace_qualified_name_with_use()
84 ImportScope::Module(it) => ImportScope::Module(builder.make_mut(it)), in replace_qualified_name_with_use()
85 ImportScope::Block(it) => ImportScope::Block(builder.make_mut(it)), in replace_qualified_name_with_use()
H A Dauto_import.rs3 insert_use::{insert_use, ImportScope},
98 let scope = ImportScope::find_insert_use_container( in auto_import()
116 ImportScope::File(it) => ImportScope::File(builder.make_mut(it)), in auto_import()
117 ImportScope::Module(it) => ImportScope::Module(builder.make_mut(it)), in auto_import()
118 ImportScope::Block(it) => ImportScope::Block(builder.make_mut(it)), in auto_import()
H A Dextract_struct_from_enum_variant.rs8 insert_use::{insert_use, ImportScope, InsertUseConfig},
280 import: Option<(ImportScope, hir::ModPath)>, in apply_references() argument
299 ) -> Vec<(ast::PathSegment, SyntaxNode, Option<(ImportScope, hir::ModPath)>)> { in process_references() argument
316 let scope = ImportScope::find_insert_use_container(&scope_node, &ctx.sema)?; in process_references()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Metadata/src/System/Reflection/Metadata/Internal/
H A DMetadataFlags.cs70 ImportScope = 1UL << TableIndex.ImportScope, enumerator
129 | ImportScope
240 internal const uint ImportScope = (uint)TableIndex.ImportScope; field in System.Reflection.Metadata.Ecma335.HandleType
326 internal const uint ImportScope = HandleType.ImportScope << RowIdBitCount; field in System.Reflection.Metadata.Ecma335.TokenTypeIds
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Metadata/src/System/Reflection/Metadata/PortablePdb/
H A DImportScope.cs15 public readonly struct ImportScope struct
22 internal ImportScope(MetadataReader reader, ImportScopeHandle handle) in ImportScope() argument
H A DHasCustomDebugInformationTag.cs77 TokenTypeIds.ImportScope,
113 | TableMask.ImportScope;
188 case TokenTypeIds.ImportScope >> TokenTypeIds.RowIdBitCount: in ConvertToTag()
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/ide_completion/src/
H A Dsnippet.rs105 use ide_db::helpers::{import_assets::LocatedImport, insert_use::ImportScope};
162 import_scope: &ImportScope, in imports() argument
178 import_scope: &ImportScope, in import_edits() argument
H A Dlib.rs19 insert_use::{self, ImportScope},
186 let scope = ImportScope::find_insert_use_container(position_for_import, &ctx.sema)?; in resolve_completion_edits()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/ide_completion/src/
H A Dsnippet.rs57 use ide_db::helpers::{import_assets::LocatedImport, insert_use::ImportScope};
114 import_scope: &ImportScope, in imports() argument
130 import_scope: &ImportScope, in import_edits() argument
H A Dlib.rs19 insert_use::{self, ImportScope},
186 let scope = ImportScope::find_insert_use_container(position_for_import, &ctx.sema)?; in resolve_completion_edits()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Metadata/src/System/Reflection/Metadata/
H A DHandleKind.cs43 ImportScope = (byte)HandleType.ImportScope, enumerator
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/ide_completion/src/completions/
H A Dsnippet.rs4 use ide_db::helpers::{insert_use::ImportScope, SnippetCap};
105 let import_scope = ImportScope::find_insert_use_container(&ctx.token.parent()?, &ctx.sema)?; in add_custom_completions()
H A Dflyimport.rs5 insert_use::ImportScope,
139 let import_scope = ImportScope::find_insert_use_container( in import_on_the_fly()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/ide_completion/src/completions/
H A Dflyimport.rs4 insert_use::ImportScope,
133 let import_scope = ImportScope::find_insert_use_container( in import_on_the_fly()
H A Dsnippet.rs4 use ide_db::helpers::{insert_use::ImportScope, SnippetCap};
105 let import_scope = ImportScope::find_insert_use_container(&ctx.token.parent()?, &ctx.sema)?; in add_custom_completions()
/dports/textproc/py-pyscss/pyScss-1.3.7/scss/
H A Dnamespace.py88 class ImportScope(Scope): class
113 self._imports = ImportScope()
133 self._imports = ImportScope(other._imports for other in others)
/dports/lang/mono/mono-5.10.1.57/mcs/tests/
H A Dtest-946.cs10 int ImportScope (int scope) in ImportScope() method in X
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/ide_db/src/helpers/insert_use/
H A Dtests.rs882 .and_then(|it| ImportScope::find_insert_use_container(&it, sema)) in check_with_config()
883 .or_else(|| ImportScope::from(syntax)) in check_with_config()
950 let file = ImportScope::from(syntax).unwrap(); in check_guess()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/ide_db/src/helpers/insert_use/
H A Dtests.rs882 .and_then(|it| ImportScope::find_insert_use_container(&it, sema)) in check_with_config()
883 .or_else(|| ImportScope::from(syntax)) in check_with_config()
950 let file = ImportScope::from(syntax).unwrap(); in check_guess()
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/ide_completion/src/completions/attribute/
H A Dderive.rs4 helpers::{import_assets::ImportAssets, insert_use::ImportScope, FamousDefs},
100 let import_scope = ImportScope::find_insert_use_container(&parent, &ctx.sema)?; in flyimport_derive()

1234