prettyprinter-1.6.2: A modern, easy to use, well-documented, extensible pretty-printer.

Safe HaskellSafe
LanguageHaskell2010

Data.Text.Prettyprint.Doc.Render.Util.Panic

Synopsis

Documentation

panicUncaughtFail :: void Source #

Raise a hard error if there is a SFail in a SimpleDocStream.

panicUnpairedPop :: void Source #

Raise a hard error when an annotation terminator is encountered in an unannotated region.

panicSimpleDocTreeConversionFailed :: void Source #

Raise a hard generic error when the SimpleDocStream to SimpleDocTree conversion fails.

panicInputNotFullyConsumed :: void Source #

Raise a hard error when the »to SimpleDocTree« parser finishes without consuming the full input.