nokogiri 1.0.7-x86-mswin32-60 → 1.1.0-x86-mswin32-60

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of nokogiri might be problematic. Click here for more details.

@@ -3,6 +3,7 @@
3
3
  #include <libxslt/xsltInternals.h>
4
4
  #include <libxslt/xsltutils.h>
5
5
  #include <libxslt/transform.h>
6
+ #include <libexslt/exslt.h>
6
7
 
7
8
  static void dealloc(xsltStylesheetPtr doc)
8
9
  {
@@ -22,6 +23,7 @@ static VALUE parse_stylesheet_doc(VALUE klass, VALUE xmldocobj)
22
23
  xmlDocPtr xml ;
23
24
  xsltStylesheetPtr ss ;
24
25
  Data_Get_Struct(xmldocobj, xmlDoc, xml);
26
+ exsltRegisterAll();
25
27
  ss = xsltParseStylesheetDoc(xmlCopyDoc(xml, 1)); /* 1 => recursive */
26
28
  return Data_Wrap_Struct(klass, NULL, dealloc, ss);
27
29
  }
@@ -48,16 +50,15 @@ static VALUE serialize(VALUE self, VALUE xmlobj)
48
50
  xmlFree(doc_ptr);
49
51
  return rval ;
50
52
  }
51
-
52
-
53
53
  /*
54
54
  * call-seq:
55
- * apply_to(document, params)
55
+ * transform(document, params)
56
56
  *
57
57
  * Apply an XSLT stylesheet to an XML::Document.
58
58
  * +params+ is an array of strings used as XSLT parameters.
59
+ * returns Nokogiri::XML::Document
59
60
  */
60
- static VALUE apply_to(int argc, VALUE* argv, VALUE self)
61
+ static VALUE transform(int argc, VALUE* argv, VALUE self)
61
62
  {
62
63
  VALUE xmldoc, paramobj ;
63
64
  xmlDocPtr xml ;
@@ -65,7 +66,6 @@ static VALUE apply_to(int argc, VALUE* argv, VALUE self)
65
66
  xsltStylesheetPtr ss ;
66
67
  const char** params ;
67
68
  int param_len, j ;
68
- VALUE resultobj ;
69
69
 
70
70
  rb_scan_args(argc, argv, "11", &xmldoc, &paramobj);
71
71
  if (paramobj == Qnil) { paramobj = rb_ary_new2(0) ; }
@@ -84,8 +84,22 @@ static VALUE apply_to(int argc, VALUE* argv, VALUE self)
84
84
 
85
85
  result = xsltApplyStylesheet(ss, xml, params);
86
86
  free(params);
87
- resultobj = Nokogiri_wrap_xml_document(0, result) ;
88
- return rb_funcall(self, rb_intern("serialize"), 1, resultobj);
87
+
88
+ return Nokogiri_wrap_xml_document(0, result) ;
89
+ }
90
+
91
+ /*
92
+ * call-seq:
93
+ * apply_to(document, params)
94
+ *
95
+ * Apply an XSLT stylesheet to an XML::Document.
96
+ * +params+ is an array of strings used as XSLT parameters.
97
+ * returns serialized document
98
+ */
99
+ static VALUE apply_to(int argc, VALUE* argv, VALUE self)
100
+ {
101
+ return rb_funcall(self, rb_intern("serialize"), 1,
102
+ transform(argc, argv, self));
89
103
  }
90
104
 
91
105
  VALUE cNokogiriXsltStylesheet ;
@@ -105,4 +119,5 @@ void init_xslt_stylesheet()
105
119
  rb_define_singleton_method(klass, "parse_stylesheet_doc", parse_stylesheet_doc, 1);
106
120
  rb_define_method(klass, "serialize", serialize, 1);
107
121
  rb_define_method(klass, "apply_to", apply_to, -1);
122
+ rb_define_method(klass, "transform", transform, -1);
108
123
  }
data/lib/nokogiri/css.rb CHANGED
@@ -5,6 +5,7 @@ require 'nokogiri/css/generated_tokenizer'
5
5
  require 'nokogiri/css/tokenizer'
6
6
  require 'nokogiri/css/parser'
