generated from rnentjes/kotlin-server-web-undertow
Refactor: Restructure project package hierarchy and add initial implementation for assembler instructions, shell commands, and exception handling.
This commit is contained in:
16
src/jvmMain/kotlin/mtmc/lang/sea/ast/ExpressionTernary.java
Normal file
16
src/jvmMain/kotlin/mtmc/lang/sea/ast/ExpressionTernary.java
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user