# File lib/html/selector.rb, line 797
797:     def next_selector(statement, values)
798:       second = Selector.new(statement, values)
799:       # If there are alternate selectors, we group them in the top selector.
800:       if alternates = second.instance_variable_get(:@alternates)
801:         second.instance_variable_set(:@alternates, nil)
802:         (@alternates ||= []).concat alternates
803:       end
804:       second
805:     end