Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Scanner | |
|
ScanRule | |
|
type ScannerBuilder s e f = State (ScannerBuilderContext s e f) Source #
data ScannerBuilderContext s e f Source #
Instances
Functor (ScannerBuilderContext s e) Source # | |
Defined in Language.Lexer.Tlex.Syntax fmap :: (a -> b) -> ScannerBuilderContext s e a -> ScannerBuilderContext s e b # (<$) :: a -> ScannerBuilderContext s e b -> ScannerBuilderContext s e a # | |
(Enum e, Show e, Show f) => Show (ScannerBuilderContext s e f) Source # | |
Defined in Language.Lexer.Tlex.Syntax showsPrec :: Int -> ScannerBuilderContext s e f -> ShowS # show :: ScannerBuilderContext s e f -> String # showList :: [ScannerBuilderContext s e f] -> ShowS # | |
Eq f => Eq (ScannerBuilderContext s e f) Source # | |
Defined in Language.Lexer.Tlex.Syntax (==) :: ScannerBuilderContext s e f -> ScannerBuilderContext s e f -> Bool # (/=) :: ScannerBuilderContext s e f -> ScannerBuilderContext s e f -> Bool # |
buildScanner :: Enum e => ScannerBuilder s e f () -> Scanner e f Source #
straightEnumSetP :: Enum e => EnumSet e -> Pattern e #
data StartState #
Instances
Enum StartState | |
Defined in Language.Lexer.Tlex.Machine.Pattern succ :: StartState -> StartState # pred :: StartState -> StartState # toEnum :: Int -> StartState # fromEnum :: StartState -> Int # enumFrom :: StartState -> [StartState] # enumFromThen :: StartState -> StartState -> [StartState] # enumFromTo :: StartState -> StartState -> [StartState] # enumFromThenTo :: StartState -> StartState -> StartState -> [StartState] # | |
Show StartState | |
Defined in Language.Lexer.Tlex.Machine.Pattern showsPrec :: Int -> StartState -> ShowS # show :: StartState -> String # showList :: [StartState] -> ShowS # | |
Eq StartState | |
Defined in Language.Lexer.Tlex.Machine.Pattern (==) :: StartState -> StartState -> Bool # (/=) :: StartState -> StartState -> Bool # |
data AcceptPriority #