pub fn detector_for(language: &str) -> Option<Box<dyn EntryPointDetector>>Expand description
Return the entry-point detector for a language identifier.
language is the lowercased language name as used in
crate::languages ("rust", "python", "go", "c", "javascript",
"java", "kotlin").
Returns None for any language not yet covered by this module.
File-extension dispatch ("rs", "py", "pyi", "go", "c",
"h", "js", "jsx", "ts", "tsx", "java", "kt", "kts") is
also accepted for caller convenience — the BFS walk in X2 carries
extensions, not language names, through its per-file loop.