hscolour-1.24.4: Colourise Haskell code.
Language.Haskell.HsColour.Classify
Synopsis
data TokenType Source #
Classification of tokens as lexical entities
Constructors
Instances
Methods
(==) :: TokenType -> TokenType -> Bool #
(/=) :: TokenType -> TokenType -> Bool #
showsPrec :: Int -> TokenType -> ShowS #
show :: TokenType -> String #
showList :: [TokenType] -> ShowS #
tokenise :: String -> [(TokenType, String)] Source #
Lex Haskell source code into an annotated token stream, without discarding any characters or layout.