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

Function next_named

codegraph-kernel/src/dart.rs:198–204  ·  view source on GitHub ↗

dartNextNamed (dart.ts) — the named sibling after `node`, past comments.

(node: Node<'t>)

Source from the content-addressed store, hash-verified

196
197/// dartNextNamed (dart.ts) — the named sibling after `node`, past comments.
198fn next_named<'t>(node: Node<'t>) -> Option<Node<'t>> {
199 let mut next = node.next_named_sibling();
200 while let Some(n) = next.filter(|n| is_comment(*n)) {
201 next = n.next_named_sibling();
202 }
203 next
204}
205
206/// dartTypeAliasName (dart.ts) — the name a typedef declares: the last type
207/// name before the `=`, the type parameters or the parameter list. The

Callers 2

next_listed_ctorMethod · 0.85
extract_member_readMethod · 0.85

Calls 1

is_commentFunction · 0.70

Tested by

no test coverage detected