Safe Haskell | None |
---|---|
Language | Haskell98 |
- type ApplyRefacResult = ((FilePath, RefacResult), (Anns, ParsedSource))
- data RefacResult
- data RefacSource
- 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
data RefacResult Source
Identifies the tree carrying the main tokens, not any work in progress or deleted ones
data TokenCache a Source
Show a => Show (TokenCache a) Source |