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§
source§impl Ord for ExprField
impl Ord for ExprField
source§impl PartialOrd for ExprField
impl PartialOrd for ExprField
impl Copy for ExprField
impl Eq for ExprField
impl StructuralPartialEq for ExprField
Auto Trait Implementations§
impl Freeze for ExprField
impl RefUnwindSafe for ExprField
impl Send for ExprField
impl Sync for ExprField
impl Unpin for ExprField
impl UnwindSafe for ExprField
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CallHasher for T
impl<T> CallHasher for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more