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

Method is_static_of

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

isStatic (dart.ts:234-243).

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

Source from the content-addressed store, hash-verified

523
524 /// isStatic (dart.ts:234-243).
525 fn is_static_of(&self, node: Node<'t>) -> bool {
526 if node.kind() == "method_signature" {
527 for i in 0..node.child_count() {
528 if let Some(c) = node.child(i) {
529 if c.kind() == "static" {
530 return true;
531 }
532 }
533 }
534 }
535 false
536 }
537
538 /// resolveBody (dart.ts:158-171).
539 fn resolve_body(&self, node: Node<'t>) -> Option<Node<'t>> {

Callers 2

extract_functionMethod · 0.45
extract_methodMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected