NichtHaskell/Source/abstractSyntaxTree/Expression/IExpression.java
2024-05-08 12:56:40 +02:00

13 lines
316 B
Java

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;
}