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.Newlines

Description

 

Documentation

class HasNewlines s where Source #

Methods

_Newlines :: Traversal' s Newline Source #

Traversal' targeting all of thie Newlines in a structure

This only targets places that contain the Newline datatype; it doesn't target newline characters in string literals, for example.

Instances
HasNewlines Indent Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines Whitespace Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines Newline Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines At Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines Equals Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines Colon Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines Comma Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines Dot Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines a => HasNewlines [a] Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines a => HasNewlines (Maybe a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines a => HasNewlines (NonEmpty a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (Indents a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (Blank a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (StringLiteral a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (Semicolon a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (UnOp a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (BinOp a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines a => HasNewlines (CommaSep1' a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines a => HasNewlines (CommaSep1 a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines a => HasNewlines (CommaSep a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

(HasNewlines a, HasNewlines b) => HasNewlines (Either a b) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

(HasNewlines a, HasNewlines b) => HasNewlines (a, b) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (Ident v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (ModuleName v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (RelativeModuleName v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (ImportTargets v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (Expr v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (TupleItem v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (SetItem v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (ListItem v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (Subscript v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (DictItem v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (CompFor v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (CompIf v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (Arg v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (Param v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (CompoundStatement v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (Decorator v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (WithItem v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (Suite v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (ExceptAs v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (SimpleStatement v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (Statement v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (SmallStatement v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (Block v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (Module v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

(HasNewlines a, HasNewlines b, HasNewlines c) => HasNewlines (a, b, c) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

Methods

_Newlines :: Traversal' (a, b, c) Newline Source #

HasNewlines (e v a) => HasNewlines (ImportAs e v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

HasNewlines (e v a) => HasNewlines (Comprehension e v a) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

(HasNewlines a, HasNewlines b, HasNewlines c, HasNewlines d) => HasNewlines (a, b, c, d) Source # 
Instance details

Defined in Language.Python.Optics.Newlines

Methods

_Newlines :: Traversal' (a, b, c, d) Newline Source #