Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module re-exports Text.Trifecta.Indentation from indentation-trifecta.
Documentation
mkIndentationState :: Indentation -> Indentation -> Bool -> IndentationRel -> IndentationState #
type Indentation = Int #
data IndentationRel #
Instances
Eq IndentationRel | |
Defined in Text.Parser.Indentation.Implementation (==) :: IndentationRel -> IndentationRel -> Bool # (/=) :: IndentationRel -> IndentationRel -> Bool # | |
Show IndentationRel | |
Defined in Text.Parser.Indentation.Implementation showsPrec :: Int -> IndentationRel -> ShowS # show :: IndentationRel -> String # showList :: [IndentationRel] -> ShowS # |
data IndentationState #
Instances
Show IndentationState | |
Defined in Text.Parser.Indentation.Implementation showsPrec :: Int -> IndentationState -> ShowS # show :: IndentationState -> String # showList :: [IndentationState] -> ShowS # |
execIndentationParserT :: Monad m => IndentationParserT t m a -> IndentationState -> m IndentationState #
evalIndentationParserT :: Monad m => IndentationParserT t m a -> IndentationState -> m a #
runIndentationParserT :: IndentationParserT t m a -> IndentationState -> m (a, IndentationState) #
class IndentationParsing (m :: * -> *) where #
localTokenMode :: (IndentationRel -> IndentationRel) -> m a -> m a #
localIndentation :: IndentationRel -> m a -> m a #
absoluteIndentation :: m a -> m a #
ignoreAbsoluteIndentation :: m a -> m a #
localAbsoluteIndentation :: m a -> m a #
Instances
data IndentationParserT t (m :: * -> *) a #