Enum swc_ecma_visit::fields::ExprField
source · [−]pub enum ExprField {
Show 38 variants
This,
Array,
Object,
Fn,
Unary,
Update,
Bin,
Assign,
Member,
SuperProp,
Cond,
Call,
New,
Seq,
Ident,
Lit,
Tpl,
TaggedTpl,
Arrow,
Class,
Yield,
MetaProp,
Await,
Paren,
Jsxmember,
JsxnamespacedName,
Jsxempty,
Jsxelement,
Jsxfragment,
TsTypeAssertion,
TsConstAssertion,
TsNonNull,
TsAs,
TsSatisfies,
TsInstantiation,
PrivateName,
OptChain,
Invalid,
}
Expand description
This enum represents fields of ExprField
Variants
This
This represents This
Array
This represents Array
Object
This represents Object
Fn
This represents Fn
Unary
This represents Unary
Update
This represents Update
Bin
This represents Bin
Assign
This represents Assign
Member
This represents Member
SuperProp
This represents SuperProp
Cond
This represents Cond
Call
This represents Call
New
This represents New
Seq
This represents Seq
Ident
This represents Ident
Lit
This represents Lit
Tpl
This represents Tpl
TaggedTpl
This represents TaggedTpl
Arrow
This represents Arrow
Class
This represents Class
Yield
This represents Yield
MetaProp
This represents MetaProp
Await
This represents Await
Paren
This represents Paren
Jsxmember
This represents JSXMember
JsxnamespacedName
This represents JSXNamespacedName
Jsxempty
This represents JSXEmpty
Jsxelement
This represents JSXElement
Jsxfragment
This represents JSXFragment
TsTypeAssertion
This represents TsTypeAssertion
TsConstAssertion
This represents TsConstAssertion
TsNonNull
This represents TsNonNull
TsAs
This represents TsAs
TsSatisfies
This represents TsSatisfies
TsInstantiation
This represents TsInstantiation
PrivateName
This represents PrivateName
OptChain
This represents OptChain
Invalid
This represents Invalid
Implementations
Trait Implementations
sourceimpl Ord for ExprField
impl Ord for ExprField
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
sourceimpl PartialOrd<ExprField> for ExprField
impl PartialOrd<ExprField> for ExprField
sourcefn partial_cmp(&self, other: &ExprField) -> Option<Ordering>
fn partial_cmp(&self, other: &ExprField) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more