Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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.
nodeComments :: a -> NodeComments Source #
Instances
emptyNodeComments :: NodeComments Source #
A NodeComment
with no comments.