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

Function text

atomic-semantic/src/source.rs:110–112  ·  view source on GitHub ↗
(node: Node<'_>, source: &'a str)

Source from the content-addressed store, hash-verified

108}
109
110fn text<'a>(node: Node<'_>, source: &'a str) -> &'a str {
111 &source[node.byte_range()]
112}
113
114pub(crate) fn qualified_path(value: &str, separator: &str) -> Option<Vec<String>> {
115 let parts: Vec<_> = value

Callers 8

ownerFunction · 0.70
scopeFunction · 0.70
module_scopeFunction · 0.70
tokensFunction · 0.70
binding_namesFunction · 0.70
conditionalFunction · 0.70
rust_importFunction · 0.70
from_treeMethod · 0.70

Calls 1

byte_rangeMethod · 0.45

Tested by

no test coverage detected