| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ormolu.Parser.Result
Description
A type for result of parsing.
Synopsis
- data ParseResult = ParseResult {
- prParsedSource :: HsModule
- prAnns :: Anns
- prStackHeader :: Maybe (RealLocated Comment)
- prShebangs :: [Shebang]
- prPragmas :: [([RealLocated Comment], Pragma)]
- prCommentStream :: CommentStream
- prUseRecordDot :: Bool
- prExtensions :: EnumSet Extension
- prLiteralPrefix :: Text
- prLiteralSuffix :: Text
- prIndent :: Int
- 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.