public class HasPositionalPredChecker extends XPathVisitor
| Constructor and Description |
|---|
HasPositionalPredChecker() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
check(LocPathIterator path)
Process the LocPathIterator to see if it contains variables or functions that may make it
context dependent.
|
boolean |
visitFunction(Function func)
Visit a function.
|
boolean |
visitPredicate(Expression pred)
Visit a predicate within a location path.
|
visitBinaryOperation, visitLocationPath, visitMatchPattern, visitNumberLiteral, visitStep, visitStringLiteral, visitUnaryOperation, visitUnionPath, visitUnionPatternpublic static boolean check(LocPathIterator path)
path - LocPathIterator that is assumed to be absolute, but needs checking.public boolean visitFunction(Function func)
visitFunction in class XPathVisitorfunc - The function reference object.public boolean visitPredicate(Expression pred)
visitPredicate in class XPathVisitorpred - The predicate object.Copyright © 2022–2025 HtmlUnit. All rights reserved.