Starting to include leading and trailing comments in the tokens
associated with a SrcSpan.
Merge remote-tracking branch 'osandbu/ghc-api' into ghc-api
WIP. Starting to bring SrcSpan encoding in to track inserts in the forest
WIP. Close to adding a copy of a SrcSpan and Tokens into the Token tree
Added invariant check that the parent relation is properly populated.
Need to re-think parent pointer.
Removed parent from Tree. Better to manage with path from route.
Can now retrieve a path to a given SrcSpan in the forest
Merge remote-tracking branch 'osandbu/ghc-api' into ghc-api
Bringing test cases over from original HaRe, for the renaming refactor.
Merge remote-tracking branch 'osandbu/ghc-api' into ghc-api
WIP. Starting to look at using Control.Lens.Zipper to manage the
TokenUtils tree.
Inching forward on my understanding if Control.Lens.Zipper
ZipperPlayLens.eg2' finally seems to be doing what I want, in terms of
traversing and editing the tree
WIP. Still struggling with navigating inside a Zipper.
Merge remote-tracking branch 'osandbu/ghc-api' into ghc-api
Using package rosezipper to manage the TokenUtils tree
Replaced the top of TokenUtils with a Tree Entry instead of Forest
Entry. All TokenUtils tests so far pass.
Finished plumbing TokenUtils into the RefactGhc monad. Next step is to
make putToks work again
Working to get rid of putToks