package me.august.lumen.compile.parser.ast.expr;

import me.august.lumen.compile.scanner.Op;

public class AssignmentExpr extends BinaryExpression {

    public AssignmentExpr(IdentExpr right, Expression left) {
        super(right, left, Op.ASSIGN);
    }

}

@@ -78,75 +78,253 @@
 ile.
-scanner.Op;%0A%0Apublic class AssignmentExpr extends BinaryExpression %7B
+codegen.BuildContext;%0Aimport me.august.lumen.compile.scanner.Op;%0Aimport org.objectweb.asm.MethodVisitor;%0A%0Apublic class AssignmentExpr extends BinaryExpression %7B%0A%0A    // BinaryExpression only defines left as general expression%0A    IdentExpr left;
 %0A%0A  
@@ -357,20 +357,19 @@
 entExpr 
-righ
+lef
 t, Expre
@@ -374,19 +374,20 @@
 ression 
-lef
+righ
 t) %7B%0A   
@@ -401,18 +401,18 @@
 per(
-right, lef
+left, righ
 t, O
@@ -426,13 +426,220 @@
 N);%0A    
+    this.left = left;%0A    %7D%0A%0A    @Override%0A    public void generate(MethodVisitor visitor, BuildContext context) %7B%0A        left.getRef().generateSetCode(visitor, (m) -%3E right.generate(visitor, context));%0A    
 %7D
-%0A
 %0A%7D%0A

Add assignment expression bytecode generation