Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
NFA | |
|
NState | |
|
data NFAStateTrans Source #
Instances
Show NFAStateTrans Source # | |
Defined in Language.Lexer.Tlex.Machine.NFA showsPrec :: Int -> NFAStateTrans -> ShowS # show :: NFAStateTrans -> String # showList :: [NFAStateTrans] -> ShowS # | |
Eq NFAStateTrans Source # | |
Defined in Language.Lexer.Tlex.Machine.NFA (==) :: NFAStateTrans -> NFAStateTrans -> Bool # (/=) :: NFAStateTrans -> NFAStateTrans -> Bool # |
type NFABuilder m = State (NFABuilderContext m) Source #
data NFABuilderContext m Source #
buildNFA :: NFABuilder m () -> NFA m Source #
epsilonClosed :: NFA a -> NFA a Source #
newStateNum :: NFABuilder m StateNum Source #
epsilonTrans :: StateNum -> StateNum -> NFABuilder m () Source #
condTrans :: StateNum -> NFAStateTrans -> NFABuilder m () Source #
initial :: StateNum -> StartState -> NFABuilder m () Source #