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

Function last_named_child

codegraph-kernel/src/csharp.rs:1715–1717  ·  view source on GitHub ↗
(node: Node)

Source from the content-addressed store, hash-verified

1713}
1714
1715fn last_named_child(node: Node) -> Option<Node> {
1716 node.named_child(node.named_child_count().checked_sub(1)?)
1717}
1718
1719fn find_anonymous_class_body(node: Node) -> Option<Node> {
1720 for child in node.named_children(&mut node.walk()) {

Callers 1

extract_fieldMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected