module Nokogiri::CSS::XPathVisitor::BuiltinsConfig
Enum to direct XPathVisitor when to use Nokogiri builtin XPath functions.
Constants
- ALWAYS
Always use
Nokogiribuiltin functions whenever possible. This is probably only useful for testing.- NEVER
Never use
Nokogiribuiltin functions, always generate vanilla XPath 1.0 queries. This is the default when callingNokogiri::CSS.xpath_fordirectly.- OPTIMAL
Only use
Nokogiribuiltin functions when they will be faster than vanilla XPath. This is the behavior chosen when searching forCSSselectors on aNokogiridocument, fragment, or node.