test call void

This commit is contained in:
Vu Tuan Minh
2025-04-28 13:48:52 +02:00
parent 4a48ee286b
commit a421811002
6 changed files with 59 additions and 8 deletions

View File

@@ -137,6 +137,13 @@ public class Program{
}
}
public static record VoidFunctionImp(String nom, ArrayList<Expression> expr) implements Instruction{
@Override
public <H, S> S accept(InstrVisitor<H, S> v, H h) {
return v.visitVoidFunction(this, h);
}
}
//Type
public static record Type_voidImp() implements Type{
@Override