hpython-0.3: Python language tools

Safe HaskellNone
LanguageHaskell2010

Language.Python.Validate.Error

Documentation

data ValidationError a Source #

Instances
Eq a => Eq (ValidationError a) Source # 
Instance details

Defined in Language.Python.Validate.Error

Show a => Show (ValidationError a) Source # 
Instance details

Defined in Language.Python.Validate.Error

AsTabError (ValidationError a) a Source # 
Instance details

Defined in Language.Python.Validate.Error

AsIndentationError (ValidationError a) a Source # 
Instance details

Defined in Language.Python.Validate.Error

AsScopeError (ValidationError a) a Source # 
Instance details

Defined in Language.Python.Validate.Error

AsSyntaxError (ValidationError a) a Source # 
Instance details

Defined in Language.Python.Validate.Error

Methods

_SyntaxError :: Prism' (ValidationError a) (SyntaxError a) Source #

_PositionalAfterKeywordArg :: Prism' (ValidationError a) (a, Expr [] a) Source #

_PositionalAfterKeywordUnpacking :: Prism' (ValidationError a) (a, Expr [] a) Source #

_CannotAssignTo :: Prism' (ValidationError a) (a, Expr [] a) Source #

_CannotDelete :: Prism' (ValidationError a) (a, Expr [] a) Source #

_CannotAugAssignTo :: Prism' (ValidationError a) (a, Expr [] a) Source #

_NoBindingNonlocal :: Prism' (ValidationError a) (Ident [] a) Source #

_PositionalAfterKeywordParam :: Prism' (ValidationError a) (a, String) Source #

_UnexpectedDoubleStarParam :: Prism' (ValidationError a) (a, String) Source #

_DuplicateArgument :: Prism' (ValidationError a) (a, String) Source #

_UnexpectedNewline :: Prism' (ValidationError a) a Source #

_UnexpectedComment :: Prism' (ValidationError a) a Source #

_IdentifierReservedWord :: Prism' (ValidationError a) (a, String) Source #

_EmptyIdentifier :: Prism' (ValidationError a) a Source #

_BadCharacter :: Prism' (ValidationError a) (a, String) Source #

_BreakOutsideLoop :: Prism' (ValidationError a) a Source #

_ContinueOutsideLoop :: Prism' (ValidationError a) a Source #

_ReturnOutsideFunction :: Prism' (ValidationError a) a Source #

_NonlocalOutsideFunction :: Prism' (ValidationError a) a Source #

_ParametersNonlocal :: Prism' (ValidationError a) (a, [String]) Source #

_Can'tJoinStringAndBytes :: Prism' (ValidationError a) a Source #

_YieldOutsideGenerator :: Prism' (ValidationError a) a Source #

_MalformedDecorator :: Prism' (ValidationError a) a Source #

_InvalidDictUnpacking :: Prism' (ValidationError a) a Source #

_InvalidSetUnpacking :: Prism' (ValidationError a) a Source #

_TypedParamInLambda :: Prism' (ValidationError a) a Source #

_AsyncWithOutsideCoroutine :: Prism' (ValidationError a) a Source #

_AsyncForOutsideCoroutine :: Prism' (ValidationError a) a Source #

_YieldFromInsideCoroutine :: Prism' (ValidationError a) a Source #

_YieldInsideCoroutine :: Prism' (ValidationError a) a Source #

_AwaitOutsideCoroutine :: Prism' (ValidationError a) a Source #

_AwaitInsideComprehension :: Prism' (ValidationError a) a Source #

_NullByte :: Prism' (ValidationError a) a Source #

_NonAsciiInBytes :: Prism' (ValidationError a) (a, Char) Source #

_DefaultExceptMustBeLast :: Prism' (ValidationError a) a Source #

_WildcardImportInDefinition :: Prism' (ValidationError a) a Source #

_NoKeywordsAfterEmptyStarArg :: Prism' (ValidationError a) a Source #

_ManyStarredTargets :: Prism' (ValidationError a) a Source #

_ManyStarredParams :: Prism' (ValidationError a) a Source #

_ContinueInsideFinally :: Prism' (ValidationError a) a Source #

_ParameterMarkedGlobal :: Prism' (ValidationError a) (a, String) Source #