示例#1
0
 @Override
 public int exprSize() {
   int sz = 0;
   for (final Expr e : preExpr) sz += e.exprSize();
   for (final Expr e : specs) sz += e.exprSize();
   return sz;
 }
示例#2
0
 @Override
 public int exprSize() {
   int sz = 1;
   if (occ != null) for (final Expr o : occ) sz += o.exprSize();
   for (final Expr e : exprs) sz += e.exprSize();
   return sz + query.exprSize();
 }
示例#3
0
 @Override
 public int exprSize() {
   int sz = 1;
   for (final Let lt : copies) sz += lt.exprSize();
   for (final Expr e : expr) sz += e.exprSize();
   return sz;
 }
示例#4
0
 @Override
 public int exprSize() {
   int sz = 1;
   for (final Expr e : cases) sz += e.exprSize();
   return sz + ts.exprSize();
 }
示例#5
0
文件: Path.java 项目: runeengh/basex
 @Override
 public final int exprSize() {
   int sz = 1;
   for (final Expr e : steps) sz += e.exprSize();
   return root == null ? sz : sz + root.exprSize();
 }
示例#6
0
 @Override
 public final int exprSize() {
   int sz = 1;
   for (final Expr e : preds) sz += e.exprSize();
   return sz + root.exprSize();
 }
示例#7
0
文件: Arr.java 项目: james-jw/basex
 @Override
 public int exprSize() {
   int sz = 1;
   for (final Expr e : exprs) sz += e.exprSize();
   return sz;
 }