HsColour

Safe HaskellSafe-Inferred

Language.Haskell.HsColour.Classify

Synopsis

Documentation

data TokenType

Classification of tokens as lexical entities

Instances

Eq TokenType 
Show TokenType 

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

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