(&self)
| 198 | self.stack.last().map(|s| s.row).unwrap_or(0) |
| 199 | } |
| 200 | fn inside_class_like(&self) -> bool { |
| 201 | self.stack |
| 202 | .last() |
| 203 | .map(|s| matches!(s.kind, "class" | "struct" | "interface" | "trait" | "enum" | "module")) |
| 204 | .unwrap_or(false) |
| 205 | } |
| 206 | |
| 207 | fn push_ref_at(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node) { |
| 208 | let name_ref = self.arena.put(name); |
no test coverage detected