7
7
  require 'nokogiri/css/syntax_error'
8
+ require 'nokogiri/css/selector_handler'
8
9
 
9
10
  module Nokogiri
10
11
  module CSS
@@ -44,27 +44,29 @@ racc_reduce_table = [
44
44
  3, 55, :_reduce_25,
45
45
  3, 55, :_reduce_26,
46
46
  3, 55, :_reduce_27,
47
+ 4, 59, :_reduce_28,
48
+ 4, 59, :_reduce_29,
47
49
  1, 59, :_reduce_none,
48
50
  1, 59, :_reduce_none,
49
- 4, 60, :_reduce_30,
50
- 3, 60, :_reduce_31,
51
- 2, 60, :_reduce_32,
52
- 1, 60, :_reduce_33,
53
- 2, 61, :_reduce_34,
54
- 2, 61, :_reduce_35,
51
+ 4, 60, :_reduce_32,
52
+ 3, 60, :_reduce_33,
53
+ 2, 60, :_reduce_34,
54
+ 1, 60, :_reduce_35,
55
+ 2, 61, :_reduce_36,
56
+ 2, 61, :_reduce_37,
55
57
  1, 52, :_reduce_none,
56
58
  0, 52, :_reduce_none,
57
- 2, 53, :_reduce_38,
58
- 2, 53, :_reduce_39,
59
59
  2, 53, :_reduce_40,
60
60
  2, 53, :_reduce_41,
61
+ 2, 53, :_reduce_42,
62
+ 2, 53, :_reduce_43,
61
63
  1, 53, :_reduce_none,
62
64
  1, 53, :_reduce_none,
63
65
  1, 53, :_reduce_none,
64
66
  1, 53, :_reduce_none,
65
- 1, 62, :_reduce_46,
66
- 4, 58, :_reduce_47,
67
- 4, 58, :_reduce_48,
67
+ 1, 62, :_reduce_48,
68
+ 4, 58, :_reduce_49,
69
+ 4, 58, :_reduce_50,
68
70
  0, 58, :_reduce_none,
69
71
  1, 63, :_reduce_none,
70
72
  1, 63, :_reduce_none,
@@ -73,96 +75,100 @@ racc_reduce_table = [
73
75
  1, 63, :_reduce_none,
74
76
  1, 63, :_reduce_none,
75
77
  1, 63, :_reduce_none,
76
- 5, 54, :_reduce_57,
78
+ 5, 54, :_reduce_59,
77
79
  1, 64, :_reduce_none,
78
80
  2, 47, :_reduce_none,
79
81
  0, 47, :_reduce_none ]
80
82
 
81
- racc_reduce_n = 61
83
+ racc_reduce_n = 63
82
84
 
83
- racc_shift_n = 99
85
+ racc_shift_n = 105
84
86
 
85
87
  racc_action_table = [
86
- 5, 81, 83, 28, 10, 71, 27, 27, 22, 1,
87
- 55, 5, 31, 24, 5, 29, 81, 83, 10, 43,
88
- 65, 96, 95, 1, 57, 66, 43, 10, 84, 86,
89
- 87, 43, 80, 10, 10, 7, 9, 12, 15, 26,
90
- 10, 18, 79, 84, 86, 87, 7, 80, 10, 7,
91
- 9, 12, 15, 43, 5, 18, 44, 79, 10, 9,
92
- 43, 15, 10, 1, 18, 9, 9, 15, 15, 5,
93
- 18, 18, 9, 43, 15, 51, 43, 18, 49, 44,
94
- 9, 43, 15, 44, 70, 18, 38, 39, 40, 7,
95
- 9, 12, 15, 54, 9, 18, 15, 43, 43, 18,
96
- 43, 43, 32, 78, 7, 52, 15, 89, 43, 91,
97
- 43, 93, 34, 94, 35, 36, 53, 43, 43 ]
88
+ 5, 28, 27, 22, 10, 5, 27, 5, 24, 1,
89
+ 43, 10, 31, 29, 49, 27, 1, 5, 27, 53,
90
+ 54, 31, 87, 89, 31, 59, 67, 87, 89, 54,
91
+ 10, 68, 102, 101, 26, 7, 9, 12, 15, 10,
92
+ 7, 18, 7, 9, 12, 15, 10, 10, 18, 90,
93
+ 92, 93, 7, 86, 90, 92, 93, 5, 86, 43,
94
+ 43, 10, 9, 85, 15, 10, 1, 18, 85, 10,
95
+ 43, 9, 57, 15, 43, 43, 18, 44, 9, 9,
96
+ 15, 15, 56, 18, 18, 38, 39, 40, 43, 43,
97
+ 44, 72, 7, 9, 12, 15, 73, 9, 18, 15,
98
+ 43, 9, 18, 15, 43, 55, 18, 43, 43, 43,
99
+ 52, 34, 82, 35, 36, 51, 44, 43, 32, 95,
100
+ 43, 97, 43, 99, 100, 15, 43, 43 ]
98
101
 
99
102
  racc_action_check = [
100
- 0, 74, 74, 6, 0, 53, 7, 5, 5, 0,
101
- 28, 42, 7, 5, 56, 6, 73, 73, 56, 29,
102
- 42, 92, 92, 56, 30, 42, 34, 14, 74, 74,
103
- 74, 35, 74, 3, 68, 0, 0, 0, 0, 5,
104
- 11, 0, 74, 73, 73, 73, 42, 73, 16, 56,
105
- 56, 56, 56, 36, 37, 56, 17, 73, 37, 14,
106
- 38, 14, 4, 37, 14, 3, 68, 3, 68, 18,
107
- 3, 68, 11, 39, 11, 22, 43, 11, 18, 16,
108
- 16, 44, 16, 46, 51, 16, 13, 13, 13, 37,
109
- 37, 37, 37, 25, 4, 37, 4, 15, 64, 4,
110
- 65, 66, 9, 71, 18, 23, 2, 75, 77, 82,
111
- 85, 88, 13, 90, 13, 13, 24, 95, 96 ]
103
+ 0, 6, 5, 5, 0, 18, 74, 58, 5, 0,
104
+ 38, 58, 74, 6, 18, 7, 58, 42, 75, 24,
105
+ 24, 7, 77, 77, 75, 30, 42, 78, 78, 31,
106
+ 14, 42, 98, 98, 5, 0, 0, 0, 0, 70,
107
+ 18, 0, 58, 58, 58, 58, 16, 11, 58, 77,
108
+ 77, 77, 42, 77, 78, 78, 78, 37, 78, 34,
109
+ 35, 37, 14, 77, 14, 3, 37, 14, 78, 4,
110
+ 36, 70, 28, 70, 29, 39, 70, 16, 16, 11,
111
+ 16, 11, 27, 16, 11, 13, 13, 13, 43, 44,
112
+ 46, 51, 37, 37, 37, 37, 53, 3, 37, 3,
113
+ 54, 4, 3, 4, 56, 25, 4, 66, 67, 68,
114
+ 23, 13, 73, 13, 13, 22, 17, 15, 9, 79,
115
+ 81, 88, 91, 94, 96, 2, 101, 102 ]
112
116
 
113
117
  racc_action_pointer = [
114
- -2, nil, 66, 27, 56, -3, 3, -4, nil, 91,
115
- nil, 34, nil, 79, 21, 88, 42, 19, 67, nil,
116
- nil, nil, 68, 63, 105, 51, nil, nil, 10, 10,
117
- -18, nil, nil, nil, 17, 22, 44, 52, 51, 64,
118
- nil, nil, 9, 67, 72, nil, 46, nil, nil, nil,
119
- nil, 68, nil, -2, nil, nil, 12, nil, nil, nil,
120
- nil, nil, nil, nil, 89, 91, 92, nil, 28, nil,
121
- nil, 87, nil, 13, -2, 66, nil, 99, nil, nil,
122
- nil, nil, 68, nil, nil, 101, nil, nil, 70, nil,
123
- 71, nil, 11, nil, nil, 108, 109, nil, nil ]
118
+ -2, nil, 85, 59, 63, -8, 1, 5, nil, 107,
119
+ nil, 41, nil, 78, 24, 108, 40, 79, 3, nil,
120
+ nil, nil, 108, 68, 8, 63, nil, 70, 72, 65,
121
+ -17, 17, nil, nil, 50, 51, 61, 55, 1, 66,
122
+ nil, nil, 15, 79, 80, nil, 53, nil, nil, nil,
123
+ nil, 75, nil, 89, 91, nil, 95, nil, 5, nil,
124
+ nil, nil, nil, nil, nil, nil, 98, 99, 100, nil,
125
+ 33, nil, nil, 96, -4, 8, nil, 19, 24, 78,
126
+ nil, 111, nil, nil, nil, nil, nil, nil, 80, nil,
127
+ nil, 113, nil, nil, 82, nil, 82, nil, 22, nil,
128
+ nil, 117, 118, nil, nil ]
124
129
 
