swc_
css_
ast
4.0.1
All Items
Crate Items
Macros
Structs
Enums
Crate
swc_css_ast
Copy item path
source
Expand description
AST definitions for CSS.
Macros
§
matches_
eq
Returns true if the given value matches one of the given patterns.
matches_
eq_
ignore_
ascii_
case
Returns true if the given value matches one of the given patterns.
Structs
§
AnPlusB
Notation
Angle
AnyNamespace
AtRule
Attribute
Selector
Attribute
Selector
Matcher
Attribute
Selector
Modifier
Calc
Operator
Calc
Product
CalcSum
Class
Selector
Combinator
Complex
Selector
Compound
Selector
e.g.
foo.c1.c2
Compound
Selector
List
Container
Condition
Container
Query
Container
Query
And
Container
Query
Not
Container
Query
Or
Custom
Highlight
Name
Custom
Ident
Custom
Media
Query
Custom
Property
Name
Dashed
Ident
Declaration
Delimiter
Dimension
Token
Document
Prelude
Extension
Name
Flex
Font
Feature
Values
Prelude
Forgiving
Relative
Selector
List
Forgiving
Selector
List
Frequency
Function
HexColor
IdSelector
Ident
Import
Conditions
Import
Prelude
Important
Flag
Integer
Keyframe
Block
Keyframes
Pseudo
Function
Keyframes
Pseudo
Prefix
Layer
Name
Layer
Name
List
Length
List
OfComponent
Values
Media
And
Media
Condition
Media
Condition
Without
Or
Media
Feature
Boolean
Media
Feature
Plain
Media
Feature
Range
Media
Feature
Range
Interval
Media
Not
MediaOr
Media
Query
Media
Query
List
Named
Namespace
Namespace
Prefix
Namespace
Prelude
Nesting
Selector
Number
Page
Selector
Page
Selector
List
Page
Selector
Pseudo
Page
Selector
Type
Percentage
Pseudo
Class
Selector
Pseudo
Element
Selector
Qualified
Rule
Ratio
Relative
Selector
Relative
Selector
List
Resolution
Scope
Range
Selector
List
Sequence
OfCustom
Idents
Simple
Block
Size
Feature
Boolean
Size
Feature
Plain
Size
Feature
Range
Size
Feature
Range
Interval
Str
Quoted string.
Stylesheet
Supports
And
Supports
Condition
Supports
Not
Supports
Or
TagName
Selector
Time
Token
AndSpan
Unicode
Range
Universal
Selector
Unknown
Dimension
Url
UrlKey
Value
UrlValue
Raw
WqName
Enums
§
Absolute
Color
Base
Alpha
Value
AnPlusB
Angle
Percentage
AtRule
Name
AtRule
Prelude
Attribute
Selector
Matcher
Value
Attribute
Selector
Value
BinOp
Calc
Operator
Type
Calc
Product
OrOperator
Calc
Value
Calc
Value
OrOperator
Cmyk
Component
Color
Color
Profile
Name
Combinator
Value
Complex
Selector
Children
Component
Value
Container
Name
Container
Query
Type
Custom
Media
Query
Media
Type
Declaration
Name
Declaration
OrAt
Rule
Delimiter
Value
Dimension
Document
Prelude
Matching
Function
Family
Name
Forgiving
Complex
Selector
Forgiving
Relative
Selector
Frequency
Percentage
Function
Name
General
Enclosed
Hue
Import
Href
Import
Layer
Name
Keyframe
Selector
Keyframes
Name
Layer
Prelude
Length
Percentage
Media
Condition
AllType
Media
Condition
Type
Media
Condition
Without
OrType
Media
Feature
Media
Feature
Name
Media
Feature
Range
Comparison
Media
Feature
Value
Media
InParens
Media
Type
Namespace
Namespace
Prelude
Uri
Number
Type
Pseudo
Class
Selector
Children
Pseudo
Element
Selector
Children
Qualified
Rule
Prelude
Query
InParens
Rule
Size
Feature
Size
Feature
Name
Size
Feature
Range
Comparison
Size
Feature
Value
Style
Block
Subclass
Selector
Supports
Condition
Type
Supports
Feature
Supports
InParens
Time
Percentage
Token
Type
Selector
UrlModifier
UrlValue