| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Refact.Types
- data SrcSpan = SrcSpan {}
- data RType
- data Refactoring a
- = Replace { }
- | ModifyComment {
- pos :: a
- newComment :: String
- | InsertComment {
- pos :: a
- newComment :: String
- | Delete { }
- | RemoveAsKeyword {
- pos :: a
Documentation
A generic SrcSpan, usually this is converted immediately to a native representation. (For example a GHC SrcSpan or a HSE SrcSpan)
Types of expressions which we are able to replace.
data Refactoring a #
Supported refactorings
Constructors
| Replace | |
| ModifyComment | |
Fields
| |
| InsertComment | |
Fields
| |
| Delete | |
| RemoveAsKeyword | Takes the position of a import decl and removes the as keyword |
Fields
| |
Instances
| Functor Refactoring # | |
| Eq a => Eq (Refactoring a) # | |
| Data a => Data (Refactoring a) # | |
| Ord a => Ord (Refactoring a) # | |
| Read a => Read (Refactoring a) # | |
| Show a => Show (Refactoring a) # | |