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