css-selectors-0.5.0.0: Parsing, rendering and manipulating css selectors in Haskell.
Maintainerhapytexeu+gh@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

Css3.Selector.QuasiQuoters

Description

A module that defines a quasiquoter to parse a string to a css selector.

Synopsis

Documentation

csssel :: QuasiQuoter Source #

A quasiquoter that can be used to construct a SelectorGroup for the given css selector. In case the css selector is invalid. A compiler error will be thrown (at compile time).

cssselFile :: QuasiQuoter Source #

A quasiquoter that takes the content from the file, and then runs the content of that file as a csssel quasiquote.

parseCss Source #

Arguments

:: String

The string to be parsed to a SelectorGroup

-> SelectorGroup

The selectorgroup that is the equivalent of the given String.

Parse the string to a SelectorGroup.