Enum swc_ecma_ast::Lit [−][src]
pub enum Lit {
Str(Str),
Bool(Bool),
Null(Null),
Num(Number),
BigInt(BigInt),
Regex(Regex),
JSXText(JSXText),
}
Variants
Str(Str)
Tuple Fields
0: Str
Bool(Bool)
Tuple Fields
0: Bool
Null(Null)
Tuple Fields
0: Null
Num(Number)
Tuple Fields
0: Number
BigInt(BigInt)
Tuple Fields
0: BigInt
Regex(Regex)
Tuple Fields
0: Regex
JSXText(JSXText)
Tuple Fields
0: JSXText
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Lit
impl UnwindSafe for Lit
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