packages feed

selectors 0.0.1.0 → 0.0.2.0

raw patch · 4 files changed

+11/−7 lines, 4 files

Files

XML/Selectors/CSS/Parse.y view
@@ -53,7 +53,7 @@                 | name specs Pseudo                 { SimpleSelector (Just $1) $2 (Just $3) }                 | specs                             { SimpleSelector Nothing $1 Nothing }                 | specs Pseudo                      { SimpleSelector Nothing $1 (Just $2) }-                | '*'                               { Universal }+                | '*'                               { SimpleSelector Nothing [] Nothing }  specs   : Specifier                                 { [$1] }         | specs Specifier                           { $2 : $1 }
XML/Selectors/CSS/Types.hs view
@@ -28,8 +28,6 @@ -- Contain an optional single element name, a sequence of id, class, and attribute -- 'Specifier's, and an optional pseudo-element selector. data SimpleSelector = SimpleSelector (Maybe String) [Specifier] (Maybe Pseudo)-                    -- | Wildcard @ * @ in CSS-                    | Universal     deriving (Show, Typeable, Data)  
dist/build/XML/Selectors/CSS/Parse.hs view
@@ -249,7 +249,7 @@ happyReduce_16 = happySpecReduce_1  2# happyReduction_16 happyReduction_16 happy_x_1 	 =  happyIn6-		 (Universal+		 (SimpleSelector Nothing [] Nothing 	)  happyReduce_17 = happySpecReduce_1  3# happyReduction_17
selectors.cabal view
@@ -1,14 +1,16 @@ name:                selectors-version:             0.0.1.0+version:             0.0.2.0 synopsis:            CSS Selectors for DOM traversal+description:+    This package provides functions for XML DOM traversal that work with "Text.XML.Cursor" from the xml-conduits package. The pure Haskell functions in "XML.Selectors.CSS" include a parser for CSS selector expressions and conversion to an "Axis". A QuasiQuoter is provided in "XML.Selectors.CSS.TH" for static validation of selector expressions.+ license:             BSD3 license-file:        LICENSE author:              Rob O'Callahan maintainer:          ropoctl@gmail.com--- copyright:           + category:            XML build-type:          Simple--- extra-source-files:   cabal-version:       >=1.10  library@@ -22,3 +24,7 @@   -- hs-source-dirs:         build-tools:         alex, happy   default-language:    Haskell2010++source-repository head+  type:     git+  location: git@github.com:rcallahan/selectors.git