MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / code_children

Function code_children

atomic-audit/src/substantive/mod.rs:60–65  ·  view source on GitHub ↗
(node: Node<'_>)

Source from the content-addressed store, hash-verified

58}
59
60fn code_children(node: Node<'_>) -> Vec<Node<'_>> {
61 tokens::named(node)
62 .into_iter()
63 .filter(|node| !tokens::comment(*node))
64 .collect()
65}
66
67fn tail(mut node: Node<'_>) -> Node<'_> {
68 loop {

Callers 7

inspectFunction · 0.85
has_attributeFunction · 0.85
forwarding_wrapperFunction · 0.85
guard_across_awaitFunction · 0.85
possible_movesFunction · 0.85
tailFunction · 0.85
inspectFunction · 0.85

Calls 4

commentFunction · 0.85
namedFunction · 0.50
collectMethod · 0.45
into_iterMethod · 0.45

Tested by

no test coverage detected