hscolour-1.24.1: Colourise Haskell code.

Safe HaskellSafe
LanguageHaskell98

Language.Haskell.HsColour.Classify

Synopsis

Documentation

data TokenType Source #

Classification of tokens as lexical entities

tokenise :: String -> [(TokenType, String)] Source #

Lex Haskell source code into an annotated token stream, without discarding any characters or layout.