Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
DFA | |
|
DState | |
|
type DFABuilder m = State (DFABuilderContext m) Source #
data DFABuilderContext m Source #
Instances
Functor DFABuilderContext Source # | |
Defined in Language.Lexer.Tlex.Machine.DFA fmap :: (a -> b) -> DFABuilderContext a -> DFABuilderContext b # (<$) :: a -> DFABuilderContext b -> DFABuilderContext a # | |
Eq m => Eq (DFABuilderContext m) Source # | |
Defined in Language.Lexer.Tlex.Machine.DFA (==) :: DFABuilderContext m -> DFABuilderContext m -> Bool # (/=) :: DFABuilderContext m -> DFABuilderContext m -> Bool # | |
Show m => Show (DFABuilderContext m) Source # | |
Defined in Language.Lexer.Tlex.Machine.DFA showsPrec :: Int -> DFABuilderContext m -> ShowS # show :: DFABuilderContext m -> String # showList :: [DFABuilderContext m] -> ShowS # |
buildDFA :: DFABuilder m () -> DFA m Source #
newStateNum :: DFABuilder m StateNum Source #
insertTrans :: StateNum -> DFAState m -> DFABuilder m () Source #
initial :: StateNum -> StartState -> DFABuilder m () Source #