lib/bmg/operator/allbut.rb in bmg-0.3.0 vs lib/bmg/operator/allbut.rb in bmg-0.4.0
- old
+ new
@@ -39,9 +39,13 @@
seen[allbuted] = true
end
end
end
+ def to_ast
+ [:allbut, operand.to_ast, butlist.dup]
+ end
+
protected ### optimization
def _restrict(type, predicate)
operand.restrict(predicate).allbut(butlist)
end