Structs§
- Heuristic
Rule - A
HeuristicRulerepresents a check for aLanguagebased on the content of a file. - Language
- A
Languageexposes the properties of a language definition.
Enums§
Functions§
- resolve_
language - Resolve the
Languageof the given file. It will try to resolve the language by the filename, extension, shebang and content. The most likely language will be returned. - resolve_
language_ by_ content - Used to resolve all possible
Languages by the file contents. - resolve_
languages_ by_ extension - Used to resolve all possible
Languages by the given extension. - resolve_
languages_ by_ filename - Used to resolve all possible
Languages by the given filename. - resolve_
languages_ by_ shebang - Used to resolve all possible
Languages by the file contents.