1{-# LANGUAGE LambdaCase #-}
2{-# LANGUAGE OverloadedStrings #-}
4module Ormolu.Printer.Meat.Declaration.Annotation
10import Ormolu.Printer.Combinators
11import Ormolu.Printer.Meat.Common
12import Ormolu.Printer.Meat.Declaration.Value
15p_annDecl :: AnnDecl GhcPs -> R ()
17 HsAnnotation NoExt _ annProv expr -> line . pragma "ANN" $ do
21 XAnnDecl {} -> notImplemented "XAnnDecl"
23p_annProv :: AnnProvenance (IdP GhcPs) -> R ()
25 ValueAnnProvenance name -> p_rdrName name
26 TypeAnnProvenance name -> p_rdrName name
27 ModuleAnnProvenance -> txt "module"
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list