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