Structs
- A
HeuristicRule
represents a check for aLanguage
based on the content of a file. - A
Language
exposes the properties of a language definition.
Enums
- A
Scope
represents the type of aLanguage
.
Functions
- Resolve the
Language
of the given file. It will try to resolve the language by the filename, extension, shebang and content. The most likely language will be returned. - Used to resolve all possible
Language
s by the file contents. - Used to resolve all possible
Language
s by the given extension. - Used to resolve all possible
Language
s by the given filename. - Used to resolve all possible
Language
s by the file contents.