Enum swc_estree_ast::Function [−][src]
pub enum Function {
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
Auto Trait Implementations
impl RefUnwindSafe for Function
impl UnwindSafe for Function
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