hwhile-0.1.1.0: An implementation of Neil D. Jones' While language

Safe HaskellNone
LanguageHaskell2010

Lexer

Documentation

newtype Token Source #

Constructors

Token (FilePath, TokenType, AlexPosn) 

Instances

Eq Token Source # 

Methods

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

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

Show Token Source # 

Methods

showsPrec :: Int -> Token -> ShowS #

show :: Token -> String #

showList :: [Token] -> ShowS #