module Nokogiri::CSS::XPathVisitor::BuiltinsConfig
Enum to direct XPathVisitor
when to use Nokogiri
builtin XPath functions.
Constants
- ALWAYS
-
Always use
Nokogiri
builtin functions whenever possible. This is probably only useful for testing. - NEVER
-
Never use
Nokogiri
builtin functions, always generate vanilla XPath 1.0 queries. This is the default when callingNokogiri::CSS.xpath_for
directly. - OPTIMAL
-
Only use
Nokogiri
builtin functions when they will be faster than vanilla XPath. This is the behavior chosen when searching forCSS
selectors on aNokogiri
document, fragment, or node.
© 2008–2018 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo,
Patrick Mahoney, Yoko Harada, Akinori MUSHA, John Shahid, Lars Kanis
Licensed under the MIT License.
https://nokogiri.org/rdoc/Nokogiri/CSS/XPathVisitor/BuiltinsConfig.html