20 lines
613 B
Java
20 lines
613 B
Java
package abstractSyntaxTree.StatementExpression;
|
|
|
|
import TypeCheck.AbstractType;
|
|
import TypeCheck.TypeCheckResult;
|
|
import abstractSyntaxTree.Expression.IExpression;
|
|
import abstractSyntaxTree.Statement.IStatement;
|
|
import org.objectweb.asm.MethodVisitor;
|
|
|
|
public class NewStatementExpression extends AbstractType implements IExpression, IStatement {
|
|
@Override
|
|
public TypeCheckResult typeCheck() throws Exception {
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public void codeGen(MethodVisitor mv) throws Exception {
|
|
throw new Exception("CodeGen not implemented for NewStatementExpression");
|
|
}
|
|
}
|