hindent-4.6.3: Extensible Haskell pretty printer

Safe HaskellNone
LanguageHaskell98

HIndent.Comments

Description

Comment handling.

Synopsis

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.