package abstractSyntaxTree.Expression; import TypeCheck.TypeCheckResult; import org.objectweb.asm.MethodVisitor; public interface IExpression { // typeCheck method TypeCheckResult typeCheck() throws Exception; // visit method for code generation void codeGen(MethodVisitor mv) throws Exception; }