package com.davidmogar.njc.ast.expressions.operators.binary;

import com.davidmogar.njc.ast.AbstractAstNode;
import com.davidmogar.njc.ast.expressions.Expression;

public abstract class BinaryOperator extends AbstractAstNode implements Expression {

    public Expression leftValue;
    public Expression rightValue;

    public BinaryOperator(int line, int column, Expression leftValue, Expression rightValue) {
        super(line, column);
        this.leftValue = leftValue;
        this.rightValue = rightValue;
    }

}

@@ -309,16 +309,44 @@
 htValue;
+%0A    public String operator;
 %0A%0A    pu
@@ -430,16 +430,33 @@
 ghtValue
+, String operator
 ) %7B%0A    
@@ -550,21 +550,55 @@
 rightValue;%0A
+        this.operator = operator;%0A
     %7D%0A%0A%7D%0A

Add operator field