pub enum PrimaryExpression<'tree> {
Show 25 variants
AnonymousFunction(Box<AnonymousFunction<'tree>>),
ArrayCreationExpression(Box<ArrayCreationExpression<'tree>>),
ArrowFunction(Box<ArrowFunction<'tree>>),
CastExpression(Box<CastExpression<'tree>>),
ClassConstantAccessExpression(Box<ClassConstantAccessExpression<'tree>>),
DynamicVariableName(Box<DynamicVariableName<'tree>>),
FunctionCallExpression(Box<FunctionCallExpression<'tree>>),
Literal(Box<Literal<'tree>>),
MemberAccessExpression(Box<MemberAccessExpression<'tree>>),
MemberCallExpression(Box<MemberCallExpression<'tree>>),
Name(Box<Name<'tree>>),
NullsafeMemberAccessExpression(Box<NullsafeMemberAccessExpression<'tree>>),
NullsafeMemberCallExpression(Box<NullsafeMemberCallExpression<'tree>>),
ObjectCreationExpression(Box<ObjectCreationExpression<'tree>>),
ParenthesizedExpression(Box<ParenthesizedExpression<'tree>>),
PrintIntrinsic(Box<PrintIntrinsic<'tree>>),
QualifiedName(Box<QualifiedName<'tree>>),
RelativeName(Box<RelativeName<'tree>>),
ScopedCallExpression(Box<ScopedCallExpression<'tree>>),
ScopedPropertyAccessExpression(Box<ScopedPropertyAccessExpression<'tree>>),
ShellCommandExpression(Box<ShellCommandExpression<'tree>>),
SubscriptExpression(Box<SubscriptExpression<'tree>>),
ThrowExpression(Box<ThrowExpression<'tree>>),
UpdateExpression(Box<UpdateExpression<'tree>>),
VariableName(Box<VariableName<'tree>>),
}Variants§
AnonymousFunction(Box<AnonymousFunction<'tree>>)
ArrayCreationExpression(Box<ArrayCreationExpression<'tree>>)
ArrowFunction(Box<ArrowFunction<'tree>>)
CastExpression(Box<CastExpression<'tree>>)
ClassConstantAccessExpression(Box<ClassConstantAccessExpression<'tree>>)
DynamicVariableName(Box<DynamicVariableName<'tree>>)
FunctionCallExpression(Box<FunctionCallExpression<'tree>>)
Literal(Box<Literal<'tree>>)
MemberAccessExpression(Box<MemberAccessExpression<'tree>>)
MemberCallExpression(Box<MemberCallExpression<'tree>>)
Name(Box<Name<'tree>>)
NullsafeMemberAccessExpression(Box<NullsafeMemberAccessExpression<'tree>>)
NullsafeMemberCallExpression(Box<NullsafeMemberCallExpression<'tree>>)
ObjectCreationExpression(Box<ObjectCreationExpression<'tree>>)
ParenthesizedExpression(Box<ParenthesizedExpression<'tree>>)
PrintIntrinsic(Box<PrintIntrinsic<'tree>>)
QualifiedName(Box<QualifiedName<'tree>>)
RelativeName(Box<RelativeName<'tree>>)
ScopedCallExpression(Box<ScopedCallExpression<'tree>>)
ScopedPropertyAccessExpression(Box<ScopedPropertyAccessExpression<'tree>>)
ShellCommandExpression(Box<ShellCommandExpression<'tree>>)
SubscriptExpression(Box<SubscriptExpression<'tree>>)
ThrowExpression(Box<ThrowExpression<'tree>>)
UpdateExpression(Box<UpdateExpression<'tree>>)
VariableName(Box<VariableName<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for PrimaryExpression<'tree>
impl<'tree> Clone for PrimaryExpression<'tree>
Source§fn clone(&self) -> PrimaryExpression<'tree>
fn clone(&self) -> PrimaryExpression<'tree>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for PrimaryExpression<'tree>
impl<'tree> Debug for PrimaryExpression<'tree>
Source§impl<'tree> FromNode<'tree> for PrimaryExpression<'tree>
impl<'tree> FromNode<'tree> for PrimaryExpression<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for PrimaryExpression<'tree>
impl<'tree> RefUnwindSafe for PrimaryExpression<'tree>
impl<'tree> Send for PrimaryExpression<'tree>
impl<'tree> Sync for PrimaryExpression<'tree>
impl<'tree> Unpin for PrimaryExpression<'tree>
impl<'tree> UnsafeUnpin for PrimaryExpression<'tree>
impl<'tree> UnwindSafe for PrimaryExpression<'tree>
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
Mutably borrows from an owned value. Read more