2024-05-02 11:12:39 +00:00
|
|
|
package abstractSyntaxTree.StatementExpression;
|
|
|
|
|
|
|
|
import TypeCheck.AbstractType;
|
|
|
|
import TypeCheck.TypeCheckResult;
|
|
|
|
import abstractSyntaxTree.Expression.IExpression;
|
|
|
|
import abstractSyntaxTree.Statement.IStatement;
|
2024-05-07 11:50:51 +00:00
|
|
|
import org.objectweb.asm.MethodVisitor;
|
2024-05-02 11:12:39 +00:00
|
|
|
|
|
|
|
public class NewStatementExpression extends AbstractType implements IExpression, IStatement {
|
|
|
|
@Override
|
|
|
|
public TypeCheckResult typeCheck() throws Exception {
|
|
|
|
return null;
|
|
|
|
}
|
2024-05-07 11:50:51 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void CodeGen(MethodVisitor mv) throws Exception {
|
|
|
|
throw new Exception("CodeGen not implemented for NewStatementExpression");
|
|
|
|
}
|
2024-05-02 11:12:39 +00:00
|
|
|
}
|