update records

This commit is contained in:
Boolean-True 2024-05-02 14:39:26 +02:00
commit 658083d615
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,6 @@
package de.maishai.ast;
public enum UnaryOperator {
SUB,
NOT
}

View File

@ -0,0 +1,7 @@
package de.maishai.ast.records;
import de.maishai.ast.UnaryOperator;
public record Unary(UnaryOperator op, Expression right) implements Expression {
}