pub enum IdentifierOperationType {
Subscript(Box<Expression>),
Subfield(String),
FunctionCall(Vec<Expression>),
}Expand description
Type of operation applied on an identifier.
Variants§
Subscript(Box<Expression>)
Array subscript, i.e. identifier[subscript].
Subfield(String)
Object subfield, i.e. identifier.subfield.
FunctionCall(Vec<Expression>)
Function call, i.e. identifier(arguments).
Trait Implementations§
source§impl Clone for IdentifierOperationType
impl Clone for IdentifierOperationType
source§fn clone(&self) -> IdentifierOperationType
fn clone(&self) -> IdentifierOperationType
Returns a copy 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 Debug for IdentifierOperationType
impl Debug for IdentifierOperationType
source§impl PartialEq for IdentifierOperationType
impl PartialEq for IdentifierOperationType
source§fn eq(&self, other: &IdentifierOperationType) -> bool
fn eq(&self, other: &IdentifierOperationType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IdentifierOperationType
Auto Trait Implementations§
impl RefUnwindSafe for IdentifierOperationType
impl Send for IdentifierOperationType
impl Sync for IdentifierOperationType
impl Unpin for IdentifierOperationType
impl UnwindSafe for IdentifierOperationType
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