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

Method is_static

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

Source from the content-addressed store, hash-verified

438 }
439
440 fn is_static(&self, node: Node) -> bool {
441 (0..node.child_count())
442 .filter_map(|i| node.child(i))
443 .any(|c| c.kind() == "static_modifier")
444 }
445
446 /// extractPhpReturnType — `self`/`static` collapse to the `'self'` marker
447 /// (#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