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:
14
src/jvmMain/kotlin/mtmc/lang/sea/ast/StatementBlock.java
Normal file
14
src/jvmMain/kotlin/mtmc/lang/sea/ast/StatementBlock.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package mtmc.lang.sea.ast;
|
||||
|
||||
import mtmc.lang.sea.Token;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public final class StatementBlock extends Statement {
|
||||
public final List<Statement> statements;
|
||||
|
||||
public StatementBlock(Token start, List<Statement> children, Token end) {
|
||||
super(start, end);
|
||||
this.statements = List.copyOf(children);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user