moitie gragment 0
This commit is contained in:
@@ -30,6 +30,7 @@ public interface Interface{
|
||||
|
||||
public interface InstrVisitor<H,S>{
|
||||
public S visitReturn(Return_instrImp e, H h);
|
||||
public S visitAssign(AssignImp e, H h);
|
||||
}
|
||||
|
||||
public interface ExprVisitor<H,S> {
|
||||
@@ -41,12 +42,5 @@ public interface Interface{
|
||||
public String prettyprinter();
|
||||
}
|
||||
|
||||
public enum Op {PLUS, MINUS, TIMES, DIV,MOD}
|
||||
|
||||
//Eval
|
||||
public interface ExprEval extends ExprVisitor<Map<String, Integer>, Integer> {
|
||||
}
|
||||
|
||||
public interface TypeCheck extends ExprVisitor<Map<String, Type>, Type> {
|
||||
}
|
||||
public enum Op {PLUS, MINUS, TIMES, DIV, MOD}
|
||||
}
|
||||
Reference in New Issue
Block a user