Safe Haskell | Safe-Inferred |
---|
Text.Parser.Indentation.Implementation
Documentation
type Indentation = IntSource
data IndentationRel Source
Instances
mkIndentationState :: Indentation -> Indentation -> Bool -> IndentationRel -> IndentationStateSource
data IndentationState Source
Constructors
IndentationState | |
Fields
|
Instances
updateIndentation :: IndentationState -> Indentation -> (IndentationState -> a) -> (String -> a) -> aSource
updateIndentation' :: Indentation -> Indentation -> IndentationRel -> Indentation -> (Indentation -> Indentation -> a) -> (String -> a) -> aSource
type LocalState a = (IndentationState -> IndentationState) -> (IndentationState -> IndentationState -> IndentationState) -> a -> aSource
localTokenMode :: LocalState a -> (IndentationRel -> IndentationRel) -> a -> aSource
absoluteIndentation :: LocalState a -> a -> aSource
ignoreAbsoluteIndentation :: LocalState a -> a -> aSource
localAbsoluteIndentation :: LocalState a -> a -> aSource
localIndentation' :: LocalState a -> (Indentation -> Indentation) -> (Indentation -> Indentation) -> (Indentation -> Indentation -> Indentation) -> a -> aSource
localIndentation :: LocalState a -> IndentationRel -> a -> aSource