MCPcopy 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
339impl 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
345impl fmt::Debug for Name {

Callers 3

get_typeMethod · 0.80
get_annotation_typeMethod · 0.80

Calls 2

nextMethod · 0.80
peekMethod · 0.80

Tested by 1