Safe Haskell | None |
---|---|
Language | Haskell2010 |
A type for result of parsing.
Synopsis
- data ParseResult = ParseResult {
- prParsedSource :: HsModule GhcPs
- prAnns :: Anns
- prStackHeader :: Maybe (RealLocated Comment)
- prShebangs :: [Shebang]
- prPragmas :: [([RealLocated Comment], Pragma)]
- prCommentStream :: CommentStream
- prUseRecordDot :: Bool
- prImportQualifiedPost :: Bool
- prLiteralPrefix :: Text
- prLiteralSuffix :: Text
- prIndent :: Int
- prettyPrintParseResult :: ParseResult -> String
Documentation
data ParseResult Source #
A collection of data that represents a parsed module in Ormolu.
ParseResult | |
|
prettyPrintParseResult :: ParseResult -> String Source #
Pretty-print a ParseResult
.