haskell-src-1.0.4.1: Support for manipulating Haskell source code
Copyright(c) The GHC Team 1997-2000
LicenseBSD-3-Clause
MaintainerAndreas Abel
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Language.Haskell.Lexer

Description

Lexer for Haskell.

Documentation

data Token Source #

Instances

Instances details
Show Token Source # 
Instance details

Defined in Language.Haskell.Lexer

Methods

showsPrec :: Int -> Token -> ShowS

show :: Token -> String

showList :: [Token] -> ShowS

Eq Token Source # 
Instance details

Defined in Language.Haskell.Lexer

Methods

(==) :: Token -> Token -> Bool

(/=) :: Token -> Token -> Bool

lexer :: (Token -> P a) -> P a Source #