Enum swc_babel_ast::FunctionParent [−][src]
pub enum FunctionParent {
Decl(FunctionDeclaration),
Expr(FunctionExpression),
ObjectMethod(ObjectMethod),
Arrow(ArrowFunctionExpression),
ClassMethod(ClassMethod),
ClassPrivateMethod(ClassPrivateMethod),
}
Variants
Decl(FunctionDeclaration)
Tuple Fields
Expr(FunctionExpression)
Tuple Fields
ObjectMethod(ObjectMethod)
Tuple Fields
0: ObjectMethod
Arrow(ArrowFunctionExpression)
Tuple Fields
ClassMethod(ClassMethod)
Tuple Fields
0: ClassMethod
ClassPrivateMethod(ClassPrivateMethod)
Tuple Fields
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
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 FunctionParent
impl Send for FunctionParent
impl Sync for FunctionParent
impl Unpin for FunctionParent
impl UnwindSafe for FunctionParent
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