test unimplant

This commit is contained in:
Vu Tuan Minh
2025-04-10 10:56:11 +02:00
parent ecdb8ac687
commit 48763ff76e
8 changed files with 62 additions and 24 deletions

View File

@@ -15,7 +15,6 @@ public interface Interface{
public S visitProgram(ProgramImp prog, H h);
}
//////////Function
public interface Function {
public <H,S> S accept(FunctionVisitor<H,S> v, H h);
@@ -42,10 +41,7 @@ public interface Interface{
public S visitWhile(WhileImp instr, H h);
}
//////////Expression
//We put prettyprinter here beause each expr will have to implement it like accept visitor
//but each implement will be different for prettyprinter
public interface Expression {
public <H,S> S accept(ExprVisitor<H,S> v, H h);
}