mxmlextrema_as3parser/tree/
assignment_expression.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::ns::*;
use serde::{Serialize, Deserialize};

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct AssignmentExpression {
    pub location: Location,
    pub compound: Option<Operator>,
    /// Assignment left-hand side.
    /// 
    /// If the left-hand side is an `ObjectInitializer` or an `ArrayLiteral`,
    /// possibly followed by a non-null operator,
    /// and there is no compound assignment, it is a destructuring pattern.
    pub left: Rc<Expression>,
    pub right: Rc<Expression>,
}