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 SyntaxError a Source #
Instances
class AsSyntaxError r a | r -> a where Source #
_SyntaxError :: Prism' r (SyntaxError a) Source #
_PositionalAfterKeywordArg :: Prism' r (a, Expr ('[] :: [Type]) a) Source #
_PositionalAfterKeywordUnpacking :: Prism' r (a, Expr ('[] :: [Type]) a) Source #
_CannotAssignTo :: Prism' r (a, Expr ('[] :: [Type]) a) Source #
_CannotDelete :: Prism' r (a, Expr ('[] :: [Type]) a) Source #
_CannotAugAssignTo :: Prism' r (a, Expr ('[] :: [Type]) a) Source #
_NoBindingNonlocal :: Prism' r (Ident ('[] :: [Type]) a) Source #
_PositionalAfterKeywordParam :: Prism' r (a, String) Source #
_UnexpectedDoubleStarParam :: Prism' r (a, String) Source #
_DuplicateArgument :: Prism' r (a, String) Source #
_UnexpectedNewline :: Prism' r a Source #
_UnexpectedComment :: Prism' r a Source #
_IdentifierReservedWord :: Prism' r (a, String) Source #
_EmptyIdentifier :: Prism' r a Source #
_BadCharacter :: Prism' r (a, String) Source #
_BreakOutsideLoop :: Prism' r a Source #
_ContinueOutsideLoop :: Prism' r a Source #
_ReturnOutsideFunction :: Prism' r a Source #
_NonlocalOutsideFunction :: Prism' r a Source #
_ParametersNonlocal :: Prism' r (a, [String]) Source #
_Can'tJoinStringAndBytes :: Prism' r a Source #
_YieldOutsideGenerator :: Prism' r a Source #
_MalformedDecorator :: Prism' r a Source #
_InvalidDictUnpacking :: Prism' r a Source #
_InvalidSetUnpacking :: Prism' r a Source #
_TypedParamInLambda :: Prism' r a Source #
_AsyncWithOutsideCoroutine :: Prism' r a Source #
_AsyncForOutsideCoroutine :: Prism' r a Source #
_YieldFromInsideCoroutine :: Prism' r a Source #
_YieldInsideCoroutine :: Prism' r a Source #
_AwaitOutsideCoroutine :: Prism' r a Source #
_AwaitInsideComprehension :: Prism' r a Source #
_NullByte :: Prism' r a Source #
_NonAsciiInBytes :: Prism' r (a, Char) Source #
_DefaultExceptMustBeLast :: Prism' r a Source #
_WildcardImportInDefinition :: Prism' r a Source #
_NoKeywordsAfterEmptyStarArg :: Prism' r a Source #
_ManyStarredTargets :: Prism' r a Source #
_ManyStarredParams :: Prism' r a Source #
_ContinueInsideFinally :: Prism' r a Source #
_ParameterMarkedGlobal :: Prism' r (a, String) Source #