DefCounts.ProcessHie
type DefCounter = AppendMap DefType (Sum Int, Sum Int) Source #
data DefType Source #
Constructors
Defined in DefCounts.ProcessHie
Methods
(==) :: DefType -> DefType -> Bool #
(/=) :: DefType -> DefType -> Bool #
compare :: DefType -> DefType -> Ordering #
(<) :: DefType -> DefType -> Bool #
(<=) :: DefType -> DefType -> Bool #
(>) :: DefType -> DefType -> Bool #
(>=) :: DefType -> DefType -> Bool #
max :: DefType -> DefType -> DefType #
min :: DefType -> DefType -> DefType #
showsPrec :: Int -> DefType -> ShowS #
show :: DefType -> String #
showList :: [DefType] -> ShowS #
declLines :: HieAST a -> DefCounter Source #
Counts up the different types of definitions in the given HieAST.
HieAST