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

Method is_static_of

codegraph-kernel/src/dart.rs:700–709  ·  view source on GitHub ↗

isStatic (dart.ts:234-243).

(&self, node: Node<'t>)

Source from the content-addressed store, hash-verified

698
699 /// isStatic (dart.ts:234-243).
700 fn is_static_of(&self, node: Node<'t>) -> bool {
701 if node.kind() == "method_signature" {
702 for c in node.children(&mut node.walk()) {
703 if c.kind() == "static" {
704 return true;
705 }
706 }
707 }
708 false
709 }
710
711 /// getDeclarationWrapper (dart.ts) — a member with no body (`Foo._();`,
712 /// `const Foo.c();`, an abstract `void m();`) is a `declaration` wrapping

Callers 2

extract_functionMethod · 0.45
extract_methodMethod · 0.45

Calls 2

childrenMethod · 0.80
walkMethod · 0.45

Tested by

no test coverage detected