| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
HIndent.Pretty.NodeComments
Description
Comment handling around an AST node
Synopsis
- class CommentExtraction a where
- nodeComments :: a -> NodeComments
- emptyNodeComments :: NodeComments
Documentation
class CommentExtraction a where Source #
An interface to extract comments from an AST node.
Methods
nodeComments :: a -> NodeComments Source #
Instances
emptyNodeComments :: NodeComments Source #
A NodeComment with no comments.