MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / inside_class_like

Method inside_class_like

codegraph-kernel/src/dart.rs:231–236  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

229 self.stack.last().map(|s| s.row).unwrap_or(0)
230 }
231 fn inside_class_like(&self) -> bool {
232 self.stack
233 .last()
234 .map(|s| matches!(s.kind, "class" | "struct" | "interface" | "trait" | "enum" | "module"))
235 .unwrap_or(false)
236 }
237
238 fn push_ref_at(&mut self, from_row: u32, name: &str, kind: &str, node: Node) {
239 let name_ref = self.arena.put(name);

Callers 1

extract_methodMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected