Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- 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 Source
Supported refactorings
Replace | |
ModifyComment | |
| |
InsertComment | |
| |
Delete | |
RemoveAsKeyword | Takes the position of a import decl and removes the as keyword |
|
Functor Refactoring Source | |
Eq a => Eq (Refactoring a) Source | |
Data a => Data (Refactoring a) Source | |
Ord a => Ord (Refactoring a) Source | |
Read a => Read (Refactoring a) Source | |
Show a => Show (Refactoring a) Source |