Home
last modified time | relevance | path

Searched defs:BodySourceMap (Results 1 – 7 of 7) sorted by relevance

/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/
Dbody.rs81 pub struct BodySourceMap { struct
82 expr_map: FxHashMap<ExprSource, ExprId>,
83 expr_map_back: ArenaMap<ExprId, ExprSource>,
85 pat_map: FxHashMap<PatSource, PatId>,
86 pat_map_back: ArenaMap<PatId, PatSource>,
88 label_map: FxHashMap<LabelSource, LabelId>,
89 label_map_back: ArenaMap<LabelId, LabelSource>,
93 field_map: FxHashMap<FieldSource, ExprId>,
94 field_map_back: FxHashMap<ExprId, FieldSource>,
96 expansions: FxHashMap<InFile<AstPtr<ast::MacroCall>>, HirFileId>,
[all …]
Ddb.rs166 fn body_with_source_map(&self, def: DefWithBodyId) -> (Arc<Body>, Arc<BodySourceMap>); in body_with_source_map()
/third_party/rust/rust/src/tools/rust-analyzer/crates/rust-analyzer/src/cli/
Danalysis_stats.rs725 fn location_csv_expr(db: &RootDatabase, vfs: &Vfs, sm: &BodySourceMap, expr_id: ExprId) -> String { in location_csv_expr()
741 fn location_csv_pat(db: &RootDatabase, vfs: &Vfs, sm: &BodySourceMap, pat_id: PatId) -> String { in location_csv_pat()
762 sm: &BodySourceMap, in expr_syntax_range()
783 sm: &BodySourceMap, in pat_syntax_range()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/
Dtests.rs248 body_source_map: &BodySourceMap, in expr_node()
262 body_source_map: &BodySourceMap, in pat_node()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir/src/
Dsource_analyzer.rs113 fn body_source_map(&self) -> Option<&BodySourceMap> { in body_source_map()
870 source_map: &BodySourceMap, in scope_for()
883 source_map: &BodySourceMap, in scope_for_offset()
917 source_map: &BodySourceMap, in adjust()
Dlib.rs2817 source_map: &'a hir_def::body::BodySourceMap, in sources_()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/body/
Dlower.rs53 ) -> (Body, BodySourceMap) { in lower() argument
185 ) -> (Body, BodySourceMap) { in collect() argument