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

Function text

atomic-audit/src/extract/tokens.rs:28–30  ·  view source on GitHub ↗
(node: SyntaxNode<'_>, source: &'a str)

Source from the content-addressed store, hash-verified

26}
27
28pub(crate) fn text<'a>(node: SyntaxNode<'_>, source: &'a str) -> &'a str {
29 &source[node.byte_range()]
30}
31
32pub(crate) fn leaf_tokens(
33 root: SyntaxNode<'_>,

Callers 15

body_is_missingFunction · 0.70
node_nameFunction · 0.70
qualifiedFunction · 0.70
parametersFunction · 0.70
control_flowFunction · 0.70
rust_rootsFunction · 0.70
rust_bindingsFunction · 0.70
dependenciesFunction · 0.70
modifierFunction · 0.70
exported_tsFunction · 0.70
namesFunction · 0.70
public_surfaceFunction · 0.70

Calls 1

byte_rangeMethod · 0.45

Tested by

no test coverage detected