Moduleghc-exactprint-1.10.0.0Haskell2010
Language.Haskell.GHC.ExactPrint.Types
- 3 types
- 1 value
- Packageghc-exactprint-1.10.0.0
- Exports4
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceTypes.hs
A Haskell comment. The AnnKeywordId is present if it has been converted
from an AnnKeywordId because the annotation must be interleaved into the
stream and does not have a well-defined position
Constructors
CommentcommentContents :: !StringThe contents of the comment including separators
commentLoc :: !NoCommentsLocationcommentPriorTok :: !RealSrcSpancommentOrigin :: !Maybe AnnKeywordIdWe sometimes turn syntax into comments in order to process them properly.
Instances5Eq, Data, Ord, Show, Outputable
Eq CommentDefined in ghc-exactprint-1.10.0.0 · Language.Haskell.GHC.ExactPrint.TypesData CommentDefined in ghc-exactprint-1.10.0.0 · Language.Haskell.GHC.ExactPrint.TypesOrd CommentDefined in ghc-exactprint-1.10.0.0 · Language.Haskell.GHC.ExactPrint.TypesShow CommentDefined in ghc-exactprint-1.10.0.0 · Language.Haskell.GHC.ExactPrint.TypesOutputable CommentDefined in ghc-exactprint-1.10.0.0 · Language.Haskell.GHC.ExactPrint.Types
Marks the start column of a layout block.
Constructors
Instances3Eq, Num, Show
Eq LayoutStartColDefined in ghc-exactprint-1.10.0.0 · Language.Haskell.GHC.ExactPrint.TypesNum LayoutStartColDefined in ghc-exactprint-1.10.0.0 · Language.Haskell.GHC.ExactPrint.TypesShow LayoutStartColDefined in ghc-exactprint-1.10.0.0 · Language.Haskell.GHC.ExactPrint.Types