Safe Haskell | None |
---|---|
Language | Haskell98 |
Comment handling.
- newtype OrderByStart = OrderByStart SrcSpan
- newtype OrderByEnd = OrderByEnd SrcSpan
- annotateComments :: forall ast. (Data (ast NodeInfo), Traversable ast, Annotated ast, Show (ast NodeInfo)) => ast SrcSpanInfo -> [Comment] -> ([ComInfo], ast NodeInfo)
Documentation
annotateComments :: forall ast. (Data (ast NodeInfo), Traversable ast, Annotated ast, Show (ast NodeInfo)) => ast SrcSpanInfo -> [Comment] -> ([ComInfo], ast NodeInfo) Source
Annotate the AST with comments.