public static interface XPathParser.Accelerator
Modifier and Type | Method and 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.
|
Expression parse(Tokenizer t, StaticContext env, java.lang.String expression, int start, int terminator)
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 endCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.