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<>();
|
StateTree<Element> op_childs = new StateTree<>();
|
||||||
op_childs.then((v) -> v.validate((t) -> t.getValue().equals("(")))
|
op_childs.then((v) -> v.validate((t) -> t.getValue().equals("(")))
|
||||||
.then(new RedirectStateTree<>(operations, (bag) -> {
|
.then(new RedirectStateTree<>(operations, (bag) -> {
|
||||||
|
System.out.println("Go on op_childs !");
|
||||||
return "operations";
|
return "operations";
|
||||||
}))
|
}))
|
||||||
.then((v) -> v.validate((t) -> t.getValue().equals(")")))
|
.then((v) -> v.validate((t) -> t.getValue().equals(")")))
|
||||||
.end((composant, bag) -> {
|
.end((composant, bag) -> {
|
||||||
|
System.out.println("");
|
||||||
System.out.println("\t"+composant);
|
System.out.println("\t"+composant);
|
||||||
System.out.println("\t"+bag);
|
System.out.println("\t"+bag);
|
||||||
return composant;
|
return composant;
|
||||||
|
@ -247,6 +249,7 @@ public class ParserComposantGenerator {
|
||||||
linked.elements.add(op.get());
|
linked.elements.add(op.get());
|
||||||
}
|
}
|
||||||
way.elements.add(linked);
|
way.elements.add(linked);
|
||||||
|
((Composant)composant).include();
|
||||||
System.out.println("none\t"+way);
|
System.out.println("none\t"+way);
|
||||||
return composant;
|
return composant;
|
||||||
});
|
});
|
||||||
|
@ -332,7 +335,7 @@ public class ParserComposantGenerator {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString(){
|
public String toString(){
|
||||||
return title+"(";
|
return title+"("+path;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class LinkedComposant extends Element{
|
public static class LinkedComposant extends Element{
|
||||||
|
|
Loading…
Add table
Reference in a new issue