
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
The newest version!
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(Evaluation left, Evaluation right){
return evaluation;
}
@Override
public NumericOperator getOperator() {
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy