toString
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user