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