<!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:47:41 GMT 2011 --> <TITLE> Query30Parser </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="Query30Parser"; } } </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="../../../com/saxonica/expr/PathFinder.html" title="class in com.saxonica.expr"><B>PREV CLASS</B></A> <A HREF="../../../com/saxonica/expr/QueryLibraryImpl.html" title="class in com.saxonica.expr"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?com/saxonica/expr/Query30Parser.html" target="_top"><B>FRAMES</B></A> <A HREF="Query30Parser.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: <A HREF="#nested_classes_inherited_from_class_net.sf.saxon.expr.parser.ExpressionParser">NESTED</A> | <A HREF="#fields_inherited_from_class_net.sf.saxon.query.QueryParser">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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"> com.saxonica.expr</FONT> <BR> Class Query30Parser</H2> <PRE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">net.sf.saxon.expr.parser.ExpressionParser</A> <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">net.sf.saxon.query.QueryParser</A> <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.saxonica.expr.Query30Parser</B> </PRE> <HR> <DL> <DT><PRE>public class <B>Query30Parser</B><DT>extends <A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></DL> </PRE> <P> Parser extension for new syntax in XQuery 3.0 (was 1.1). Note this cannot currently be used at the same time as the XQuery Update extensions. <P> <P> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <A NAME="nested_class_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>Nested Class Summary</B></FONT></TH> </TR> </TABLE> <A NAME="nested_classes_inherited_from_class_net.sf.saxon.expr.parser.ExpressionParser"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Nested classes/interfaces inherited from class net.sf.saxon.expr.parser.<A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">ExpressionParser</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.TemporaryContainer.html" title="class in net.sf.saxon.expr.parser">ExpressionParser.TemporaryContainer</A></CODE></TD> </TR> </TABLE> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_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>Field Summary</B></FONT></TH> </TR> </TABLE> <A NAME="fields_inherited_from_class_net.sf.saxon.query.QueryParser"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class net.sf.saxon.query.<A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html#executable">executable</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#FUNCTION_IS_NONDETERMINISTIC">FUNCTION_IS_NONDETERMINISTIC</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#FUNCTION_IS_PRIVATE">FUNCTION_IS_PRIVATE</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#FUNCTION_IS_UPDATING">FUNCTION_IS_UPDATING</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#importedModules">importedModules</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#queryVersion">queryVersion</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#XQUERY10">XQUERY10</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#XQUERY30">XQUERY30</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_net.sf.saxon.expr.parser.ExpressionParser"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class net.sf.saxon.expr.parser.<A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">ExpressionParser</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#allowXPath30Syntax">allowXPath30Syntax</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#defaultContainer">defaultContainer</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#env">env</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#language">language</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#languageVersion">languageVersion</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#nameChecker">nameChecker</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#rangeVariables">rangeVariables</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#scanOnly">scanOnly</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#SEQUENCE_TYPE">SEQUENCE_TYPE</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#t">t</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#XPATH">XPATH</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#XQUERY">XQUERY</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#XSLT_PATTERN">XSLT_PATTERN</A></CODE></TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_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>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#Query30Parser()">Query30Parser</A></B>()</CODE> <BR> </TD> </TR> </TABLE> <!-- ========== 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>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#checkForClauseAllowingEmpty(net.sf.saxon.expr.flwor.ForClause)">checkForClauseAllowingEmpty</A></B>(<A HREF="../../../net/sf/saxon/expr/flwor/ForClause.html" title="class in net.sf.saxon.expr.flwor">ForClause</A> clause)</CODE> <BR> Check a ForClause for an "outer for"</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../net/sf/saxon/expr/Binding.html" title="interface in net.sf.saxon.expr">Binding</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#findRangeVariable(net.sf.saxon.om.StructuredQName)">findRangeVariable</A></B>(<A HREF="../../../net/sf/saxon/om/StructuredQName.html" title="class in net.sf.saxon.om">StructuredQName</A> qName)</CODE> <BR> Locate a range variable with a given name.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#getPermittedFunctions()">getPermittedFunctions</A></B>()</CODE> <BR> Get the permitted set of standard functions in this environment</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#isNamespaceTestAllowed()">isNamespaceTestAllowed</A></B>()</CODE> <BR> Ask whether the syntax namespace-node() is allowed in a node kind test.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#makeCurriedFunction(int, net.sf.saxon.om.StructuredQName, net.sf.saxon.expr.Expression[], net.sf.saxon.expr.sort.IntSet)">makeCurriedFunction</A></B>(int offset, <A HREF="../../../net/sf/saxon/om/StructuredQName.html" title="class in net.sf.saxon.om">StructuredQName</A> name, <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A>[] args, <A HREF="../../../net/sf/saxon/expr/sort/IntSet.html" title="interface in net.sf.saxon.expr.sort">IntSet</A> placeMarkers)</CODE> <BR> Process a function call in which one or more of the argument positions are represented as "?" placemarkers (indicating partial application or currying)</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#newParser()">newParser</A></B>()</CODE> <BR> Create a new parser of the same kind</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseAnnotations()">parseAnnotations</A></B>()</CODE> <BR> Parse the annotations that can appear in a variable or function declaration</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseContextItemDeclaration()">parseContextItemDeclaration</A></B>()</CODE> <BR> Parse a context item declaration.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseCountClause(java.util.List)">parseCountClause</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> clauseList)</CODE> <BR> Parse a LetClause.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseDecimalFormatDeclaration()">parseDecimalFormatDeclaration</A></B>()</CODE> <BR> Parse a named decimal format declaration.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseDefaultDecimalFormat()">parseDefaultDecimalFormat</A></B>()</CODE> <BR> Parse a default decimal format declaration "declare" "default" "decimal-format" (property "=" string-literal)*</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseDynamicFunctionCall(net.sf.saxon.expr.Expression)">parseDynamicFunctionCall</A></B>(<A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A> functionItem)</CODE> <BR> Parse a dynamic function call</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseFunctionArgument()">parseFunctionArgument</A></B>()</CODE> <BR> Parse a function argument.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../net/sf/saxon/type/ItemType.html" title="interface in net.sf.saxon.type">ItemType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseFunctionItemType()">parseFunctionItemType</A></B>()</CODE> <BR> Parse the item type used for function items (XQuery 3.0 higher order functions) Syntax (changed by WG decision on 2009-09-22): function '(' '*' ') | function '(' (SeqType (',' SeqType)*)? ')' 'as' SeqType The "function(" has already been read</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseGroupByClause(java.util.List)">parseGroupByClause</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../net/sf/saxon/expr/flwor/Clause.html" title="class in net.sf.saxon.expr.flwor">Clause</A>> clauseList)</CODE> <BR> Parse a Group By clause.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseInlineFunction()">parseInlineFunction</A></B>()</CODE> <BR> Parse an inline function "function" "(" ParamList? ")" ("as" SequenceType)? EnclosedExpr On entry, "function (" has already been read</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseLiteralFunctionItem()">parseLiteralFunctionItem</A></B>()</CODE> <BR> Parse a literal function item (introduced in XQuery 3.0) Syntax: QName # integer The QName and # have already been read</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseMapExpression()">parseMapExpression</A></B>()</CODE> <BR> Parse a map expression.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../net/sf/saxon/type/ItemType.html" title="interface in net.sf.saxon.type">ItemType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseMapItemType()">parseMapItemType</A></B>()</CODE> <BR> Parse the item type used for function items (XPath 3.0) Syntax: map '(' '*' ') | map '(' ItemType ',' SeqType ')' 'as' SeqType For backwards compatibility with Saxon 9.2 we allow the "*" to be omitted for the time being The "function(" has already been read</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseNamedNamespaceConstructor(int)">parseNamedNamespaceConstructor</A></B>(int offset)</CODE> <BR> Parse a namespace node constructor of the form namespace name { expr }</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseNamespaceConstructor(int)">parseNamespaceConstructor</A></B>(int offset)</CODE> <BR> Parse a computed namespace constructor of the form namespace {expr}{expr}</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../net/sf/saxon/type/ItemType.html" title="interface in net.sf.saxon.type">ItemType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseParenthesizedItemType()">parseParenthesizedItemType</A></B>()</CODE> <BR> Parse a parenthesized item type (allowed in XQuery 3.0 and XPath 3.0 only)</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseSwitchExpression()">parseSwitchExpression</A></B>()</CODE> <BR> Parse a Switch Expression.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseTryCatchExpression()">parseTryCatchExpression</A></B>()</CODE> <BR> Parse a Try/Catch Expression.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/Query30Parser.html#parseWindowClause(java.util.List)">parseWindowClause</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../net/sf/saxon/expr/flwor/Clause.html" title="class in net.sf.saxon.expr.flwor">Clause</A>> clauseList)</CODE> <BR> Parse a tumbling or sliding window clause.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_net.sf.saxon.query.QueryParser"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class net.sf.saxon.query.<A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html#applyModuleImport(net.sf.saxon.query.QueryParser.Import)">applyModuleImport</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#atStartOfRelativePath()">atStartOfRelativePath</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#customizeTokenizer(net.sf.saxon.expr.parser.Tokenizer)">customizeTokenizer</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#getExecutable()">getExecutable</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#getLanguage()">getLanguage</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#grumble(java.lang.String, net.sf.saxon.om.StructuredQName, int)">grumble</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#lookAhead()">lookAhead</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#makeLetExpression()">makeLetExpression</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#makeSimpleContent(net.sf.saxon.expr.Expression, net.sf.saxon.expr.instruct.SimpleNodeConstructor, int)">makeSimpleContent</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#makeStringJoin(net.sf.saxon.expr.Expression, net.sf.saxon.expr.StaticContext)">makeStringJoin</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#makeStringLiteral(java.lang.String)">makeStringLiteral</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#makeXQueryExpression(java.lang.String, net.sf.saxon.query.QueryModule, net.sf.saxon.Configuration)">makeXQueryExpression</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#normalizeEQName(java.lang.String)">normalizeEQName</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#parseConstructor()">parseConstructor</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#parseExtensionExpression()">parseExtensionExpression</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#parseFLWORExpression()">parseFLWORExpression</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#parseFunctionDeclaration(int)">parseFunctionDeclaration</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#parseLibraryModule(java.lang.String, net.sf.saxon.query.QueryModule)">parseLibraryModule</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#parseRevalidationDeclaration()">parseRevalidationDeclaration</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#parseTypeswitchExpression()">parseTypeswitchExpression</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#parseUpdatingFunctionDeclaration()">parseUpdatingFunctionDeclaration</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#parseValidateExpression()">parseValidateExpression</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#readCollationName()">readCollationName</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#setDefaultValue(java.lang.String)">setDefaultValue</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#setDisableCycleChecks(boolean)">setDisableCycleChecks</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#setExecutable(net.sf.saxon.expr.instruct.Executable)">setExecutable</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#stringify(net.sf.saxon.expr.Expression, boolean, net.sf.saxon.Configuration)">stringify</A>, <A HREF="../../../net/sf/saxon/query/QueryParser.html#URILiteral(java.lang.String)">URILiteral</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_net.sf.saxon.expr.parser.ExpressionParser"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class net.sf.saxon.expr.parser.<A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">ExpressionParser</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#currentTokenDisplay()">currentTokenDisplay</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#declareRangeVariable(net.sf.saxon.expr.Binding)">declareRangeVariable</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#disallowedAtStartOfRelativePath()">disallowedAtStartOfRelativePath</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#expect(int)">expect</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#getCodeInjector()">getCodeInjector</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#getDefaultContainer()">getDefaultContainer</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#getNameChecker()">getNameChecker</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#getRangeVariables()">getRangeVariables</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#getStaticContext()">getStaticContext</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#getTokenizer()">getTokenizer</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#grumble(java.lang.String)">grumble</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#grumble(java.lang.String, java.lang.String)">grumble</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#grumble(java.lang.String, java.lang.String, int)">grumble</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#grumble(net.sf.saxon.trans.XPathException)">grumble</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#isKeyword(java.lang.String)">isKeyword</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#makeLocalNameTest(short, java.lang.String)">makeLocalNameTest</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#makeNameCode(java.lang.String, boolean)">makeNameCode</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#makeNameCodeSilently(java.lang.String, boolean)">makeNameCodeSilently</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#makeNamespaceTest(short, java.lang.String)">makeNamespaceTest</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#makeNameTest(short, java.lang.String, boolean)">makeNameTest</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#makeNodeName(java.lang.String, boolean)">makeNodeName</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#makeStructuredQName(java.lang.String, boolean)">makeStructuredQName</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#makeTracer(int, net.sf.saxon.expr.Expression, int, net.sf.saxon.om.StructuredQName)">makeTracer</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#nextToken()">nextToken</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parse(java.lang.String, int, int, int, net.sf.saxon.expr.StaticContext)">parse</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseBasicStep(boolean)">parseBasicStep</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseBinaryExpression(net.sf.saxon.expr.Expression, int)">parseBinaryExpression</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseExpression()">parseExpression</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseExprSingle()">parseExprSingle</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseFunctionCall()">parseFunctionCall</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseItemType()">parseItemType</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseNodeTest(short)">parseNodeTest</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseNumericLiteral()">parseNumericLiteral</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parsePathExpression()">parsePathExpression</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parsePredicate()">parsePredicate</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseRelativePath()">parseRelativePath</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseRemainingPath(net.sf.saxon.expr.Expression)">parseRemainingPath</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseSequenceType()">parseSequenceType</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseSequenceType(java.lang.String, net.sf.saxon.expr.StaticContext)">parseSequenceType</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseStepExpression(boolean)">parseStepExpression</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseStringLiteral()">parseStringLiteral</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseTypePattern()">parseTypePattern</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseVariableReference()">parseVariableReference</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#reportMissingFunction(int, net.sf.saxon.om.StructuredQName, net.sf.saxon.expr.Expression[])">reportMissingFunction</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#resolveFunctionName(java.lang.String)">resolveFunctionName</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#setCodeInjector(net.sf.saxon.expr.parser.CodeInjector)">setCodeInjector</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#setDefaultContainer(net.sf.saxon.expr.Container)">setDefaultContainer</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#setLanguage(int, net.sf.saxon.value.DecimalValue)">setLanguage</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#setLocation(net.sf.saxon.expr.Expression)">setLocation</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#setLocation(net.sf.saxon.expr.Expression, int)">setLocation</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#setRangeVariables(java.util.Stack)">setRangeVariables</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#setRangeVariableStack(java.util.Stack)">setRangeVariableStack</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#setScanOnly(boolean)">setScanOnly</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#undeclareRangeVariable()">undeclareRangeVariable</A>, <A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#warning(java.lang.String)">warning</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> </TR> </TABLE> <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_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>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="Query30Parser()"><!-- --></A><H3> Query30Parser</H3> <PRE> public <B>Query30Parser</B>()</PRE> <DL> </DL> <!-- ============ 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="newParser()"><!-- --></A><H3> newParser</H3> <PRE> public <A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A> <B>newParser</B>()</PRE> <DL> <DD>Create a new parser of the same kind <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html#newParser()">newParser</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>a new parser of the same kind as this one</DL> </DD> </DL> <HR> <A NAME="getPermittedFunctions()"><!-- --></A><H3> getPermittedFunctions</H3> <PRE> public int <B>getPermittedFunctions</B>()</PRE> <DL> <DD>Get the permitted set of standard functions in this environment <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html#getPermittedFunctions()">getPermittedFunctions</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>a code indicating which system library functions are supported in this version of the language</DL> </DD> </DL> <HR> <A NAME="parseAnnotations()"><!-- --></A><H3> parseAnnotations</H3> <PRE> protected int <B>parseAnnotations</B>() throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse the annotations that can appear in a variable or function declaration <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html#parseAnnotations()">parseAnnotations</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL> </DD> </DL> <HR> <A NAME="parseLiteralFunctionItem()"><!-- --></A><H3> parseLiteralFunctionItem</H3> <PRE> protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A> <B>parseLiteralFunctionItem</B>() throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse a literal function item (introduced in XQuery 3.0) Syntax: QName # integer The QName and # have already been read <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseLiteralFunctionItem()">parseLiteralFunctionItem</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">ExpressionParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>an ExternalObject representing the function item <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 static error is encountered</DL> </DD> </DL> <HR> <A NAME="parseFunctionItemType()"><!-- --></A><H3> parseFunctionItemType</H3> <PRE> public <A HREF="../../../net/sf/saxon/type/ItemType.html" title="interface in net.sf.saxon.type">ItemType</A> <B>parseFunctionItemType</B>() throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse the item type used for function items (XQuery 3.0 higher order functions) Syntax (changed by WG decision on 2009-09-22): function '(' '*' ') | function '(' (SeqType (',' SeqType)*)? ')' 'as' SeqType The "function(" has already been read <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseFunctionItemType()">parseFunctionItemType</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">ExpressionParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the item type representing a function item <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 static error occurs (including the case where XPath 3.0 syntax is not enabled)</DL> </DD> </DL> <HR> <A NAME="parseFunctionArgument()"><!-- --></A><H3> parseFunctionArgument</H3> <PRE> public <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A> <B>parseFunctionArgument</B>() throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse a function argument. The special marker "?" is allowed and causes "null" to be returned <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseFunctionArgument()">parseFunctionArgument</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">ExpressionParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the Expression used as the argument, or null if the argument is the place-holder "?" <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 the argument expression does not parse correctly</DL> </DD> </DL> <HR> <A NAME="parseMapItemType()"><!-- --></A><H3> parseMapItemType</H3> <PRE> public <A HREF="../../../net/sf/saxon/type/ItemType.html" title="interface in net.sf.saxon.type">ItemType</A> <B>parseMapItemType</B>() throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse the item type used for function items (XPath 3.0) Syntax: map '(' '*' ') | map '(' ItemType ',' SeqType ')' 'as' SeqType For backwards compatibility with Saxon 9.2 we allow the "*" to be omitted for the time being The "function(" has already been read <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseMapItemType()">parseMapItemType</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">ExpressionParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the item type of the map <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 parsing error occurs or if the map syntax is not available</DL> </DD> </DL> <HR> <A NAME="parseParenthesizedItemType()"><!-- --></A><H3> parseParenthesizedItemType</H3> <PRE> protected <A HREF="../../../net/sf/saxon/type/ItemType.html" title="interface in net.sf.saxon.type">ItemType</A> <B>parseParenthesizedItemType</B>() throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse a parenthesized item type (allowed in XQuery 3.0 and XPath 3.0 only) <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseParenthesizedItemType()">parseParenthesizedItemType</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">ExpressionParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the item type <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 syntax error is found</DL> </DD> </DL> <HR> <A NAME="parseDynamicFunctionCall(net.sf.saxon.expr.Expression)"><!-- --></A><H3> parseDynamicFunctionCall</H3> <PRE> protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A> <B>parseDynamicFunctionCall</B>(<A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A> functionItem) throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse a dynamic function call <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseDynamicFunctionCall(net.sf.saxon.expr.Expression)">parseDynamicFunctionCall</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">ExpressionParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>functionItem</CODE> - the expression that determines the function to be called <DT><B>Returns:</B><DD>the expression that results from the parsing <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 static error is found</DL> </DD> </DL> <HR> <A NAME="parseInlineFunction()"><!-- --></A><H3> parseInlineFunction</H3> <PRE> protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A> <B>parseInlineFunction</B>() throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse an inline function "function" "(" ParamList? ")" ("as" SequenceType)? EnclosedExpr On entry, "function (" has already been read <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseInlineFunction()">parseInlineFunction</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">ExpressionParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the parsed inline function <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 syntax error is found</DL> </DD> </DL> <HR> <A NAME="makeCurriedFunction(int, net.sf.saxon.om.StructuredQName, net.sf.saxon.expr.Expression[], net.sf.saxon.expr.sort.IntSet)"><!-- --></A><H3> makeCurriedFunction</H3> <PRE> protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A> <B>makeCurriedFunction</B>(int offset, <A HREF="../../../net/sf/saxon/om/StructuredQName.html" title="class in net.sf.saxon.om">StructuredQName</A> name, <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A>[] args, <A HREF="../../../net/sf/saxon/expr/sort/IntSet.html" title="interface in net.sf.saxon.expr.sort">IntSet</A> placeMarkers) throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Process a function call in which one or more of the argument positions are represented as "?" placemarkers (indicating partial application or currying) <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#makeCurriedFunction(int, net.sf.saxon.om.StructuredQName, net.sf.saxon.expr.Expression[], net.sf.saxon.expr.sort.IntSet)">makeCurriedFunction</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">ExpressionParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>offset</CODE> - <DD><CODE>name</CODE> - the function name (as if there were no currying)<DD><CODE>args</CODE> - the arguments (with EmptySequence in the placemarker positions)<DD><CODE>placeMarkers</CODE> - the positions of the placemarkers @return the curried function <DT><B>Returns:</B><DD>the curried function <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL> </DD> </DL> <HR> <A NAME="parseMapExpression()"><!-- --></A><H3> parseMapExpression</H3> <PRE> protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A> <B>parseMapExpression</B>() throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse a map expression. Requires XPath/XQuery 3.0 Provisional syntax map { expr := expr (, expr := expr )*} } <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseMapExpression()">parseMapExpression</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">ExpressionParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the map expression <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL> </DD> </DL> <HR> <A NAME="findRangeVariable(net.sf.saxon.om.StructuredQName)"><!-- --></A><H3> findRangeVariable</H3> <PRE> protected <A HREF="../../../net/sf/saxon/expr/Binding.html" title="interface in net.sf.saxon.expr">Binding</A> <B>findRangeVariable</B>(<A HREF="../../../net/sf/saxon/om/StructuredQName.html" title="class in net.sf.saxon.om">StructuredQName</A> qName)</PRE> <DL> <DD>Locate a range variable with a given name. (By "range variable", we mean a variable declared within the expression where it is used.) <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#findRangeVariable(net.sf.saxon.om.StructuredQName)">findRangeVariable</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">ExpressionParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>qName</CODE> - identifies the name of the range variable <DT><B>Returns:</B><DD>null if not found (this means the variable is probably a context variable); otherwise the relevant RangeVariable</DL> </DD> </DL> <HR> <A NAME="parseTryCatchExpression()"><!-- --></A><H3> parseTryCatchExpression</H3> <PRE> protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A> <B>parseTryCatchExpression</B>() throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse a Try/Catch Expression. This construct is XQuery-3.0 only. The syntax allows: try { Expr } catch NameTest ('|' NameTest)* { Expr } We don't currently implement the CatchVars <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseTryCatchExpression()">parseTryCatchExpression</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">ExpressionParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the parsed expression; except that this version of the method always throws an exception <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 static error is found</DL> </DD> </DL> <HR> <A NAME="checkForClauseAllowingEmpty(net.sf.saxon.expr.flwor.ForClause)"><!-- --></A><H3> checkForClauseAllowingEmpty</H3> <PRE> protected void <B>checkForClauseAllowingEmpty</B>(<A HREF="../../../net/sf/saxon/expr/flwor/ForClause.html" title="class in net.sf.saxon.expr.flwor">ForClause</A> clause) throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Check a ForClause for an "outer for" <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html#checkForClauseAllowingEmpty(net.sf.saxon.expr.flwor.ForClause)">checkForClauseAllowingEmpty</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>clause</CODE> - the clause to be checked <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 invalid</DL> </DD> </DL> <HR> <A NAME="parseCountClause(java.util.List)"><!-- --></A><H3> parseCountClause</H3> <PRE> protected void <B>parseCountClause</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> clauseList) throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse a LetClause. <p/> [44] LetClause ::= <"let" "$"> VarName TypeDeclaration? ":=" ExprSingle ("," "$" VarName TypeDeclaration? ":=" ExprSingle)* </p> <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html#parseCountClause(java.util.List)">parseCountClause</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>clauseList</CODE> - - the components of the parsed LetClause are appended to the supplied list <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL> </DD> </DL> <HR> <A NAME="parseGroupByClause(java.util.List)"><!-- --></A><H3> parseGroupByClause</H3> <PRE> protected void <B>parseGroupByClause</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../net/sf/saxon/expr/flwor/Clause.html" title="class in net.sf.saxon.expr.flwor">Clause</A>> clauseList) throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse a Group By clause. Handles the full XQuery 3.0 syntax: "group by" ($varname ["collation" URILiteral]) [,...] <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html#parseGroupByClause(java.util.List)">parseGroupByClause</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>clauseList</CODE> - the list of clauses for the expression, to which this clause will be added <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL> </DD> </DL> <HR> <A NAME="parseWindowClause(java.util.List)"><!-- --></A><H3> parseWindowClause</H3> <PRE> protected void <B>parseWindowClause</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../net/sf/saxon/expr/flwor/Clause.html" title="class in net.sf.saxon.expr.flwor">Clause</A>> clauseList) throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse a tumbling or sliding window clause. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html#parseWindowClause(java.util.List)">parseWindowClause</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>clauseList</CODE> - the list of clauses for the expression, to which this clause will be added <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL> </DD> </DL> <HR> <A NAME="parseNamespaceConstructor(int)"><!-- --></A><H3> parseNamespaceConstructor</H3> <PRE> protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A> <B>parseNamespaceConstructor</B>(int offset) throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse a computed namespace constructor of the form namespace {expr}{expr} <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html#parseNamespaceConstructor(int)">parseNamespaceConstructor</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>offset</CODE> - <DT><B>Returns:</B><DD>the compiled Namespace instruction <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL> </DD> </DL> <HR> <A NAME="parseNamedNamespaceConstructor(int)"><!-- --></A><H3> parseNamedNamespaceConstructor</H3> <PRE> protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A> <B>parseNamedNamespaceConstructor</B>(int offset) throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse a namespace node constructor of the form namespace name { expr } <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html#parseNamedNamespaceConstructor(int)">parseNamedNamespaceConstructor</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>offset</CODE> - <DT><B>Returns:</B><DD>the compiled instruction <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL> </DD> </DL> <HR> <A NAME="isNamespaceTestAllowed()"><!-- --></A><H3> isNamespaceTestAllowed</H3> <PRE> protected boolean <B>isNamespaceTestAllowed</B>()</PRE> <DL> <DD>Ask whether the syntax namespace-node() is allowed in a node kind test. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#isNamespaceTestAllowed()">isNamespaceTestAllowed</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">ExpressionParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true (currently allowed only in XQuery 3.0)</DL> </DD> </DL> <HR> <A NAME="parseSwitchExpression()"><!-- --></A><H3> parseSwitchExpression</H3> <PRE> protected <A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A> <B>parseSwitchExpression</B>() throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse a Switch Expression. This construct is XQuery-3.0-only. SwitchExpr ::= "switch" "(" Expr ")" SwitchCaseClause+ "default" "return" ExprSingle SwitchCaseClause ::= ("case" ExprSingle)+ "return" ExprSingle <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html#parseSwitchExpression()">parseSwitchExpression</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/expr/parser/ExpressionParser.html" title="class in net.sf.saxon.expr.parser">ExpressionParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the expression that results from the parsing <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 static error is found</DL> </DD> </DL> <HR> <A NAME="parseContextItemDeclaration()"><!-- --></A><H3> parseContextItemDeclaration</H3> <PRE> protected void <B>parseContextItemDeclaration</B>() throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse a context item declaration. "declare" "context" "item" TypeDeclaration? ((":=" ExprSingle ) | ("external" (":=" ExprSingle )) <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html#parseContextItemDeclaration()">parseContextItemDeclaration</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL> </DD> </DL> <HR> <A NAME="parseDecimalFormatDeclaration()"><!-- --></A><H3> parseDecimalFormatDeclaration</H3> <PRE> protected void <B>parseDecimalFormatDeclaration</B>() throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse a named decimal format declaration. "declare" "decimal-format" QName (property "=" string-literal)* <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html#parseDecimalFormatDeclaration()">parseDecimalFormatDeclaration</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL> </DD> </DL> <HR> <A NAME="parseDefaultDecimalFormat()"><!-- --></A><H3> parseDefaultDecimalFormat</H3> <PRE> protected void <B>parseDefaultDecimalFormat</B>() throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Parse a default decimal format declaration "declare" "default" "decimal-format" (property "=" string-literal)* <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html#parseDefaultDecimalFormat()">parseDefaultDecimalFormat</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></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="../../../com/saxonica/expr/PathFinder.html" title="class in com.saxonica.expr"><B>PREV CLASS</B></A> <A HREF="../../../com/saxonica/expr/QueryLibraryImpl.html" title="class in com.saxonica.expr"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?com/saxonica/expr/Query30Parser.html" target="_top"><B>FRAMES</B></A> <A HREF="Query30Parser.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: <A HREF="#nested_classes_inherited_from_class_net.sf.saxon.expr.parser.ExpressionParser">NESTED</A> | <A HREF="#fields_inherited_from_class_net.sf.saxon.query.QueryParser">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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>