| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.Haskell.Homplexity.Comments
- data CommentLink = CommentLink {}
- data CommentType
- classifyComments :: [Comment] -> [CommentLink]
- findCommentType :: String -> CommentType
Documentation
data CommentLink
Describes the comment span, and the way it may be connected to the source code
Constructors
| CommentLink | |
Fields | |
Instances
data CommentType
Possible link between comment and commented entity.
Constructors
| CommentsBefore | May be counted as commenting object that starts just before. |
| CommentsInside | May be counted as commenting object within which it exists. |
| CommentsAfter | May be counted as commenting object that starts just after. |
Instances
classifyComments :: [Comment] -> [CommentLink]
Classifies all comments in list, so they can be assigned to declarations later.
findCommentType :: String -> CommentType
Finds Haddock markers of which declarations the comment pertains to.