Safe Haskell | Safe-Inferred |
---|
This module contains types shared between TokenUtils and Monad, and exists to break import cycles
Documentation
A data structure to make the ppr process visible
PprText Row Col PprOrigin String | Original row and col of the tokens making up the string |
PprAbove EndOffset (Row, Col) EndOffset [Ppr] | Offset of start of embedded parts, coords of last token, offset to start of next part, relative to the column of the start |
PprDeleted Row Col RowOffset RowOffset RowOffset | Marks lines that have been deleted together with the original gap before, how many lines were originally included, and gap after. And a note field for debugging |