css-parser
Safe HaskellNone
LanguageGHC2024

CssParser

Synopsis

Documentation

alex :: String -> Either String [TokenLoc] Source #

getToken :: TokenLoc -> Token Source #

cssParser :: [TokenLoc] -> P CssFile Source #

pattern FqApp :: FqFun s -> FeatureQuery s Source #

data FqFun s Source #

Instances

Instances details
CssShow s => CssShow (FqFun s) Source # 
Instance details

Defined in CssParser.At.Supports

Methods

toCssText :: FqFun s -> LText Source #

Generic (FqFun s) Source # 
Instance details

Defined in CssParser.At.Supports

Associated Types

type Rep (FqFun s) 
Instance details

Defined in CssParser.At.Supports

Methods

from :: FqFun s -> Rep (FqFun s) x #

to :: Rep (FqFun s) x -> FqFun s #

Show s => Show (FqFun s) Source # 
Instance details

Defined in CssParser.At.Supports

Methods

showsPrec :: Int -> FqFun s -> ShowS #

show :: FqFun s -> String #

showList :: [FqFun s] -> ShowS #

Eq s => Eq (FqFun s) Source # 
Instance details

Defined in CssParser.At.Supports

Methods

(==) :: FqFun s -> FqFun s -> Bool #

(/=) :: FqFun s -> FqFun s -> Bool #

Ord s => Ord (FqFun s) Source # 
Instance details

Defined in CssParser.At.Supports

Methods

compare :: FqFun s -> FqFun s -> Ordering #

(<) :: FqFun s -> FqFun s -> Bool #

(<=) :: FqFun s -> FqFun s -> Bool #

(>) :: FqFun s -> FqFun s -> Bool #

(>=) :: FqFun s -> FqFun s -> Bool #

max :: FqFun s -> FqFun s -> FqFun s #

min :: FqFun s -> FqFun s -> FqFun s #

type Rep (FqFun s) Source # 
Instance details

Defined in CssParser.At.Supports

class Norm a where Source #

Minimal complete definition

Nothing

Methods

normalize :: a -> a Source #

default normalize :: (Generic a, GNorm (Rep a)) => a -> a Source #

Instances

Instances details
Norm LText Source # 
Instance details

Defined in CssParser.Norm

Norm Text Source # 
Instance details

Defined in CssParser.Norm

Methods

normalize :: Text -> Text Source #

Norm Integer Source # 
Instance details

Defined in CssParser.Norm

Norm () Source # 
Instance details

Defined in CssParser.Norm

Methods

normalize :: () -> () Source #

Norm (FeatureQuery s) Source # 
Instance details

Defined in CssParser.At.Supports

Norm a => Norm (NonEmpty a) Source # 
Instance details

Defined in CssParser.Norm

Norm a => Norm (Maybe a) Source # 
Instance details

Defined in CssParser.Norm

Methods

normalize :: Maybe a -> Maybe a Source #

Norm a => Norm [a] Source # 
Instance details

Defined in CssParser.Norm

Methods

normalize :: [a] -> [a] Source #

data AtRule Source #

Instances

Instances details
CssShow AtRule Source # 
Instance details

Defined in CssParser.Rule.Show

Generic AtRule Source # 
Instance details

Defined in CssParser.Rule

Associated Types

type Rep AtRule 
Instance details

Defined in CssParser.Rule

