/** Rewrite sequence elements */ @Override public void visit(final OpDisjunction opDisjunction) { if (LOG.isDebugEnabled()) { LOG.debug("Starting visiting OpDisjunction"); } addOp(rewriteOpN(opDisjunction, OpDisjunction.create())); }
public void visit(OpDisjunction opDisjunction) { // Evaluation is as a concatentation of alternatives Table table = TableFactory.createEmpty(); for (Iterator<Op> iter = opDisjunction.iterator(); iter.hasNext(); ) { Op op = iter.next(); Table eltTable = eval(op); table = evaluator.union(table, eltTable); } push(table); }