package abstractSyntaxTree.Expression; import TypeCheck.TypeCheckResult; public interface IExpression { // typeCheck method TypeCheckResult typeCheck() throws Exception; // visit method for code generation }