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

Method is_static

codegraph-kernel/src/php.rs:443–447  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

441 }
442
443 fn is_static(&self, node: Node) -> bool {
444 (0..node.child_count())
445 .filter_map(|i| node.child(i))
446 .any(|c| c.kind() == "static_modifier")
447 }
448
449 /// extractPhpReturnType — `self`/`static` collapse to the `'self'` marker
450 /// (#608 chained-call fuel); primitives/unions → None.

Callers 3

extract_functionMethod · 0.45
extract_methodMethod · 0.45
extract_fieldMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected