Example #1
0
 @Override
 public final boolean removable(final Var var) {
   for (final Expr step : steps) if (step.uses(var)) return false;
   return root == null || root.removable(var);
 }
Example #2
0
 @Override
 public boolean removable(final Var v) {
   return weight.removable(v) && super.removable(v);
 }
Example #3
0
 @Override
 public boolean removable(final Var var) {
   if (occ != null) for (final Expr o : occ) if (!o.removable(var)) return false;
   return query.removable(var);
 }
Example #4
0
 @Override
 public final boolean removable(final Var v) {
   for (final Expr s : steps) if (!s.removable(v)) return false;
   return super.removable(v);
 }
Example #5
0
 @Override
 public boolean removable(final Var var) {
   for (final Expr e : exprs) if (!e.removable(var)) return false;
   return true;
 }
Example #6
0
 @Override
 public boolean removable(final Var v) {
   return root == null || root.removable(v);
 }