示例#1
0
 @Override
 public VarUsage count(final Var var) {
   return VarUsage.sum(var, specs).plus(VarUsage.sum(var, preExpr));
 }
示例#2
0
文件: Path.java 项目: runeengh/basex
 @Override
 public VarUsage count(final Var var) {
   final VarUsage inRoot = root == null ? VarUsage.NEVER : root.count(var);
   return VarUsage.sum(var, steps) == VarUsage.NEVER ? inRoot : VarUsage.MORE_THAN_ONCE;
 }
示例#3
0
 @Override
 public VarUsage count(final Var var) {
   return occ != null ? VarUsage.sum(var, occ).plus(query.count(var)) : query.count(var);
 }
示例#4
0
文件: Arr.java 项目: james-jw/basex
 @Override
 public VarUsage count(final Var var) {
   return VarUsage.sum(var, exprs);
 }
示例#5
0
 @Override
 public VarUsage count(final Var v) {
   return VarUsage.sum(v, copies).plus(super.count(v));
 }