class Nokogiri::CSS::Parser
def xpath_for(string, prefix, visitor)
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
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