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<IdentifierOperationType> for IdentifierOperationType
impl PartialEq<IdentifierOperationType> 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 ==.