isInsideClassLikeNode — stack TOP only, file doesn't count.
(&self)
| 215 | } |
| 216 | /// isInsideClassLikeNode — stack TOP only, file doesn't count. |
| 217 | fn inside_class_like(&self) -> bool { |
| 218 | self.stack |
| 219 | .last() |
| 220 | .map(|s| matches!(s.kind, "class" | "struct" | "interface" | "trait" | "enum" | "module")) |
| 221 | .unwrap_or(false) |
| 222 | } |
| 223 | |
| 224 | fn push_ref_at(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node) { |
| 225 | let name_ref = self.arena.put(name); |
no outgoing calls
no test coverage detected