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

Function children

atomic-semantic/src/source.rs:105–108  ·  view source on GitHub ↗
(node: Node<'_>)

Source from the content-addressed store, hash-verified

103}
104
105pub(crate) fn children(node: Node<'_>) -> Vec<Node<'_>> {
106 let mut cursor = node.walk();
107 node.named_children(&mut cursor).collect()
108}
109
110fn text<'a>(node: Node<'_>, source: &'a str) -> &'a str {
111 &source[node.byte_range()]

Callers 3

binding_namesFunction · 0.70
rust_importFunction · 0.70
from_treeMethod · 0.70

Calls 2

walkMethod · 0.45
collectMethod · 0.45

Tested by

no test coverage detected