C pu PT
This commit is contained in:
@@ -6,7 +6,7 @@ import java.util.List;
|
|||||||
import TP2.asd.Interface.*;
|
import TP2.asd.Interface.*;
|
||||||
|
|
||||||
public class Program{
|
public class Program{
|
||||||
public static record ProgramImp(ArrayList<Instruction> instructions){
|
public static record ProgramImp(ArrayList<Function> instructions){
|
||||||
public <H, S> S accept(ProgramVisitor<H, S> v, H h) {
|
public <H, S> S accept(ProgramVisitor<H, S> v, H h) {
|
||||||
return v.visitProgram(this, h);
|
return v.visitProgram(this, h);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user