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

Function next_named

codegraph-kernel/src/dart.rs:151–157  ·  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

149
150/// dartNextNamed (dart.ts) — the named sibling after `node`, past comments.
151fn next_named<'t>(node: Node<'t>) -> Option<Node<'t>> {
152 let mut next = node.next_named_sibling();
153 while let Some(n) = next.filter(|n| is_comment(*n)) {
154 next = n.next_named_sibling();
155 }
156 next
157}
158
159/// dartTypeAliasName (dart.ts) — the name a typedef declares: the last type
160/// name before the `=`, the type parameters or the parameter list. The

Callers 1

extract_member_readMethod · 0.85

Calls 1

is_commentFunction · 0.70

Tested by

no test coverage detected