-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Indentation sensitive parsing combinators core library
--   
--   Indentation sensitive parsing combinators core library
--   
--   This is the core for the indentation package. For common use, consider
--   one of the front-ends: indentation-parsec or indentation-trifecta. For
--   both, or for backward compatability, install indentation.
@package indentation-core
@version 0.0.0.1

module Text.Parser.Indentation.Implementation
type Indentation = Int
data IndentationRel
Eq :: IndentationRel
Any :: IndentationRel
Const :: Indentation -> IndentationRel
Ge :: IndentationRel
Gt :: IndentationRel
infIndentation :: Indentation
mkIndentationState :: Indentation -> Indentation -> Bool -> IndentationRel -> IndentationState
data IndentationState
IndentationState :: {-# UNPACK #-} !Indentation -> {-# UNPACK #-} !Indentation -> !Bool -> !IndentationRel -> IndentationState
[minIndentation] :: IndentationState -> {-# UNPACK #-} !Indentation
[maxIndentation] :: IndentationState -> {-# UNPACK #-} !Indentation
[absMode] :: IndentationState -> !Bool
[tokenRel] :: IndentationState -> !IndentationRel
indentationStateAbsMode :: IndentationState -> Bool
updateIndentation :: IndentationState -> Indentation -> (IndentationState -> a) -> (String -> a) -> a
updateIndentation' :: Indentation -> Indentation -> IndentationRel -> Indentation -> (Indentation -> Indentation -> a) -> (String -> a) -> a
type LocalState a = (IndentationState -> IndentationState) -> (IndentationState -> IndentationState -> IndentationState) -> a -> a
localTokenMode :: (LocalState a) -> (IndentationRel -> IndentationRel) -> a -> a
absoluteIndentation :: LocalState a -> a -> a
ignoreAbsoluteIndentation :: LocalState a -> a -> a
localAbsoluteIndentation :: LocalState a -> a -> a
localIndentation' :: LocalState a -> (Indentation -> Indentation) -> (Indentation -> Indentation) -> (Indentation -> Indentation -> Indentation) -> a -> a
localIndentation :: LocalState a -> IndentationRel -> a -> a
instance GHC.Show.Show Text.Parser.Indentation.Implementation.IndentationState
instance GHC.Classes.Eq Text.Parser.Indentation.Implementation.IndentationRel
instance GHC.Show.Show Text.Parser.Indentation.Implementation.IndentationRel
