Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class (Enum e, Monad m) => TlexContext p e m | m -> p, m -> e where Source #
tlexGetInputPart :: m (Maybe e) Source #
tlexGetMark :: m p Source #
Instances
Enum e => TlexContext (InputStringContext e) e (InputString e) Source # | |
Defined in Language.Lexer.Tlex.Data.InputString tlexGetInputPart :: InputString e (Maybe e) Source # tlexGetMark :: InputString e (InputStringContext e) Source # |
data TlexResult p a Source #
Instances
(Eq p, Eq a) => Eq (TlexResult p a) Source # | |
Defined in Language.Lexer.Tlex.Runner (==) :: TlexResult p a -> TlexResult p a -> Bool # (/=) :: TlexResult p a -> TlexResult p a -> Bool # | |
(Show p, Show a) => Show (TlexResult p a) Source # | |
Defined in Language.Lexer.Tlex.Runner showsPrec :: Int -> TlexResult p a -> ShowS # show :: TlexResult p a -> String # showList :: [TlexResult p a] -> ShowS # |
runRunner :: Enum s => TlexContext p c m => Runner c a -> s -> m (TlexResult p a) Source #