Enum swc_babel_ast::Scopable [−][src]
pub enum Scopable {
Show 19 variants
BlockStmt(BlockStatement),
CatchClause(CatchClause),
DoWhileStmt(DoWhileStatement),
ForInStmt(ForInStatement),
ForStmt(ForStatement),
FuncDecl(FunctionDeclaration),
FuncExpr(FunctionExpression),
Program(Program),
ObjectMethod(ObjectMethod),
SwitchStmt(SwitchStatement),
WhileStmt(WhileStatement),
ArrowFuncExpr(ArrowFunctionExpression),
ClassExpr(ClassExpression),
ClassDecl(ClassDeclaration),
ForOfStmt(ForOfStatement),
ClassMethod(ClassMethod),
ClassPrivateMethod(ClassPrivateMethod),
StaticBlock(StaticBlock),
TSModuleBlock(TSModuleBlock),
}
Variants
BlockStmt(BlockStatement)
Tuple Fields
CatchClause(CatchClause)
Tuple Fields
0: CatchClause
DoWhileStmt(DoWhileStatement)
Tuple Fields
ForInStmt(ForInStatement)
Tuple Fields
ForStmt(ForStatement)
Tuple Fields
0: ForStatement
FuncDecl(FunctionDeclaration)
Tuple Fields
FuncExpr(FunctionExpression)
Tuple Fields
Program(Program)
Tuple Fields
0: Program
ObjectMethod(ObjectMethod)
Tuple Fields
0: ObjectMethod
SwitchStmt(SwitchStatement)
Tuple Fields
WhileStmt(WhileStatement)
Tuple Fields
ArrowFuncExpr(ArrowFunctionExpression)
Tuple Fields
ClassExpr(ClassExpression)
Tuple Fields
ClassDecl(ClassDeclaration)
Tuple Fields
ForOfStmt(ForOfStatement)
Tuple Fields
ClassMethod(ClassMethod)
Tuple Fields
0: ClassMethod
ClassPrivateMethod(ClassPrivateMethod)
Tuple Fields
StaticBlock(StaticBlock)
Tuple Fields
0: StaticBlock
TSModuleBlock(TSModuleBlock)
Tuple Fields
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Scopable
impl UnwindSafe for Scopable
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