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;
    }

}

Change BinaryOperator to an abstract class