hydroper_jet_compiler 0.2.0

Hydroper Jet Language Compiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::ns::*;
use serde::{Serialize, Deserialize};
use std::rc::Rc;

#[derive(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`
    /// and there is no compound assignment, it is a destructuring pattern.
    pub left: Rc<Expression>,
    pub right: Rc<Expression>,
}