Documentation ¶
Overview ¶
Package lexers contains the registry of all lexers.
Sub-packages contain lexer implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Fallback = internal.Fallback
Fallback lexer if no other is found.
View Source
var Registry = internal.Registry
Registry of Lexers.
Functions ¶
func MatchMimeType ¶
MatchMimeType attempts to find a lexer for the given MIME type.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package circular exists to break circular dependencies between lexers.
|
Package circular exists to break circular dependencies between lexers. |
Package internal contains common API functions and structures shared between lexer packages.
|
Package internal contains common API functions and structures shared between lexer packages. |
Click to show internal directories.
Click to hide internal directories.