Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class (Enum e, Monad m) => TlexContext p e (m :: Type -> Type) | m -> p, m -> e where #
tlexGetInputPart :: m (Maybe e) #
tlexGetMark :: m p #
data TlexResult p a #
Instances
(Eq p, Eq a) => Eq (TlexResult p a) | |
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) | |
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) #
data TlexTransStateSize Source #
Instances
tlexLookupTlexTransTable :: Int -> TlexTransStateSize -> Addr# -> Int -> Int -> Int Source #
tlexArrayIndex :: TlexArray a -> Int -> a Source #
data OutputContext Source #
Instances
Eq OutputContext Source # | |
Defined in Language.Lexer.Tlex.Output.TH (==) :: OutputContext -> OutputContext -> Bool # (/=) :: OutputContext -> OutputContext -> Bool # | |
Show OutputContext Source # | |
Defined in Language.Lexer.Tlex.Output.TH showsPrec :: Int -> OutputContext -> ShowS # show :: OutputContext -> String # showList :: [OutputContext] -> ShowS # |