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

Method is_static_of

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

isStatic (dart.ts:234-243).

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

Source from the content-addressed store, hash-verified

623
624 /// isStatic (dart.ts:234-243).
625 fn is_static_of(&self, node: Node<'t>) -> bool {
626 if node.kind() == "method_signature" {
627 for i in 0..node.child_count() {
628 if let Some(c) = node.child(i) {
629 if c.kind() == "static" {
630 return true;
631 }
632 }
633 }
634 }
635 false
636 }
637
638 /// getDeclarationWrapper (dart.ts) — a member with no body (`Foo._();`,
639 /// `const Foo.c();`, an abstract `void m();`) is a `declaration` wrapping

Callers 2

extract_functionMethod · 0.45
extract_methodMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected