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

Method is_static_of

codegraph-kernel/src/scala.rs:426–434  ·  view source on GitHub ↗

isStatic (scala.ts:123-129) — text scan, effectively always false.

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

Source from the content-addressed store, hash-verified

424
425 /// isStatic (scala.ts:123-129) — text scan, effectively always false.
426 fn is_static_of(&self, node: Node<'t>) -> bool {
427 let mut cursor = node.walk();
428 for c in node.named_children(&mut cursor) {
429 if c.kind() == "modifiers" && self.text(c).contains("static") {
430 return true;
431 }
432 }
433 false
434 }
435
436 /// getSignature (scala.ts:110-117) — first-match-wins fields: curried
437 /// defs keep only the first list; a type_parameters node carrying field

Callers 1

Calls 2

walkMethod · 0.80
textMethod · 0.65

Tested by

no test coverage detected