Look up a template parameter definition for `name` at `cursor_offset` in the precomputed symbol map for `uri`.
(
&self,
uri: &str,
name: &str,
cursor_offset: u32,
)
| 411 | /// Look up a template parameter definition for `name` at |
| 412 | /// `cursor_offset` in the precomputed symbol map for `uri`. |
| 413 | fn lookup_template_def( |
| 414 | &self, |
| 415 | uri: &str, |
| 416 | name: &str, |
| 417 | cursor_offset: u32, |
| 418 | ) -> Option<crate::symbol_map::TemplateParamDef> { |
| 419 | let maps = self.symbol_maps.read(); |
| 420 | let map = maps.get(uri)?; |
| 421 | map.find_template_def(name, cursor_offset).cloned() |
| 422 | } |
| 423 | |
| 424 | // ─── Constant Definition Resolution ───────────────────────────────────── |
| 425 |
no test coverage detected