include in none case
This commit is contained in:
parent
299267f265
commit
2fb97d42fb
2 changed files with 5 additions and 2 deletions
|
@ -148,10 +148,12 @@ public class ParserComposantGenerator {
|
|||
StateTree<Element> op_childs = new StateTree<>();
|
||||
op_childs.then((v) -> v.validate((t) -> t.getValue().equals("(")))
|
||||
.then(new RedirectStateTree<>(operations, (bag) -> {
|
||||
System.out.println("Go on op_childs !");
|
||||
return "operations";
|
||||
}))
|
||||
.then((v) -> v.validate((t) -> t.getValue().equals(")")))
|
||||
.end((composant, bag) -> {
|
||||
System.out.println("");
|
||||
System.out.println("\t"+composant);
|
||||
System.out.println("\t"+bag);
|
||||
return composant;
|
||||
|
@ -247,6 +249,7 @@ public class ParserComposantGenerator {
|
|||
linked.elements.add(op.get());
|
||||
}
|
||||
way.elements.add(linked);
|
||||
((Composant)composant).include();
|
||||
System.out.println("none\t"+way);
|
||||
return composant;
|
||||
});
|
||||
|
@ -332,7 +335,7 @@ public class ParserComposantGenerator {
|
|||
|
||||
@Override
|
||||
public String toString(){
|
||||
return title+"(";
|
||||
return title+"("+path;
|
||||
}
|
||||
|
||||
public static class LinkedComposant extends Element{
|
||||
|
|
Loading…
Add table
Reference in a new issue