Enum swc_babel_ast::Literal [−][src]
pub enum Literal {
String(StringLiteral),
Numeric(NumericLiteral),
Null(NullLiteral),
Boolean(BooleanLiteral),
RegExp(RegExpLiteral),
Template(TemplateLiteral),
BigInt(BigIntLiteral),
Decimal(DecimalLiteral),
}
Variants
String(StringLiteral)
Tuple Fields
Numeric(NumericLiteral)
Tuple Fields
Null(NullLiteral)
Tuple Fields
0: NullLiteral
Boolean(BooleanLiteral)
Tuple Fields
RegExp(RegExpLiteral)
Tuple Fields
Template(TemplateLiteral)
Tuple Fields
BigInt(BigIntLiteral)
Tuple Fields
Decimal(DecimalLiteral)
Tuple Fields
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Literal
impl UnwindSafe for Literal
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