This commit is contained in:
Rochas
2025-04-30 19:41:42 +02:00
parent c8bbfc991d
commit 058ea815a1
4 changed files with 40 additions and 48 deletions

View File

@@ -32,9 +32,6 @@ public class Program{
//Fonction
public static record FunctionImp(Type type, String nom, ArrayList<VarImp> params,Instruction instruction) implements Function {
//public FunctionImp(Type type, String name, Instruction instruction) {
// this(type, name, new ArrayList<>() {{ add(instruction); }}); C KOI ?
//}
public <H, S> S accept(FunctionVisitor<H, S> v, H h) {
return v.visitFunction(this, h);