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

Method extract

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

Source from the content-addressed store, hash-verified

43 }
44
45 fn extract(&mut self, source: &str, file_path: &str) -> Vec<Entity> {
46 self.extractor.extract(source, file_path)
47 }
48
49 fn extract_references(&mut self, source: &str, file_path: &str) -> Vec<Reference> {
50 self.extractor.extract_references(source, file_path)

Callers 8

test_typescript_functionFunction · 0.45
test_typescript_classFunction · 0.45
test_tsx_componentFunction · 0.45
test_empty_sourceFunction · 0.45
test_enumFunction · 0.45
test_constFunction · 0.45
test_type_aliasFunction · 0.45

Calls

no outgoing calls

Tested by 8

test_typescript_functionFunction · 0.36
test_typescript_classFunction · 0.36
test_tsx_componentFunction · 0.36
test_empty_sourceFunction · 0.36
test_enumFunction · 0.36
test_constFunction · 0.36
test_type_aliasFunction · 0.36