mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-16 10:45:09 +00:00
* wip backport of custom uniforms * Functioning custom uniforms maybe? * Workon separating dynamic/non-dynamic uniforms and making variables available to custom uniforms (currently the JVM dies horribly) * wip * It no longer crashes horrifically * star imports
17 lines
454 B
Java
17 lines
454 B
Java
package kroppeb.stareval.element.tree;
|
|
|
|
import com.github.bsideup.jabel.Desugar;
|
|
import kroppeb.stareval.element.ExpressionElement;
|
|
import kroppeb.stareval.parser.BinaryOp;
|
|
|
|
@Desugar
|
|
public record BinaryExpressionElement(BinaryOp op, ExpressionElement left,
|
|
ExpressionElement right) implements ExpressionElement {
|
|
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "BinaryExpr{ {" + this.left + "} " + this.op + " {" + this.right + "} }";
|
|
}
|
|
}
|