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

Method is_static_of

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

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

Callers 1

Calls 1

textMethod · 0.45

Tested by

no test coverage detected