/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter destination) { destination.startElement("integerRangeTest"); value.explain(destination); min.explain(destination); max.explain(destination); destination.endElement(); } }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter out) { out.startElement("forEach"); select.explain(out); out.startSubsidiaryElement("return"); action.explain(out); out.endSubsidiaryElement(); out.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter destination) { destination.startElement("atomicMap"); getStartExpression().explain(destination); getStepExpression().explain(destination); destination.endElement(); } }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter out) { out.startElement("resultDocument"); content.explain(out); out.endElement(); } }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter out) { out.startElement("operator"); out.emitAttribute("op", displayOperator()); operand0.explain(out); operand1.explain(out); out.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter out) { out.startElement("copy"); content.explain(out); out.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter out) { out.startElement("comment"); getSelect().explain(out); out.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter out) { out.startElement("sortAndDeduplicate"); out.emitAttribute("intraDocument", comparer instanceof LocalOrderComparer ? "true" : "false"); operand.explain(out); out.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter out) { out.startElement("sortAndDeduplicate"); out.emitAttribute("intraDocument", comparer instanceof LocalOrderComparer ? "true" : "false"); operand.explain(out); out.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. * * @param out the expression presenter used to display the structure */ public void explain(ExpressionPresenter out) { out.startElement("conditionalSort"); condition.explain(out); documentSorter.explain(out); out.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter out) { out.startElement("param"); out.emitAttribute("name", variableQName.getDisplayName()); if (select != null) { select.explain(out); } out.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter destination) { destination.startElement("compareToInteger"); destination.emitAttribute("op", Token.tokens[operator]); destination.emitAttribute("value", comparand+""); operand.explain(destination); destination.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter destination) { destination.startElement("userExpression"); destination.emitAttribute("class", getExpressionType()); for (int i = 0; i < arguments.length; i++) { arguments[i].explain(destination); } destination.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter destination) { destination.startElement("convertItems"); destination.emitAttribute("to", requiredItemType.toString(destination.getNamePool())); operand.explain(destination); destination.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter out) { out.startElement("treat"); out.emitAttribute("as", requiredItemType.toString(out.getConfiguration().getNamePool())); operand.explain(out); out.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter out) { out.startElement("convertUntypedAtomic"); out.emitAttribute("to", requiredItemType.toString(out.getConfiguration().getNamePool())); out.emitAttribute("all", allConverted ? "true" : "false"); operand.explain(out); out.endElement(); } protected String displayOperator(Configuration config) {
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter out) { out.startElement("promoteNumeric"); out.emitAttribute("to", getItemType(out.getTypeHierarchy()).toString(out.getConfiguration().getNamePool())); operand.explain(out); out.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter out) { out.startElement("promoteNumeric"); out.emitAttribute("to", getItemType(out.getTypeHierarchy()).toString(out.getConfiguration().getNamePool())); operand.explain(out); out.endElement(); }