pushPhpUseRef (3563): `Foo\Bar\Baz` → an `imports` ref named `Foo\Bar::Baz`; a global-namespace name (no `\` after stripping one leading `\`) emits nothing here.
(&mut self, fqn: &str, from_row: u32, node: Node)
| 851 | /// `Foo\Bar::Baz`; a global-namespace name (no `\` after stripping one |
| 852 | /// leading `\`) emits nothing here. |
| 853 | fn push_php_use_ref(&mut self, fqn: &str, from_row: u32, node: Node) { |
| 854 | let clean = fqn.strip_prefix('\\').unwrap_or(fqn); |
| 855 | let Some(last_sep) = clean.rfind('\\') else { return }; |
| 856 | let name = format!("{}::{}", &clean[..last_sep], &clean[last_sep + 1..]); |
| 857 | self.push_ref_at(from_row, &name, edge_kind_index("imports").unwrap(), node); |
| 858 | } |
| 859 | |
| 860 | fn extract_import(&mut self, node: Node<'t>) { |
| 861 | let kind = node.kind(); |
no test coverage detected