public class SaxonSyntaxExtension extends ParserExtension
Modifier and Type | Class and Description |
---|---|
static class |
SaxonSyntaxExtension.UnderscoreFunctionDetails |
ParserExtension.InlineFunctionDetails, ParserExtension.TemporaryXSLTVariableBinding
inlineFunctionStack
Constructor and Description |
---|
SaxonSyntaxExtension() |
Modifier and Type | Method and Description |
---|---|
Expression |
bindNumericParameterReference(XPathParser p) |
void |
handleExternalFunctionDeclaration(XQueryParser p,
XQueryFunction func) |
Expression |
parseDotFunction(XPathParser p) |
ItemType |
parseExtendedItemType(XPathParser p)
Parse an ItemType within a SequenceType
|
protected Expression |
parseForMemberExpression(XPathParser p)
Parse a for-member expression (Saxon extension):
for member $x in expr return expr
|
Expression |
parseTypePattern(XPathParser p)
Parse an extended XSLT pattern in the form item-type (predicate)* (but excluding the
predicates)
|
Expression |
parseUnderscoreFunction(XPathParser p)
Saxon extension: inline functions of the form
_{$1 + $2} |
ItemType |
parseUnionType(XPathParser p)
Parse a union type (Saxon 9.8 extension).
|
createDynamicCurriedFunction, curryFunction, findOuterRangeVariable, findOuterRangeVariable, makeArgumentPlaceMarker, makeCurriedFunction, makeInlineFunctionValue, parseExtendedExprSingle, parseFunctionItemType, parseInlineFunction, parseNamedFunctionReference, parseRevalidationDeclaration, parseTypeAliasDeclaration, parseUpdatingFunctionDeclaration
public ItemType parseExtendedItemType(XPathParser p) throws XPathException
parseExtendedItemType
in class ParserExtension
XPathException
- if a static error is foundpublic Expression parseTypePattern(XPathParser p) throws XPathException
parseTypePattern
in class ParserExtension
XPathException
public ItemType parseUnionType(XPathParser p) throws XPathException
XPathException
public Expression parseDotFunction(XPathParser p) throws XPathException
parseDotFunction
in class ParserExtension
XPathException
public Expression parseUnderscoreFunction(XPathParser p) throws XPathException
_{$1 + $2}
parseUnderscoreFunction
in class ParserExtension
p
- the XPath parserXPathException
- if syntax is incorrectpublic Expression bindNumericParameterReference(XPathParser p) throws XPathException
bindNumericParameterReference
in class ParserExtension
XPathException
public void handleExternalFunctionDeclaration(XQueryParser p, XQueryFunction func) throws XPathException
handleExternalFunctionDeclaration
in class ParserExtension
XPathException
protected Expression parseForMemberExpression(XPathParser p) throws XPathException
parseForMemberExpression
in class ParserExtension
XPathException
- if any error is encounteredCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.