A generic SrcSpan, usually this is converted immediately to a native representation. (For example a GHC SrcSpan or a HSE SrcSpan)
Modulerefact-0.3.0.2Haskell2010
Refact.Types
- 3 types
- Packagerefact-0.3.0.2
- Exports3
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceTypes.hs
Supported refactorings
Constructors
ReplaceModifyCommentpos :: aExpression to replace
newComment :: String
InsertCommentpos :: aExpression to replace
newComment :: String
DeleteRemoveAsKeywordTakes the position of a import decl and removes the as keyword
pos :: aExpression to replace
Instances6Functor, Eq, Data, Ord, Read, Show
Functor RefactoringDefined in refact-0.3.0.2 · Refact.TypesEq a => Eq (Refactoring a)Defined in refact-0.3.0.2 · Refact.TypesData a => Data (Refactoring a)Defined in refact-0.3.0.2 · Refact.TypesOrd a => Ord (Refactoring a)Defined in refact-0.3.0.2 · Refact.TypesRead a => Read (Refactoring a)Defined in refact-0.3.0.2 · Refact.TypesShow a => Show (Refactoring a)Defined in refact-0.3.0.2 · Refact.Types