Refactor: Restructure project package hierarchy and add initial implementation for assembler instructions, shell commands, and exception handling.

This commit is contained in:
2025-08-13 21:42:49 +02:00
parent b103631133
commit 12027fe740
135 changed files with 10835 additions and 31 deletions

View File

@@ -0,0 +1,16 @@
package mtmc.lang.sea.ast;
import mtmc.lang.sea.SeaType;
public final class ExpressionTernary extends Expression {
public final Expression cond;
public final Expression then;
public final Expression otherwise;
public ExpressionTernary(Expression cond, Expression then, Expression otherwise, SeaType type) {
super(cond.start, otherwise.end, type);
this.cond = cond;
this.then = then;
this.otherwise = otherwise;
}
}