hasmin-0.3.3: CSS Minifier

Copyright(c) 2017 Cristian Adrián Ontivero
LicenseBSD3
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Hasmin.Parser.Internal

Description

 

Synopsis

Documentation

atRule :: Parser Rule Source #

Parser for CSS at-rules (e.g. @keyframes, @media)

rule :: Parser Rule Source #

Parser for a CSS rule, which can be either an at-rule (e.g. @charset), or a style rule.

declarations :: Parser [Declaration] Source #

Parses a list of declarations, ignoring spaces, comments, and empty declarations (e.g. ; ;)

selector :: Parser Selector Source #