| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ormolu.Parser.Result
Description
A type for result of parsing.
Synopsis
- data ParseResult = ParseResult {
- prParsedSource :: ParsedSource
- prAnns :: Anns
- prCommentStream :: CommentStream
- prExtensions :: [Pragma]
- prShebangs :: [Located String]
- prUseRecordDot :: Bool
- prettyPrintParseResult :: ParseResult -> String
Documentation
data ParseResult Source #
A collection of data that represents a parsed module in Ormolu.
Constructors
| ParseResult | |
Fields
| |
prettyPrintParseResult :: ParseResult -> String Source #
Pretty-print a ParseResult.