ContentsIndex
HJS.Parser.ParserMonad
Documentation
data ParseResult a
Constructors
Ok a
Failed String
show/hide Instances
Show a => Show (ParseResult a)
data LexerMode
Constructors
Normal
InComment
InRegex
show/hide Instances
data LexerState
Constructors
LS
rest :: String
lineno :: Int
mode :: LexerMode
tr :: [String]
nl :: Bool
rest2 :: String
expectRegex :: Bool
lastToken :: (Maybe Token)
show/hide Instances
type P = StateT LexerState (ErrorT String Identity)
getLineNo :: P Int
putLineNo :: Int -> P ()
trace :: String -> P ()
Produced by Haddock version 0.7