hpython-0.2: Python language tools

Copyright(C) CSIRO 2017-2019
LicenseBSD3
MaintainerIsaac Elliott <isaace71295@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Language.Python.Optics.Idents

Description

 
Synopsis

Documentation

class HasIdents s where Source #

Traversal that targets all the Exprs in a structure

Minimal complete definition

Nothing

Methods

_Idents :: Traversal (s v a) (s '[] a) (Ident v a) (Ident '[] a) Source #

_Idents :: forall v a l m. (Generic (s v a), Generic (s '[] a), Rep (s v a) ~ l, Rep (s '[] a) ~ m, GHasIdents l m v a) => Traversal (s v a) (s '[] a) (Ident v a) (Ident '[] a) Source #

Instances
HasIdents Ident Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (Ident v a) (Ident [] a) (Ident v a) (Ident [] a) Source #

HasIdents ModuleName Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (ModuleName v a) (ModuleName [] a) (Ident v a) (Ident [] a) Source #

HasIdents RelativeModuleName Source # 
Instance details

Defined in Language.Python.Optics.Idents

HasIdents ImportTargets Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (ImportTargets v a) (ImportTargets [] a) (Ident v a) (Ident [] a) Source #

HasIdents Expr Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (Expr v a) (Expr [] a) (Ident v a) (Ident [] a) Source #

HasIdents TupleItem Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (TupleItem v a) (TupleItem [] a) (Ident v a) (Ident [] a) Source #

HasIdents SetItem Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (SetItem v a) (SetItem [] a) (Ident v a) (Ident [] a) Source #

HasIdents ListItem Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (ListItem v a) (ListItem [] a) (Ident v a) (Ident [] a) Source #

HasIdents Subscript Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (Subscript v a) (Subscript [] a) (Ident v a) (Ident [] a) Source #

HasIdents DictItem Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (DictItem v a) (DictItem [] a) (Ident v a) (Ident [] a) Source #

HasIdents CompFor Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (CompFor v a) (CompFor [] a) (Ident v a) (Ident [] a) Source #

HasIdents CompIf Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (CompIf v a) (CompIf [] a) (Ident v a) (Ident [] a) Source #

HasIdents Arg Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (Arg v a) (Arg [] a) (Ident v a) (Ident [] a) Source #

HasIdents Param Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (Param v a) (Param [] a) (Ident v a) (Ident [] a) Source #

HasIdents CompoundStatement Source # 
Instance details

Defined in Language.Python.Optics.Idents

HasIdents Decorator Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (Decorator v a) (Decorator [] a) (Ident v a) (Ident [] a) Source #

HasIdents WithItem Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (WithItem v a) (WithItem [] a) (Ident v a) (Ident [] a) Source #

HasIdents Suite Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (Suite v a) (Suite [] a) (Ident v a) (Ident [] a) Source #

HasIdents ExceptAs Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (ExceptAs v a) (ExceptAs [] a) (Ident v a) (Ident [] a) Source #

HasIdents SimpleStatement Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (SimpleStatement v a) (SimpleStatement [] a) (Ident v a) (Ident [] a) Source #

HasIdents Statement Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (Statement v a) (Statement [] a) (Ident v a) (Ident [] a) Source #

HasIdents SmallStatement Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (SmallStatement v a) (SmallStatement [] a) (Ident v a) (Ident [] a) Source #

HasIdents Block Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (Block v a) (Block [] a) (Ident v a) (Ident [] a) Source #

HasIdents Module Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (Module v a) (Module [] a) (Ident v a) (Ident [] a) Source #

HasIdents n => HasIdents (ImportAs n) Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (ImportAs n v a) (ImportAs n [] a) (Ident v a) (Ident [] a) Source #

HasIdents e => HasIdents (Comprehension e) Source # 
Instance details

Defined in Language.Python.Optics.Idents

Methods

_Idents :: Traversal (Comprehension e v a) (Comprehension e [] a) (Ident v a) (Ident [] a) Source #