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

Method extract_references

atomic-semantic/src/parsers/python.rs:444–450  ·  view source on GitHub ↗
(&mut self, source: &str, file_path: &str)

Source from the content-addressed store, hash-verified

442 }
443
444 fn extract_references(&mut self, source: &str, file_path: &str) -> Vec<Reference> {
445 let tree = match self.parser.parse(source, None) {
446 Some(t) => t,
447 None => return vec![],
448 };
449 self.extract_references_from_tree(&tree, source, file_path)
450 }
451
452 fn extract_references_from_tree(
453 &mut self,

Callers

nothing calls this directly

Calls 2

parseMethod · 0.45

Tested by

no test coverage detected