Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data IndentationRel Source
type Indentation = Int Source
mkIndentationState :: Indentation -> Indentation -> Bool -> IndentationRel -> IndentationState Source
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