tlex-0.3.0.0: A lexer generator
Safe HaskellNone
LanguageHaskell2010

Language.Lexer.Tlex.Runner

Documentation

class (Enum e, Monad m) => TlexContext p e m | m -> p, m -> e where Source #

data TlexResult p a Source #

Instances

Instances details
(Eq p, Eq a) => Eq (TlexResult p a) Source # 
Instance details

Defined in Language.Lexer.Tlex.Runner

Methods

(==) :: TlexResult p a -> TlexResult p a -> Bool #

(/=) :: TlexResult p a -> TlexResult p a -> Bool #

(Show p, Show a) => Show (TlexResult p a) Source # 
Instance details

Defined in Language.Lexer.Tlex.Runner

Methods

showsPrec :: Int -> TlexResult p a -> ShowS #

show :: TlexResult p a -> String #

showList :: [TlexResult p a] -> ShowS #

data Runner e a Source #

Constructors

Runner 

Fields

Instances

Instances details
Functor (Runner e) Source # 
Instance details

Defined in Language.Lexer.Tlex.Runner

Methods

fmap :: (a -> b) -> Runner e a -> Runner e b #

(<$) :: a -> Runner e b -> Runner e a #

runRunner :: Enum s => TlexContext p c m => Runner c a -> s -> m (TlexResult p a) Source #