(&self)
| 220 | self.stack.last().map(|s| s.row).unwrap_or(0) |
| 221 | } |
| 222 | fn inside_class_like(&self) -> bool { |
| 223 | self.stack |
| 224 | .last() |
| 225 | .map(|s| matches!(s.kind, "class" | "struct" | "interface" | "trait" | "enum" | "module")) |
| 226 | .unwrap_or(false) |
| 227 | } |
| 228 | |
| 229 | fn push_ref(&mut self, from_row: u32, name: &str, kind_code: u8, line: u32, column: u32) { |
| 230 | let name_ref = self.arena.put(name); |