Enum swc_css_ast::Token [−][src]
pub enum Token {
Show 21 variants
Ident {
value: JsWord,
raw: JsWord,
},
AtKeyword {
value: JsWord,
raw: JsWord,
},
Hash {
is_id: bool,
value: JsWord,
raw: JsWord,
},
Str {
value: JsWord,
raw: JsWord,
},
BadStr {
value: JsWord,
raw: JsWord,
},
Url {
value: JsWord,
raw: JsWord,
},
BadUrl {
value: JsWord,
raw: JsWord,
},
Delim {
value: char,
},
Num {
value: f64,
raw: JsWord,
},
WhiteSpace,
CDO,
CDC,
Colon,
Semi,
Comma,
LBracket,
RBracket,
LParen,
RParen,
LBrace,
RBrace,
}Variants
@
#
url(value)
Fields of Delim
value: charOne or more whitespace.
<!--
-->
`:``
;
,
[
]
(
)
{
}
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Token
impl UnwindSafe for Token
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more