HaRe-0.8.1.1: the Haskell Refactorer.

Safe HaskellNone
LanguageHaskell98

Language.Haskell.Refact.Utils.Types

Contents

Synopsis

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 TreeId Source

Constructors

TId !Int 

mainTid :: TreeId Source

Identifies the tree carrying the main tokens, not any work in progress or deleted ones

data TokenCache a Source

Constructors

TK 

Fields

tkCache :: !(Map TreeId a)
 
tkLastTreeId :: !TreeId
 

Instances

type SimpPos = (Int, Int) Source