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

Method is_static_of

codegraph-kernel/src/scala.rs:428–436  ·  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

426
427 /// isStatic (scala.ts:123-129) — text scan, effectively always false.
428 fn is_static_of(&self, node: Node<'t>) -> bool {
429 let mut cursor = node.walk();
430 for c in node.named_children(&mut cursor) {
431 if c.kind() == "modifiers" && self.text(c).contains("static") {
432 return true;
433 }
434 }
435 false
436 }
437
438 /// getSignature (scala.ts:110-117) — first-match-wins fields: curried
439 /// 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