This commit is contained in:
trochas
2025-02-07 16:19:57 +01:00

View File

@@ -46,13 +46,20 @@ public class ASD_Turtle implements TurtleASD {
return this.string; return this.string;
} }
} }
public void prettyPrinter(TurtleImp t){ public void prettyPrinter(TurtleImp t){
for (PhraseImp phrase : t.phrases) { for (PhraseImp phrase : t.phrases) {
prettyPrinter(phrase); prettyPrinter(phrase);
} }
} }
public void prettyPrinter(PhraseImp phrase){ public void prettyPrinter(PhraseImp phrase){
System.out.println("< " + phrase.entity + " >"); System.out.println("< " + phrase.entity + " >");
for (AffectationImp affectation : phrase.affs) { for (AffectationImp affectation : phrase.affs) {