<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_18) on Fri Dec 09 20:48:12 GMT 2011 --> <TITLE> TailCallReturner </TITLE> <META NAME="date" CONTENT="2011-12-09"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="TailCallReturner"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../net/sf/saxon/expr/instruct/TailCall.html" title="interface in net.sf.saxon.expr.instruct"><B>PREV CLASS</B></A> <A HREF="../../../../../net/sf/saxon/expr/instruct/Template.html" title="class in net.sf.saxon.expr.instruct"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?net/sf/saxon/expr/instruct/TailCallReturner.html" target="_top"><B>FRAMES</B></A> <A HREF="TailCallReturner.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> net.sf.saxon.expr.instruct</FONT> <BR> Interface TailCallReturner</H2> <DL> <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../net/sf/saxon/expr/instruct/AnalyzeString.html" title="class in net.sf.saxon.expr.instruct">AnalyzeString</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/ApplyImports.html" title="class in net.sf.saxon.expr.instruct">ApplyImports</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/ApplyTemplates.html" title="class in net.sf.saxon.expr.instruct">ApplyTemplates</A>, <A HREF="../../../../../com/saxonica/expr/Assign.html" title="class in com.saxonica.expr">Assign</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/AttributeCreator.html" title="class in net.sf.saxon.expr.instruct">AttributeCreator</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/Block.html" title="class in net.sf.saxon.expr.instruct">Block</A>, <A HREF="../../../../../com/saxonica/expr/BreakInstr.html" title="class in com.saxonica.expr">BreakInstr</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/CallTemplate.html" title="class in net.sf.saxon.expr.instruct">CallTemplate</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/Choose.html" title="class in net.sf.saxon.expr.instruct">Choose</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/Comment.html" title="class in net.sf.saxon.expr.instruct">Comment</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/ComputedAttribute.html" title="class in net.sf.saxon.expr.instruct">ComputedAttribute</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/ComputedElement.html" title="class in net.sf.saxon.expr.instruct">ComputedElement</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/Copy.html" title="class in net.sf.saxon.expr.instruct">Copy</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/CopyOf.html" title="class in net.sf.saxon.expr.instruct">CopyOf</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/Doctype.html" title="class in net.sf.saxon.expr.instruct">Doctype</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/DocumentInstr.html" title="class in net.sf.saxon.expr.instruct">DocumentInstr</A>, <A HREF="../../../../../net/sf/saxon/expr/EagerLetExpression.html" title="class in net.sf.saxon.expr">EagerLetExpression</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/ElementCreator.html" title="class in net.sf.saxon.expr.instruct">ElementCreator</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/FixedAttribute.html" title="class in net.sf.saxon.expr.instruct">FixedAttribute</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/FixedElement.html" title="class in net.sf.saxon.expr.instruct">FixedElement</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/ForEach.html" title="class in net.sf.saxon.expr.instruct">ForEach</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/ForEachGroup.html" title="class in net.sf.saxon.expr.instruct">ForEachGroup</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/Instruction.html" title="class in net.sf.saxon.expr.instruct">Instruction</A>, <A HREF="../../../../../com/saxonica/expr/IterateInstr.html" title="class in com.saxonica.expr">IterateInstr</A>, <A HREF="../../../../../net/sf/saxon/expr/LetExpression.html" title="class in net.sf.saxon.expr">LetExpression</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/LocalParamBlock.html" title="class in net.sf.saxon.expr.instruct">LocalParamBlock</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/LocalParamSetter.html" title="class in net.sf.saxon.expr.instruct">LocalParamSetter</A>, <A HREF="../../../../../com/saxonica/xsltextn/MergeInstr.html" title="class in com.saxonica.xsltextn">MergeInstr</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/Message.html" title="class in net.sf.saxon.expr.instruct">Message</A>, <A HREF="../../../../../com/saxonica/expr/ee/MultithreadedForEach.html" title="class in com.saxonica.expr.ee">MultithreadedForEach</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/NamespaceConstructor.html" title="class in net.sf.saxon.expr.instruct">NamespaceConstructor</A>, <A HREF="../../../../../com/saxonica/expr/NextIteration.html" title="class in com.saxonica.expr">NextIteration</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/NextMatch.html" title="class in net.sf.saxon.expr.instruct">NextMatch</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/ParentNodeConstructor.html" title="class in net.sf.saxon.expr.instruct">ParentNodeConstructor</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/ProcessingInstruction.html" title="class in net.sf.saxon.expr.instruct">ProcessingInstruction</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/ProcessRegexMatchInstruction.html" title="class in net.sf.saxon.expr.instruct">ProcessRegexMatchInstruction</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/ResultDocument.html" title="class in net.sf.saxon.expr.instruct">ResultDocument</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/SimpleNodeConstructor.html" title="class in net.sf.saxon.expr.instruct">SimpleNodeConstructor</A>, <A HREF="../../../../../com/saxonica/stream/StreamingApplyTemplates.html" title="class in com.saxonica.stream">StreamingApplyTemplates</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/TraceExpression.html" title="class in net.sf.saxon.expr.instruct">TraceExpression</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/UseAttributeSets.html" title="class in net.sf.saxon.expr.instruct">UseAttributeSets</A>, <A HREF="../../../../../net/sf/saxon/expr/instruct/ValueOf.html" title="class in net.sf.saxon.expr.instruct">ValueOf</A>, <A HREF="../../../../../com/saxonica/expr/While.html" title="class in com.saxonica.expr">While</A></DD> </DL> <HR> <DL> <DT><PRE>public interface <B>TailCallReturner</B></DL> </PRE> <P> This interface represents an expression that is capable of being processed leaving tail calls for the calling instruction to deal with. <P> <P> <HR> <P> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/expr/instruct/TailCall.html" title="interface in net.sf.saxon.expr.instruct">TailCall</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/expr/instruct/TailCallReturner.html#processLeavingTail(net.sf.saxon.expr.XPathContext)">processLeavingTail</A></B>(<A HREF="../../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A> context)</CODE> <BR> ProcessLeavingTail: called to do the real work of this instruction.</TD> </TR> </TABLE> <P> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="processLeavingTail(net.sf.saxon.expr.XPathContext)"><!-- --></A><H3> processLeavingTail</H3> <PRE> <A HREF="../../../../../net/sf/saxon/expr/instruct/TailCall.html" title="interface in net.sf.saxon.expr.instruct">TailCall</A> <B>processLeavingTail</B>(<A HREF="../../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A> context) throws <A HREF="../../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>ProcessLeavingTail: called to do the real work of this instruction. This method must be implemented in each subclass. The results of the instruction are written to the current Receiver, which can be obtained via the Controller. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>context</CODE> - The dynamic context of the transformation, giving access to the current node, the current variables, etc. <DT><B>Returns:</B><DD>null if the instruction has completed execution; or a TailCall indicating a function call or template call that is delegated to the caller, to be made after the stack has been unwound so as to save stack space. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE> - if a dynamic error occurs during the evaluation of the instruction</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../net/sf/saxon/expr/instruct/TailCall.html" title="interface in net.sf.saxon.expr.instruct"><B>PREV CLASS</B></A> <A HREF="../../../../../net/sf/saxon/expr/instruct/Template.html" title="class in net.sf.saxon.expr.instruct"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?net/sf/saxon/expr/instruct/TailCallReturner.html" target="_top"><B>FRAMES</B></A> <A HREF="TailCallReturner.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright (c) 2004-2011 Saxonica Limited. All rights reserved. </BODY> </HTML>