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

Method is_static

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

Source from the content-addressed store, hash-verified

445 }
446
447 fn is_static(&self, node: Node) -> bool {
448 (0..node.child_count())
449 .filter_map(|i| node.child(i))
450 .any(|c| c.kind() == "static_modifier")
451 }
452
453 /// extractPhpReturnType — `self`/`static` collapse to the `'self'` marker
454 /// (#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