125
130
  racc_action_default = [
126
- -61, -19, -12, -44, -43, -61, -61, -61, -2, -61,
127
- -46, -45, -20, -17, -42, -60, -37, -15, -61, -13,
128
- -40, -39, -33, -61, -28, -61, -24, -29, -61, -60,
129
- -61, -28, -18, -41, -60, -60, -60, -61, -60, -60,
130
- -6, -38, -61, -60, -60, -9, -36, -11, -14, -35,
131
- -34, -61, -25, -32, -26, 99, -61, -27, -5, -8,
132
- -7, -16, -3, -4, -60, -60, -60, -59, -61, -10,
133
- -31, -61, -1, -49, -49, -61, -58, -60, -30, -50,
134
- -54, -55, -61, -56, -51, -60, -52, -53, -61, -23,
135
- -61, -22, -61, -21, -57, -60, -60, -47, -48 ]
131
+ -63, -19, -12, -46, -45, -63, -63, -63, -2, -63,
132
+ -48, -47, -20, -17, -44, -62, -39, -15, -63, -13,
133
+ -42, -41, -35, -63, -30, -63, -24, -31, -63, -62,
134
+ -63, -30, -18, -43, -62, -62, -62, -63, -62, -62,
135
+ -6, -40, -63, -62, -62, -9, -38, -11, -14, -37,
136
+ -36, -63, -25, -34, -62, -26, -62, 105, -63, -27,
137
+ -5, -8, -7, -16, -3, -4, -62, -62, -62, -61,
138
+ -63, -10, -33, -63, -63, -63, -1, -51, -51, -63,
139
+ -60, -62, -32, -28, -29, -52, -56, -57, -63, -58,
140
+ -53, -62, -54, -55, -63, -23, -63, -22, -63, -21,
141
+ -59, -62, -62, -49, -50 ]
136
142
 
137
143
  racc_goto_table = [
138
- 42, 8, 20, 21, 47, 48, 50, 23, 6, 30,
139
- 33, 82, 88, 41, 56, 46, 19, 45, 37, 58,
140
- 59, 60, 25, 62, 63, 77, nil, nil, 67, 68,
141
- 64, nil, nil, nil, 69, nil, nil, nil, 61, nil,
142
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 73,
143
- 74, 75, nil, nil, nil, nil, nil, 72, nil, nil,
144
- nil, nil, 90, nil, nil, nil, nil, 76, nil, nil,
145
- 92, nil, nil, nil, nil, nil, nil, nil, nil, nil,
146
- 97, 98 ]
144
+ 42, 23, 50, 30, 6, 20, 21, 8, 47, 48,
145
+ 88, 94, 19, 33, 58, 45, 41, 37, 46, 60,
146
+ 61, 62, 25, 64, 65, 81, 66, nil, 69, 70,
147
+ nil, nil, nil, nil, nil, nil, nil, nil, 71, 74,
148
+ nil, 75, nil, nil, 63, nil, nil, nil, nil, nil,
149
+ nil, 77, 78, 79, nil, nil, nil, nil, nil, nil,
150
+ nil, nil, nil, nil, nil, 76, 96, nil, nil, nil,
151
+ 83, 84, 80, nil, nil, nil, 98, nil, nil, nil,
152
+ nil, nil, nil, nil, nil, nil, 103, 104 ]
147
153
 
