138139140141142143144145146
@Override public void output(IndentedWriter out) { out.print(Plan.startMarker) ; out.print("SortCondition ") ; FmtExpr fmt = new FmtExpr(out, null) ; format(fmt, out) ; out.print(Plan.finishMarker) ; }
148149150151152153154155
@Override public void output(IndentedWriter out, SerializationContext sCxt) { if ( sCxt == null ) sCxt = new SerializationContext() ; FmtExpr fmt = new FmtExpr(out, sCxt) ; format(fmt, out) ; }
return nv ; } public static void fmtSPARQL(IndentedWriter iOut, Expr expr, SerializationContext sCxt) { FmtExpr v = new FmtExpr(iOut, sCxt) ; v.format(expr) ; }
168169170171172173174175176177178179180181
// ExprLists public static void fmtSPARQL(IndentedWriter iOut, ExprList exprs, SerializationContext pmap) { FmtExpr fmt = new FmtExpr(iOut, pmap) ; String sep = "" ; for (Expr expr : exprs) { iOut.print(sep) ; sep = " , " ; fmt.format(expr) ; } }