Look up the fully-qualified name for the identifier at `offset`. Returns `None` when no resolved name exists at that position (e.g. keywords, literals, or identifiers that `mago-names` does not track).
(&self, offset: u32)
| 38 | /// (e.g. keywords, literals, or identifiers that `mago-names` does |
| 39 | /// not track). |
| 40 | pub fn get(&self, offset: u32) -> Option<&str> { |
| 41 | self.names.get(&offset).map(|(name, _)| name.as_str()) |
| 42 | } |
| 43 | |
| 44 | /// Whether the name at `offset` was introduced by an explicit `use` |
| 45 | /// statement. |