Closed jakobbraun closed 3 years ago
Currently, BooleanExpressionVisitor uses visit and leave. I've got the feeling that it would be better style to only use visit in combination with recursive calls, but I'm not sure about that.
visit
leave
By that we could also rewrite the current logic:
connect(and); this.connectorDeque.push(" AND ");
to something more readable like Sering.joing("AND", ...)
Currently, BooleanExpressionVisitor uses
visit
andleave
. I've got the feeling that it would be better style to only usevisit
in combination with recursive calls, but I'm not sure about that.