class Nokogiri::CSS::Parser
def _reduce_45(val, _values, result)
def _reduce_45(val, _values, result) case val[0] when 'even' result = Node.new(:NTH, ['2','n','+','0']) when 'odd' result = Node.new(:NTH, ['2','n','+','1']) when 'n' result = Node.new(:NTH, ['1','n','+','0']) else result = val end result end