Package net.sf.saxon.expr.parser
Interface XPathParser.Accelerator
-
- All Known Implementing Classes:
QuickXPathParser
- Enclosing class:
- XPathParser
public static interface XPathParser.Accelerator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Expression
parse(Tokenizer t, StaticContext env, java.lang.String expression, int start, int terminator)
Attempt fast parsing of an expression, provided it is sufficiently simple.
-
-
-
Method Detail
-
parse
Expression parse(Tokenizer t, StaticContext env, java.lang.String expression, int start, int terminator)
Attempt fast parsing of an expression, provided it is sufficiently simple.- Parameters:
t
- the tokenizerenv
- the static contextexpression
- the string containing expression to be parsedstart
- start position within the input stringterminator
- either EOF or RCURLY, indicating how parsing should end- Returns:
- either the parsed expression, or null if it is erroneous or too complex to parse.
-
-