tagsoup-selection-0.1.0.1: Selecting subtrees from TagSoup's TagTrees using CSS selectors

Safe HaskellSafe
LanguageHaskell98

Text.CSS3.Selectors.Parser

Contents

Description

Parser functions for CSS3 selectors.

Synopsis

Parsing Functions

parseSelectorGroup :: String -> Either ParseError SelectorGroup Source #

Tries to parse a selector group.

parseSelector :: String -> Either ParseError Selector Source #

Tries to parse a single selector.

sel :: String -> Selector Source #

Parses a single selector and fails with an error if the string cannot be parsed correctly. This function is intended for testing purposes only.

CSS Selector Parsers

Lexical Syntax Parsers