class Nokogiri::CSS::Parser

def xpath_for(string, prefix, visitor)

Get the xpath for +string+ using +options+
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