Copyright | (c) 2017 Cristian Adrián Ontivero |
---|---|
License | BSD3 |
Stability | experimental |
Portability | unknown |
Safe Haskell | None |
Language | Haskell2010 |
Hasmin.Types.Declaration
Description
Synopsis
- data Declaration = Declaration {
- propertyName :: Text
- valueList :: Values
- isImportant :: Bool
- hasIEhack :: Bool
- clean :: [Declaration] -> [Declaration]
Documentation
data Declaration Source #
A CSS <declaration>.
Constructors
Declaration | |
Fields
|
Instances
Eq Declaration Source # | |
Defined in Hasmin.Types.Declaration | |
Ord Declaration Source # | |
Defined in Hasmin.Types.Declaration Methods compare :: Declaration -> Declaration -> Ordering # (<) :: Declaration -> Declaration -> Bool # (<=) :: Declaration -> Declaration -> Bool # (>) :: Declaration -> Declaration -> Bool # (>=) :: Declaration -> Declaration -> Bool # max :: Declaration -> Declaration -> Declaration # min :: Declaration -> Declaration -> Declaration # | |
Show Declaration Source # | |
Defined in Hasmin.Types.Declaration Methods showsPrec :: Int -> Declaration -> ShowS # show :: Declaration -> String # showList :: [Declaration] -> ShowS # | |
ToText Declaration Source # | |
Defined in Hasmin.Types.Declaration | |
Minifiable Declaration Source # | |
Defined in Hasmin.Types.Declaration Methods minify :: Declaration -> Reader Config Declaration Source # |
clean :: [Declaration] -> [Declaration] Source #
Removes longhand rules overwritten by their shorthand further down in the declaration list, and merges shorthand declarations with longhand properties later declared.