Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Glyphack/enderpy
/ get_value
Method
get_value
parser/src/ast.rs:340–342 ·
view source on GitHub ↗
(&self, source: &'a str)
Source
from the content-addressed store, hash-verified
338
339
impl Name {
340
pub fn get_value<
'a>(&self, source: &'
a str) -> &'a str {
341
&source[(self.node.start) as usize..(self.node.end) as usize]
342
}
343
}
344
345
impl fmt::Debug for Name {
Callers
3
test_constant_value_get_source
Function · 0.80
get_type
Method · 0.80
get_annotation_type
Method · 0.80
Calls
2
next
Method · 0.80
peek
Method · 0.80
Tested by
1
test_constant_value_get_source
Function · 0.64