clean todo Load
This commit is contained in:
@@ -13,22 +13,14 @@ public class Program{
|
||||
|
||||
public String prettyprinter(){
|
||||
PrettyprinterVisitor ppVisitor = new PrettyprinterVisitor();
|
||||
return this.accept(ppVisitor, "");
|
||||
|
||||
return this.accept(ppVisitor, "");
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProgramLLVMImpl toLLVM() {
|
||||
/**ArrayList<DefineLLVM> fonctionLLVM = new ArrayList<>();
|
||||
for(int i = 0; i<fonctions.size(); i++){
|
||||
fonctionLLVM.add(fonctions.get(i).toLLVM());
|
||||
}
|
||||
return new ProgramLLVMImpl(new ArrayList<>(),fonctionLLVM);*/
|
||||
toLLVM_Visitor llvmVisitor = new toLLVM_Visitor();
|
||||
return this.accept(llvmVisitor,new SymTable());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user