148
154
  racc_goto_check = [
149
- 2, 3, 8, 8, 9, 9, 10, 14, 1, 14,
150
- 8, 13, 13, 8, 2, 8, 11, 7, 4, 2,
151
- 2, 2, 15, 2, 2, 19, nil, nil, 2, 2,
152
- 10, nil, nil, nil, 9, nil, nil, nil, 3, nil,
153
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 2,
154
- 2, 2, nil, nil, nil, nil, nil, 3, nil, nil,
155
- nil, nil, 2, nil, nil, nil, nil, 8, nil, nil,
156
- 2, nil, nil, nil, nil, nil, nil, nil, nil, nil,
157
- 2, 2 ]
155
+ 2, 14, 10, 14, 1, 8, 8, 3, 9, 9,
156
+ 13, 13, 11, 8, 2, 7, 8, 4, 8, 2,
157
+ 2, 2, 15, 2, 2, 19, 10, nil, 2, 2,
158
+ nil, nil, nil, nil, nil, nil, nil, nil, 9, 2,
159
+ nil, 2, nil, nil, 3, nil, nil, nil, nil, nil,
160
+ nil, 2, 2, 2, nil, nil, nil, nil, nil, nil,
161
+ nil, nil, nil, nil, nil, 3, 2, nil, nil, nil,
162
+ 14, 14, 8, nil, nil, nil, 2, nil, nil, nil,
163
+ nil, nil, nil, nil, nil, nil, 2, 2 ]
158
164
 
159
165
  racc_goto_pointer = [
160
- nil, 8, -15, 1, 5, nil, nil, 1, -1, -12,
161
- -12, 14, nil, -62, 2, 17, nil, nil, nil, -43 ]
166
+ nil, 4, -15, 7, 4, nil, nil, -1, 2, -8,
167
+ -16, 10, nil, -67, -4, 17, nil, nil, nil, -45 ]
162
168
 
163
169
  racc_goto_default = [
164
170
  nil, nil, nil, nil, nil, 13, 16, nil, 17, nil,
165
- 2, 3, 4, nil, nil, nil, 11, 14, 85, nil ]
171
+ 2, 3, 4, nil, nil, nil, 11, 14, 91, nil ]
166
172
 
