Enum swc_babel_ast::Expression [−][src]
pub enum Expression {
Show 46 variants
Array(ArrayExpression),
Assignment(AssignmentExpression),
Binary(BinaryExpression),
Call(CallExpression),
Conditional(ConditionalExpression),
Func(FunctionExpression),
Id(Identifier),
StringLiteral(StringLiteral),
NumericLiteral(NumericLiteral),
NullLiteral(NullLiteral),
BooleanLiteral(BooleanLiteral),
RegExpLiteral(RegExpLiteral),
Logical(LogicalExpression),
Member(MemberExpression),
New(NewExpression),
Object(ObjectExpression),
Sequence(SequenceExpression),
Parenthesized(ParenthesizedExpression),
This(ThisExpression),
Unary(UnaryExpression),
Update(UpdateExpression),
ArrowFunc(ArrowFunctionExpression),
Class(ClassExpression),
MetaProp(MetaProperty),
Super(Super),
TaggedTemplate(TaggedTemplateExpression),
TemplateLiteral(TemplateLiteral),
Yield(YieldExpression),
Await(AwaitExpression),
Import(Import),
BigIntLiteral(BigIntLiteral),
OptionalMember(OptionalMemberExpression),
OptionalCall(OptionalCallExpression),
TypeCast(TypeCastExpression),
JSXElement(JSXElement),
JSXFragment(JSXFragment),
Bind(BindExpression),
PipelinePrimaryTopicRef(PipelinePrimaryTopicReference),
Do(DoExpression),
Record(RecordExpression),
Tuple(TupleExpression),
DecimalLiteral(DecimalLiteral),
Module(ModuleExpression),
TSAs(TSAsExpression),
TSTypeAssertion(TSTypeAssertion),
TSNonNull(TSNonNullExpression),
}
Variants
Array(ArrayExpression)
Tuple Fields
Assignment(AssignmentExpression)
Tuple Fields
Binary(BinaryExpression)
Tuple Fields
Call(CallExpression)
Tuple Fields
Conditional(ConditionalExpression)
Tuple Fields
Func(FunctionExpression)
Tuple Fields
Id(Identifier)
Tuple Fields
0: Identifier
StringLiteral(StringLiteral)
Tuple Fields
NumericLiteral(NumericLiteral)
Tuple Fields
NullLiteral(NullLiteral)
Tuple Fields
0: NullLiteral
BooleanLiteral(BooleanLiteral)
Tuple Fields
RegExpLiteral(RegExpLiteral)
Tuple Fields
Logical(LogicalExpression)
Tuple Fields
Member(MemberExpression)
Tuple Fields
New(NewExpression)
Tuple Fields
Object(ObjectExpression)
Tuple Fields
Sequence(SequenceExpression)
Tuple Fields
Parenthesized(ParenthesizedExpression)
Tuple Fields
This(ThisExpression)
Tuple Fields
Unary(UnaryExpression)
Tuple Fields
Update(UpdateExpression)
Tuple Fields
ArrowFunc(ArrowFunctionExpression)
Tuple Fields
Class(ClassExpression)
Tuple Fields
MetaProp(MetaProperty)
Tuple Fields
0: MetaProperty
Super(Super)
Tuple Fields
0: Super
TaggedTemplate(TaggedTemplateExpression)
Tuple Fields
TemplateLiteral(TemplateLiteral)
Tuple Fields
Yield(YieldExpression)
Tuple Fields
Await(AwaitExpression)
Tuple Fields
Import(Import)
Tuple Fields
0: Import
BigIntLiteral(BigIntLiteral)
Tuple Fields
OptionalMember(OptionalMemberExpression)
Tuple Fields
OptionalCall(OptionalCallExpression)
Tuple Fields
TypeCast(TypeCastExpression)
Tuple Fields
JSXElement(JSXElement)
Tuple Fields
0: JSXElement
JSXFragment(JSXFragment)
Tuple Fields
0: JSXFragment
Bind(BindExpression)
Tuple Fields
PipelinePrimaryTopicRef(PipelinePrimaryTopicReference)
Tuple Fields
Do(DoExpression)
Tuple Fields
0: DoExpression
Record(RecordExpression)
Tuple Fields
Tuple(TupleExpression)
Tuple Fields
DecimalLiteral(DecimalLiteral)
Tuple Fields
Module(ModuleExpression)
Tuple Fields
TSAs(TSAsExpression)
Tuple Fields
TSTypeAssertion(TSTypeAssertion)
Tuple Fields
TSNonNull(TSNonNullExpression)
Tuple Fields
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Expression
impl Send for Expression
impl Sync for Expression
impl Unpin for Expression
impl UnwindSafe for Expression
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