public class QuickXPathParser extends java.lang.Object implements XPathParser.Accelerator
Constructor and Description |
---|
QuickXPathParser() |
Modifier and Type | Method and Description |
---|---|
Expression |
parse(Tokenizer t,
StaticContext env,
java.lang.String expression,
int start,
int terminator)
Attempt to parse an expression, provided it is very simple.
|
public Expression parse(Tokenizer t, StaticContext env, java.lang.String expression, int start, int terminator)
parse
in interface XPathParser.Accelerator
t
- the tokenizerexpression
- the string containing expression to be parsedstart
- start position within the input stringterminator
- either EOF or RCURLY, indicating how parsing should endenv
- the static contextCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.