type Rep AtRule = D1 ('MetaData "AtRule" "CssParser.Rule" "css-parser-0.0.1-inplace" 'False) ((((C1 ('MetaCons "CharsetStmt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Charset)) :+: (C1 ('MetaCons "ColorProfile" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PropertyName) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])) :+: C1 ('MetaCons "Container" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ContainerQueryMap) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])))) :+: (C1 ('MetaCons "CounterStyle" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ident) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])) :+: (C1 ('MetaCons "CustomMedia" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Var) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CustomMediaQuery)) :+: C1 ('MetaCons "FontFaceBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem]))))) :+: ((C1 ('MetaCons "FontFeatureValuesBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FontFeatureValues)) :+: (C1 ('MetaCons "FontPaletteValuesBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FontPaletteValues)) :+: C1 ('MetaCons "FunctionBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CssFunction)))) :+: ((C1 ('MetaCons "ImportStmt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Import SelectorList))) :+: C1 ('MetaCons "Keyframes" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 KeyframeSet))) :+: (C1 ('MetaCons "LayerBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe LayerName)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])) :+: C1 ('MetaCons "LayerStmt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty LayerName))))))) :+: (((C1 ('MetaCons "MediaRule" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MediaQueryList) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])) :+: (C1 ('MetaCons "Mixin" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ident)) :+: C1 ('MetaCons "CustomSelector" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CustomSelectorName) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SelectorList)))) :+: ((C1 ('MetaCons "DefineMixin" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ident) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])) :+: C1 ('MetaCons "Namespace" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Ident)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Source))) :+: (C1 ('MetaCons "Page" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PageSelectorList) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])) :+: C1 ('MetaCons "PageMarginBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PageMargin) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem]))))) :+: ((C1 ('MetaCons "PositionTry" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Var) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [PropEntry])) :+: (C1 ('MetaCons "Property" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Var) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])) :+: C1 ('MetaCons "ScopeBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (MonoPair SelectorList)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])))) :+: ((C1 ('MetaCons "StartingStyle" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])) :+: C1 ('MetaCons "Supports" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FeatureQuery) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem]))) :+: (C1 ('MetaCons "UnknownGramma" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ident) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CommaSeparatedList)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem]))) :+: C1 ('MetaCons "ViewTransition" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])))))))

Methods

from :: AtRule -> Rep AtRule x #

to :: Rep AtRule x -> AtRule #

Show AtRule Source # 
Instance details

Defined in CssParser.Rule

Eq AtRule Source # 
Instance details

Defined in CssParser.Rule

Methods

(==) :: AtRule -> AtRule -> Bool #

(/=) :: AtRule -> AtRule -> Bool #

Ord AtRule Source # 
Instance details

Defined in CssParser.Rule

type Rep AtRule Source # 
Instance details

Defined in CssParser.Rule

type Rep AtRule = D1 ('MetaData "AtRule" "CssParser.Rule" "css-parser-0.0.1-inplace" 'False) ((((C1 ('MetaCons "CharsetStmt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Charset)) :+: (C1 ('MetaCons "ColorProfile" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PropertyName) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])) :+: C1 ('MetaCons "Container" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ContainerQueryMap) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])))) :+: (C1 ('MetaCons "CounterStyle" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ident) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])) :+: (C1 ('MetaCons "CustomMedia" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Var) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CustomMediaQuery)) :+: C1 ('MetaCons "FontFaceBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem]))))) :+: ((C1 ('MetaCons "FontFeatureValuesBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FontFeatureValues)) :+: (C1 ('MetaCons "FontPaletteValuesBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FontPaletteValues)) :+: C1 ('MetaCons "FunctionBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CssFunction)))) :+: ((C1 ('MetaCons "ImportStmt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Import SelectorList))) :+: C1 ('MetaCons "Keyframes" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 KeyframeSet))) :+: (C1 ('MetaCons "LayerBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe LayerName)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])) :+: C1 ('MetaCons "LayerStmt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty LayerName))))))) :+: (((C1 ('MetaCons "MediaRule" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MediaQueryList) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])) :+: (C1 ('MetaCons "Mixin" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ident)) :+: C1 ('MetaCons "CustomSelector" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CustomSelectorName) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SelectorList)))) :+: ((C1 ('MetaCons "DefineMixin" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ident) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])) :+: C1 ('MetaCons "Namespace" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Ident)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Source))) :+: (C1 ('MetaCons "Page" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PageSelectorList) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])) :+: C1 ('MetaCons "PageMarginBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PageMargin) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem]))))) :+: ((C1 ('MetaCons "PositionTry" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Var) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [PropEntry])) :+: (C1 ('MetaCons "Property" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Var) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])) :+: C1 ('MetaCons "ScopeBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (MonoPair SelectorList)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])))) :+: ((C1 ('MetaCons "StartingStyle" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])) :+: C1 ('MetaCons "Supports" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FeatureQuery) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem]))) :+: (C1 ('MetaCons "UnknownGramma" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ident) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CommaSeparatedList)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem]))) :+: C1 ('MetaCons "ViewTransition" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CssRuleBodyItem])))))))

data AtrPat Source #

Instances

Instances details
CssShow AtrPat Source # 
Instance details

Defined in CssParser.Rule.Show

Generic AtrPat Source # 
Instance details

Defined in CssParser.Rule

Methods

from :: AtrPat -> Rep AtrPat x #

to :: Rep AtrPat x -> AtrPat #

Show AtrPat Source # 
Instance details

Defined in CssParser.Rule

Eq AtrPat Source # 
Instance details

Defined in CssParser.Rule

Methods

(==) :: AtrPat -> AtrPat -> Bool #

(/=) :: AtrPat -> AtrPat -> Bool #

Ord AtrPat Source # 
Instance details

Defined in CssParser.Rule

type Rep AtrPat Source # 
Instance details

Defined in CssParser.Rule

data AttrOp Source #

Constructors

Exact

exactly the value of the value, denoted with =

Include

whitespace separated list of items, one of these items is the value, denoted with ~=

DashMatch

hyphen separated list of items, the first item is the value, denoted with |=

PrefixMatch

prefix of the value in the attribute, denoted with ^=

SuffixMatch

suffix of the value in the attribute, denoted with $=

SubstringMatch

substring of the value in the attribute, denoted with *=

Instances

Instances details
CssShow AttrOp Source # 
Instance details

Defined in CssParser.Rule.Show

Bounded AttrOp Source # 
Instance details

Defined in CssParser.Rule

Enum AttrOp Source # 
Instance details

Defined in CssParser.Rule

Generic AttrOp Source # 
Instance details

Defined in CssParser.Rule

Associated Types

type Rep AttrOp 
Instance details

Defined in CssParser.Rule

type Rep AttrOp = D1 ('MetaData "AttrOp" "CssParser.Rule" "css-parser-0.0.1-inplace" 'False) ((C1 ('MetaCons "Exact" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Include" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DashMatch" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "PrefixMatch" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SuffixMatch" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SubstringMatch" 'PrefixI 'False) (U1 :: Type -> Type))))

Methods

from :: AttrOp -> Rep AttrOp x #

to :: Rep AttrOp x -> AttrOp #

Show AttrOp Source # 
Instance details

Defined in CssParser.Rule

Eq AttrOp Source # 
Instance details

Defined in CssParser.Rule

Methods

(==) :: AttrOp -> AttrOp -> Bool #

(/=) :: AttrOp -> AttrOp -> Bool #

Ord AttrOp Source # 
Instance details

Defined in CssParser.Rule

type Rep AttrOp Source # 
Instance details

Defined in CssParser.Rule

type Rep AttrOp = D1 ('MetaData "AttrOp" "CssParser.Rule" "css-parser-0.0.1-inplace" 'False) ((C1 ('MetaCons "Exact" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Include" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DashMatch" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "PrefixMatch" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SuffixMatch" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SubstringMatch" 'PrefixI 'False) (U1 :: Type -> Type))))

data CompositePe Source #

Instances

Instances details
CssShow CompositePe Source # 
Instance details

Defined in CssParser.Rule.Show

Generic CompositePe Source # 
Instance details

Defined in CssParser.Rule

Associated Types

type Rep CompositePe 
Instance details

Defined in CssParser.Rule

type Rep CompositePe = D1 ('MetaData "CompositePe" "CssParser.Rule" "css-parser-0.0.1-inplace" 'False) (((C1 ('MetaCons "AtomicPe" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PseudoElement)) :+: C1 ('MetaCons "Highlight" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced Ident)))) :+: (C1 ('MetaCons "Part" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced (SslNe Ident)))) :+: (C1 ('MetaCons "Picker" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced Ident))) :+: C1 ('MetaCons "ScrollButton" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced TagName)))))) :+: ((C1 ('MetaCons "Slotted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced SelectorList))) :+: C1 ('MetaCons "ViewTransitionGroup" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced SelectorList)))) :+: (C1 ('MetaCons "ViewTransitionImagePair" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced SelectorList))) :+: (C1 ('MetaCons "ViewTransitionNew" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced SelectorList))) :+: C1 ('MetaCons "ViewTransitionOld" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced SelectorList)))))))
Show CompositePe Source # 
Instance details

Defined in CssParser.Rule

Eq CompositePe Source # 
Instance details

Defined in CssParser.Rule

Ord CompositePe Source # 
Instance details

Defined in CssParser.Rule

type Rep CompositePe Source # 
Instance details

Defined in CssParser.Rule

type Rep CompositePe = D1 ('MetaData "CompositePe" "CssParser.Rule" "css-parser-0.0.1-inplace" 'False) (((C1 ('MetaCons "AtomicPe" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PseudoElement)) :+: C1 ('MetaCons "Highlight" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced Ident)))) :+: (C1 ('MetaCons "Part" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced (SslNe Ident)))) :+: (C1 ('MetaCons "Picker" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced Ident))) :+: C1 ('MetaCons "ScrollButton" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced TagName)))))) :+: ((C1 ('MetaCons "Slotted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced SelectorList))) :+: C1 ('MetaCons "ViewTransitionGroup" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced SelectorList)))) :+: (C1 ('MetaCons "ViewTransitionImagePair" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced SelectorList))) :+: (C1 ('MetaCons "ViewTransitionNew" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced SelectorList))) :+: C1 ('MetaCons "ViewTransitionOld" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced SelectorList)))))))

data CssRule Source #

Instances

Instances details
CssShow CssRule Source # 
Instance details

Defined in CssParser.Rule.Show

Generic CssRule Source # 
Instance details

Defined in CssParser.Rule

Methods

from :: CssRule -> Rep CssRule x #

to :: Rep CssRule x -> CssRule #

Show CssRule Source # 
Instance details

Defined in CssParser.Rule

Eq CssRule Source # 
Instance details

Defined in CssParser.Rule

Methods

(==) :: CssRule -> CssRule -> Bool #

(/=) :: CssRule -> CssRule -> Bool #

Ord CssRule Source # 
Instance details

Defined in CssParser.Rule

ShowSpaceBetween CssRule CssRule Source # 
Instance details

Defined in CssParser.Rule.Show

Methods

cssSpace :: forall aa bb -> (aa ~ CssRule, bb ~ CssRule) => LText Source #

type Rep CssRule Source # 
Instance details

Defined in CssParser.Rule

data CssRuleBodyItem Source #

Instances

Instances details
CssShow CssRuleBodyItem Source # 
Instance details

Defined in CssParser.Rule.Show

Generic CssRuleBodyItem Source # 
Instance details

Defined in CssParser.Rule

Show CssRuleBodyItem Source # 
Instance details

Defined in CssParser.Rule

Eq CssRuleBodyItem Source # 
Instance details

Defined in CssParser.Rule

Ord CssRuleBodyItem Source # 
Instance details

Defined in CssParser.Rule

ShowSpaceBetween CssRuleBodyItem CssRuleBodyItem Source # 
Instance details

Defined in CssParser.Rule.Show

Methods

cssSpace :: forall aa bb -> (aa ~ CssRuleBodyItem, bb ~ CssRuleBodyItem) => LText Source #

type Rep CssRuleBodyItem Source # 
Instance details

Defined in CssParser.Rule

data PseudeTagSelector Source #

Instances

Instances details
CssShow PseudeTagSelector Source # 
Instance details

Defined in CssParser.Rule.Show

Generic PseudeTagSelector Source # 
Instance details

Defined in CssParser.Rule

Associated Types

type Rep PseudeTagSelector 
Instance details

Defined in CssParser.Rule

type Rep PseudeTagSelector = D1 ('MetaData "PseudeTagSelector" "CssParser.Rule" "css-parser-0.0.1-inplace" 'False) (C1 ('MetaCons "PseudeTagSelector" 'PrefixI 'True) (S1 ('MetaSel ('Just "ptagName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CompositePe) :*: S1 ('MetaSel ('Just "ptagSubs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TagSubSelector])))
Show PseudeTagSelector Source # 
Instance details

Defined in CssParser.Rule

Eq PseudeTagSelector Source # 
Instance details

Defined in CssParser.Rule

Ord PseudeTagSelector Source # 
Instance details

Defined in CssParser.Rule

type Rep PseudeTagSelector Source # 
Instance details

Defined in CssParser.Rule

type Rep PseudeTagSelector = D1 ('MetaData "PseudeTagSelector" "CssParser.Rule" "css-parser-0.0.1-inplace" 'False) (C1 ('MetaCons "PseudeTagSelector" 'PrefixI 'True) (S1 ('MetaSel ('Just "ptagName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CompositePe) :*: S1 ('MetaSel ('Just "ptagSubs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TagSubSelector])))

data Selector Source #

Instances

Instances details
CssShow Selector Source # 
Instance details

Defined in CssParser.Rule.Show

GEnum Selector Source # 
Instance details

Defined in CssParser.Rule

Methods

genum :: [Selector] #

Generic Selector Source # 
Instance details

Defined in CssParser.Rule

Methods

from :: Selector -> Rep Selector x #

to :: Rep Selector x -> Selector #

Show Selector Source # 
Instance details

Defined in CssParser.Rule

Eq Selector Source # 
Instance details

Defined in CssParser.Rule

Ord Selector Source # 
Instance details

Defined in CssParser.Rule

ShowSpaceBetween Selector Selector Source # 
Instance details

Defined in CssParser.Rule.Show

Methods

cssSpace :: forall aa bb -> (aa ~ Selector, bb ~ Selector) => LText Source #

ShowParenthesis (MonoPair SelectorList) SelectorList Source # 
Instance details

Defined in CssParser.Rule.Show

Methods

left :: forall pp tt -> (pp ~ MonoPair SelectorList, tt ~ SelectorList) => LText Source #

right :: forall pp tt -> (pp ~ MonoPair SelectorList, tt ~ SelectorList) => LText Source #

ShowSpaceBetween (MonoPair SelectorList) SelectorList Source # 
Instance details

Defined in CssParser.Rule.Show

Methods

cssSpace :: forall aa bb -> (aa ~ MonoPair SelectorList, bb ~ SelectorList) => LText Source #

type Rep Selector Source # 
Instance details

Defined in CssParser.Rule

data TagRelation Source #

Instances

Instances details
CssShow TagRelation Source # 
Instance details

Defined in CssParser.Rule.Show

Bounded TagRelation Source # 
Instance details

Defined in CssParser.Rule

Enum TagRelation Source # 
Instance details

Defined in CssParser.Rule

Generic TagRelation Source # 
Instance details

Defined in CssParser.Rule

Associated Types

type Rep TagRelation 
Instance details

Defined in CssParser.Rule

type Rep TagRelation = D1 ('MetaData "TagRelation" "CssParser.Rule" "css-parser-0.0.1-inplace" 'False) ((C1 ('MetaCons "Descendant" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Child" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "NextSibling" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GeneralSibling" 'PrefixI 'False) (U1 :: Type -> Type)))
Show TagRelation Source # 
Instance details

Defined in CssParser.Rule

Eq TagRelation Source # 
Instance details

Defined in CssParser.Rule

Ord TagRelation Source # 
Instance details

Defined in CssParser.Rule

type Rep TagRelation Source # 
Instance details

Defined in CssParser.Rule

type Rep TagRelation = D1 ('MetaData "TagRelation" "CssParser.Rule" "css-parser-0.0.1-inplace" 'False) ((C1 ('MetaCons "Descendant" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Child" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "NextSibling" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GeneralSibling" 'PrefixI 'False) (U1 :: Type -> Type)))

data TagSelector Source #

Instances

Instances details
CssShow TagSelector Source # 
Instance details

Defined in CssParser.Rule.Show

Generic TagSelector Source # 
Instance details

Defined in CssParser.Rule

Associated Types

type Rep TagSelector 
Instance details

Defined in CssParser.Rule

type Rep TagSelector = D1 ('MetaData "TagSelector" "CssParser.Rule" "css-parser-0.0.1-inplace" 'False) (C1 ('MetaCons "TagSelector" 'PrefixI 'True) (S1 ('MetaSel ('Just "tagNs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Namespace) :*: (S1 ('MetaSel ('Just "tagName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TagName) :*: S1 ('MetaSel ('Just "tagSubSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TagSubSelector]))))
Show TagSelector Source # 
Instance details

Defined in CssParser.Rule

Eq TagSelector Source # 
Instance details

Defined in CssParser.Rule

Ord TagSelector Source # 
Instance details

Defined in CssParser.Rule

type Rep TagSelector Source # 
Instance details

Defined in CssParser.Rule

type Rep TagSelector = D1 ('MetaData "TagSelector" "CssParser.Rule" "css-parser-0.0.1-inplace" 'False) (C1 ('MetaCons "TagSelector" 'PrefixI 'True) (S1 ('MetaSel ('Just "tagNs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Namespace) :*: (S1 ('MetaSel ('Just "tagName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TagName) :*: S1 ('MetaSel ('Just "tagSubSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TagSubSelector]))))

data TagSubSelector Source #

Instances

Instances details
CssShow TagSubSelector Source # 
Instance details

Defined in CssParser.Rule.Show

Generic TagSubSelector Source # 
Instance details

Defined in CssParser.Rule

Associated Types

type Rep TagSubSelector 
Instance details

Defined in CssParser.Rule

type Rep TagSubSelector = D1 ('MetaData "TagSubSelector" "CssParser.Rule" "css-parser-0.0.1-inplace" 'False) ((((C1 ('MetaCons "AtomicClass" 'PrefixI 'True) (S1 ('MetaSel ('Just "unClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ident)) :+: C1 ('MetaCons "AtomicPseudoClass" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AtomicPseudoClass))) :+: (C1 ('MetaCons "UnknownPseudoF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ident) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SelectorList)) :+: (C1 ('MetaCons "NotClass" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SelectorList)) :+: C1 ('MetaCons "Lang" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Language))))) :+: ((C1 ('MetaCons "Global" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SelectorList)) :+: C1 ('MetaCons "Where" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SelectorList))) :+: (C1 ('MetaCons "Has" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SelectorList)) :+: (C1 ('MetaCons "Is" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SelectorList)) :+: C1 ('MetaCons "NthChild" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NthFormula) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe TagSelector))))))) :+: (((C1 ('MetaCons "NthLastChild" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NthFormula) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe TagSelector))) :+: C1 ('MetaCons "NthLastOfType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NthFormula))) :+: (C1 ('MetaCons "NthOfType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NthFormula)) :+: (C1 ('MetaCons "ActiveViewTransitionType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced (CslNe Ident)))) :+: C1 ('MetaCons "Dir" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced Ident)))))) :+: ((C1 ('MetaCons "Heading" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced (CslNe Unsigned)))) :+: (C1 ('MetaCons "Host" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced SelectorList))) :+: C1 ('MetaCons "State" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced Ident))))) :+: (C1 ('MetaCons "HasAttr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AttrName)) :+: (C1 ('MetaCons "Attr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AttrName) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AttrOp) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AtrPat)))) :+: C1 ('MetaCons "Hash" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ident)))))))
Show TagSubSelector Source # 
Instance details

Defined in CssParser.Rule

Eq TagSubSelector Source # 
Instance details

Defined in CssParser.Rule

Ord TagSubSelector Source # 
Instance details

Defined in CssParser.Rule

ShowSpaceBetween TagSubSelector TagSubSelector Source # 
Instance details

Defined in CssParser.Rule.Show

Methods

cssSpace :: forall aa bb -> (aa ~ TagSubSelector, bb ~ TagSubSelector) => LText Source #

type Rep TagSubSelector Source # 
Instance details

Defined in CssParser.Rule

type Rep TagSubSelector = D1 ('MetaData "TagSubSelector" "CssParser.Rule" "css-parser-0.0.1-inplace" 'False) ((((C1 ('MetaCons "AtomicClass" 'PrefixI 'True) (S1 ('MetaSel ('Just "unClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ident)) :+: C1 ('MetaCons "AtomicPseudoClass" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AtomicPseudoClass))) :+: (C1 ('MetaCons "UnknownPseudoF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ident) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SelectorList)) :+: (C1 ('MetaCons "NotClass" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SelectorList)) :+: C1 ('MetaCons "Lang" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Language))))) :+: ((C1 ('MetaCons "Global" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SelectorList)) :+: C1 ('MetaCons "Where" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SelectorList))) :+: (C1 ('MetaCons "Has" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SelectorList)) :+: (C1 ('MetaCons "Is" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SelectorList)) :+: C1 ('MetaCons "NthChild" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NthFormula) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe TagSelector))))))) :+: (((C1 ('MetaCons "NthLastChild" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NthFormula) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe TagSelector))) :+: C1 ('MetaCons "NthLastOfType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NthFormula))) :+: (C1 ('MetaCons "NthOfType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NthFormula)) :+: (C1 ('MetaCons "ActiveViewTransitionType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced (CslNe Ident)))) :+: C1 ('MetaCons "Dir" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced Ident)))))) :+: ((C1 ('MetaCons "Heading" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced (CslNe Unsigned)))) :+: (C1 ('MetaCons "Host" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced SelectorList))) :+: C1 ('MetaCons "State" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Embraced Ident))))) :+: (C1 ('MetaCons "HasAttr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AttrName)) :+: (C1 ('MetaCons "Attr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AttrName) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AttrOp) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AtrPat)))) :+: C1 ('MetaCons "Hash" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ident)))))))

data NonEmpty a #

Non-empty (and non-strict) list type.

Since: base-4.9.0.0

Constructors

a :| [a] infixr 5 

Instances

Instances details
Foldable1 NonEmpty #

Since: base-4.18.0.0

Instance details

Defined in Data.Foldable1

Methods

fold1 :: Semigroup m => NonEmpty m -> m #

foldMap1 :: Semigroup m => (a -> m) -> NonEmpty a -> m #

foldMap1' :: Semigroup m => (a -> m) -> NonEmpty a -> m #

toNonEmpty :: NonEmpty a -> NonEmpty a #

maximum :: Ord a => NonEmpty a -> a #

minimum :: Ord a => NonEmpty a -> a #

head :: NonEmpty a -> a #

last :: NonEmpty a -> a #

foldrMap1 :: (a -> b) -> (a -> b -> b) -> NonEmpty a -> b #

foldlMap1' :: (a -> b) -> (b -> a -> b) -> NonEmpty a -> b #

foldlMap1 :: (a -> b) -> (b -> a -> b) -> NonEmpty a -> b #

foldrMap1' :: (a -> b) -> (a -> b -> b) -> NonEmpty a -> b #

Eq1 NonEmpty #

Since: base-4.10.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftEq :: (a -> b -> Bool) -> NonEmpty a -> NonEmpty b -> Bool #

Ord1 NonEmpty #

Since: base-4.10.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftCompare :: (a -> b -> Ordering) -> NonEmpty a -> NonEmpty b -> Ordering #

Read1 NonEmpty #

Since: base-4.10.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftReadsPrec :: (Int -> ReadS a) -> ReadS [a] -> Int -> ReadS (NonEmpty a) #

liftReadList :: (Int -> ReadS a) -> ReadS [a] -> ReadS [NonEmpty a] #

liftReadPrec :: ReadPrec a -> ReadPrec [a] -> ReadPrec (NonEmpty a) #

liftReadListPrec :: ReadPrec a -> ReadPrec [a] -> ReadPrec [NonEmpty a] #

Show1 NonEmpty #

Since: base-4.10.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> NonEmpty a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [NonEmpty a] -> ShowS #

NFData1 NonEmpty #

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

liftRnf :: (a -> ()) -> NonEmpty a -> () #

GFoldable NonEmpty # 
Instance details

Defined in Generics.Deriving.Foldable

Methods

gfoldMap :: Monoid m => (a -> m) -> NonEmpty a -> m #

gfold :: Monoid m => NonEmpty m -> m #

gfoldr :: (a -> b -> b) -> b -> NonEmpty a -> b #

gfoldr' :: (a -> b -> b) -> b -> NonEmpty a -> b #

gfoldl :: (a -> b -> a) -> a -> NonEmpty b -> a #

gfoldl' :: (a -> b -> a) -> a -> NonEmpty b -> a #

gfoldr1 :: (a -> a -> a) -> NonEmpty a -> a #

gfoldl1 :: (a -> a -> a) -> NonEmpty a -> a #

GFunctor NonEmpty # 
Instance details

Defined in Generics.Deriving.Functor

Methods

gmap :: (a -> b) -> NonEmpty a -> NonEmpty b #

GTraversable NonEmpty # 
Instance details

Defined in Generics.Deriving.Traversable

Methods

gtraverse :: Applicative f => (a -> f b) -> NonEmpty a -> f (NonEmpty b) #

gsequenceA :: Applicative f => NonEmpty (f a) -> f (NonEmpty a) #

gmapM :: Monad m => (a -> m b) -> NonEmpty a -> m (NonEmpty b) #

gsequence :: Monad m => NonEmpty (m a) -> m (NonEmpty a) #

Applicative NonEmpty #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Base

Methods

pure :: a -> NonEmpty a #

(<*>) :: NonEmpty (a -> b) -> NonEmpty a -> NonEmpty b #

liftA2 :: (a -> b -> c) -> NonEmpty a -> NonEmpty b -> NonEmpty c #

(*>) :: NonEmpty a -> NonEmpty b -> NonEmpty b #

(<*) :: NonEmpty a -> NonEmpty b -> NonEmpty a #

Functor NonEmpty #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Base

Methods

fmap :: (a -> b) -> NonEmpty a -> NonEmpty b #

(<$) :: a -> NonEmpty b -> NonEmpty a #

Monad NonEmpty #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Base

Methods

(>>=) :: NonEmpty a -> (a -> NonEmpty b) -> NonEmpty b #

(>>) :: NonEmpty a -> NonEmpty b -> NonEmpty b #

return :: a -> NonEmpty a #

Foldable NonEmpty #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Data.Foldable

Methods

fold :: Monoid m => NonEmpty m -> m #

foldMap :: Monoid m => (a -> m) -> NonEmpty a -> m #

foldMap' :: Monoid m => (a -> m) -> NonEmpty a -> m #

foldr :: (a -> b -> b) -> b -> NonEmpty a -> b #

foldr' :: (a -> b -> b) -> b -> NonEmpty a -> b #

foldl :: (b -> a -> b) -> b -> NonEmpty a -> b #

foldl' :: (b -> a -> b) -> b -> NonEmpty a -> b #

foldr1 :: (a -> a -> a) -> NonEmpty a -> a #

foldl1 :: (a -> a -> a) -> NonEmpty a -> a #

toList :: NonEmpty a -> [a] #

null :: NonEmpty a -> Bool #

length :: NonEmpty a -> Int #

elem :: Eq a => a -> NonEmpty a -> Bool #

maximum :: Ord a => NonEmpty a -> a #

minimum :: Ord a => NonEmpty a -> a #

sum :: Num a => NonEmpty a -> a #

product :: Num a => NonEmpty a -> a #

Traversable NonEmpty #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Data.Traversable

Methods

traverse :: Applicative f => (a -> f b) -> NonEmpty a -> f (NonEmpty b) #

sequenceA :: Applicative f => NonEmpty (f a) -> f (NonEmpty a) #

mapM :: Monad m => (a -> m b) -> NonEmpty a -> m (NonEmpty b) #

sequence :: Monad m => NonEmpty (m a) -> m (NonEmpty a) #

Hashable1 NonEmpty #

Since: hashable-1.3.1.0

Instance details

Defined in Data.Hashable.Class

Methods

liftHashWithSalt :: (Int -> a -> Int) -> Int -> NonEmpty a -> Int #

Generic1 NonEmpty # 
Instance details

Defined in GHC.Internal.Generics

Associated Types

type Rep1 NonEmpty

Since: base-4.6.0.0

Instance details

Defined in GHC.Internal.Generics

Methods

from1 :: NonEmpty a -> Rep1 NonEmpty a #

to1 :: Rep1 NonEmpty a -> NonEmpty a #

Norm a => Norm (NonEmpty a) Source # 
Instance details

Defined in CssParser.Norm

(ShowSpaceBetween a a, CssShow a) => CssShow (NonEmpty a) Source # 
Instance details

Defined in CssParser.Show

NFData a => NFData (NonEmpty a) #

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: NonEmpty a -> () #

GEnum a => GEnum (NonEmpty a) # 
Instance details

Defined in Generics.Deriving.Enum

Methods

genum :: [NonEmpty a] #

(GEq a, GEnum a, GIx a) => GIx (NonEmpty a) # 
Instance details

Defined in Generics.Deriving.Enum

Methods

range :: (NonEmpty a, NonEmpty a) -> [NonEmpty a] #

index :: (NonEmpty a, NonEmpty a) -> NonEmpty a -> Int #

inRange :: (NonEmpty a, NonEmpty a) -> NonEmpty a -> Bool #

GEq a => GEq (NonEmpty a) # 
Instance details

Defined in Generics.Deriving.Eq

Methods

geq :: NonEmpty a -> NonEmpty a -> Bool #

GShow a => GShow (NonEmpty a) # 
Instance details

Defined in Generics.Deriving.Show

Semigroup (NonEmpty a) #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Base

Methods

(<>) :: NonEmpty a -> NonEmpty a -> NonEmpty a #

sconcat :: NonEmpty (NonEmpty a) -> NonEmpty a #

stimes :: Integral b => b -> NonEmpty a -> NonEmpty a #

Generic (NonEmpty a) # 
Instance details

Defined in GHC.Internal.Generics

Associated Types

type Rep (NonEmpty a)

Since: base-4.6.0.0

Instance details

Defined in GHC.Internal.Generics

Methods

from :: NonEmpty a -> Rep (NonEmpty a) x #

to :: Rep (NonEmpty a) x -> NonEmpty a #

IsList (NonEmpty a) #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.IsList

Associated Types

type Item (NonEmpty a) 
Instance details

Defined in GHC.Internal.IsList

type Item (NonEmpty a) = a

Methods

fromList :: [Item (NonEmpty a)] -> NonEmpty a #

fromListN :: Int -> [Item (NonEmpty a)] -> NonEmpty a #

toList :: NonEmpty a -> [Item (NonEmpty a)] #

Read a => Read (NonEmpty a) #

Since: base-4.11.0.0

Instance details

Defined in GHC.Internal.Read

Show a => Show (NonEmpty a) #

Since: base-4.11.0.0

Instance details

Defined in GHC.Internal.Show

Methods

showsPrec :: Int -> NonEmpty a -> ShowS #

show :: NonEmpty a -> String #

showList :: [NonEmpty a] -> ShowS #

Eq a => Eq (NonEmpty a) #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Base

Methods

(==) :: NonEmpty a -> NonEmpty a -> Bool #

(/=) :: NonEmpty a -> NonEmpty a -> Bool #

Ord a => Ord (NonEmpty a) #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Base

Methods

compare :: NonEmpty a -> NonEmpty a -> Ordering #

(<) :: NonEmpty a -> NonEmpty a -> Bool #

(<=) :: NonEmpty a -> NonEmpty a -> Bool #

(>) :: NonEmpty a -> NonEmpty a -> Bool #

(>=) :: NonEmpty a -> NonEmpty a -> Bool #

max :: NonEmpty a -> NonEmpty a -> NonEmpty a #

min :: NonEmpty a -> NonEmpty a -> NonEmpty a #

Hashable a => Hashable (NonEmpty a) # 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSalt :: Int -> NonEmpty a -> Int #

hash :: NonEmpty a -> Int #

ShowParenthesis (MonoPair SelectorList) SelectorList Source # 
Instance details

Defined in CssParser.Rule.Show

Methods

left :: forall pp tt -> (pp ~ MonoPair SelectorList, tt ~ SelectorList) => LText Source #

right :: forall pp tt -> (pp ~ MonoPair SelectorList, tt ~ SelectorList) => LText Source #

ShowSpaceBetween (MonoPair SelectorList) SelectorList Source # 
Instance details

Defined in CssParser.Rule.Show

Methods

cssSpace :: forall aa bb -> (aa ~ MonoPair SelectorList, bb ~ SelectorList) => LText Source #

type Rep1 NonEmpty #

Since: base-4.6.0.0

Instance details

Defined in GHC.Internal.Generics

type Rep (NonEmpty a) #

Since: base-4.6.0.0

Instance details

Defined in GHC.Internal.Generics

type Item (NonEmpty a) # 
Instance details

Defined in GHC.Internal.IsList

type Item (NonEmpty a) = a