Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Ormolu.Processing.Preprocess
Description
Preprocessing for input source code.
Synopsis
- preprocess :: Bool -> RegionDeltas -> String -> [Either Text RegionDeltas]
Documentation
Arguments
:: Bool | Whether CPP is enabled |
-> RegionDeltas | |
-> String | |
-> [Either Text RegionDeltas] |
Preprocess the specified region of the input into raw snippets and subregions to be formatted.