| Copyright | (C) CSIRO 2017-2018 |
|---|---|
| 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 Source #
Constructors
| IndentationTabError a | |
| ExpectedGreaterThan [Indent] (Indents a) | |
| ExpectedEqualTo [Indent] (Indents a) | |
| EmptyContinuedLine a |
Instances
class AsTabError s a | s -> a where Source #
Instances
| AsTabError (ParseError a) a Source # | |
Defined in Language.Python.Parse.Error Methods _TabError :: Prism' (ParseError a) a Source # | |
| AsTabError (IndentationError a) a Source # | |
Defined in Language.Python.Validate.Indentation.Error Methods _TabError :: Prism' (IndentationError a) a Source # | |
| AsTabError (ValidationError a) a Source # | |
Defined in Language.Python.Validate.Error Methods _TabError :: Prism' (ValidationError a) a Source # | |
class AsTabError s a => AsIndentationError s a | s -> a where Source #
Minimal complete definition
Methods
_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 Methods _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 Methods _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 # | |