Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type Indentation = Int #
mkIndentationState :: Indentation -> Indentation -> Bool -> IndentationRel -> IndentationState #
data IndentationState :: * #
class IndentationParsing m where Source #
localTokenMode :: (IndentationRel -> IndentationRel) -> m a -> m a Source #
localIndentation :: IndentationRel -> m a -> m a Source #
absoluteIndentation :: m a -> m a Source #
ignoreAbsoluteIndentation :: m a -> m a Source #
localAbsoluteIndentation :: m a -> m a Source #
IndentationParsing i => IndentationParsing (StateT s i) Source # | |
IndentationParsing i => IndentationParsing (StateT s i) Source # | |
Monad m => IndentationParsing (IndentationParserT t m) Source # | |
MarkParsing Delta m => MarkParsing Delta (IndentationParserT Token m) Source # | |
DeltaParsing m => TokenParsing (IndentationParserT Token m) Source # | |
DeltaParsing m => CharParsing (IndentationParserT Token m) Source # | |
DeltaParsing m => DeltaParsing (IndentationParserT Token m) Source # | |
data IndentationParserT t m a Source #
runIndentationParserT :: IndentationParserT t m a -> IndentationState -> m (a, IndentationState) Source #
evalIndentationParserT :: Monad m => IndentationParserT t m a -> IndentationState -> m a Source #
execIndentationParserT :: Monad m => IndentationParserT t m a -> IndentationState -> m IndentationState Source #