Documentation
type Actions t = ([(String, TokenAction t)], StopAction t)Source
type TokenAction t = Posn -> String -> tSource
type StopAction t = Posn -> String -> [t]Source
type GScan s r = (DFA (GTokenAction s r), GStopAction s r)Source
type GActions s r = ([(String, GTokenAction s r)], GStopAction s r)Source
type GTokenAction s r = Posn -> Char -> String -> Int -> ((StartCode, s) -> r) -> (StartCode, s) -> rSource
load_gscan :: GActions s r -> DFADump -> GScan s rSource
recover_dfa :: DFADump -> DFA ()Source
dfa_alphabet :: [Char]Source