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 more