~alcinnz/haskell-stylist

ref: a73ae4419a8e0dc8f2621ada54baa99c4172a667 haskell-stylist/src/Data/CSS/Syntax/StyleSheet.hs -rw-r--r-- 558 bytes
a73ae441 — Adrian Cochrane Remove Stylist-Traits APIs from Stylist Core, leaving backwards-compatible stubs. 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{-# LANGUAGE OverloadedStrings #-}
-- | Parses a CSS stylesheet
-- See `StyleSheet` & `parseForURL`.
--
-- Backwards-compatability module, this API has been moved out into "stylist-traits".
module Data.CSS.Syntax.StyleSheet (
        parse, parse', parseForURL, TrivialStyleSheet(..),
        StyleSheet(..), skipAtRule, scanAtRule, scanBlock, skipSpace,
        StyleRule(..),
        -- For parsing at-rules, HTML "style" attribute, etc.
        parseProperties, parseProperties',
        -- for testing
        scanValue
    ) where

import Stylist.Parse