2024-04-25 13:27:38 +02:00
|
|
|
package abstractSyntaxTree.Statement;
|
|
|
|
|
2024-05-02 13:12:39 +02:00
|
|
|
import TypeCheck.TypeCheckResult;
|
2024-05-07 13:50:51 +02:00
|
|
|
import org.objectweb.asm.MethodVisitor;
|
2024-05-02 13:12:39 +02:00
|
|
|
|
2024-04-25 13:27:38 +02:00
|
|
|
public interface IStatement {
|
2024-05-02 13:12:39 +02:00
|
|
|
|
|
|
|
TypeCheckResult typeCheck() throws Exception;
|
2024-04-25 13:27:38 +02:00
|
|
|
|
2024-05-07 13:50:51 +02:00
|
|
|
void CodeGen(MethodVisitor mv) throws Exception;
|
2024-04-25 13:27:38 +02:00
|
|
|
}
|