searchcraft 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gem_rbs_collection/actionpack/6.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/actionpack/6.0/actioncontroller.rbs +127 -0
- data/.gem_rbs_collection/actionpack/6.0/actionpack-generated.rbs +12094 -0
- data/.gem_rbs_collection/actionpack/6.0/patch.rbs +93 -0
- data/.gem_rbs_collection/actionview/6.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/actionview/6.0/actionview-generated.rbs +10768 -0
- data/.gem_rbs_collection/actionview/6.0/patch.rbs +64 -0
- data/.gem_rbs_collection/activemodel/7.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/activemodel/7.0/activemodel-7.0.rbs +1 -0
- data/.gem_rbs_collection/activemodel/7.0/activemodel-generated.rbs +4319 -0
- data/.gem_rbs_collection/activemodel/7.0/manifest.yaml +12 -0
- data/.gem_rbs_collection/activemodel/7.0/patch.rbs +20 -0
- data/.gem_rbs_collection/activerecord/7.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/activerecord/7.0/activerecord-7.0.rbs +21 -0
- data/.gem_rbs_collection/activerecord/7.0/activerecord-generated.rbs +24943 -0
- data/.gem_rbs_collection/activerecord/7.0/activerecord.rbs +563 -0
- data/.gem_rbs_collection/activerecord/7.0/manifest.yaml +12 -0
- data/.gem_rbs_collection/activerecord/7.0/patch.rbs +41 -0
- data/.gem_rbs_collection/activerecord/7.0/railties.rbs +120 -0
- data/.gem_rbs_collection/activesupport/7.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/activesupport/7.0/activesupport-7.0.rbs +51 -0
- data/.gem_rbs_collection/activesupport/7.0/activesupport-generated.rbs +12672 -0
- data/.gem_rbs_collection/activesupport/7.0/activesupport.rbs +237 -0
- data/.gem_rbs_collection/activesupport/7.0/manifest.yaml +14 -0
- data/.gem_rbs_collection/activesupport/7.0/patch.rbs +89 -0
- data/.gem_rbs_collection/ast/2.4/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/ast/2.4/ast.rbs +73 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/executor.rbs +26 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/promises.rbs +249 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/utility/processor_counter.rbs +5 -0
- data/.gem_rbs_collection/i18n/1.10/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/i18n/1.10/backend.rbs +269 -0
- data/.gem_rbs_collection/i18n/1.10/i18n.rbs +117 -0
- data/.gem_rbs_collection/listen/3.2/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/listen/3.2/listen.rbs +25 -0
- data/.gem_rbs_collection/listen/3.2/listener.rbs +24 -0
- data/.gem_rbs_collection/nokogiri/1.11/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/nokogiri/1.11/nokogiri.rbs +2332 -0
- data/.gem_rbs_collection/nokogiri/1.11/patch.rbs +4 -0
- data/.gem_rbs_collection/rack/2.2/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rack/2.2/manifest.yaml +3 -0
- data/.gem_rbs_collection/rack/2.2/rack.rbs +1433 -0
- data/.gem_rbs_collection/rails-dom-testing/2.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rails-dom-testing/2.0/rails-dom-testing.rbs +55 -0
- data/.gem_rbs_collection/railties/6.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/railties/6.0/manifest.yaml +2 -0
- data/.gem_rbs_collection/railties/6.0/patch.rbs +56 -0
- data/.gem_rbs_collection/railties/6.0/railties-generated.rbs +4858 -0
- data/.gem_rbs_collection/rainbow/3.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rainbow/3.0/global.rbs +7 -0
- data/.gem_rbs_collection/rainbow/3.0/presenter.rbs +209 -0
- data/.gem_rbs_collection/rainbow/3.0/rainbow.rbs +5 -0
- data/.gem_rbs_collection/rake/13.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rake/13.0/manifest.yaml +2 -0
- data/.gem_rbs_collection/rake/13.0/rake.rbs +28 -0
- data/.gem_rbs_collection/thor/1.2/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/thor/1.2/manifest.yaml +7 -0
- data/.gem_rbs_collection/thor/1.2/thor.rbs +15 -0
- data/.overcommit.yml +10 -27
- data/.standard.yml +1 -1
- data/CHANGELOG.md +18 -3
- data/README.md +85 -1
- data/lib/searchcraft/annotate.rb +0 -2
- data/lib/searchcraft/builder.rb +5 -2
- data/lib/searchcraft/configuration.rb +19 -0
- data/lib/searchcraft/depends_on.rb +5 -12
- data/lib/searchcraft/dump_schema.rb +0 -2
- data/lib/searchcraft/model.rb +34 -32
- data/lib/searchcraft/text_search.rb +31 -0
- data/lib/searchcraft/version.rb +1 -1
- data/lib/searchcraft/view_hash_store.rb +2 -1
- data/lib/searchcraft.rb +2 -1
- data/rbs_collection.lock.yaml +174 -0
- data/rbs_collection.yaml +21 -0
- data/sig/ext/misc.rbs +33 -0
- data/sig/manifest.yaml +5 -0
- data/sig/searchcraft/annotate.rbs +7 -0
- data/sig/searchcraft/builder.rbs +58 -0
- data/sig/searchcraft/configuration.rbs +31 -0
- data/sig/searchcraft/depends_on.rbs +17 -0
- data/sig/searchcraft/dump_schema.rbs +5 -0
- data/sig/searchcraft/model.rbs +19 -0
- data/sig/searchcraft/railtie.rbs +5 -0
- data/sig/searchcraft/text_search.rbs +11 -0
- data/sig/searchcraft/view_hash_store.rbs +17 -0
- data/sig/searchcraft.rbs +17 -1
- metadata +86 -14
- data/Rakefile +0 -14
@@ -0,0 +1,2332 @@
|
|
1
|
+
class Object
|
2
|
+
def Nokogiri: (untyped string, ?untyped url, ?untyped encoding, ?untyped options) -> (Nokogiri::HTML::Document | Nokogiri::XML::Document)
|
3
|
+
| () { (Nokogiri::HTML::Builder) -> untyped } -> Nokogiri::XML::Node
|
4
|
+
end
|
5
|
+
|
6
|
+
module Nokogiri
|
7
|
+
def self.HTML: (untyped thing, ?untyped url, ?untyped encoding, ?untyped options) ?{ (*untyped) -> untyped } -> HTML::Document
|
8
|
+
|
9
|
+
def self.Slop: (*untyped args) { (*untyped) -> untyped } -> (XML::Document & Nokogiri::Decorators::Slop)
|
10
|
+
|
11
|
+
def self.XML: (untyped thing, ?untyped url, ?untyped encoding, ?untyped options) ?{ (*untyped) -> untyped } -> XML::Document
|
12
|
+
|
13
|
+
def self.XSLT: (untyped stylesheet, ?untyped modules) -> untyped
|
14
|
+
|
15
|
+
def self.install_default_aliases: () -> untyped
|
16
|
+
|
17
|
+
def self.jruby?: () -> boolish
|
18
|
+
|
19
|
+
def self.make: (?untyped input, ?untyped opts) { (*untyped) -> untyped } -> untyped
|
20
|
+
|
21
|
+
def self.parse: (untyped string, ?untyped url, ?untyped encoding, ?untyped options) -> (Nokogiri::HTML::Document | Nokogiri::XML::Document)
|
22
|
+
|
23
|
+
def self.uses_libxml?: () -> boolish
|
24
|
+
end
|
25
|
+
|
26
|
+
Nokogiri::LIBXML_ICONV_ENABLED: bool
|
27
|
+
|
28
|
+
Nokogiri::LIBXML_PARSER_VERSION: String
|
29
|
+
|
30
|
+
Nokogiri::LIBXML_VERSION: String
|
31
|
+
|
32
|
+
Nokogiri::NOKOGIRI_LIBXML2_PATCHES: Array[untyped]
|
33
|
+
|
34
|
+
Nokogiri::NOKOGIRI_LIBXML2_PATH: String
|
35
|
+
|
36
|
+
Nokogiri::NOKOGIRI_LIBXSLT_PATCHES: Array[untyped]
|
37
|
+
|
38
|
+
Nokogiri::NOKOGIRI_LIBXSLT_PATH: String
|
39
|
+
|
40
|
+
Nokogiri::NOKOGIRI_USE_PACKAGED_LIBRARIES: bool
|
41
|
+
|
42
|
+
Nokogiri::VERSION: String
|
43
|
+
|
44
|
+
Nokogiri::VERSION_INFO: Hash[untyped, untyped]
|
45
|
+
|
46
|
+
module Nokogiri::CSS
|
47
|
+
def self.parse: (untyped selector) -> untyped
|
48
|
+
|
49
|
+
def self.xpath_for: (untyped selector, ?untyped options) -> untyped
|
50
|
+
end
|
51
|
+
|
52
|
+
class Nokogiri::CSS::Node
|
53
|
+
public
|
54
|
+
|
55
|
+
def accept: (untyped visitor) -> untyped
|
56
|
+
|
57
|
+
def find_by_type: (untyped types) -> untyped
|
58
|
+
|
59
|
+
def to_a: () -> untyped
|
60
|
+
|
61
|
+
def to_type: () -> untyped
|
62
|
+
|
63
|
+
def to_xpath: (?untyped prefix, ?untyped visitor) -> untyped
|
64
|
+
|
65
|
+
def type: () -> untyped
|
66
|
+
|
67
|
+
def type=: (untyped) -> untyped
|
68
|
+
|
69
|
+
def value: () -> untyped
|
70
|
+
|
71
|
+
def value=: (untyped) -> untyped
|
72
|
+
|
73
|
+
private
|
74
|
+
|
75
|
+
def initialize: (untyped `type`, untyped value) -> untyped
|
76
|
+
end
|
77
|
+
|
78
|
+
Nokogiri::CSS::Node::ALLOW_COMBINATOR_ON_SELF: Array[untyped]
|
79
|
+
|
80
|
+
class Nokogiri::CSS::Parser < Racc::Parser
|
81
|
+
def self.[]: (untyped string) -> untyped
|
82
|
+
|
83
|
+
def self.[]=: (untyped string, untyped value) -> untyped
|
84
|
+
|
85
|
+
def self.cache_on: () -> untyped
|
86
|
+
|
87
|
+
def self.cache_on=: (untyped) -> untyped
|
88
|
+
|
89
|
+
alias self.cache_on? self.cache_on
|
90
|
+
|
91
|
+
def self.clear_cache: () -> untyped
|
92
|
+
|
93
|
+
def self.parse: (untyped selector) -> untyped
|
94
|
+
|
95
|
+
alias self.set_cache self.cache_on=
|
96
|
+
|
97
|
+
def self.without_cache: () { (*untyped) -> untyped } -> untyped
|
98
|
+
|
99
|
+
public
|
100
|
+
|
101
|
+
def _reduce_1: (untyped val, untyped _values, untyped result) -> untyped
|
102
|
+
|
103
|
+
def _reduce_11: (untyped val, untyped _values, untyped result) -> untyped
|
104
|
+
|
105
|
+
def _reduce_12: (untyped val, untyped _values, untyped result) -> untyped
|
106
|
+
|
107
|
+
def _reduce_13: (untyped val, untyped _values, untyped result) -> untyped
|
108
|
+
|
109
|
+
def _reduce_14: (untyped val, untyped _values, untyped result) -> untyped
|
110
|
+
|
111
|
+
def _reduce_15: (untyped val, untyped _values, untyped result) -> untyped
|
112
|
+
|
113
|
+
def _reduce_16: (untyped val, untyped _values, untyped result) -> untyped
|
114
|
+
|
115
|
+
def _reduce_18: (untyped val, untyped _values, untyped result) -> untyped
|
116
|
+
|
117
|
+
def _reduce_2: (untyped val, untyped _values, untyped result) -> untyped
|
118
|
+
|
119
|
+
def _reduce_20: (untyped val, untyped _values, untyped result) -> untyped
|
120
|
+
|
121
|
+
def _reduce_21: (untyped val, untyped _values, untyped result) -> untyped
|
122
|
+
|
123
|
+
def _reduce_22: (untyped val, untyped _values, untyped result) -> untyped
|
124
|
+
|
125
|
+
def _reduce_23: (untyped val, untyped _values, untyped result) -> untyped
|
126
|
+
|
127
|
+
def _reduce_25: (untyped val, untyped _values, untyped result) -> untyped
|
128
|
+
|
129
|
+
def _reduce_26: (untyped val, untyped _values, untyped result) -> untyped
|
130
|
+
|
131
|
+
def _reduce_27: (untyped val, untyped _values, untyped result) -> untyped
|
132
|
+
|
133
|
+
def _reduce_28: (untyped val, untyped _values, untyped result) -> untyped
|
134
|
+
|
135
|
+
def _reduce_29: (untyped val, untyped _values, untyped result) -> untyped
|
136
|
+
|
137
|
+
def _reduce_3: (untyped val, untyped _values, untyped result) -> untyped
|
138
|
+
|
139
|
+
def _reduce_30: (untyped val, untyped _values, untyped result) -> untyped
|
140
|
+
|
141
|
+
def _reduce_31: (untyped val, untyped _values, untyped result) -> untyped
|
142
|
+
|
143
|
+
def _reduce_32: (untyped val, untyped _values, untyped result) -> untyped
|
144
|
+
|
145
|
+
def _reduce_33: (untyped val, untyped _values, untyped result) -> untyped
|
146
|
+
|
147
|
+
def _reduce_34: (untyped val, untyped _values, untyped result) -> untyped
|
148
|
+
|
149
|
+
def _reduce_35: (untyped val, untyped _values, untyped result) -> untyped
|
150
|
+
|
151
|
+
def _reduce_36: (untyped val, untyped _values, untyped result) -> untyped
|
152
|
+
|
153
|
+
def _reduce_37: (untyped val, untyped _values, untyped result) -> untyped
|
154
|
+
|
155
|
+
def _reduce_4: (untyped val, untyped _values, untyped result) -> untyped
|
156
|
+
|
157
|
+
def _reduce_40: (untyped val, untyped _values, untyped result) -> untyped
|
158
|
+
|
159
|
+
def _reduce_41: (untyped val, untyped _values, untyped result) -> untyped
|
160
|
+
|
161
|
+
def _reduce_42: (untyped val, untyped _values, untyped result) -> untyped
|
162
|
+
|
163
|
+
def _reduce_43: (untyped val, untyped _values, untyped result) -> untyped
|
164
|
+
|
165
|
+
def _reduce_44: (untyped val, untyped _values, untyped result) -> untyped
|
166
|
+
|
167
|
+
def _reduce_45: (untyped val, untyped _values, untyped result) -> untyped
|
168
|
+
|
169
|
+
def _reduce_48: (untyped val, untyped _values, untyped result) -> untyped
|
170
|
+
|
171
|
+
def _reduce_49: (untyped val, untyped _values, untyped result) -> untyped
|
172
|
+
|
173
|
+
def _reduce_5: (untyped val, untyped _values, untyped result) -> untyped
|
174
|
+
|
175
|
+
def _reduce_50: (untyped val, untyped _values, untyped result) -> untyped
|
176
|
+
|
177
|
+
def _reduce_51: (untyped val, untyped _values, untyped result) -> untyped
|
178
|
+
|
179
|
+
def _reduce_52: (untyped val, untyped _values, untyped result) -> untyped
|
180
|
+
|
181
|
+
def _reduce_58: (untyped val, untyped _values, untyped result) -> untyped
|
182
|
+
|
183
|
+
def _reduce_59: (untyped val, untyped _values, untyped result) -> untyped
|
184
|
+
|
185
|
+
def _reduce_6: (untyped val, untyped _values, untyped result) -> untyped
|
186
|
+
|
187
|
+
def _reduce_60: (untyped val, untyped _values, untyped result) -> untyped
|
188
|
+
|
189
|
+
def _reduce_61: (untyped val, untyped _values, untyped result) -> untyped
|
190
|
+
|
191
|
+
def _reduce_63: (untyped val, untyped _values, untyped result) -> untyped
|
192
|
+
|
193
|
+
def _reduce_64: (untyped val, untyped _values, untyped result) -> untyped
|
194
|
+
|
195
|
+
def _reduce_65: (untyped val, untyped _values, untyped result) -> untyped
|
196
|
+
|
197
|
+
def _reduce_66: (untyped val, untyped _values, untyped result) -> untyped
|
198
|
+
|
199
|
+
def _reduce_67: (untyped val, untyped _values, untyped result) -> untyped
|
200
|
+
|
201
|
+
def _reduce_68: (untyped val, untyped _values, untyped result) -> untyped
|
202
|
+
|
203
|
+
def _reduce_69: (untyped val, untyped _values, untyped result) -> untyped
|
204
|
+
|
205
|
+
def _reduce_7: (untyped val, untyped _values, untyped result) -> untyped
|
206
|
+
|
207
|
+
def _reduce_70: (untyped val, untyped _values, untyped result) -> untyped
|
208
|
+
|
209
|
+
def _reduce_8: (untyped val, untyped _values, untyped result) -> untyped
|
210
|
+
|
211
|
+
def _reduce_9: (untyped val, untyped _values, untyped result) -> untyped
|
212
|
+
|
213
|
+
def _reduce_none: (untyped val, untyped _values, untyped result) -> untyped
|
214
|
+
|
215
|
+
def next_token: () -> untyped
|
216
|
+
|
217
|
+
def on_error: (untyped error_token_id, untyped error_value, untyped value_stack) -> untyped
|
218
|
+
|
219
|
+
def parse: (untyped string) -> untyped
|
220
|
+
|
221
|
+
def unescape_css_identifier: (untyped identifier) -> untyped
|
222
|
+
|
223
|
+
def unescape_css_string: (untyped str) -> untyped
|
224
|
+
|
225
|
+
def xpath_for: (untyped string, ?untyped options) -> untyped
|
226
|
+
|
227
|
+
private
|
228
|
+
|
229
|
+
def initialize: (?untyped namespaces) -> untyped
|
230
|
+
end
|
231
|
+
|
232
|
+
Nokogiri::CSS::Parser::Racc_arg: Array[untyped]
|
233
|
+
|
234
|
+
Nokogiri::CSS::Parser::Racc_debug_parser: bool
|
235
|
+
|
236
|
+
Nokogiri::CSS::Parser::Racc_token_to_s_table: Array[untyped]
|
237
|
+
|
238
|
+
class Nokogiri::CSS::SyntaxError < Nokogiri::SyntaxError
|
239
|
+
end
|
240
|
+
|
241
|
+
class Nokogiri::CSS::Tokenizer
|
242
|
+
public
|
243
|
+
|
244
|
+
def _next_token: () -> untyped
|
245
|
+
|
246
|
+
def action: () -> untyped
|
247
|
+
|
248
|
+
def filename: () -> untyped
|
249
|
+
|
250
|
+
def lineno: () -> untyped
|
251
|
+
|
252
|
+
def load_file: (untyped filename) -> untyped
|
253
|
+
|
254
|
+
def next_token: () -> untyped
|
255
|
+
|
256
|
+
alias scan scan_str
|
257
|
+
|
258
|
+
def scan_file: (untyped filename) -> untyped
|
259
|
+
|
260
|
+
def scan_setup: (untyped str) -> untyped
|
261
|
+
|
262
|
+
def scan_str: (untyped str) -> untyped
|
263
|
+
|
264
|
+
def state: () -> untyped
|
265
|
+
|
266
|
+
def state=: (untyped) -> untyped
|
267
|
+
end
|
268
|
+
|
269
|
+
class Nokogiri::CSS::Tokenizer::ScanError < StandardError
|
270
|
+
end
|
271
|
+
|
272
|
+
class Nokogiri::CSS::XPathVisitor
|
273
|
+
public
|
274
|
+
|
275
|
+
def accept: (untyped node) -> untyped
|
276
|
+
|
277
|
+
def visit_attribute_condition: (untyped node) -> untyped
|
278
|
+
|
279
|
+
def visit_child_selector: (untyped node) -> untyped
|
280
|
+
|
281
|
+
def visit_class_condition: (untyped node) -> untyped
|
282
|
+
|
283
|
+
def visit_combinator: (untyped node) -> untyped
|
284
|
+
|
285
|
+
def visit_conditional_selector: (untyped node) -> untyped
|
286
|
+
|
287
|
+
def visit_descendant_selector: (untyped node) -> untyped
|
288
|
+
|
289
|
+
def visit_direct_adjacent_selector: (untyped node) -> untyped
|
290
|
+
|
291
|
+
def visit_element_name: (untyped node) -> untyped
|
292
|
+
|
293
|
+
def visit_following_selector: (untyped node) -> untyped
|
294
|
+
|
295
|
+
def visit_function: (untyped node) -> untyped
|
296
|
+
|
297
|
+
def visit_id: (untyped node) -> untyped
|
298
|
+
|
299
|
+
def visit_not: (untyped node) -> untyped
|
300
|
+
|
301
|
+
def visit_pseudo_class: (untyped node) -> untyped
|
302
|
+
|
303
|
+
private
|
304
|
+
|
305
|
+
def is_of_type_pseudo_class?: (untyped node) -> untyped
|
306
|
+
|
307
|
+
def nth: (untyped node, ?untyped options) -> untyped
|
308
|
+
|
309
|
+
def read_a_and_positive_b: (untyped values) -> untyped
|
310
|
+
end
|
311
|
+
|
312
|
+
module Nokogiri::Decorators
|
313
|
+
end
|
314
|
+
|
315
|
+
module Nokogiri::Decorators::Slop
|
316
|
+
public
|
317
|
+
|
318
|
+
def method_missing: (untyped name, *untyped args) { (*untyped) -> untyped } -> untyped
|
319
|
+
|
320
|
+
private
|
321
|
+
|
322
|
+
def respond_to_missing?: (untyped name, ?untyped include_private) -> untyped
|
323
|
+
end
|
324
|
+
|
325
|
+
Nokogiri::Decorators::Slop::XPATH_PREFIX: String
|
326
|
+
|
327
|
+
class Nokogiri::EncodingHandler
|
328
|
+
def self.[]: (untyped) -> untyped
|
329
|
+
|
330
|
+
def self.alias: (untyped, untyped) -> untyped
|
331
|
+
|
332
|
+
def self.clear_aliases!: () -> untyped
|
333
|
+
|
334
|
+
def self.delete: (untyped) -> untyped
|
335
|
+
|
336
|
+
public
|
337
|
+
|
338
|
+
def name: () -> untyped
|
339
|
+
end
|
340
|
+
|
341
|
+
module Nokogiri::HTML
|
342
|
+
def self.fragment: (String string, ?untyped encoding) -> Nokogiri::HTML::DocumentFragment
|
343
|
+
|
344
|
+
def self.parse: (untyped thing, ?untyped url, ?untyped encoding, ?untyped options) { (*untyped) -> untyped } -> untyped
|
345
|
+
end
|
346
|
+
|
347
|
+
Nokogiri::HTML::NamedCharacters: Nokogiri::HTML::EntityLookup
|
348
|
+
|
349
|
+
class Nokogiri::HTML::Builder < Nokogiri::XML::Builder
|
350
|
+
public
|
351
|
+
|
352
|
+
def to_html: () -> untyped
|
353
|
+
end
|
354
|
+
|
355
|
+
class Nokogiri::HTML::Document < Nokogiri::XML::Document
|
356
|
+
def self.new: (*untyped) -> untyped
|
357
|
+
|
358
|
+
def self.parse: (untyped string_or_io, ?untyped url, ?untyped encoding, ?untyped options) -> untyped
|
359
|
+
|
360
|
+
def self.read_io: (untyped, untyped, untyped, untyped) -> untyped
|
361
|
+
|
362
|
+
def self.read_memory: (untyped, untyped, untyped, untyped) -> untyped
|
363
|
+
|
364
|
+
public
|
365
|
+
|
366
|
+
def fragment: (?untyped tags) -> untyped
|
367
|
+
|
368
|
+
def meta_encoding: () -> untyped
|
369
|
+
|
370
|
+
def meta_encoding=: (untyped encoding) -> untyped
|
371
|
+
|
372
|
+
def serialize: (?untyped options) -> untyped
|
373
|
+
|
374
|
+
def title: () -> untyped
|
375
|
+
|
376
|
+
def title=: (untyped text) -> untyped
|
377
|
+
|
378
|
+
def type: () -> untyped
|
379
|
+
|
380
|
+
private
|
381
|
+
|
382
|
+
def meta_content_type: () -> untyped
|
383
|
+
|
384
|
+
def set_metadata_element: (untyped element) -> untyped
|
385
|
+
end
|
386
|
+
|
387
|
+
class Nokogiri::HTML::Document::EncodingFound < StandardError
|
388
|
+
public
|
389
|
+
|
390
|
+
def found_encoding: () -> untyped
|
391
|
+
|
392
|
+
private
|
393
|
+
|
394
|
+
def initialize: (untyped encoding) -> untyped
|
395
|
+
end
|
396
|
+
|
397
|
+
class Nokogiri::HTML::Document::EncodingReader
|
398
|
+
def self.detect_encoding: (untyped chunk) -> untyped
|
399
|
+
|
400
|
+
def self.detect_encoding_for_jruby_without_fix: (untyped chunk) -> untyped
|
401
|
+
|
402
|
+
def self.is_jruby_without_fix?: () -> untyped
|
403
|
+
|
404
|
+
public
|
405
|
+
|
406
|
+
def encoding_found: () -> untyped
|
407
|
+
|
408
|
+
def read: (untyped len) -> untyped
|
409
|
+
|
410
|
+
private
|
411
|
+
|
412
|
+
def initialize: (untyped io) -> untyped
|
413
|
+
end
|
414
|
+
|
415
|
+
class Nokogiri::HTML::Document::EncodingReader::JumpSAXHandler < Nokogiri::HTML::Document::EncodingReader::SAXHandler
|
416
|
+
public
|
417
|
+
|
418
|
+
def start_element: (untyped name, ?untyped attrs) -> untyped
|
419
|
+
|
420
|
+
private
|
421
|
+
|
422
|
+
def initialize: (untyped jumptag) -> untyped
|
423
|
+
end
|
424
|
+
|
425
|
+
class Nokogiri::HTML::Document::EncodingReader::SAXHandler < Nokogiri::XML::SAX::Document
|
426
|
+
public
|
427
|
+
|
428
|
+
def encoding: () -> untyped
|
429
|
+
|
430
|
+
def start_element: (untyped name, ?untyped attrs) -> untyped
|
431
|
+
|
432
|
+
private
|
433
|
+
|
434
|
+
def initialize: () -> untyped
|
435
|
+
end
|
436
|
+
|
437
|
+
class Nokogiri::HTML::DocumentFragment < Nokogiri::XML::DocumentFragment
|
438
|
+
def self.parse: (untyped tags, ?untyped encoding) -> untyped
|
439
|
+
|
440
|
+
private
|
441
|
+
|
442
|
+
def initialize: (untyped document, ?untyped tags, ?untyped ctx) -> untyped
|
443
|
+
end
|
444
|
+
|
445
|
+
class Nokogiri::HTML::ElementDescription
|
446
|
+
def self.[]: (untyped) -> untyped
|
447
|
+
|
448
|
+
public
|
449
|
+
|
450
|
+
def block?: () -> untyped
|
451
|
+
|
452
|
+
def default_sub_element: () -> untyped
|
453
|
+
|
454
|
+
def deprecated?: () -> untyped
|
455
|
+
|
456
|
+
def deprecated_attributes: () -> untyped
|
457
|
+
|
458
|
+
def description: () -> untyped
|
459
|
+
|
460
|
+
def empty?: () -> untyped
|
461
|
+
|
462
|
+
def implied_end_tag?: () -> untyped
|
463
|
+
|
464
|
+
def implied_start_tag?: () -> untyped
|
465
|
+
|
466
|
+
def inline?: () -> untyped
|
467
|
+
|
468
|
+
def inspect: () -> untyped
|
469
|
+
|
470
|
+
def name: () -> untyped
|
471
|
+
|
472
|
+
def optional_attributes: () -> untyped
|
473
|
+
|
474
|
+
def required_attributes: () -> untyped
|
475
|
+
|
476
|
+
def save_end_tag?: () -> untyped
|
477
|
+
|
478
|
+
def sub_elements: () -> untyped
|
479
|
+
|
480
|
+
def to_s: () -> untyped
|
481
|
+
|
482
|
+
private
|
483
|
+
|
484
|
+
def default_desc: () -> untyped
|
485
|
+
end
|
486
|
+
|
487
|
+
Nokogiri::HTML::ElementDescription::ACTION_ATTR: Array[untyped]
|
488
|
+
|
489
|
+
Nokogiri::HTML::ElementDescription::ALIGN_ATTR: Array[untyped]
|
490
|
+
|
491
|
+
Nokogiri::HTML::ElementDescription::ALT_ATTR: Array[untyped]
|
492
|
+
|
493
|
+
Nokogiri::HTML::ElementDescription::APPLET_ATTRS: Array[untyped]
|
494
|
+
|
495
|
+
Nokogiri::HTML::ElementDescription::AREA_ATTRS: Array[untyped]
|
496
|
+
|
497
|
+
Nokogiri::HTML::ElementDescription::ATTRS: Array[untyped]
|
498
|
+
|
499
|
+
Nokogiri::HTML::ElementDescription::A_ATTRS: Array[untyped]
|
500
|
+
|
501
|
+
Nokogiri::HTML::ElementDescription::BASEFONT_ATTRS: Array[untyped]
|
502
|
+
|
503
|
+
Nokogiri::HTML::ElementDescription::BGCOLOR_ATTR: Array[untyped]
|
504
|
+
|
505
|
+
Nokogiri::HTML::ElementDescription::BLOCK: Array[untyped]
|
506
|
+
|
507
|
+
Nokogiri::HTML::ElementDescription::BLOCKLI_ELT: Array[untyped]
|
508
|
+
|
509
|
+
Nokogiri::HTML::ElementDescription::BODY_ATTRS: Array[untyped]
|
510
|
+
|
511
|
+
Nokogiri::HTML::ElementDescription::BODY_CONTENTS: Array[untyped]
|
512
|
+
|
513
|
+
Nokogiri::HTML::ElementDescription::BODY_DEPR: Array[untyped]
|
514
|
+
|
515
|
+
Nokogiri::HTML::ElementDescription::BUTTON_ATTRS: Array[untyped]
|
516
|
+
|
517
|
+
Nokogiri::HTML::ElementDescription::CELLHALIGN: Array[untyped]
|
518
|
+
|
519
|
+
Nokogiri::HTML::ElementDescription::CELLVALIGN: Array[untyped]
|
520
|
+
|
521
|
+
Nokogiri::HTML::ElementDescription::CLEAR_ATTRS: Array[untyped]
|
522
|
+
|
523
|
+
Nokogiri::HTML::ElementDescription::COL_ATTRS: Array[untyped]
|
524
|
+
|
525
|
+
Nokogiri::HTML::ElementDescription::COL_ELT: Array[untyped]
|
526
|
+
|
527
|
+
Nokogiri::HTML::ElementDescription::COMPACT_ATTR: Array[untyped]
|
528
|
+
|
529
|
+
Nokogiri::HTML::ElementDescription::COMPACT_ATTRS: Array[untyped]
|
530
|
+
|
531
|
+
Nokogiri::HTML::ElementDescription::CONTENT_ATTR: Array[untyped]
|
532
|
+
|
533
|
+
Nokogiri::HTML::ElementDescription::COREATTRS: Array[untyped]
|
534
|
+
|
535
|
+
Nokogiri::HTML::ElementDescription::CORE_ATTRS: Array[untyped]
|
536
|
+
|
537
|
+
Nokogiri::HTML::ElementDescription::CORE_I18N_ATTRS: Array[untyped]
|
538
|
+
|
539
|
+
Nokogiri::HTML::ElementDescription::DIR_ATTR: Array[untyped]
|
540
|
+
|
541
|
+
Nokogiri::HTML::ElementDescription::DL_CONTENTS: Array[untyped]
|
542
|
+
|
543
|
+
Nokogiri::HTML::ElementDescription::DefaultDescriptions: Hash[untyped, untyped]
|
544
|
+
|
545
|
+
Nokogiri::HTML::ElementDescription::EDIT_ATTRS: Array[untyped]
|
546
|
+
|
547
|
+
Nokogiri::HTML::ElementDescription::EMBED_ATTRS: Array[untyped]
|
548
|
+
|
549
|
+
Nokogiri::HTML::ElementDescription::EMPTY: Array[untyped]
|
550
|
+
|
551
|
+
Nokogiri::HTML::ElementDescription::EVENTS: Array[untyped]
|
552
|
+
|
553
|
+
Nokogiri::HTML::ElementDescription::FIELDSET_CONTENTS: Array[untyped]
|
554
|
+
|
555
|
+
Nokogiri::HTML::ElementDescription::FLOW: Array[untyped]
|
556
|
+
|
557
|
+
Nokogiri::HTML::ElementDescription::FLOW_PARAM: Array[untyped]
|
558
|
+
|
559
|
+
Nokogiri::HTML::ElementDescription::FONTSTYLE: Array[untyped]
|
560
|
+
|
561
|
+
Nokogiri::HTML::ElementDescription::FONT_ATTRS: Array[untyped]
|
562
|
+
|
563
|
+
Nokogiri::HTML::ElementDescription::FORMCTRL: Array[untyped]
|
564
|
+
|
565
|
+
Nokogiri::HTML::ElementDescription::FORM_ATTRS: Array[untyped]
|
566
|
+
|
567
|
+
Nokogiri::HTML::ElementDescription::FORM_CONTENTS: Array[untyped]
|
568
|
+
|
569
|
+
Nokogiri::HTML::ElementDescription::FRAMESET_ATTRS: Array[untyped]
|
570
|
+
|
571
|
+
Nokogiri::HTML::ElementDescription::FRAMESET_CONTENTS: Array[untyped]
|
572
|
+
|
573
|
+
Nokogiri::HTML::ElementDescription::FRAME_ATTRS: Array[untyped]
|
574
|
+
|
575
|
+
Nokogiri::HTML::ElementDescription::HEADING: Array[untyped]
|
576
|
+
|
577
|
+
Nokogiri::HTML::ElementDescription::HEAD_ATTRS: Array[untyped]
|
578
|
+
|
579
|
+
Nokogiri::HTML::ElementDescription::HEAD_CONTENTS: Array[untyped]
|
580
|
+
|
581
|
+
Nokogiri::HTML::ElementDescription::HREF_ATTRS: Array[untyped]
|
582
|
+
|
583
|
+
Nokogiri::HTML::ElementDescription::HR_DEPR: Array[untyped]
|
584
|
+
|
585
|
+
Nokogiri::HTML::ElementDescription::HTML_ATTRS: Array[untyped]
|
586
|
+
|
587
|
+
Nokogiri::HTML::ElementDescription::HTML_CDATA: Array[untyped]
|
588
|
+
|
589
|
+
Nokogiri::HTML::ElementDescription::HTML_CONTENT: Array[untyped]
|
590
|
+
|
591
|
+
Nokogiri::HTML::ElementDescription::HTML_FLOW: Array[untyped]
|
592
|
+
|
593
|
+
Nokogiri::HTML::ElementDescription::HTML_INLINE: Array[untyped]
|
594
|
+
|
595
|
+
Nokogiri::HTML::ElementDescription::HTML_PCDATA: Array[untyped]
|
596
|
+
|
597
|
+
Nokogiri::HTML::ElementDescription::I18N: Array[untyped]
|
598
|
+
|
599
|
+
Nokogiri::HTML::ElementDescription::I18N_ATTRS: Array[untyped]
|
600
|
+
|
601
|
+
Nokogiri::HTML::ElementDescription::IFRAME_ATTRS: Array[untyped]
|
602
|
+
|
603
|
+
Nokogiri::HTML::ElementDescription::IMG_ATTRS: Array[untyped]
|
604
|
+
|
605
|
+
Nokogiri::HTML::ElementDescription::INLINE: Array[untyped]
|
606
|
+
|
607
|
+
Nokogiri::HTML::ElementDescription::INLINE_P: Array[untyped]
|
608
|
+
|
609
|
+
Nokogiri::HTML::ElementDescription::INPUT_ATTRS: Array[untyped]
|
610
|
+
|
611
|
+
Nokogiri::HTML::ElementDescription::LABEL_ATTR: Array[untyped]
|
612
|
+
|
613
|
+
Nokogiri::HTML::ElementDescription::LABEL_ATTRS: Array[untyped]
|
614
|
+
|
615
|
+
Nokogiri::HTML::ElementDescription::LANGUAGE_ATTR: Array[untyped]
|
616
|
+
|
617
|
+
Nokogiri::HTML::ElementDescription::LEGEND_ATTRS: Array[untyped]
|
618
|
+
|
619
|
+
Nokogiri::HTML::ElementDescription::LINK_ATTRS: Array[untyped]
|
620
|
+
|
621
|
+
Nokogiri::HTML::ElementDescription::LIST: Array[untyped]
|
622
|
+
|
623
|
+
Nokogiri::HTML::ElementDescription::LI_ELT: Array[untyped]
|
624
|
+
|
625
|
+
Nokogiri::HTML::ElementDescription::MAP_CONTENTS: Array[untyped]
|
626
|
+
|
627
|
+
Nokogiri::HTML::ElementDescription::META_ATTRS: Array[untyped]
|
628
|
+
|
629
|
+
Nokogiri::HTML::ElementDescription::MODIFIER: Array[untyped]
|
630
|
+
|
631
|
+
Nokogiri::HTML::ElementDescription::NAME_ATTR: Array[untyped]
|
632
|
+
|
633
|
+
Nokogiri::HTML::ElementDescription::NOFRAMES_CONTENT: Array[untyped]
|
634
|
+
|
635
|
+
Nokogiri::HTML::ElementDescription::OBJECT_ATTRS: Array[untyped]
|
636
|
+
|
637
|
+
Nokogiri::HTML::ElementDescription::OBJECT_CONTENTS: Array[untyped]
|
638
|
+
|
639
|
+
Nokogiri::HTML::ElementDescription::OBJECT_DEPR: Array[untyped]
|
640
|
+
|
641
|
+
Nokogiri::HTML::ElementDescription::OL_ATTRS: Array[untyped]
|
642
|
+
|
643
|
+
Nokogiri::HTML::ElementDescription::OPTGROUP_ATTRS: Array[untyped]
|
644
|
+
|
645
|
+
Nokogiri::HTML::ElementDescription::OPTION_ATTRS: Array[untyped]
|
646
|
+
|
647
|
+
Nokogiri::HTML::ElementDescription::OPTION_ELT: Array[untyped]
|
648
|
+
|
649
|
+
Nokogiri::HTML::ElementDescription::PARAM_ATTRS: Array[untyped]
|
650
|
+
|
651
|
+
Nokogiri::HTML::ElementDescription::PCDATA: Array[untyped]
|
652
|
+
|
653
|
+
Nokogiri::HTML::ElementDescription::PHRASE: Array[untyped]
|
654
|
+
|
655
|
+
Nokogiri::HTML::ElementDescription::PRE_CONTENT: Array[untyped]
|
656
|
+
|
657
|
+
Nokogiri::HTML::ElementDescription::PROMPT_ATTRS: Array[untyped]
|
658
|
+
|
659
|
+
Nokogiri::HTML::ElementDescription::QUOTE_ATTRS: Array[untyped]
|
660
|
+
|
661
|
+
Nokogiri::HTML::ElementDescription::ROWS_COLS_ATTR: Array[untyped]
|
662
|
+
|
663
|
+
Nokogiri::HTML::ElementDescription::SCRIPT_ATTRS: Array[untyped]
|
664
|
+
|
665
|
+
Nokogiri::HTML::ElementDescription::SELECT_ATTRS: Array[untyped]
|
666
|
+
|
667
|
+
Nokogiri::HTML::ElementDescription::SELECT_CONTENT: Array[untyped]
|
668
|
+
|
669
|
+
Nokogiri::HTML::ElementDescription::SPECIAL: Array[untyped]
|
670
|
+
|
671
|
+
Nokogiri::HTML::ElementDescription::SRC_ALT_ATTRS: Array[untyped]
|
672
|
+
|
673
|
+
Nokogiri::HTML::ElementDescription::STYLE_ATTRS: Array[untyped]
|
674
|
+
|
675
|
+
Nokogiri::HTML::ElementDescription::TABLE_ATTRS: Array[untyped]
|
676
|
+
|
677
|
+
Nokogiri::HTML::ElementDescription::TABLE_CONTENTS: Array[untyped]
|
678
|
+
|
679
|
+
Nokogiri::HTML::ElementDescription::TABLE_DEPR: Array[untyped]
|
680
|
+
|
681
|
+
Nokogiri::HTML::ElementDescription::TALIGN_ATTRS: Array[untyped]
|
682
|
+
|
683
|
+
Nokogiri::HTML::ElementDescription::TARGET_ATTR: Array[untyped]
|
684
|
+
|
685
|
+
Nokogiri::HTML::ElementDescription::TEXTAREA_ATTRS: Array[untyped]
|
686
|
+
|
687
|
+
Nokogiri::HTML::ElementDescription::TH_TD_ATTR: Array[untyped]
|
688
|
+
|
689
|
+
Nokogiri::HTML::ElementDescription::TH_TD_DEPR: Array[untyped]
|
690
|
+
|
691
|
+
Nokogiri::HTML::ElementDescription::TR_CONTENTS: Array[untyped]
|
692
|
+
|
693
|
+
Nokogiri::HTML::ElementDescription::TR_ELT: Array[untyped]
|
694
|
+
|
695
|
+
Nokogiri::HTML::ElementDescription::TYPE_ATTR: Array[untyped]
|
696
|
+
|
697
|
+
Nokogiri::HTML::ElementDescription::UL_DEPR: Array[untyped]
|
698
|
+
|
699
|
+
Nokogiri::HTML::ElementDescription::VERSION_ATTR: Array[untyped]
|
700
|
+
|
701
|
+
Nokogiri::HTML::ElementDescription::WIDTH_ATTR: Array[untyped]
|
702
|
+
|
703
|
+
class Nokogiri::HTML::EntityDescription
|
704
|
+
end
|
705
|
+
|
706
|
+
class Nokogiri::HTML::EntityLookup
|
707
|
+
public
|
708
|
+
|
709
|
+
def []: (untyped name) -> untyped
|
710
|
+
|
711
|
+
def get: (untyped) -> untyped
|
712
|
+
end
|
713
|
+
|
714
|
+
module Nokogiri::HTML::SAX
|
715
|
+
end
|
716
|
+
|
717
|
+
class Nokogiri::HTML::SAX::Parser < Nokogiri::XML::SAX::Parser
|
718
|
+
public
|
719
|
+
|
720
|
+
def parse_file: (untyped filename, ?untyped encoding) -> untyped
|
721
|
+
|
722
|
+
def parse_io: (untyped io, ?untyped encoding) -> untyped
|
723
|
+
|
724
|
+
def parse_memory: (untyped data, ?untyped encoding) -> untyped
|
725
|
+
end
|
726
|
+
|
727
|
+
class Nokogiri::HTML::SAX::ParserContext < Nokogiri::XML::SAX::ParserContext
|
728
|
+
def self.file: (untyped, untyped) -> untyped
|
729
|
+
|
730
|
+
def self.memory: (untyped, untyped) -> untyped
|
731
|
+
|
732
|
+
def self.new: (untyped thing, ?untyped encoding) -> untyped
|
733
|
+
|
734
|
+
public
|
735
|
+
|
736
|
+
def parse_with: (untyped) -> untyped
|
737
|
+
end
|
738
|
+
|
739
|
+
class Nokogiri::HTML::SAX::PushParser < Nokogiri::XML::SAX::PushParser
|
740
|
+
public
|
741
|
+
|
742
|
+
alias << write
|
743
|
+
|
744
|
+
def document: () -> untyped
|
745
|
+
|
746
|
+
def document=: (untyped) -> untyped
|
747
|
+
|
748
|
+
def finish: () -> untyped
|
749
|
+
|
750
|
+
def write: (untyped chunk, ?untyped last_chunk) -> untyped
|
751
|
+
|
752
|
+
private
|
753
|
+
|
754
|
+
def initialize: (?untyped doc, ?untyped file_name, ?untyped encoding) -> untyped
|
755
|
+
|
756
|
+
def initialize_native: (untyped, untyped, untyped) -> untyped
|
757
|
+
|
758
|
+
def native_write: (untyped, untyped) -> untyped
|
759
|
+
end
|
760
|
+
|
761
|
+
class Nokogiri::SyntaxError < StandardError
|
762
|
+
end
|
763
|
+
|
764
|
+
class Nokogiri::VersionInfo
|
765
|
+
def self.instance: () -> untyped
|
766
|
+
|
767
|
+
public
|
768
|
+
|
769
|
+
def compiled_parser_version: () -> untyped
|
770
|
+
|
771
|
+
def engine: () -> untyped
|
772
|
+
|
773
|
+
def jruby?: () -> untyped
|
774
|
+
|
775
|
+
def libxml2?: () -> untyped
|
776
|
+
|
777
|
+
def libxml2_using_packaged?: () -> untyped
|
778
|
+
|
779
|
+
def libxml2_using_system?: () -> untyped
|
780
|
+
|
781
|
+
def loaded_parser_version: () -> untyped
|
782
|
+
|
783
|
+
def to_hash: () -> untyped
|
784
|
+
|
785
|
+
def to_markdown: () -> untyped
|
786
|
+
|
787
|
+
def warnings: () -> untyped
|
788
|
+
end
|
789
|
+
|
790
|
+
module Nokogiri::XML
|
791
|
+
def self.Reader: (untyped string_or_io, ?untyped url, ?untyped encoding, ?untyped options) -> untyped
|
792
|
+
|
793
|
+
def self.RelaxNG: (untyped string_or_io) -> untyped
|
794
|
+
|
795
|
+
def self.Schema: (untyped string_or_io) -> untyped
|
796
|
+
|
797
|
+
def self.fragment: (untyped string) -> untyped
|
798
|
+
|
799
|
+
def self.parse: (untyped thing, ?untyped url, ?untyped encoding, ?untyped options) { (*untyped) -> untyped } -> untyped
|
800
|
+
end
|
801
|
+
|
802
|
+
Nokogiri::XML::XML_C14N_1_0: Integer
|
803
|
+
|
804
|
+
Nokogiri::XML::XML_C14N_1_1: Integer
|
805
|
+
|
806
|
+
Nokogiri::XML::XML_C14N_EXCLUSIVE_1_0: Integer
|
807
|
+
|
808
|
+
class Nokogiri::XML::Attr < Nokogiri::XML::Node
|
809
|
+
def self.new: (*untyped) -> untyped
|
810
|
+
|
811
|
+
public
|
812
|
+
|
813
|
+
alias content= value=
|
814
|
+
|
815
|
+
alias to_s content
|
816
|
+
|
817
|
+
alias value content
|
818
|
+
|
819
|
+
def value=: (untyped) -> untyped
|
820
|
+
|
821
|
+
private
|
822
|
+
|
823
|
+
def inspect_attributes: () -> untyped
|
824
|
+
end
|
825
|
+
|
826
|
+
class Nokogiri::XML::AttributeDecl < Nokogiri::XML::Node
|
827
|
+
public
|
828
|
+
|
829
|
+
def attribute_type: () -> untyped
|
830
|
+
|
831
|
+
def default: () -> untyped
|
832
|
+
|
833
|
+
def enumeration: () -> untyped
|
834
|
+
|
835
|
+
def inspect: () -> untyped
|
836
|
+
end
|
837
|
+
|
838
|
+
class Nokogiri::XML::Builder
|
839
|
+
def self.with: (untyped root) { (*untyped) -> untyped } -> untyped
|
840
|
+
|
841
|
+
public
|
842
|
+
|
843
|
+
def <<: (untyped string) -> untyped
|
844
|
+
|
845
|
+
def []: (untyped ns) -> untyped
|
846
|
+
|
847
|
+
def arity: () -> untyped
|
848
|
+
|
849
|
+
def arity=: (untyped) -> untyped
|
850
|
+
|
851
|
+
def cdata: (untyped string) -> untyped
|
852
|
+
|
853
|
+
def comment: (untyped string) -> untyped
|
854
|
+
|
855
|
+
def context: () -> untyped
|
856
|
+
|
857
|
+
def context=: (untyped) -> untyped
|
858
|
+
|
859
|
+
def doc: () -> untyped
|
860
|
+
|
861
|
+
def doc=: (untyped) -> untyped
|
862
|
+
|
863
|
+
def method_missing: (untyped method, *untyped args) { (*untyped) -> untyped } -> untyped
|
864
|
+
|
865
|
+
def parent: () -> untyped
|
866
|
+
|
867
|
+
def parent=: (untyped) -> untyped
|
868
|
+
|
869
|
+
def text: (untyped string) -> untyped
|
870
|
+
|
871
|
+
def to_xml: (*untyped args) -> untyped
|
872
|
+
|
873
|
+
private
|
874
|
+
|
875
|
+
def initialize: (?untyped options, ?untyped root) { (*untyped) -> untyped } -> untyped
|
876
|
+
|
877
|
+
def insert: (untyped node) { (*untyped) -> untyped } -> untyped
|
878
|
+
end
|
879
|
+
|
880
|
+
class Nokogiri::XML::Builder::NodeBuilder
|
881
|
+
public
|
882
|
+
|
883
|
+
def []: (untyped k) -> untyped
|
884
|
+
|
885
|
+
def []=: (untyped k, untyped v) -> untyped
|
886
|
+
|
887
|
+
def method_missing: (untyped method, *untyped args) { (*untyped) -> untyped } -> untyped
|
888
|
+
|
889
|
+
private
|
890
|
+
|
891
|
+
def initialize: (untyped node, untyped doc_builder) -> untyped
|
892
|
+
end
|
893
|
+
|
894
|
+
class Nokogiri::XML::CDATA < Nokogiri::XML::Text
|
895
|
+
def self.new: (*untyped) -> untyped
|
896
|
+
|
897
|
+
public
|
898
|
+
|
899
|
+
def name: () -> untyped
|
900
|
+
end
|
901
|
+
|
902
|
+
class Nokogiri::XML::CharacterData < Nokogiri::XML::Node
|
903
|
+
include Nokogiri::XML::PP::CharacterData
|
904
|
+
end
|
905
|
+
|
906
|
+
class Nokogiri::XML::Comment < Nokogiri::XML::CharacterData
|
907
|
+
def self.new: (*untyped) -> untyped
|
908
|
+
end
|
909
|
+
|
910
|
+
class Nokogiri::XML::DTD < Nokogiri::XML::Node
|
911
|
+
public
|
912
|
+
|
913
|
+
def attributes: () -> untyped
|
914
|
+
|
915
|
+
def each: () -> untyped
|
916
|
+
|
917
|
+
def elements: () -> untyped
|
918
|
+
|
919
|
+
def entities: () -> untyped
|
920
|
+
|
921
|
+
def external_id: () -> untyped
|
922
|
+
|
923
|
+
def html5_dtd?: () -> untyped
|
924
|
+
|
925
|
+
def html_dtd?: () -> untyped
|
926
|
+
|
927
|
+
def keys: () -> untyped
|
928
|
+
|
929
|
+
def notations: () -> untyped
|
930
|
+
|
931
|
+
def system_id: () -> untyped
|
932
|
+
|
933
|
+
def validate: (untyped) -> untyped
|
934
|
+
end
|
935
|
+
|
936
|
+
class Nokogiri::XML::Document < Nokogiri::XML::Node
|
937
|
+
def self.empty_doc?: (untyped string_or_io) -> untyped
|
938
|
+
|
939
|
+
def self.new: (*untyped) -> untyped
|
940
|
+
|
941
|
+
def self.parse: (untyped string_or_io, ?untyped url, ?untyped encoding, ?untyped options) -> untyped
|
942
|
+
|
943
|
+
def self.read_io: (untyped, untyped, untyped, untyped) -> untyped
|
944
|
+
|
945
|
+
def self.read_memory: (untyped, untyped, untyped, untyped) -> untyped
|
946
|
+
|
947
|
+
def self.wrap: (untyped document) -> untyped
|
948
|
+
|
949
|
+
public
|
950
|
+
|
951
|
+
alias << add_child
|
952
|
+
|
953
|
+
def add_child: (untyped node_or_tags) -> untyped
|
954
|
+
|
955
|
+
def canonicalize: (*untyped) -> untyped
|
956
|
+
|
957
|
+
alias clone dup
|
958
|
+
|
959
|
+
def collect_namespaces: () -> untyped
|
960
|
+
|
961
|
+
def create_cdata: (untyped string) ?{ (*untyped) -> untyped } -> untyped
|
962
|
+
|
963
|
+
def create_comment: (untyped string) ?{ (*untyped) -> untyped } -> untyped
|
964
|
+
|
965
|
+
def create_element: (untyped name, *untyped args) ?{ (*untyped) -> untyped } -> untyped
|
966
|
+
|
967
|
+
def create_entity: (*untyped) -> untyped
|
968
|
+
|
969
|
+
def create_text_node: (untyped string) ?{ (*untyped) -> untyped } -> untyped
|
970
|
+
|
971
|
+
def decorate: (untyped node) -> untyped
|
972
|
+
|
973
|
+
def decorators: (untyped key) -> untyped
|
974
|
+
|
975
|
+
def document: () -> untyped
|
976
|
+
|
977
|
+
def dup: (*untyped) -> untyped
|
978
|
+
|
979
|
+
def encoding: () -> untyped
|
980
|
+
|
981
|
+
def encoding=: (untyped) -> untyped
|
982
|
+
|
983
|
+
def errors: () -> untyped
|
984
|
+
|
985
|
+
def errors=: (untyped) -> untyped
|
986
|
+
|
987
|
+
def fragment: (?untyped tags) -> untyped
|
988
|
+
|
989
|
+
def name: () -> untyped
|
990
|
+
|
991
|
+
def namespaces: () -> untyped
|
992
|
+
|
993
|
+
def remove_namespaces!: () -> untyped
|
994
|
+
|
995
|
+
def root: () -> untyped
|
996
|
+
|
997
|
+
def root=: (untyped) -> untyped
|
998
|
+
|
999
|
+
def slop!: () -> untyped
|
1000
|
+
|
1001
|
+
def to_java: () -> untyped
|
1002
|
+
|
1003
|
+
alias to_xml serialize
|
1004
|
+
|
1005
|
+
def url: () -> untyped
|
1006
|
+
|
1007
|
+
def validate: () -> untyped
|
1008
|
+
|
1009
|
+
def version: () -> untyped
|
1010
|
+
|
1011
|
+
private
|
1012
|
+
|
1013
|
+
def initialize: (*untyped args) -> untyped
|
1014
|
+
|
1015
|
+
def inspect_attributes: () -> untyped
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
Nokogiri::XML::Document::IMPLIED_XPATH_CONTEXTS: Array[untyped]
|
1019
|
+
|
1020
|
+
Nokogiri::XML::Document::NCNAME_CHAR: String
|
1021
|
+
|
1022
|
+
Nokogiri::XML::Document::NCNAME_RE: Regexp
|
1023
|
+
|
1024
|
+
Nokogiri::XML::Document::NCNAME_START_CHAR: String
|
1025
|
+
|
1026
|
+
class Nokogiri::XML::DocumentFragment < Nokogiri::XML::Node
|
1027
|
+
def self.new: (*untyped) -> untyped
|
1028
|
+
|
1029
|
+
def self.parse: (untyped tags) -> untyped
|
1030
|
+
|
1031
|
+
public
|
1032
|
+
|
1033
|
+
def css: (*String args) -> Nokogiri::XML::NodeSet
|
1034
|
+
|
1035
|
+
def dup: () -> untyped
|
1036
|
+
|
1037
|
+
def errors: () -> untyped
|
1038
|
+
|
1039
|
+
def errors=: (untyped things) -> untyped
|
1040
|
+
|
1041
|
+
def name: () -> untyped
|
1042
|
+
|
1043
|
+
def search: (*String rules) -> Nokogiri::XML::NodeSet
|
1044
|
+
|
1045
|
+
alias serialize to_s
|
1046
|
+
|
1047
|
+
def to_html: (*untyped args) -> untyped
|
1048
|
+
|
1049
|
+
def to_s: () -> untyped
|
1050
|
+
|
1051
|
+
def to_xhtml: (*untyped args) -> untyped
|
1052
|
+
|
1053
|
+
def to_xml: (*untyped args) -> untyped
|
1054
|
+
|
1055
|
+
private
|
1056
|
+
|
1057
|
+
def coerce: (untyped data) -> untyped
|
1058
|
+
|
1059
|
+
def initialize: (untyped document, ?untyped tags, ?untyped ctx) -> untyped
|
1060
|
+
|
1061
|
+
def namespace_declarations: (untyped ctx) -> untyped
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
class Nokogiri::XML::Element < Nokogiri::XML::Node
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
class Nokogiri::XML::ElementContent
|
1068
|
+
public
|
1069
|
+
|
1070
|
+
def children: () -> untyped
|
1071
|
+
|
1072
|
+
def document: () -> untyped
|
1073
|
+
|
1074
|
+
def name: () -> untyped
|
1075
|
+
|
1076
|
+
def occur: () -> untyped
|
1077
|
+
|
1078
|
+
def prefix: () -> untyped
|
1079
|
+
|
1080
|
+
def type: () -> untyped
|
1081
|
+
|
1082
|
+
private
|
1083
|
+
|
1084
|
+
def c1: () -> untyped
|
1085
|
+
|
1086
|
+
def c2: () -> untyped
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
Nokogiri::XML::ElementContent::ELEMENT: Integer
|
1090
|
+
|
1091
|
+
Nokogiri::XML::ElementContent::MULT: Integer
|
1092
|
+
|
1093
|
+
Nokogiri::XML::ElementContent::ONCE: Integer
|
1094
|
+
|
1095
|
+
Nokogiri::XML::ElementContent::OPT: Integer
|
1096
|
+
|
1097
|
+
Nokogiri::XML::ElementContent::OR: Integer
|
1098
|
+
|
1099
|
+
Nokogiri::XML::ElementContent::PCDATA: Integer
|
1100
|
+
|
1101
|
+
Nokogiri::XML::ElementContent::PLUS: Integer
|
1102
|
+
|
1103
|
+
Nokogiri::XML::ElementContent::SEQ: Integer
|
1104
|
+
|
1105
|
+
class Nokogiri::XML::ElementDecl < Nokogiri::XML::Node
|
1106
|
+
public
|
1107
|
+
|
1108
|
+
def content: () -> untyped
|
1109
|
+
|
1110
|
+
def element_type: () -> untyped
|
1111
|
+
|
1112
|
+
def inspect: () -> untyped
|
1113
|
+
|
1114
|
+
def prefix: () -> untyped
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
class Nokogiri::XML::EntityDecl < Nokogiri::XML::Node
|
1118
|
+
def self.new: (untyped name, untyped doc, *untyped args) -> untyped
|
1119
|
+
|
1120
|
+
public
|
1121
|
+
|
1122
|
+
def content: () -> untyped
|
1123
|
+
|
1124
|
+
def entity_type: () -> untyped
|
1125
|
+
|
1126
|
+
def external_id: () -> untyped
|
1127
|
+
|
1128
|
+
def inspect: () -> untyped
|
1129
|
+
|
1130
|
+
def original_content: () -> untyped
|
1131
|
+
|
1132
|
+
def system_id: () -> untyped
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
Nokogiri::XML::EntityDecl::EXTERNAL_GENERAL_PARSED: Integer
|
1136
|
+
|
1137
|
+
Nokogiri::XML::EntityDecl::EXTERNAL_GENERAL_UNPARSED: Integer
|
1138
|
+
|
1139
|
+
Nokogiri::XML::EntityDecl::EXTERNAL_PARAMETER: Integer
|
1140
|
+
|
1141
|
+
Nokogiri::XML::EntityDecl::INTERNAL_GENERAL: Integer
|
1142
|
+
|
1143
|
+
Nokogiri::XML::EntityDecl::INTERNAL_PARAMETER: Integer
|
1144
|
+
|
1145
|
+
Nokogiri::XML::EntityDecl::INTERNAL_PREDEFINED: Integer
|
1146
|
+
|
1147
|
+
class Nokogiri::XML::EntityReference < Nokogiri::XML::Node
|
1148
|
+
def self.new: (*untyped) -> untyped
|
1149
|
+
|
1150
|
+
public
|
1151
|
+
|
1152
|
+
def children: () -> untyped
|
1153
|
+
|
1154
|
+
def inspect_attributes: () -> untyped
|
1155
|
+
end
|
1156
|
+
|
1157
|
+
class Nokogiri::XML::Namespace
|
1158
|
+
include Nokogiri::XML::PP::Node
|
1159
|
+
|
1160
|
+
public
|
1161
|
+
|
1162
|
+
def document: () -> untyped
|
1163
|
+
|
1164
|
+
def href: () -> untyped
|
1165
|
+
|
1166
|
+
def prefix: () -> untyped
|
1167
|
+
|
1168
|
+
private
|
1169
|
+
|
1170
|
+
def inspect_attributes: () -> untyped
|
1171
|
+
end
|
1172
|
+
|
1173
|
+
class Nokogiri::XML::Node
|
1174
|
+
include Enumerable[untyped]
|
1175
|
+
|
1176
|
+
include Nokogiri::XML::Searchable
|
1177
|
+
|
1178
|
+
include Nokogiri::XML::PP::Node
|
1179
|
+
|
1180
|
+
def self.new: (*untyped) -> untyped
|
1181
|
+
|
1182
|
+
public
|
1183
|
+
|
1184
|
+
def <<: (untyped node_or_tags) -> untyped
|
1185
|
+
|
1186
|
+
def <=>: (untyped other) -> untyped
|
1187
|
+
|
1188
|
+
def ==: (untyped other) -> untyped
|
1189
|
+
|
1190
|
+
def >: (untyped selector) -> untyped
|
1191
|
+
|
1192
|
+
def []: (untyped name) -> untyped
|
1193
|
+
|
1194
|
+
def []=: (untyped name, untyped value) -> untyped
|
1195
|
+
|
1196
|
+
def accept: (untyped visitor) -> untyped
|
1197
|
+
|
1198
|
+
def add_child: (untyped node_or_tags) -> untyped
|
1199
|
+
|
1200
|
+
def add_class: (untyped name) -> untyped
|
1201
|
+
|
1202
|
+
alias add_namespace add_namespace_definition
|
1203
|
+
|
1204
|
+
def add_namespace_definition: (untyped, untyped) -> untyped
|
1205
|
+
|
1206
|
+
def add_next_sibling: (untyped node_or_tags) -> untyped
|
1207
|
+
|
1208
|
+
def add_previous_sibling: (untyped node_or_tags) -> untyped
|
1209
|
+
|
1210
|
+
def after: (untyped node_or_tags) -> untyped
|
1211
|
+
|
1212
|
+
def ancestors: (?untyped selector) -> untyped
|
1213
|
+
|
1214
|
+
def append_class: (untyped name) -> untyped
|
1215
|
+
|
1216
|
+
alias attr []
|
1217
|
+
|
1218
|
+
def attribute: (untyped) -> untyped
|
1219
|
+
|
1220
|
+
def attribute_nodes: () -> untyped
|
1221
|
+
|
1222
|
+
def attribute_with_ns: (untyped, untyped) -> untyped
|
1223
|
+
|
1224
|
+
def attributes: () -> untyped
|
1225
|
+
|
1226
|
+
def before: (untyped node_or_tags) -> untyped
|
1227
|
+
|
1228
|
+
def blank?: () -> untyped
|
1229
|
+
|
1230
|
+
def canonicalize: (?untyped mode, ?untyped inclusive_namespaces, ?untyped with_comments) -> untyped
|
1231
|
+
|
1232
|
+
def cdata?: () -> untyped
|
1233
|
+
|
1234
|
+
def child: () -> Nokogiri::XML::Node
|
1235
|
+
|
1236
|
+
def children: () -> Nokogiri::XML::NodeSet
|
1237
|
+
|
1238
|
+
def children=: (Nokogiri::XML::NodeSet | String node_or_tags) -> Nokogiri::XML::NodeSet
|
1239
|
+
|
1240
|
+
def classes: () -> untyped
|
1241
|
+
|
1242
|
+
alias clone dup
|
1243
|
+
|
1244
|
+
def comment?: () -> untyped
|
1245
|
+
|
1246
|
+
def content: () -> String
|
1247
|
+
|
1248
|
+
def content=: (String string) -> String
|
1249
|
+
|
1250
|
+
def create_external_subset: (untyped, untyped, untyped) -> untyped
|
1251
|
+
|
1252
|
+
def create_internal_subset: (untyped, untyped, untyped) -> untyped
|
1253
|
+
|
1254
|
+
def css_path: () -> untyped
|
1255
|
+
|
1256
|
+
def decorate!: () -> untyped
|
1257
|
+
|
1258
|
+
def default_namespace=: (untyped url) -> untyped
|
1259
|
+
|
1260
|
+
alias delete remove_attribute
|
1261
|
+
|
1262
|
+
def description: () -> untyped
|
1263
|
+
|
1264
|
+
def do_xinclude: (?untyped options) -> untyped
|
1265
|
+
|
1266
|
+
def document: () -> untyped
|
1267
|
+
|
1268
|
+
def document?: () -> untyped
|
1269
|
+
|
1270
|
+
def dup: (*untyped) -> untyped
|
1271
|
+
|
1272
|
+
def each: () { (untyped) -> void } -> untyped
|
1273
|
+
|
1274
|
+
alias elem? element?
|
1275
|
+
|
1276
|
+
def element?: () -> untyped
|
1277
|
+
|
1278
|
+
def element_children: () -> untyped
|
1279
|
+
|
1280
|
+
alias elements element_children
|
1281
|
+
|
1282
|
+
def encode_special_chars: (untyped) -> untyped
|
1283
|
+
|
1284
|
+
def external_subset: () -> untyped
|
1285
|
+
|
1286
|
+
def first_element_child: () -> untyped
|
1287
|
+
|
1288
|
+
def fragment: (untyped tags) -> untyped
|
1289
|
+
|
1290
|
+
def fragment?: () -> untyped
|
1291
|
+
|
1292
|
+
alias get_attribute []
|
1293
|
+
|
1294
|
+
alias has_attribute? key?
|
1295
|
+
|
1296
|
+
def html?: () -> untyped
|
1297
|
+
|
1298
|
+
def inner_html: (*untyped args) -> untyped
|
1299
|
+
|
1300
|
+
def inner_html=: (untyped node_or_tags) -> untyped
|
1301
|
+
|
1302
|
+
alias inner_text content
|
1303
|
+
|
1304
|
+
def internal_subset: () -> untyped
|
1305
|
+
|
1306
|
+
def key?: (untyped) -> untyped
|
1307
|
+
|
1308
|
+
def keys: () -> untyped
|
1309
|
+
|
1310
|
+
def lang: () -> untyped
|
1311
|
+
|
1312
|
+
def lang=: (untyped) -> untyped
|
1313
|
+
|
1314
|
+
def last_element_child: () -> untyped
|
1315
|
+
|
1316
|
+
def line: () -> untyped
|
1317
|
+
|
1318
|
+
def matches?: (untyped selector) -> untyped
|
1319
|
+
|
1320
|
+
alias name node_name
|
1321
|
+
|
1322
|
+
alias name= node_name=
|
1323
|
+
|
1324
|
+
def namespace: () -> untyped
|
1325
|
+
|
1326
|
+
def namespace=: (untyped ns) -> untyped
|
1327
|
+
|
1328
|
+
def namespace_definitions: () -> untyped
|
1329
|
+
|
1330
|
+
def namespace_scopes: () -> untyped
|
1331
|
+
|
1332
|
+
def namespaced_key?: (untyped, untyped) -> untyped
|
1333
|
+
|
1334
|
+
def namespaces: () -> untyped
|
1335
|
+
|
1336
|
+
def native_content=: (untyped) -> untyped
|
1337
|
+
|
1338
|
+
alias next next_sibling
|
1339
|
+
|
1340
|
+
alias next= add_next_sibling
|
1341
|
+
|
1342
|
+
def next_element: () -> untyped
|
1343
|
+
|
1344
|
+
def next_sibling: () -> untyped
|
1345
|
+
|
1346
|
+
def node_name: () -> String
|
1347
|
+
|
1348
|
+
def node_name=: (String) -> String
|
1349
|
+
|
1350
|
+
def node_type: () -> untyped
|
1351
|
+
|
1352
|
+
def parent: () -> Nokogiri::XML::Node?
|
1353
|
+
|
1354
|
+
def parent=: (untyped parent_node) -> untyped
|
1355
|
+
|
1356
|
+
def parse: (untyped string_or_io, ?untyped options) -> untyped
|
1357
|
+
|
1358
|
+
def path: () -> untyped
|
1359
|
+
|
1360
|
+
def pointer_id: () -> untyped
|
1361
|
+
|
1362
|
+
def prepend_child: (untyped node_or_tags) -> untyped
|
1363
|
+
|
1364
|
+
alias previous previous_sibling
|
1365
|
+
|
1366
|
+
alias previous= add_previous_sibling
|
1367
|
+
|
1368
|
+
def previous_element: () -> untyped
|
1369
|
+
|
1370
|
+
def previous_sibling: () -> untyped
|
1371
|
+
|
1372
|
+
def processing_instruction?: () -> untyped
|
1373
|
+
|
1374
|
+
def read_only?: () -> untyped
|
1375
|
+
|
1376
|
+
alias remove unlink
|
1377
|
+
|
1378
|
+
def remove_attribute: (untyped name) -> untyped
|
1379
|
+
|
1380
|
+
def remove_class: (?untyped name) -> untyped
|
1381
|
+
|
1382
|
+
def replace: (untyped node_or_tags) -> Nokogiri::XML::NodeSet
|
1383
|
+
|
1384
|
+
def serialize: (*untyped args) ?{ (*untyped) -> untyped } -> untyped
|
1385
|
+
|
1386
|
+
alias set_attribute []=
|
1387
|
+
|
1388
|
+
def swap: (untyped node_or_tags) -> untyped
|
1389
|
+
|
1390
|
+
alias text content
|
1391
|
+
|
1392
|
+
def text?: () -> untyped
|
1393
|
+
|
1394
|
+
def to_html: (?untyped options) -> untyped
|
1395
|
+
|
1396
|
+
def to_s: () -> untyped
|
1397
|
+
|
1398
|
+
alias to_str content
|
1399
|
+
|
1400
|
+
def to_xhtml: (?untyped options) -> untyped
|
1401
|
+
|
1402
|
+
def to_xml: (?untyped options) -> untyped
|
1403
|
+
|
1404
|
+
def traverse: () { (*untyped) -> untyped } -> untyped
|
1405
|
+
|
1406
|
+
alias type node_type
|
1407
|
+
|
1408
|
+
def unlink: () -> untyped
|
1409
|
+
|
1410
|
+
def values: () -> untyped
|
1411
|
+
|
1412
|
+
def wrap: (untyped html) -> untyped
|
1413
|
+
|
1414
|
+
def write_html_to: (untyped io, ?untyped options) -> untyped
|
1415
|
+
|
1416
|
+
def write_to: (untyped io, *untyped options) -> untyped
|
1417
|
+
|
1418
|
+
def write_xhtml_to: (untyped io, ?untyped options) -> untyped
|
1419
|
+
|
1420
|
+
def write_xml_to: (untyped io, ?untyped options) -> untyped
|
1421
|
+
|
1422
|
+
def xml?: () -> untyped
|
1423
|
+
|
1424
|
+
private
|
1425
|
+
|
1426
|
+
def add_child_node: (untyped) -> untyped
|
1427
|
+
|
1428
|
+
def add_child_node_and_reparent_attrs: (untyped node) -> untyped
|
1429
|
+
|
1430
|
+
def add_next_sibling_node: (untyped) -> untyped
|
1431
|
+
|
1432
|
+
def add_previous_sibling_node: (untyped) -> untyped
|
1433
|
+
|
1434
|
+
def add_sibling: (untyped next_or_previous, untyped node_or_tags) -> untyped
|
1435
|
+
|
1436
|
+
def coerce: (untyped data) -> untyped
|
1437
|
+
|
1438
|
+
def compare: (untyped) -> untyped
|
1439
|
+
|
1440
|
+
def dump_html: () -> untyped
|
1441
|
+
|
1442
|
+
def get: (untyped) -> untyped
|
1443
|
+
|
1444
|
+
def in_context: (untyped, untyped) -> untyped
|
1445
|
+
|
1446
|
+
def initialize: (untyped name, untyped document) -> untyped
|
1447
|
+
|
1448
|
+
def inspect_attributes: () -> untyped
|
1449
|
+
|
1450
|
+
def native_write_to: (untyped, untyped, untyped, untyped) -> untyped
|
1451
|
+
|
1452
|
+
def process_xincludes: (untyped) -> untyped
|
1453
|
+
|
1454
|
+
def replace_node: (untyped) -> untyped
|
1455
|
+
|
1456
|
+
def set: (untyped, untyped) -> untyped
|
1457
|
+
|
1458
|
+
def set_namespace: (untyped) -> untyped
|
1459
|
+
|
1460
|
+
def to_format: (untyped save_option, untyped options) -> untyped
|
1461
|
+
|
1462
|
+
def write_format_to: (untyped save_option, untyped io, untyped options) -> untyped
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
Nokogiri::XML::Node::ATTRIBUTE_DECL: Integer
|
1466
|
+
|
1467
|
+
Nokogiri::XML::Node::ATTRIBUTE_NODE: Integer
|
1468
|
+
|
1469
|
+
Nokogiri::XML::Node::CDATA_SECTION_NODE: Integer
|
1470
|
+
|
1471
|
+
Nokogiri::XML::Node::COMMENT_NODE: Integer
|
1472
|
+
|
1473
|
+
Nokogiri::XML::Node::DOCB_DOCUMENT_NODE: Integer
|
1474
|
+
|
1475
|
+
Nokogiri::XML::Node::DOCUMENT_FRAG_NODE: Integer
|
1476
|
+
|
1477
|
+
Nokogiri::XML::Node::DOCUMENT_NODE: Integer
|
1478
|
+
|
1479
|
+
Nokogiri::XML::Node::DOCUMENT_TYPE_NODE: Integer
|
1480
|
+
|
1481
|
+
Nokogiri::XML::Node::DTD_NODE: Integer
|
1482
|
+
|
1483
|
+
Nokogiri::XML::Node::ELEMENT_DECL: Integer
|
1484
|
+
|
1485
|
+
Nokogiri::XML::Node::ELEMENT_NODE: Integer
|
1486
|
+
|
1487
|
+
Nokogiri::XML::Node::ENTITY_DECL: Integer
|
1488
|
+
|
1489
|
+
Nokogiri::XML::Node::ENTITY_NODE: Integer
|
1490
|
+
|
1491
|
+
Nokogiri::XML::Node::ENTITY_REF_NODE: Integer
|
1492
|
+
|
1493
|
+
Nokogiri::XML::Node::HTML_DOCUMENT_NODE: Integer
|
1494
|
+
|
1495
|
+
Nokogiri::XML::Node::IMPLIED_XPATH_CONTEXTS: Array[untyped]
|
1496
|
+
|
1497
|
+
Nokogiri::XML::Node::NAMESPACE_DECL: Integer
|
1498
|
+
|
1499
|
+
Nokogiri::XML::Node::NOTATION_NODE: Integer
|
1500
|
+
|
1501
|
+
Nokogiri::XML::Node::PI_NODE: Integer
|
1502
|
+
|
1503
|
+
Nokogiri::XML::Node::TEXT_NODE: Integer
|
1504
|
+
|
1505
|
+
Nokogiri::XML::Node::XINCLUDE_END: Integer
|
1506
|
+
|
1507
|
+
Nokogiri::XML::Node::XINCLUDE_START: Integer
|
1508
|
+
|
1509
|
+
class Nokogiri::XML::Node::SaveOptions
|
1510
|
+
public
|
1511
|
+
|
1512
|
+
def as_html: () -> untyped
|
1513
|
+
|
1514
|
+
def as_html?: () -> untyped
|
1515
|
+
|
1516
|
+
def as_xhtml: () -> untyped
|
1517
|
+
|
1518
|
+
def as_xhtml?: () -> untyped
|
1519
|
+
|
1520
|
+
def as_xml: () -> untyped
|
1521
|
+
|
1522
|
+
def as_xml?: () -> untyped
|
1523
|
+
|
1524
|
+
def default_html: () -> untyped
|
1525
|
+
|
1526
|
+
def default_html?: () -> untyped
|
1527
|
+
|
1528
|
+
def default_xhtml: () -> untyped
|
1529
|
+
|
1530
|
+
def default_xhtml?: () -> untyped
|
1531
|
+
|
1532
|
+
def default_xml: () -> untyped
|
1533
|
+
|
1534
|
+
def default_xml?: () -> untyped
|
1535
|
+
|
1536
|
+
def format: () -> untyped
|
1537
|
+
|
1538
|
+
def format?: () -> untyped
|
1539
|
+
|
1540
|
+
def no_declaration: () -> untyped
|
1541
|
+
|
1542
|
+
def no_declaration?: () -> untyped
|
1543
|
+
|
1544
|
+
def no_empty_tags: () -> untyped
|
1545
|
+
|
1546
|
+
def no_empty_tags?: () -> untyped
|
1547
|
+
|
1548
|
+
def no_xhtml: () -> untyped
|
1549
|
+
|
1550
|
+
def no_xhtml?: () -> untyped
|
1551
|
+
|
1552
|
+
def options: () -> untyped
|
1553
|
+
|
1554
|
+
alias to_i options
|
1555
|
+
|
1556
|
+
private
|
1557
|
+
|
1558
|
+
def initialize: (?untyped options) -> untyped
|
1559
|
+
end
|
1560
|
+
|
1561
|
+
Nokogiri::XML::Node::SaveOptions::AS_HTML: Integer
|
1562
|
+
|
1563
|
+
Nokogiri::XML::Node::SaveOptions::AS_XHTML: Integer
|
1564
|
+
|
1565
|
+
Nokogiri::XML::Node::SaveOptions::AS_XML: Integer
|
1566
|
+
|
1567
|
+
Nokogiri::XML::Node::SaveOptions::DEFAULT_HTML: Integer
|
1568
|
+
|
1569
|
+
Nokogiri::XML::Node::SaveOptions::DEFAULT_XHTML: Integer
|
1570
|
+
|
1571
|
+
Nokogiri::XML::Node::SaveOptions::DEFAULT_XML: Integer
|
1572
|
+
|
1573
|
+
Nokogiri::XML::Node::SaveOptions::FORMAT: Integer
|
1574
|
+
|
1575
|
+
Nokogiri::XML::Node::SaveOptions::NO_DECLARATION: Integer
|
1576
|
+
|
1577
|
+
Nokogiri::XML::Node::SaveOptions::NO_EMPTY_TAGS: Integer
|
1578
|
+
|
1579
|
+
Nokogiri::XML::Node::SaveOptions::NO_XHTML: Integer
|
1580
|
+
|
1581
|
+
class Nokogiri::XML::NodeSet
|
1582
|
+
include Enumerable[Nokogiri::XML::Node]
|
1583
|
+
|
1584
|
+
include Nokogiri::XML::Searchable
|
1585
|
+
|
1586
|
+
public
|
1587
|
+
|
1588
|
+
alias % at
|
1589
|
+
|
1590
|
+
def &: (untyped) -> untyped
|
1591
|
+
|
1592
|
+
alias + |
|
1593
|
+
|
1594
|
+
def -: (untyped) -> untyped
|
1595
|
+
|
1596
|
+
alias << push
|
1597
|
+
|
1598
|
+
def ==: (untyped other) -> untyped
|
1599
|
+
|
1600
|
+
def >: (untyped selector) -> untyped
|
1601
|
+
|
1602
|
+
def []: (*untyped) -> untyped
|
1603
|
+
|
1604
|
+
def add_class: (untyped name) -> untyped
|
1605
|
+
|
1606
|
+
def after: (untyped datum) -> untyped
|
1607
|
+
|
1608
|
+
def append_class: (untyped name) -> untyped
|
1609
|
+
|
1610
|
+
def at: (*untyped args) -> untyped
|
1611
|
+
|
1612
|
+
def attr: (untyped key, ?untyped value) { (*untyped) -> untyped } -> untyped
|
1613
|
+
|
1614
|
+
alias attribute attr
|
1615
|
+
|
1616
|
+
def before: (untyped datum) -> untyped
|
1617
|
+
|
1618
|
+
def children: () -> untyped
|
1619
|
+
|
1620
|
+
alias clone dup
|
1621
|
+
|
1622
|
+
def css: (*String args) -> Nokogiri::XML::NodeSet
|
1623
|
+
|
1624
|
+
def delete: (untyped) -> untyped
|
1625
|
+
|
1626
|
+
def document: () -> untyped
|
1627
|
+
|
1628
|
+
def document=: (untyped) -> untyped
|
1629
|
+
|
1630
|
+
def dup: () -> untyped
|
1631
|
+
|
1632
|
+
def each: () { (Nokogiri::XML::Node) -> void } -> self
|
1633
|
+
|
1634
|
+
def empty?: () -> untyped
|
1635
|
+
|
1636
|
+
def filter: (untyped expr) -> untyped
|
1637
|
+
|
1638
|
+
def first: () -> Nokogiri::XML::Node
|
1639
|
+
| (?Integer? n) -> Array[Nokogiri::XML::Node]
|
1640
|
+
|
1641
|
+
def include?: (untyped) -> untyped
|
1642
|
+
|
1643
|
+
def index: (?untyped node) -> untyped
|
1644
|
+
|
1645
|
+
def inner_html: (*untyped args) -> untyped
|
1646
|
+
|
1647
|
+
def inner_text: () -> untyped
|
1648
|
+
|
1649
|
+
def inspect: () -> untyped
|
1650
|
+
|
1651
|
+
def last: () -> untyped
|
1652
|
+
|
1653
|
+
def length: () -> untyped
|
1654
|
+
|
1655
|
+
def pop: () -> untyped
|
1656
|
+
|
1657
|
+
def push: (untyped) -> untyped
|
1658
|
+
|
1659
|
+
alias remove unlink
|
1660
|
+
|
1661
|
+
def remove_attr: (untyped name) -> untyped
|
1662
|
+
|
1663
|
+
alias remove_attribute remove_attr
|
1664
|
+
|
1665
|
+
def remove_class: (?untyped name) -> untyped
|
1666
|
+
|
1667
|
+
def reverse: () -> untyped
|
1668
|
+
|
1669
|
+
alias set attr
|
1670
|
+
|
1671
|
+
def shift: () -> untyped
|
1672
|
+
|
1673
|
+
alias size length
|
1674
|
+
|
1675
|
+
def slice: (*untyped) -> untyped
|
1676
|
+
|
1677
|
+
alias text inner_text
|
1678
|
+
|
1679
|
+
def to_a: () -> untyped
|
1680
|
+
|
1681
|
+
alias to_ary to_a
|
1682
|
+
|
1683
|
+
def to_html: (*untyped args) -> untyped
|
1684
|
+
|
1685
|
+
def to_s: () -> untyped
|
1686
|
+
|
1687
|
+
def to_xhtml: (*untyped args) -> untyped
|
1688
|
+
|
1689
|
+
def to_xml: (*untyped args) -> untyped
|
1690
|
+
|
1691
|
+
def unlink: () -> untyped
|
1692
|
+
|
1693
|
+
def wrap: (untyped html) -> untyped
|
1694
|
+
|
1695
|
+
def xpath: (*untyped args) -> untyped
|
1696
|
+
|
1697
|
+
def |: (untyped) -> untyped
|
1698
|
+
|
1699
|
+
private
|
1700
|
+
|
1701
|
+
def initialize: (untyped document, ?untyped list) -> untyped
|
1702
|
+
end
|
1703
|
+
|
1704
|
+
Nokogiri::XML::NodeSet::IMPLIED_XPATH_CONTEXTS: Array[untyped]
|
1705
|
+
|
1706
|
+
class Nokogiri::XML::Notation
|
1707
|
+
end
|
1708
|
+
|
1709
|
+
module Nokogiri::XML::PP
|
1710
|
+
end
|
1711
|
+
|
1712
|
+
module Nokogiri::XML::PP::CharacterData
|
1713
|
+
public
|
1714
|
+
|
1715
|
+
def inspect: () -> untyped
|
1716
|
+
|
1717
|
+
def pretty_print: (untyped pp) -> untyped
|
1718
|
+
end
|
1719
|
+
|
1720
|
+
module Nokogiri::XML::PP::Node
|
1721
|
+
public
|
1722
|
+
|
1723
|
+
def inspect: () -> untyped
|
1724
|
+
|
1725
|
+
def pretty_print: (untyped pp) -> untyped
|
1726
|
+
end
|
1727
|
+
|
1728
|
+
class Nokogiri::XML::ParseOptions
|
1729
|
+
public
|
1730
|
+
|
1731
|
+
def compact: () -> untyped
|
1732
|
+
|
1733
|
+
def compact?: () -> untyped
|
1734
|
+
|
1735
|
+
def default_html: () -> untyped
|
1736
|
+
|
1737
|
+
def default_html?: () -> untyped
|
1738
|
+
|
1739
|
+
def default_xml: () -> untyped
|
1740
|
+
|
1741
|
+
def default_xml?: () -> untyped
|
1742
|
+
|
1743
|
+
def dtdattr: () -> untyped
|
1744
|
+
|
1745
|
+
def dtdattr?: () -> untyped
|
1746
|
+
|
1747
|
+
def dtdload: () -> untyped
|
1748
|
+
|
1749
|
+
def dtdload?: () -> untyped
|
1750
|
+
|
1751
|
+
def dtdvalid: () -> untyped
|
1752
|
+
|
1753
|
+
def dtdvalid?: () -> untyped
|
1754
|
+
|
1755
|
+
def huge: () -> untyped
|
1756
|
+
|
1757
|
+
def huge?: () -> untyped
|
1758
|
+
|
1759
|
+
def inspect: () -> untyped
|
1760
|
+
|
1761
|
+
def nobasefix: () -> untyped
|
1762
|
+
|
1763
|
+
def nobasefix?: () -> untyped
|
1764
|
+
|
1765
|
+
def noblanks: () -> untyped
|
1766
|
+
|
1767
|
+
def noblanks?: () -> untyped
|
1768
|
+
|
1769
|
+
def nocdata: () -> untyped
|
1770
|
+
|
1771
|
+
def nocdata?: () -> untyped
|
1772
|
+
|
1773
|
+
def nocompact: () -> untyped
|
1774
|
+
|
1775
|
+
def nodefault_html: () -> untyped
|
1776
|
+
|
1777
|
+
def nodefault_xml: () -> untyped
|
1778
|
+
|
1779
|
+
def nodict: () -> untyped
|
1780
|
+
|
1781
|
+
def nodict?: () -> untyped
|
1782
|
+
|
1783
|
+
def nodtdattr: () -> untyped
|
1784
|
+
|
1785
|
+
def nodtdload: () -> untyped
|
1786
|
+
|
1787
|
+
def nodtdvalid: () -> untyped
|
1788
|
+
|
1789
|
+
def noent: () -> untyped
|
1790
|
+
|
1791
|
+
def noent?: () -> untyped
|
1792
|
+
|
1793
|
+
def noerror: () -> untyped
|
1794
|
+
|
1795
|
+
def noerror?: () -> untyped
|
1796
|
+
|
1797
|
+
def nohuge: () -> untyped
|
1798
|
+
|
1799
|
+
def nonet: () -> untyped
|
1800
|
+
|
1801
|
+
def nonet?: () -> untyped
|
1802
|
+
|
1803
|
+
def nonobasefix: () -> untyped
|
1804
|
+
|
1805
|
+
def nonoblanks: () -> untyped
|
1806
|
+
|
1807
|
+
def nonocdata: () -> untyped
|
1808
|
+
|
1809
|
+
def nonodict: () -> untyped
|
1810
|
+
|
1811
|
+
def nonoent: () -> untyped
|
1812
|
+
|
1813
|
+
def nonoerror: () -> untyped
|
1814
|
+
|
1815
|
+
def nononet: () -> untyped
|
1816
|
+
|
1817
|
+
def nonowarning: () -> untyped
|
1818
|
+
|
1819
|
+
def nonoxincnode: () -> untyped
|
1820
|
+
|
1821
|
+
def nonsclean: () -> untyped
|
1822
|
+
|
1823
|
+
def noold10: () -> untyped
|
1824
|
+
|
1825
|
+
def nopedantic: () -> untyped
|
1826
|
+
|
1827
|
+
def norecover: () -> untyped
|
1828
|
+
|
1829
|
+
def nosax1: () -> untyped
|
1830
|
+
|
1831
|
+
def nowarning: () -> untyped
|
1832
|
+
|
1833
|
+
def nowarning?: () -> untyped
|
1834
|
+
|
1835
|
+
def noxinclude: () -> untyped
|
1836
|
+
|
1837
|
+
def noxincnode: () -> untyped
|
1838
|
+
|
1839
|
+
def noxincnode?: () -> untyped
|
1840
|
+
|
1841
|
+
def nsclean: () -> untyped
|
1842
|
+
|
1843
|
+
def nsclean?: () -> untyped
|
1844
|
+
|
1845
|
+
def old10: () -> untyped
|
1846
|
+
|
1847
|
+
def old10?: () -> untyped
|
1848
|
+
|
1849
|
+
def options: () -> untyped
|
1850
|
+
|
1851
|
+
def options=: (untyped) -> untyped
|
1852
|
+
|
1853
|
+
def pedantic: () -> untyped
|
1854
|
+
|
1855
|
+
def pedantic?: () -> untyped
|
1856
|
+
|
1857
|
+
def recover: () -> untyped
|
1858
|
+
|
1859
|
+
def recover?: () -> untyped
|
1860
|
+
|
1861
|
+
def sax1: () -> untyped
|
1862
|
+
|
1863
|
+
def sax1?: () -> untyped
|
1864
|
+
|
1865
|
+
def strict: () -> untyped
|
1866
|
+
|
1867
|
+
def strict?: () -> untyped
|
1868
|
+
|
1869
|
+
alias to_i options
|
1870
|
+
|
1871
|
+
def xinclude: () -> untyped
|
1872
|
+
|
1873
|
+
def xinclude?: () -> untyped
|
1874
|
+
|
1875
|
+
private
|
1876
|
+
|
1877
|
+
def initialize: (?untyped options) -> untyped
|
1878
|
+
end
|
1879
|
+
|
1880
|
+
Nokogiri::XML::ParseOptions::COMPACT: Integer
|
1881
|
+
|
1882
|
+
Nokogiri::XML::ParseOptions::DEFAULT_HTML: Integer
|
1883
|
+
|
1884
|
+
Nokogiri::XML::ParseOptions::DEFAULT_XML: Integer
|
1885
|
+
|
1886
|
+
Nokogiri::XML::ParseOptions::DTDATTR: Integer
|
1887
|
+
|
1888
|
+
Nokogiri::XML::ParseOptions::DTDLOAD: Integer
|
1889
|
+
|
1890
|
+
Nokogiri::XML::ParseOptions::DTDVALID: Integer
|
1891
|
+
|
1892
|
+
Nokogiri::XML::ParseOptions::HUGE: Integer
|
1893
|
+
|
1894
|
+
Nokogiri::XML::ParseOptions::NOBASEFIX: Integer
|
1895
|
+
|
1896
|
+
Nokogiri::XML::ParseOptions::NOBLANKS: Integer
|
1897
|
+
|
1898
|
+
Nokogiri::XML::ParseOptions::NOCDATA: Integer
|
1899
|
+
|
1900
|
+
Nokogiri::XML::ParseOptions::NODICT: Integer
|
1901
|
+
|
1902
|
+
Nokogiri::XML::ParseOptions::NOENT: Integer
|
1903
|
+
|
1904
|
+
Nokogiri::XML::ParseOptions::NOERROR: Integer
|
1905
|
+
|
1906
|
+
Nokogiri::XML::ParseOptions::NONET: Integer
|
1907
|
+
|
1908
|
+
Nokogiri::XML::ParseOptions::NOWARNING: Integer
|
1909
|
+
|
1910
|
+
Nokogiri::XML::ParseOptions::NOXINCNODE: Integer
|
1911
|
+
|
1912
|
+
Nokogiri::XML::ParseOptions::NSCLEAN: Integer
|
1913
|
+
|
1914
|
+
Nokogiri::XML::ParseOptions::OLD10: Integer
|
1915
|
+
|
1916
|
+
Nokogiri::XML::ParseOptions::PEDANTIC: Integer
|
1917
|
+
|
1918
|
+
Nokogiri::XML::ParseOptions::RECOVER: Integer
|
1919
|
+
|
1920
|
+
Nokogiri::XML::ParseOptions::SAX1: Integer
|
1921
|
+
|
1922
|
+
Nokogiri::XML::ParseOptions::STRICT: Integer
|
1923
|
+
|
1924
|
+
Nokogiri::XML::ParseOptions::XINCLUDE: Integer
|
1925
|
+
|
1926
|
+
class Nokogiri::XML::ProcessingInstruction < Nokogiri::XML::Node
|
1927
|
+
def self.new: (*untyped) -> untyped
|
1928
|
+
|
1929
|
+
private
|
1930
|
+
|
1931
|
+
def initialize: (untyped document, untyped name, untyped content) -> untyped
|
1932
|
+
end
|
1933
|
+
|
1934
|
+
class Nokogiri::XML::Reader
|
1935
|
+
include Enumerable[untyped]
|
1936
|
+
|
1937
|
+
def self.from_io: (*untyped) -> untyped
|
1938
|
+
|
1939
|
+
def self.from_memory: (*untyped) -> untyped
|
1940
|
+
|
1941
|
+
public
|
1942
|
+
|
1943
|
+
def attribute: (untyped) -> untyped
|
1944
|
+
|
1945
|
+
def attribute_at: (untyped) -> untyped
|
1946
|
+
|
1947
|
+
def attribute_count: () -> untyped
|
1948
|
+
|
1949
|
+
def attribute_nodes: () -> untyped
|
1950
|
+
|
1951
|
+
def attributes: () -> untyped
|
1952
|
+
|
1953
|
+
def attributes?: () -> untyped
|
1954
|
+
|
1955
|
+
def base_uri: () -> untyped
|
1956
|
+
|
1957
|
+
def default?: () -> untyped
|
1958
|
+
|
1959
|
+
def depth: () -> untyped
|
1960
|
+
|
1961
|
+
def each: () { (untyped) -> void } -> untyped
|
1962
|
+
|
1963
|
+
def empty_element?: () -> untyped
|
1964
|
+
|
1965
|
+
def encoding: () -> untyped
|
1966
|
+
|
1967
|
+
def errors: () -> untyped
|
1968
|
+
|
1969
|
+
def errors=: (untyped) -> untyped
|
1970
|
+
|
1971
|
+
def inner_xml: () -> untyped
|
1972
|
+
|
1973
|
+
def lang: () -> untyped
|
1974
|
+
|
1975
|
+
def local_name: () -> untyped
|
1976
|
+
|
1977
|
+
def name: () -> untyped
|
1978
|
+
|
1979
|
+
def namespace_uri: () -> untyped
|
1980
|
+
|
1981
|
+
def namespaces: () -> untyped
|
1982
|
+
|
1983
|
+
def node_type: () -> untyped
|
1984
|
+
|
1985
|
+
def outer_xml: () -> untyped
|
1986
|
+
|
1987
|
+
def prefix: () -> untyped
|
1988
|
+
|
1989
|
+
def read: () -> untyped
|
1990
|
+
|
1991
|
+
alias self_closing? empty_element?
|
1992
|
+
|
1993
|
+
def source: () -> untyped
|
1994
|
+
|
1995
|
+
def state: () -> untyped
|
1996
|
+
|
1997
|
+
def value: () -> untyped
|
1998
|
+
|
1999
|
+
def value?: () -> untyped
|
2000
|
+
|
2001
|
+
def xml_version: () -> untyped
|
2002
|
+
|
2003
|
+
private
|
2004
|
+
|
2005
|
+
def attr_nodes: () -> untyped
|
2006
|
+
|
2007
|
+
def initialize: (untyped source, ?untyped url, ?untyped encoding) -> untyped
|
2008
|
+
end
|
2009
|
+
|
2010
|
+
Nokogiri::XML::Reader::TYPE_ATTRIBUTE: Integer
|
2011
|
+
|
2012
|
+
Nokogiri::XML::Reader::TYPE_CDATA: Integer
|
2013
|
+
|
2014
|
+
Nokogiri::XML::Reader::TYPE_COMMENT: Integer
|
2015
|
+
|
2016
|
+
Nokogiri::XML::Reader::TYPE_DOCUMENT: Integer
|
2017
|
+
|
2018
|
+
Nokogiri::XML::Reader::TYPE_DOCUMENT_FRAGMENT: Integer
|
2019
|
+
|
2020
|
+
Nokogiri::XML::Reader::TYPE_DOCUMENT_TYPE: Integer
|
2021
|
+
|
2022
|
+
Nokogiri::XML::Reader::TYPE_ELEMENT: Integer
|
2023
|
+
|
2024
|
+
Nokogiri::XML::Reader::TYPE_END_ELEMENT: Integer
|
2025
|
+
|
2026
|
+
Nokogiri::XML::Reader::TYPE_END_ENTITY: Integer
|
2027
|
+
|
2028
|
+
Nokogiri::XML::Reader::TYPE_ENTITY: Integer
|
2029
|
+
|
2030
|
+
Nokogiri::XML::Reader::TYPE_ENTITY_REFERENCE: Integer
|
2031
|
+
|
2032
|
+
Nokogiri::XML::Reader::TYPE_NONE: Integer
|
2033
|
+
|
2034
|
+
Nokogiri::XML::Reader::TYPE_NOTATION: Integer
|
2035
|
+
|
2036
|
+
Nokogiri::XML::Reader::TYPE_PROCESSING_INSTRUCTION: Integer
|
2037
|
+
|
2038
|
+
Nokogiri::XML::Reader::TYPE_SIGNIFICANT_WHITESPACE: Integer
|
2039
|
+
|
2040
|
+
Nokogiri::XML::Reader::TYPE_TEXT: Integer
|
2041
|
+
|
2042
|
+
Nokogiri::XML::Reader::TYPE_WHITESPACE: Integer
|
2043
|
+
|
2044
|
+
Nokogiri::XML::Reader::TYPE_XML_DECLARATION: Integer
|
2045
|
+
|
2046
|
+
class Nokogiri::XML::RelaxNG < Nokogiri::XML::Schema
|
2047
|
+
def self.from_document: (untyped) -> untyped
|
2048
|
+
|
2049
|
+
def self.read_memory: (untyped) -> untyped
|
2050
|
+
|
2051
|
+
private
|
2052
|
+
|
2053
|
+
def validate_document: (untyped) -> untyped
|
2054
|
+
end
|
2055
|
+
|
2056
|
+
module Nokogiri::XML::SAX
|
2057
|
+
end
|
2058
|
+
|
2059
|
+
class Nokogiri::XML::SAX::Document
|
2060
|
+
public
|
2061
|
+
|
2062
|
+
def cdata_block: (untyped string) -> untyped
|
2063
|
+
|
2064
|
+
def characters: (untyped string) -> untyped
|
2065
|
+
|
2066
|
+
def comment: (untyped string) -> untyped
|
2067
|
+
|
2068
|
+
def end_document: () -> untyped
|
2069
|
+
|
2070
|
+
def end_element: (untyped name) -> untyped
|
2071
|
+
|
2072
|
+
def end_element_namespace: (untyped name, ?untyped prefix, ?untyped uri) -> untyped
|
2073
|
+
|
2074
|
+
def error: (untyped string) -> untyped
|
2075
|
+
|
2076
|
+
def processing_instruction: (untyped name, untyped content) -> untyped
|
2077
|
+
|
2078
|
+
def start_document: () -> untyped
|
2079
|
+
|
2080
|
+
def start_element: (untyped name, ?untyped attrs) -> untyped
|
2081
|
+
|
2082
|
+
def start_element_namespace: (untyped name, ?untyped attrs, ?untyped prefix, ?untyped uri, ?untyped ns) -> untyped
|
2083
|
+
|
2084
|
+
def warning: (untyped string) -> untyped
|
2085
|
+
|
2086
|
+
def xmldecl: (untyped version, untyped encoding, untyped standalone) -> untyped
|
2087
|
+
end
|
2088
|
+
|
2089
|
+
class Nokogiri::XML::SAX::Parser
|
2090
|
+
public
|
2091
|
+
|
2092
|
+
def document: () -> untyped
|
2093
|
+
|
2094
|
+
def document=: (untyped) -> untyped
|
2095
|
+
|
2096
|
+
def encoding: () -> untyped
|
2097
|
+
|
2098
|
+
def encoding=: (untyped) -> untyped
|
2099
|
+
|
2100
|
+
def parse: (untyped thing) { (*untyped) -> untyped } -> untyped
|
2101
|
+
|
2102
|
+
def parse_file: (untyped filename) -> untyped
|
2103
|
+
|
2104
|
+
def parse_io: (untyped io, ?untyped encoding) -> untyped
|
2105
|
+
|
2106
|
+
def parse_memory: (untyped data) -> untyped
|
2107
|
+
|
2108
|
+
private
|
2109
|
+
|
2110
|
+
def check_encoding: (untyped encoding) -> untyped
|
2111
|
+
|
2112
|
+
def initialize: (?untyped doc, ?untyped encoding) -> untyped
|
2113
|
+
end
|
2114
|
+
|
2115
|
+
Nokogiri::XML::SAX::Parser::ENCODINGS: Hash[untyped, untyped]
|
2116
|
+
|
2117
|
+
class Nokogiri::XML::SAX::Parser::Attribute
|
2118
|
+
end
|
2119
|
+
|
2120
|
+
class Nokogiri::XML::SAX::ParserContext
|
2121
|
+
def self.file: (untyped) -> untyped
|
2122
|
+
|
2123
|
+
def self.io: (untyped, untyped) -> untyped
|
2124
|
+
|
2125
|
+
def self.memory: (untyped) -> untyped
|
2126
|
+
|
2127
|
+
def self.new: (untyped thing, ?untyped encoding) -> untyped
|
2128
|
+
|
2129
|
+
public
|
2130
|
+
|
2131
|
+
def column: () -> untyped
|
2132
|
+
|
2133
|
+
def line: () -> untyped
|
2134
|
+
|
2135
|
+
def parse_with: (untyped) -> untyped
|
2136
|
+
|
2137
|
+
def recovery: () -> untyped
|
2138
|
+
|
2139
|
+
def recovery=: (untyped) -> untyped
|
2140
|
+
|
2141
|
+
def replace_entities: () -> untyped
|
2142
|
+
|
2143
|
+
def replace_entities=: (untyped) -> untyped
|
2144
|
+
end
|
2145
|
+
|
2146
|
+
class Nokogiri::XML::SAX::PushParser
|
2147
|
+
public
|
2148
|
+
|
2149
|
+
alias << write
|
2150
|
+
|
2151
|
+
def document: () -> untyped
|
2152
|
+
|
2153
|
+
def document=: (untyped) -> untyped
|
2154
|
+
|
2155
|
+
def finish: () -> untyped
|
2156
|
+
|
2157
|
+
def options: () -> untyped
|
2158
|
+
|
2159
|
+
def options=: (untyped) -> untyped
|
2160
|
+
|
2161
|
+
def replace_entities: () -> untyped
|
2162
|
+
|
2163
|
+
def replace_entities=: (untyped) -> untyped
|
2164
|
+
|
2165
|
+
def write: (untyped chunk, ?untyped last_chunk) -> untyped
|
2166
|
+
|
2167
|
+
private
|
2168
|
+
|
2169
|
+
def initialize: (?untyped doc, ?untyped file_name, ?untyped encoding) -> untyped
|
2170
|
+
|
2171
|
+
def initialize_native: (untyped, untyped) -> untyped
|
2172
|
+
|
2173
|
+
def native_write: (untyped, untyped) -> untyped
|
2174
|
+
end
|
2175
|
+
|
2176
|
+
class Nokogiri::XML::Schema
|
2177
|
+
def self.from_document: (untyped) -> untyped
|
2178
|
+
|
2179
|
+
def self.new: (untyped string_or_io) -> untyped
|
2180
|
+
|
2181
|
+
def self.read_memory: (untyped) -> untyped
|
2182
|
+
|
2183
|
+
public
|
2184
|
+
|
2185
|
+
def errors: () -> untyped
|
2186
|
+
|
2187
|
+
def errors=: (untyped) -> untyped
|
2188
|
+
|
2189
|
+
def valid?: (untyped thing) -> untyped
|
2190
|
+
|
2191
|
+
def validate: (untyped thing) -> untyped
|
2192
|
+
|
2193
|
+
private
|
2194
|
+
|
2195
|
+
def validate_document: (untyped) -> untyped
|
2196
|
+
|
2197
|
+
def validate_file: (untyped) -> untyped
|
2198
|
+
end
|
2199
|
+
|
2200
|
+
module Nokogiri::XML::Searchable
|
2201
|
+
public
|
2202
|
+
|
2203
|
+
alias % at
|
2204
|
+
|
2205
|
+
alias / search
|
2206
|
+
|
2207
|
+
def at: (*untyped args) -> untyped
|
2208
|
+
|
2209
|
+
def at_css: (*untyped args) -> untyped
|
2210
|
+
|
2211
|
+
def at_xpath: (*untyped args) -> untyped
|
2212
|
+
|
2213
|
+
def css: (*untyped args) -> Nokogiri::XML::NodeSet
|
2214
|
+
|
2215
|
+
def search: (*untyped args) -> Nokogiri::XML::NodeSet
|
2216
|
+
|
2217
|
+
def xpath: (*untyped args) -> Nokogiri::XML::NodeSet
|
2218
|
+
|
2219
|
+
private
|
2220
|
+
|
2221
|
+
def css_internal: (untyped node, untyped rules, untyped handler, untyped ns) -> untyped
|
2222
|
+
|
2223
|
+
def css_rules_to_xpath: (untyped rules, untyped ns) -> untyped
|
2224
|
+
|
2225
|
+
def extract_params: (untyped params) -> untyped
|
2226
|
+
|
2227
|
+
def xpath_impl: (untyped node, untyped path, untyped handler, untyped ns, untyped binds) -> untyped
|
2228
|
+
|
2229
|
+
def xpath_internal: (untyped node, untyped paths, untyped handler, untyped ns, untyped binds) -> untyped
|
2230
|
+
|
2231
|
+
def xpath_query_from_css_rule: (untyped rule, untyped ns) -> untyped
|
2232
|
+
end
|
2233
|
+
|
2234
|
+
Nokogiri::XML::Searchable::LOOKS_LIKE_XPATH: Regexp
|
2235
|
+
|
2236
|
+
class Nokogiri::XML::SyntaxError < Nokogiri::SyntaxError
|
2237
|
+
public
|
2238
|
+
|
2239
|
+
def code: () -> untyped
|
2240
|
+
|
2241
|
+
def column: () -> untyped
|
2242
|
+
|
2243
|
+
def domain: () -> untyped
|
2244
|
+
|
2245
|
+
def error?: () -> untyped
|
2246
|
+
|
2247
|
+
def fatal?: () -> untyped
|
2248
|
+
|
2249
|
+
def file: () -> untyped
|
2250
|
+
|
2251
|
+
def int1: () -> untyped
|
2252
|
+
|
2253
|
+
def level: () -> untyped
|
2254
|
+
|
2255
|
+
def line: () -> untyped
|
2256
|
+
|
2257
|
+
def none?: () -> untyped
|
2258
|
+
|
2259
|
+
def str1: () -> untyped
|
2260
|
+
|
2261
|
+
def str2: () -> untyped
|
2262
|
+
|
2263
|
+
def str3: () -> untyped
|
2264
|
+
|
2265
|
+
def to_s: () -> untyped
|
2266
|
+
|
2267
|
+
def warning?: () -> untyped
|
2268
|
+
|
2269
|
+
private
|
2270
|
+
|
2271
|
+
def level_to_s: () -> untyped
|
2272
|
+
|
2273
|
+
def location_to_s: () -> untyped
|
2274
|
+
|
2275
|
+
def nil_or_zero?: (untyped attribute) -> untyped
|
2276
|
+
end
|
2277
|
+
|
2278
|
+
class Nokogiri::XML::Text < Nokogiri::XML::CharacterData
|
2279
|
+
def self.new: (*untyped) -> untyped
|
2280
|
+
|
2281
|
+
public
|
2282
|
+
|
2283
|
+
def content=: (untyped string) -> untyped
|
2284
|
+
end
|
2285
|
+
|
2286
|
+
class Nokogiri::XML::XPath
|
2287
|
+
public
|
2288
|
+
|
2289
|
+
def document: () -> untyped
|
2290
|
+
|
2291
|
+
def document=: (untyped) -> untyped
|
2292
|
+
end
|
2293
|
+
|
2294
|
+
class Nokogiri::XML::XPath::SyntaxError < Nokogiri::XML::SyntaxError
|
2295
|
+
public
|
2296
|
+
|
2297
|
+
def to_s: () -> untyped
|
2298
|
+
end
|
2299
|
+
|
2300
|
+
class Nokogiri::XML::XPathContext
|
2301
|
+
def self.new: (untyped) -> untyped
|
2302
|
+
|
2303
|
+
public
|
2304
|
+
|
2305
|
+
def evaluate: (*untyped) -> untyped
|
2306
|
+
|
2307
|
+
def register_namespaces: (untyped namespaces) -> untyped
|
2308
|
+
|
2309
|
+
def register_ns: (untyped, untyped) -> untyped
|
2310
|
+
|
2311
|
+
def register_variable: (untyped, untyped) -> untyped
|
2312
|
+
end
|
2313
|
+
|
2314
|
+
module Nokogiri::XSLT
|
2315
|
+
def self.parse: (untyped string, ?untyped modules) -> untyped
|
2316
|
+
|
2317
|
+
def self.quote_params: (untyped params) -> untyped
|
2318
|
+
|
2319
|
+
def self.register: (untyped, untyped) -> untyped
|
2320
|
+
end
|
2321
|
+
|
2322
|
+
class Nokogiri::XSLT::Stylesheet
|
2323
|
+
def self.parse_stylesheet_doc: (untyped) -> untyped
|
2324
|
+
|
2325
|
+
public
|
2326
|
+
|
2327
|
+
def apply_to: (untyped document, ?untyped params) -> untyped
|
2328
|
+
|
2329
|
+
def serialize: (untyped) -> untyped
|
2330
|
+
|
2331
|
+
def transform: (*untyped) -> untyped
|
2332
|
+
end
|