Safe Haskell | None |
---|---|
Language | Haskell98 |
- type LexerAlias = String
- data Lexer
- getAllLexers :: IO [Lexer]
- getLexerByName :: LexerAlias -> IO (Maybe Lexer)
- lexerName :: Lexer -> String
- lexerAliases :: Lexer -> [LexerAlias]
- lexerFileTypes :: Lexer -> [String]
- lexerMimeTypes :: Lexer -> [String]
- haskellLexer :: Lexer
- literateHaskellLexer :: Lexer
- textLexer :: Lexer
Documentation
type LexerAlias = String Source
getAllLexers :: IO [Lexer] Source
getLexerByName :: LexerAlias -> IO (Maybe Lexer) Source
Similar to the get_lexer_by_name()
function in Pygments
Accessors
lexerAliases :: Lexer -> [LexerAlias] Source
lexerFileTypes :: Lexer -> [String] Source
lexerMimeTypes :: Lexer -> [String] Source