This means that "foo[1]" uses this AST:
(predicate (test nil "foo") (int 1))
Instead of this AST:
(test nil "foo" (int 1))
This makes it easier for the XPath evaluator to process predicates correctly.
|
||
|---|---|---|
| .. | ||
| css | ||
| html | ||
| xml | ||
| xpath | ||
| oga_spec.rb | ||