(&self)
| 294 | self.stack.last().map(|s| s.row).unwrap_or(0) |
| 295 | } |
| 296 | fn inside_class_like(&self) -> bool { |
| 297 | self.stack |
| 298 | .last() |
| 299 | .map(|s| matches!(s.kind, "class" | "struct" | "interface" | "trait" | "enum" | "module")) |
| 300 | .unwrap_or(false) |
| 301 | } |
| 302 | |
| 303 | fn push_ref(&mut self, from_row: u32, name: &str, kind_code: u8, line: u32, column: u32) { |
| 304 | let name_ref = self.arena.put(name); |