module Pollock.Documentation.DocumentationForDecl
( DocumentationForDecl (..)
, FnArgsDoc
)
where
import qualified Data.IntMap.Strict as IM
import Pollock.Documentation.Doc (Doc)
import Pollock.Documentation.MetadataAndDoc (MetaAndDoc)
data DocumentationForDecl = DocumentationForDecl
{ DocumentationForDecl -> Maybe MetaAndDoc
documentationDoc :: !(Maybe MetaAndDoc)
, DocumentationForDecl -> Maybe Doc
documentationWarning :: !(Maybe Doc)
, DocumentationForDecl -> FnArgsDoc
documentationFunctionArgDoc :: !FnArgsDoc
}
type FnArgsDoc = IM.IntMap MetaAndDoc