167
173
  racc_token_table = {
168
174
  false => 0,
@@ -506,12 +512,26 @@ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 104
506
512
  end
507
513
  .,.,
508
514
 
509
- # reduce 28 omitted
515
+ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 106
516
+ def _reduce_28( val, _values, result )
517
+ result = [val.first, val.last]
518
+ result
519
+ end
520
+ .,.,
510
521
 
511
- # reduce 29 omitted
522
+ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 107
523
+ def _reduce_29( val, _values, result )
524
+ result = [val.first, val.last]
525
+ result
526
+ end
527
+ .,.,
528
+
529
+ # reduce 30 omitted
512
530
 
513
- module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 118
514
- def _reduce_30( val, _values, result )
531
+ # reduce 31 omitted
532
+
533
+ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 120
534
+ def _reduce_32( val, _values, result )
515
535
  if val[1] == 'n'
516
536
  result = Node.new(:AN_PLUS_B, val)
517
537
  else
@@ -521,8 +541,8 @@ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 118
521
541
  end
522
542
  .,.,
523
543
 
524
- module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 129
525
- def _reduce_31( val, _values, result )
544
+ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 131
545
+ def _reduce_33( val, _values, result )
526
546
  # n+3, -n+3
527
547
  if val[0] == 'n'
528
548
  val.unshift("1")
@@ -538,8 +558,8 @@ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 129
538
558
  end
539
559
  .,.,
540
560
 
541
- module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 140
542
- def _reduce_32( val, _values, result )
561
+ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 142
562
+ def _reduce_34( val, _values, result )
543
563
  if val[1] == 'n'
544
564
  val << "+"
545
565
  val << "0"
@@ -551,8 +571,8 @@ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 140
551
571
  end
552
572
  .,.,
553
573
 
554
- module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 152
555
- def _reduce_33( val, _values, result )
574
+ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 154
575
+ def _reduce_35( val, _values, result )
556
576
  if val[0] == 'even'
557
577
  val = ["2","n","+","0"]
558
578
  result = Node.new(:AN_PLUS_B, val)
@@ -566,85 +586,81 @@ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 152
566
586
  end
567
587
  .,.,
568
588
 
569
- module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 157
570
- def _reduce_34( val, _values, result )
589
+ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 159
590
+ def _reduce_36( val, _values, result )
571
591
  result = Node.new(:PSEUDO_CLASS, [val[1]])
572
592
  result
573
593
  end
574
594
  .,.,
575
595
 
576
- module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 157
577
- def _reduce_35( val, _values, result )
596
+ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 159
597
+ def _reduce_37( val, _values, result )
578
598
  result = Node.new(:PSEUDO_CLASS, [val[1]])
579
599
  result
580
600
  end
581
601
  .,.,
582
602
 
583
- # reduce 36 omitted
603
+ # reduce 38 omitted
584
604
 
585
- # reduce 37 omitted
605
+ # reduce 39 omitted
586
606
 
587
- module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 167
588
- def _reduce_38( val, _values, result )
607
+ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 169
608
+ def _reduce_40( val, _values, result )
589
609
  result = Node.new(:COMBINATOR, val)
590
610
  result
591
611
  end
592
612
  .,.,
593
613
 
594
- module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 170
595
- def _reduce_39( val, _values, result )
614
+ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 172
615
+ def _reduce_41( val, _values, result )
596
616
  result = Node.new(:COMBINATOR, val)
597
617
  result
598
618
  end
599
619
  .,.,
600
620
 
601
- module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 173
602
- def _reduce_40( val, _values, result )
621
+ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 175
622
+ def _reduce_42( val, _values, result )
603
623
  result = Node.new(:COMBINATOR, val)
604
624
  result
605
625
  end
606
626
  .,.,
607
627
 
608
- module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 176
609
- def _reduce_41( val, _values, result )
628
+ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 178
629
+ def _reduce_43( val, _values, result )
610
630
  result = Node.new(:COMBINATOR, val)
611
631
  result
612
632
  end
613
633
  .,.,
614
634
 
615
- # reduce 42 omitted
616
-
617
- # reduce 43 omitted
618
-
619
635
  # reduce 44 omitted
620
636
 
621
637
  # reduce 45 omitted
622
638
 
623
- module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 182
624
- def _reduce_46( val, _values, result )
639
+ # reduce 46 omitted
640
+
641
+ # reduce 47 omitted
642
+
643
+ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 184
644
+ def _reduce_48( val, _values, result )
625
645
  result = Node.new(:ID, val)
626
646
  result
627
647
  end
628
648
  .,.,
629
649
 
630
- module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 185
631
- def _reduce_47( val, _values, result )
650
+ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 187
651
+ def _reduce_49( val, _values, result )
632
652
  result = [val.first, val[2]]
633
653
  result
634
654
  end
635
655
  .,.,
636
656
 
637
- module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 186
638
- def _reduce_48( val, _values, result )
657
+ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 188
658
+ def _reduce_50( val, _values, result )
639
659
  result = [val.first, val[2]]
640
660
  result
641
661
  end
642
662
  .,.,
643
663
 
644
- # reduce 49 omitted
645
-
646
- # reduce 50 omitted
647
-
648
664
  # reduce 51 omitted
649
665
 
650
666
  # reduce 52 omitted
@@ -657,18 +673,22 @@ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 186
657
673
 
658
674
  # reduce 56 omitted
659
675
 
660
- module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 202
661
- def _reduce_57( val, _values, result )
676
+ # reduce 57 omitted
677
+
678
+ # reduce 58 omitted
679
+
680
+ module_eval <<'.,.,', 'lib/nokogiri/css/parser.y', 204
681
+ def _reduce_59( val, _values, result )
662
682
  result = Node.new(:NOT, [val[2]])
663
683
  result
664
684
  end
665
685
  .,.,
666
686
 
667
- # reduce 58 omitted
687
+ # reduce 60 omitted
668
688
 
669
- # reduce 59 omitted
689
+ # reduce 61 omitted
670
690
 
671
- # reduce 60 omitted
691
+ # reduce 62 omitted
672
692
 
673
693
  def _reduce_none( val, _values, result )
674
694
  result