Enum swc_ecma_visit::fields::StmtField
source · pub enum StmtField {
Show 19 variants
Block,
Empty,
Debugger,
With,
Return,
Labeled,
Break,
Continue,
If,
Switch,
Throw,
Try,
While,
DoWhile,
For,
ForIn,
ForOf,
Decl,
Expr,
}
Expand description
This enum represents fields of StmtField
Variants§
Block
This represents Block
Empty
This represents Empty
Debugger
This represents Debugger
With
This represents With
Return
This represents Return
Labeled
This represents Labeled
Break
This represents Break
Continue
This represents Continue
If
This represents If
Switch
This represents Switch
Throw
This represents Throw
Try
This represents Try
While
This represents While
DoWhile
This represents DoWhile
For
This represents For
ForIn
This represents ForIn
ForOf
This represents ForOf
Decl
This represents Decl
Expr
This represents Expr
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for StmtField
impl<'de> Deserialize<'de> for StmtField
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for StmtField
impl Ord for StmtField
source§impl PartialEq<StmtField> for StmtField
impl PartialEq<StmtField> for StmtField
source§impl PartialOrd<StmtField> for StmtField
impl PartialOrd<StmtField> for StmtField
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more