Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
28
pub(crate) fn text<
'a>(node: SyntaxNode<'
_>, source: &
'a str) -> &'
a str {
29
&source[node.byte_range()]
30
}
31
32
pub(crate) fn leaf_tokens(
33
root: SyntaxNode<'_>,
Callers
15
body_is_missing
Function · 0.70
node_name
Function · 0.70
qualified
Function · 0.70
parameters
Function · 0.70
control_flow
Function · 0.70
rust_roots
Function · 0.70
rust_bindings
Function · 0.70
dependencies
Function · 0.70
modifier
Function · 0.70
exported_ts
Function · 0.70
names
Function · 0.70
public_surface
Function · 0.70
Calls
1
byte_range
Method · 0.45
Tested by
no test coverage detected