pub enum PrimaryExpression<'tree> {
Show 25 variants
Attribute(Box<Attribute<'tree>>),
Await(Box<Await<'tree>>),
BinaryOperator(Box<BinaryOperator<'tree>>),
Call(Box<Call<'tree>>),
ConcatenatedString(Box<ConcatenatedString<'tree>>),
Dictionary(Box<Dictionary<'tree>>),
DictionaryComprehension(Box<DictionaryComprehension<'tree>>),
Ellipsis(Box<Ellipsis<'tree>>),
False(Box<False<'tree>>),
Float(Box<Float<'tree>>),
GeneratorExpression(Box<GeneratorExpression<'tree>>),
Identifier(Box<Identifier<'tree>>),
Integer(Box<Integer<'tree>>),
List(Box<List<'tree>>),
ListComprehension(Box<ListComprehension<'tree>>),
ListSplat(Box<ListSplat<'tree>>),
None(Box<None<'tree>>),
ParenthesizedExpression(Box<ParenthesizedExpression<'tree>>),
Set(Box<Set<'tree>>),
SetComprehension(Box<SetComprehension<'tree>>),
String(Box<String<'tree>>),
Subscript(Box<Subscript<'tree>>),
True(Box<True<'tree>>),
Tuple(Box<Tuple<'tree>>),
UnaryOperator(Box<UnaryOperator<'tree>>),
}Variants§
Attribute(Box<Attribute<'tree>>)
Await(Box<Await<'tree>>)
BinaryOperator(Box<BinaryOperator<'tree>>)
Call(Box<Call<'tree>>)
ConcatenatedString(Box<ConcatenatedString<'tree>>)
Dictionary(Box<Dictionary<'tree>>)
DictionaryComprehension(Box<DictionaryComprehension<'tree>>)
Ellipsis(Box<Ellipsis<'tree>>)
False(Box<False<'tree>>)
Float(Box<Float<'tree>>)
GeneratorExpression(Box<GeneratorExpression<'tree>>)
Identifier(Box<Identifier<'tree>>)
Integer(Box<Integer<'tree>>)
List(Box<List<'tree>>)
ListComprehension(Box<ListComprehension<'tree>>)
ListSplat(Box<ListSplat<'tree>>)
None(Box<None<'tree>>)
ParenthesizedExpression(Box<ParenthesizedExpression<'tree>>)
Set(Box<Set<'tree>>)
SetComprehension(Box<SetComprehension<'tree>>)
String(Box<String<'tree>>)
Subscript(Box<Subscript<'tree>>)
True(Box<True<'tree>>)
Tuple(Box<Tuple<'tree>>)
UnaryOperator(Box<UnaryOperator<'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