class Nokogiri::CSS::Parser
def xpath_for(string, prefix, visitor)
Experimental RBS support (using type sampling data from the type_fusion
project).
def xpath_for: (String string, String prefix, Nokogiri::CSS::XPathVisitor visitor) -> untyped
This signature was generated using 4 samples from 1 application.
def xpath_for(string, prefix, visitor) key = cache_key(string, prefix, visitor) self.class[key] ||= parse(string).map do |ast| ast.to_xpath(prefix, visitor) end end