pub fn language_for_extension(path: &Path) -> Option<LangId>
Classify by name without reading the file. A .h result is provisional C; the parser resolves C, C++ or Objective-C from the header’s contents.
.h