/** * 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(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter out) { out.startElement("for"); out.emitAttribute("variable", getVariableName()); out.emitAttribute("as", sequence.getItemType(out.getTypeHierarchy()).toString(out.getNamePool())); if (positionVariable != null) { out.emitAttribute("at", positionVariable.getVariableQName().getDisplayName()); } out.startSubsidiaryElement("in"); sequence.explain(out); out.endSubsidiaryElement(); 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 out) { out.startElement("for"); out.emitAttribute("variable", getVariableName()); out.emitAttribute("as", sequence.getItemType(out.getTypeHierarchy()).toString(out.getNamePool())); if (positionVariable != null) { out.emitAttribute("at", positionVariable.getVariableQName().getDisplayName()); } out.startSubsidiaryElement("in"); sequence.explain(out); out.endSubsidiaryElement(); 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 out) { out.startElement("for"); out.emitAttribute("variable", getVariableName()); out.emitAttribute("as", sequence.getItemType(out.getTypeHierarchy()).toString(out.getNamePool())); if (positionVariable != null) { out.emitAttribute("at", positionVariable.getVariableQName().getDisplayName()); } out.startSubsidiaryElement("in"); sequence.explain(out); out.endSubsidiaryElement(); 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 out) { out.startElement("let"); out.emitAttribute("variable", getVariableName()); out.emitAttribute("as", sequence.getItemType(out.getTypeHierarchy()).toString(out.getNamePool()) + Cardinality.getOccurrenceIndicator(sequence.getCardinality())); if (isIndexedVariable()) { out.emitAttribute("indexable", "true"); } out.startSubsidiaryElement("be"); sequence.explain(out); out.endSubsidiaryElement(); 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 out) { out.startElement("let"); out.emitAttribute("variable", getVariableName()); out.emitAttribute("as", sequence.getItemType(out.getTypeHierarchy()).toString(out.getNamePool()) + Cardinality.getOccurrenceIndicator(sequence.getCardinality())); if (isIndexedVariable()) { out.emitAttribute("indexable", "true"); } out.startSubsidiaryElement("be"); sequence.explain(out); out.endSubsidiaryElement(); 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 out) { out.startElement("let"); out.emitAttribute("variable", getVariableName()); out.emitAttribute("as", sequence.getItemType(out.getTypeHierarchy()).toString(out.getNamePool()) + Cardinality.getOccurrenceIndicator(sequence.getCardinality())); if (isIndexedVariable()) { out.emitAttribute("indexable", "true"); } out.startSubsidiaryElement("be"); sequence.explain(out); out.endSubsidiaryElement(); out.startSubsidiaryElement("return"); action.explain(out); out.endSubsidiaryElement(); out.endElement(); }