| Safe Haskell | None | 
|---|---|
| Language | Haskell98 | 
Language.Haskell.Refact.Utils.Types
- type ApplyRefacResult = ((FilePath, RefacResult), (Anns, ParsedSource))
 - data RefacResult
 - data TypecheckedModule = TypecheckedModule {}
 - data TreeId = TId !Int
 - mainTid :: TreeId
 - data TokenCache a = TK {
- tkCache :: !(Map TreeId a)
 - tkLastTreeId :: !TreeId
 
 - type SimpPos = (Int, Int)
 - type SimpSpan = (SimpPos, SimpPos)
 - type NameMap = Map SrcSpan Name
 
Documentation
type ApplyRefacResult = ((FilePath, RefacResult), (Anns, ParsedSource)) Source #
The result of a refactoring is the file, a flag as to whether it was modified, and the updated AST
Identifies the tree carrying the main tokens, not any work in progress or deleted ones
data TokenCache a Source #
Instances
| Show a => Show (TokenCache a) Source # | |