mxmlextrema_as3parser/tree/assignment_expression.rs
1use crate::ns::*;
2use serde::{Serialize, Deserialize};
3
4#[derive(Debug, Clone, Serialize, Deserialize)]
5pub struct AssignmentExpression {
6 pub location: Location,
7 pub compound: Option<Operator>,
8 /// Assignment left-hand side.
9 ///
10 /// If the left-hand side is an `ObjectInitializer` or an `ArrayLiteral`,
11 /// possibly followed by a non-null operator,
12 /// and there is no compound assignment, it is a destructuring pattern.
13 pub left: Rc<Expression>,
14 pub right: Rc<Expression>,
15}