522523524525526527528529530531532
// return lineFeed(); buf.append("return "); indentln(); XQExpression ret = (filteredRet == null) ? expr.getReturnExpr() : filteredRet; ret.visit(this, ctxt); indent--; return expr; }
544545546547548549550551552553554
for(int i = 0; i < params.size(); i++) { if(i != 0) { buf.append(", "); } XQExpression p = (XQExpression) params.get(i); p.visit(this, ctxt); } buf.append(')'); return call; }
631632633634635636637638639640641
if(i != 0) { buf.append(" or"); lineFeed(); } XQExpression e = (XQExpression) exprs.get(i); e.visit(this, ctxt); } return expr; } @Override
656657658659660661662663664665666
for(int i = 0; i < steplen; i++) { if(i != 0) { buf.append('/'); } XQExpression expr = steps.get(i); expr.visit(this, ctxt); } /* if(steplen > 0) { XQExpression lastExpr = steps.get(steplen - 1); lastExpr.visit(this, ctxt);
737738739740741742743744745746747
buf.append(binding.getName()); buf.append(" in "); indentln(); XQExpression inExpr = binding.getValue(); inExpr.visit(this, ctxt); indent--; lineFeed(); buf.append("satisfies"); indentln();
760761762763764765766767768769770
if(i != 0) { buf.append(", "); lineFeed(); } XQExpression e = (XQExpression) exprs.get(i); e.visit(this, ctxt); } indent--; lineFeed(); buf.append(')'); return expr;
783784785786787788789790791792793
throws XQueryException { header("TextConstructor"); final XQExpression content = constructor.getContent(); indentln(); content.visit(this, ctxt); indent--; return constructor; }
822823824825826827828829830831832
lineFeed(); buf.append("default:"); XQExpression dc = expr.getDefaultClause(); if(dc != null) { indentln(); dc.visit(this, ctxt); indent--; } indent--; lineFeed(); buf.append('}');
903904905906907908909910911912913
buf.append(type); } XQExpression value = variable.getValue(); buf.append(" := "); if(value != null) { // may be null with funcall value.visit(this, ctxt); } return variable; } @Override
944945946947948949950951952953954
buf.append("execute at "); buf.append(expr.getRemoteEndpoint()); buf.append(" {"); indentln(); XQExpression body = expr.getBodyExpression(); body.visit(this, ctxt); indent--; lineFeed(); buf.append(" }"); return expr; }