org.snapscript.tree.operation.CalculationOperand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snap Show documentation
Show all versions of snap Show documentation
Dynamic scripting for the JVM
package org.snapscript.tree.operation;
import org.snapscript.core.Evaluation;
import org.snapscript.tree.math.NumericOperator;
public class CalculationOperand implements CalculationPart {
private final Evaluation evaluation;
public CalculationOperand(Evaluation evaluation) {
this.evaluation = evaluation;
}
@Override
public Evaluation getEvaluation(){
return evaluation;
}
@Override
public NumericOperator getOperator(){
return null;
}
}