Copyright | (C) CSIRO 2017-2018 |
---|---|
License | BSD3 |
Maintainer | Isaac Elliott <isaace71295@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
data IndentationError a Source #
IndentationTabError a | |
ExpectedGreaterThan [Indent] (Indents a) | |
ExpectedEqualTo [Indent] (Indents a) | |
EmptyContinuedLine a |
Instances
Eq a => Eq (IndentationError a) Source # | |
Defined in Language.Python.Validate.Indentation.Error (==) :: IndentationError a -> IndentationError a -> Bool # (/=) :: IndentationError a -> IndentationError a -> Bool # | |
Show a => Show (IndentationError a) Source # | |
Defined in Language.Python.Validate.Indentation.Error showsPrec :: Int -> IndentationError a -> ShowS # show :: IndentationError a -> String # showList :: [IndentationError a] -> ShowS # | |
AsTabError (IndentationError a) a Source # | |
Defined in Language.Python.Validate.Indentation.Error _TabError :: Prism' (IndentationError a) a Source # | |
AsIndentationError (IndentationError a) a Source # | |
Defined in Language.Python.Validate.Indentation.Error _IndentationError :: Prism' (IndentationError a) (IndentationError a) Source # _ExpectedGreaterThan :: Prism' (IndentationError a) ([Indent], Indents a) Source # _ExpectedEqualTo :: Prism' (IndentationError a) ([Indent], Indents a) Source # _EmptyContinuedLine :: Prism' (IndentationError a) a Source # |
class AsTabError s a | s -> a where Source #
Instances
AsTabError (ParseError a) a Source # | |
Defined in Language.Python.Parse.Error _TabError :: Prism' (ParseError a) a Source # | |
AsTabError (IndentationError a) a Source # | |
Defined in Language.Python.Validate.Indentation.Error _TabError :: Prism' (IndentationError a) a Source # | |
AsTabError (ValidationError a) a Source # | |
Defined in Language.Python.Validate.Error _TabError :: Prism' (ValidationError a) a Source # |
class AsTabError s a => AsIndentationError s a | s -> a where Source #
_IndentationError :: Prism' s (IndentationError a) Source #
_ExpectedGreaterThan :: Prism' s ([Indent], Indents a) Source #
_ExpectedEqualTo :: Prism' s ([Indent], Indents a) Source #
_EmptyContinuedLine :: Prism' s a Source #
Instances
AsIndentationError (IndentationError a) a Source # | |
Defined in Language.Python.Validate.Indentation.Error _IndentationError :: Prism' (IndentationError a) (IndentationError a) Source # _ExpectedGreaterThan :: Prism' (IndentationError a) ([Indent], Indents a) Source # _ExpectedEqualTo :: Prism' (IndentationError a) ([Indent], Indents a) Source # _EmptyContinuedLine :: Prism' (IndentationError a) a Source # | |
AsIndentationError (ValidationError a) a Source # | |
Defined in Language.Python.Validate.Error _IndentationError :: Prism' (ValidationError a) (IndentationError a) Source # _ExpectedGreaterThan :: Prism' (ValidationError a) ([Indent], Indents a) Source # _ExpectedEqualTo :: Prism' (ValidationError a) ([Indent], Indents a) Source # _EmptyContinuedLine :: Prism' (ValidationError a) a Source # |