(&self)
| 453 | self.stack.last().map(|s| s.row).unwrap_or(0) |
| 454 | } |
| 455 | fn inside_class_like(&self) -> bool { |
| 456 | self.stack |
| 457 | .last() |
| 458 | .map(|s| matches!(s.kind, "class" | "struct" | "interface" | "trait" | "enum" | "module")) |
| 459 | .unwrap_or(false) |
| 460 | } |
| 461 | |
| 462 | fn push_ref_at(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node) { |
| 463 | let name_ref = self.arena.put(name); |
no outgoing calls
no test coverage detected