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 of Str
0: Str
Bool(Bool)
Tuple Fields of Bool
0: Bool
Null(Null)
Tuple Fields of Null
0: Null
Num(Number)
Tuple Fields of Num
0: Number
BigInt(BigInt)
Tuple Fields of BigInt
0: BigInt
Regex(Regex)
Tuple Fields of Regex
0: Regex
JSXText(JSXText)
Tuple Fields of JSXText
0: JSXText
Trait Implementations
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