示例#1
0
 @Override
 public boolean removable(final Var var) {
   for (final TypeCase tc : cases) if (!tc.removable(var)) return false;
   return ts.removable(var);
 }
示例#2
0
文件: Path.java 项目: runeengh/basex
 @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);
 }
示例#3
0
 @Override
 public final boolean removable(final Var v) {
   return root.removable(v) && super.removable(v);
 }
示例#4
0
文件: Arr.java 项目: james-jw/basex
 @Override
 public boolean removable(final Var var) {
   for (final Expr e : exprs) if (!e.removable(var)) return false;
   return true;
 }
示例#5
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);
 }
示例#6
0
文件: Path.java 项目: nikhi/basex
 @Override
 public boolean removable(final Var v) {
   return root == null || root.removable(v);
 }