Enum swc_estree_ast::BlockParent [−][src]
pub enum BlockParent {
Show 17 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),
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
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
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 BlockParent
impl Send for BlockParent
impl Sync for BlockParent
impl Unpin for BlockParent
impl UnwindSafe for BlockParent
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