libhbb-0.4.1.0: Backend for text editors to provide better Haskell editing support.

Safe HaskellNone

Language.Haskell.HBB.TestModes.ApplyTTree

Synopsis

Documentation

data ApplyTTreeArgs Source

This type is used to have influence on the processing of testModeApplyTTree. It is possible to activate ANSI color escape sequences for the text or to enable the printing of the file context.

Constructors

ApplyTTreeArgs 

defaultApplyTTreeArgs :: ApplyTTreeArgsSource

These are the default options used for this mode. libhbb-cli only uses these default settings.

testModeApplyTTree :: ApplyTTreeArgs -> IO StringSource

This function reads a transformation-tree serialized to JSON from standard input and applies it which means that it converts it to text. After having it applied the text is returned as one single string.