mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-18 03:25:17 +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
16 lines
394 B
Java
16 lines
394 B
Java
package kroppeb.stareval.element.tree;
|
|
|
|
import com.github.bsideup.jabel.Desugar;
|
|
import kroppeb.stareval.element.ExpressionElement;
|
|
import kroppeb.stareval.parser.UnaryOp;
|
|
|
|
@Desugar
|
|
public record UnaryExpressionElement(UnaryOp op, ExpressionElement inner) implements ExpressionElement {
|
|
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "UnaryExpr{" + this.op + " {" + this.inner + "} }";
|
|
}
|
|
}
|