(&self)
| 515 | self.stack.last().map(|s| s.row).unwrap_or(0) |
| 516 | } |
| 517 | fn inside_class_like(&self) -> bool { |
| 518 | self.stack |
| 519 | .last() |
| 520 | .map(|s| matches!(s.kind, "class" | "struct" | "union" | "interface" | "trait" | "enum" | "module")) |
| 521 | .unwrap_or(false) |
| 522 | } |
| 523 | |
| 524 | fn push_ref_at(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node) { |
| 525 | let name_ref = self.arena.put(name); |
no test coverage detected