frontman-ssg 0.0.4 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +13 -2
- data/Rakefile +5 -2
- data/frontman-ssg.gemspec +1 -0
- data/lib/frontman.rb +0 -5
- data/lib/frontman/app.rb +1 -3
- data/lib/frontman/builder/file.rb +1 -3
- data/lib/frontman/commands/init.rb +2 -3
- data/lib/frontman/commands/serve.rb +29 -28
- data/lib/frontman/concerns/forward_calls_to_app.rb +1 -1
- data/lib/frontman/context.rb +68 -57
- data/lib/frontman/data_store.rb +1 -3
- data/lib/frontman/iterator.rb +1 -3
- data/lib/frontman/renderers/erb_renderer.rb +19 -1
- data/lib/frontman/renderers/haml_renderer.rb +29 -1
- data/lib/frontman/renderers/renderer_resolver.rb +18 -5
- data/lib/frontman/renderers/slim_renderer.rb +30 -0
- data/lib/frontman/resource.rb +9 -13
- data/lib/frontman/sitemap_tree.rb +1 -3
- data/lib/frontman/version.rb +1 -1
- data/project-templates/webpack/helpers/assets_helper.rb +1 -3
- data/sorbet/rbi/gems/ast.rbi +48 -0
- data/sorbet/rbi/gems/better_errors.rbi +180 -0
- data/sorbet/rbi/gems/binding_of_caller.rbi +23 -0
- data/sorbet/rbi/gems/coderay.rbi +24 -0
- data/sorbet/rbi/gems/debug_inspector.rbi +19 -0
- data/sorbet/rbi/gems/docile.rbi +32 -0
- data/sorbet/rbi/gems/dotenv.rbi +68 -0
- data/sorbet/rbi/gems/erubi.rbi +27 -0
- data/sorbet/rbi/gems/erubis.rbi +280 -0
- data/sorbet/rbi/gems/haml.rbi +521 -0
- data/sorbet/rbi/gems/htmlentities.rbi +46 -0
- data/sorbet/rbi/gems/jaro_winkler.rbi +15 -0
- data/sorbet/rbi/gems/kramdown-parser-gfm.rbi +29 -0
- data/sorbet/rbi/gems/kramdown.rbi +338 -0
- data/sorbet/rbi/gems/listen.rbi +301 -0
- data/sorbet/rbi/gems/mustermann.rbi +481 -0
- data/sorbet/rbi/gems/nokogiri.rbi +1011 -0
- data/sorbet/rbi/gems/parallel.rbi +82 -0
- data/sorbet/rbi/gems/parser.rbi +1405 -0
- data/sorbet/rbi/gems/rack-protection.rbi +16 -0
- data/sorbet/rbi/gems/rack.rbi +507 -0
- data/sorbet/rbi/gems/rainbow.rbi +118 -0
- data/sorbet/rbi/gems/rake.rbi +641 -0
- data/sorbet/rbi/gems/rexml.rbi +93 -0
- data/sorbet/rbi/gems/rouge.rbi +1551 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1893 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1125 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1099 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/rubocop-performance.rbi +274 -0
- data/sorbet/rbi/gems/rubocop.rbi +7403 -0
- data/sorbet/rbi/gems/ruby-progressbar.rbi +305 -0
- data/sorbet/rbi/gems/ruby2_keywords.rbi +17 -0
- data/sorbet/rbi/gems/simplecov-html.rbi +35 -0
- data/sorbet/rbi/gems/simplecov.rbi +405 -0
- data/sorbet/rbi/gems/sinatra.rbi +488 -0
- data/sorbet/rbi/gems/slim.rbi +144 -0
- data/sorbet/rbi/gems/temple.rbi +281 -0
- data/sorbet/rbi/gems/thor.rbi +522 -0
- data/sorbet/rbi/gems/tilt.rbi +82 -0
- data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
- data/sorbet/rbi/gems/yaml-front-matter.rbi +16 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +2859 -24228
- data/sorbet/rbi/hidden-definitions/hidden.rbi +7111 -40830
- data/sorbet/rbi/sorbet-typed/lib/nokogiri/1.10.10/nokogiri.rbi +1615 -0
- data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
- data/sorbet/rbi/todo.rbi +6 -0
- data/spec/frontman/bootstrapper_spec.rb +1 -1
- data/spec/frontman/context_spec.rb +45 -6
- data/spec/frontman/mocks/context.haml +18 -0
- data/spec/frontman/renderers/slim_renderer_spec.rb +12 -0
- metadata +66 -4
@@ -0,0 +1,1615 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi sorbet-typed
|
3
|
+
#
|
4
|
+
# If you would like to make changes to this file, great! Please upstream any changes you make here:
|
5
|
+
#
|
6
|
+
# https://github.com/sorbet/sorbet-typed/edit/master/lib/nokogiri/1.10.10/nokogiri.rbi
|
7
|
+
#
|
8
|
+
# DO NOT EDIT MANUALLY
|
9
|
+
# This is an autogenerated file for types exported from the `nokogiri` gem.
|
10
|
+
# Please instead update this file by running `tapioca generate nokogiri`.
|
11
|
+
|
12
|
+
# typed: ignore
|
13
|
+
|
14
|
+
module Nokogiri
|
15
|
+
class << self
|
16
|
+
def HTML(thing, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
17
|
+
def Slop(*args, &block); end
|
18
|
+
def XML(thing, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
19
|
+
def XSLT(stylesheet, modules = T.unsafe(nil)); end
|
20
|
+
def install_default_aliases; end
|
21
|
+
def jruby?; end
|
22
|
+
def make(input = T.unsafe(nil), opts = T.unsafe(nil), &blk); end
|
23
|
+
def parse(string, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); end
|
24
|
+
def uses_libxml?; end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
module Nokogiri::CSS
|
29
|
+
class << self
|
30
|
+
def parse(selector); end
|
31
|
+
def xpath_for(selector, options = T.unsafe(nil)); end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
class Nokogiri::CSS::Node
|
36
|
+
def initialize(type, value); end
|
37
|
+
|
38
|
+
def accept(visitor); end
|
39
|
+
def find_by_type(types); end
|
40
|
+
def to_a; end
|
41
|
+
def to_type; end
|
42
|
+
def to_xpath(prefix = T.unsafe(nil), visitor = T.unsafe(nil)); end
|
43
|
+
def type; end
|
44
|
+
def type=(_arg0); end
|
45
|
+
def value; end
|
46
|
+
def value=(_arg0); end
|
47
|
+
end
|
48
|
+
|
49
|
+
Nokogiri::CSS::Node::ALLOW_COMBINATOR_ON_SELF = T.let(T.unsafe(nil), Array)
|
50
|
+
|
51
|
+
class Nokogiri::CSS::Parser < ::Racc::Parser
|
52
|
+
def initialize(namespaces = T.unsafe(nil)); end
|
53
|
+
|
54
|
+
def _reduce_1(val, _values, result); end
|
55
|
+
def _reduce_11(val, _values, result); end
|
56
|
+
def _reduce_12(val, _values, result); end
|
57
|
+
def _reduce_13(val, _values, result); end
|
58
|
+
def _reduce_14(val, _values, result); end
|
59
|
+
def _reduce_15(val, _values, result); end
|
60
|
+
def _reduce_16(val, _values, result); end
|
61
|
+
def _reduce_18(val, _values, result); end
|
62
|
+
def _reduce_2(val, _values, result); end
|
63
|
+
def _reduce_20(val, _values, result); end
|
64
|
+
def _reduce_21(val, _values, result); end
|
65
|
+
def _reduce_22(val, _values, result); end
|
66
|
+
def _reduce_23(val, _values, result); end
|
67
|
+
def _reduce_25(val, _values, result); end
|
68
|
+
def _reduce_26(val, _values, result); end
|
69
|
+
def _reduce_27(val, _values, result); end
|
70
|
+
def _reduce_28(val, _values, result); end
|
71
|
+
def _reduce_29(val, _values, result); end
|
72
|
+
def _reduce_3(val, _values, result); end
|
73
|
+
def _reduce_30(val, _values, result); end
|
74
|
+
def _reduce_31(val, _values, result); end
|
75
|
+
def _reduce_32(val, _values, result); end
|
76
|
+
def _reduce_33(val, _values, result); end
|
77
|
+
def _reduce_34(val, _values, result); end
|
78
|
+
def _reduce_35(val, _values, result); end
|
79
|
+
def _reduce_36(val, _values, result); end
|
80
|
+
def _reduce_37(val, _values, result); end
|
81
|
+
def _reduce_4(val, _values, result); end
|
82
|
+
def _reduce_40(val, _values, result); end
|
83
|
+
def _reduce_41(val, _values, result); end
|
84
|
+
def _reduce_42(val, _values, result); end
|
85
|
+
def _reduce_43(val, _values, result); end
|
86
|
+
def _reduce_44(val, _values, result); end
|
87
|
+
def _reduce_45(val, _values, result); end
|
88
|
+
def _reduce_48(val, _values, result); end
|
89
|
+
def _reduce_49(val, _values, result); end
|
90
|
+
def _reduce_5(val, _values, result); end
|
91
|
+
def _reduce_50(val, _values, result); end
|
92
|
+
def _reduce_51(val, _values, result); end
|
93
|
+
def _reduce_52(val, _values, result); end
|
94
|
+
def _reduce_58(val, _values, result); end
|
95
|
+
def _reduce_59(val, _values, result); end
|
96
|
+
def _reduce_6(val, _values, result); end
|
97
|
+
def _reduce_60(val, _values, result); end
|
98
|
+
def _reduce_61(val, _values, result); end
|
99
|
+
def _reduce_63(val, _values, result); end
|
100
|
+
def _reduce_64(val, _values, result); end
|
101
|
+
def _reduce_65(val, _values, result); end
|
102
|
+
def _reduce_66(val, _values, result); end
|
103
|
+
def _reduce_67(val, _values, result); end
|
104
|
+
def _reduce_68(val, _values, result); end
|
105
|
+
def _reduce_69(val, _values, result); end
|
106
|
+
def _reduce_7(val, _values, result); end
|
107
|
+
def _reduce_70(val, _values, result); end
|
108
|
+
def _reduce_8(val, _values, result); end
|
109
|
+
def _reduce_9(val, _values, result); end
|
110
|
+
def _reduce_none(val, _values, result); end
|
111
|
+
def next_token; end
|
112
|
+
def on_error(error_token_id, error_value, value_stack); end
|
113
|
+
def parse(string); end
|
114
|
+
def unescape_css_identifier(identifier); end
|
115
|
+
def unescape_css_string(str); end
|
116
|
+
def xpath_for(string, options = T.unsafe(nil)); end
|
117
|
+
|
118
|
+
class << self
|
119
|
+
def [](string); end
|
120
|
+
def []=(string, value); end
|
121
|
+
def cache_on; end
|
122
|
+
def cache_on=(_arg0); end
|
123
|
+
def cache_on?; end
|
124
|
+
def clear_cache; end
|
125
|
+
def parse(selector); end
|
126
|
+
def set_cache(_arg0); end
|
127
|
+
def without_cache(&block); end
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
Nokogiri::CSS::Parser::Racc_arg = T.let(T.unsafe(nil), Array)
|
132
|
+
|
133
|
+
Nokogiri::CSS::Parser::Racc_token_to_s_table = T.let(T.unsafe(nil), Array)
|
134
|
+
|
135
|
+
class Nokogiri::CSS::SyntaxError < ::Nokogiri::SyntaxError
|
136
|
+
end
|
137
|
+
|
138
|
+
class Nokogiri::CSS::Tokenizer
|
139
|
+
def _next_token; end
|
140
|
+
def action; end
|
141
|
+
def filename; end
|
142
|
+
def lineno; end
|
143
|
+
def load_file(filename); end
|
144
|
+
def next_token; end
|
145
|
+
def scan(str); end
|
146
|
+
def scan_file(filename); end
|
147
|
+
def scan_setup(str); end
|
148
|
+
def scan_str(str); end
|
149
|
+
def state; end
|
150
|
+
def state=(_arg0); end
|
151
|
+
end
|
152
|
+
|
153
|
+
class Nokogiri::CSS::Tokenizer::ScanError < ::StandardError
|
154
|
+
end
|
155
|
+
|
156
|
+
class Nokogiri::CSS::XPathVisitor
|
157
|
+
def accept(node); end
|
158
|
+
def visit_attribute_condition(node); end
|
159
|
+
def visit_child_selector(node); end
|
160
|
+
def visit_class_condition(node); end
|
161
|
+
def visit_combinator(node); end
|
162
|
+
def visit_conditional_selector(node); end
|
163
|
+
def visit_descendant_selector(node); end
|
164
|
+
def visit_direct_adjacent_selector(node); end
|
165
|
+
def visit_element_name(node); end
|
166
|
+
def visit_following_selector(node); end
|
167
|
+
def visit_function(node); end
|
168
|
+
def visit_id(node); end
|
169
|
+
def visit_not(node); end
|
170
|
+
def visit_pseudo_class(node); end
|
171
|
+
|
172
|
+
private
|
173
|
+
|
174
|
+
def is_of_type_pseudo_class?(node); end
|
175
|
+
def nth(node, options = T.unsafe(nil)); end
|
176
|
+
def read_a_and_positive_b(values); end
|
177
|
+
end
|
178
|
+
|
179
|
+
module Nokogiri::Decorators
|
180
|
+
end
|
181
|
+
|
182
|
+
module Nokogiri::Decorators::Slop
|
183
|
+
def method_missing(name, *args, &block); end
|
184
|
+
|
185
|
+
private
|
186
|
+
|
187
|
+
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
|
188
|
+
end
|
189
|
+
|
190
|
+
Nokogiri::Decorators::Slop::XPATH_PREFIX = T.let(T.unsafe(nil), String)
|
191
|
+
|
192
|
+
class Nokogiri::EncodingHandler
|
193
|
+
def name; end
|
194
|
+
|
195
|
+
class << self
|
196
|
+
def [](_arg0); end
|
197
|
+
def alias(_arg0, _arg1); end
|
198
|
+
def clear_aliases!; end
|
199
|
+
def delete(_arg0); end
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
module Nokogiri::HTML
|
204
|
+
class << self
|
205
|
+
def fragment(string, encoding = T.unsafe(nil)); end
|
206
|
+
def parse(thing, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
class Nokogiri::HTML::Builder < ::Nokogiri::XML::Builder
|
211
|
+
def to_html; end
|
212
|
+
end
|
213
|
+
|
214
|
+
class Nokogiri::HTML::Document < ::Nokogiri::XML::Document
|
215
|
+
def fragment(tags = T.unsafe(nil)); end
|
216
|
+
def meta_encoding; end
|
217
|
+
def meta_encoding=(encoding); end
|
218
|
+
def serialize(options = T.unsafe(nil)); end
|
219
|
+
def title; end
|
220
|
+
def title=(text); end
|
221
|
+
def type; end
|
222
|
+
|
223
|
+
private
|
224
|
+
|
225
|
+
def meta_content_type; end
|
226
|
+
def set_metadata_element(element); end
|
227
|
+
|
228
|
+
class << self
|
229
|
+
def new(*_arg0); end
|
230
|
+
def parse(string_or_io, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); end
|
231
|
+
def read_io(_arg0, _arg1, _arg2, _arg3); end
|
232
|
+
def read_memory(_arg0, _arg1, _arg2, _arg3); end
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
class Nokogiri::HTML::Document::EncodingFound < ::StandardError
|
237
|
+
def initialize(encoding); end
|
238
|
+
|
239
|
+
def found_encoding; end
|
240
|
+
end
|
241
|
+
|
242
|
+
class Nokogiri::HTML::Document::EncodingReader
|
243
|
+
def initialize(io); end
|
244
|
+
|
245
|
+
def encoding_found; end
|
246
|
+
def read(len); end
|
247
|
+
|
248
|
+
class << self
|
249
|
+
def detect_encoding(chunk); end
|
250
|
+
def detect_encoding_for_jruby_without_fix(chunk); end
|
251
|
+
def is_jruby_without_fix?; end
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
class Nokogiri::HTML::Document::EncodingReader::JumpSAXHandler < ::Nokogiri::HTML::Document::EncodingReader::SAXHandler
|
256
|
+
def initialize(jumptag); end
|
257
|
+
|
258
|
+
def start_element(name, attrs = T.unsafe(nil)); end
|
259
|
+
end
|
260
|
+
|
261
|
+
class Nokogiri::HTML::Document::EncodingReader::SAXHandler < ::Nokogiri::XML::SAX::Document
|
262
|
+
def initialize; end
|
263
|
+
|
264
|
+
def encoding; end
|
265
|
+
def start_element(name, attrs = T.unsafe(nil)); end
|
266
|
+
end
|
267
|
+
|
268
|
+
class Nokogiri::HTML::DocumentFragment < ::Nokogiri::XML::DocumentFragment
|
269
|
+
def initialize(document, tags = T.unsafe(nil), ctx = T.unsafe(nil)); end
|
270
|
+
|
271
|
+
class << self
|
272
|
+
def parse(tags, encoding = T.unsafe(nil)); end
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
276
|
+
class Nokogiri::HTML::ElementDescription
|
277
|
+
def block?; end
|
278
|
+
def default_sub_element; end
|
279
|
+
def deprecated?; end
|
280
|
+
def deprecated_attributes; end
|
281
|
+
def description; end
|
282
|
+
def empty?; end
|
283
|
+
def implied_end_tag?; end
|
284
|
+
def implied_start_tag?; end
|
285
|
+
def inline?; end
|
286
|
+
def inspect; end
|
287
|
+
def name; end
|
288
|
+
def optional_attributes; end
|
289
|
+
def required_attributes; end
|
290
|
+
def save_end_tag?; end
|
291
|
+
def sub_elements; end
|
292
|
+
def to_s; end
|
293
|
+
|
294
|
+
private
|
295
|
+
|
296
|
+
def default_desc; end
|
297
|
+
|
298
|
+
class << self
|
299
|
+
def [](_arg0); end
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
303
|
+
Nokogiri::HTML::ElementDescription::ACTION_ATTR = T.let(T.unsafe(nil), Array)
|
304
|
+
|
305
|
+
Nokogiri::HTML::ElementDescription::ALIGN_ATTR = T.let(T.unsafe(nil), Array)
|
306
|
+
|
307
|
+
Nokogiri::HTML::ElementDescription::ALT_ATTR = T.let(T.unsafe(nil), Array)
|
308
|
+
|
309
|
+
Nokogiri::HTML::ElementDescription::APPLET_ATTRS = T.let(T.unsafe(nil), Array)
|
310
|
+
|
311
|
+
Nokogiri::HTML::ElementDescription::AREA_ATTRS = T.let(T.unsafe(nil), Array)
|
312
|
+
|
313
|
+
Nokogiri::HTML::ElementDescription::ATTRS = T.let(T.unsafe(nil), Array)
|
314
|
+
|
315
|
+
Nokogiri::HTML::ElementDescription::A_ATTRS = T.let(T.unsafe(nil), Array)
|
316
|
+
|
317
|
+
Nokogiri::HTML::ElementDescription::BASEFONT_ATTRS = T.let(T.unsafe(nil), Array)
|
318
|
+
|
319
|
+
Nokogiri::HTML::ElementDescription::BGCOLOR_ATTR = T.let(T.unsafe(nil), Array)
|
320
|
+
|
321
|
+
Nokogiri::HTML::ElementDescription::BLOCK = T.let(T.unsafe(nil), Array)
|
322
|
+
|
323
|
+
Nokogiri::HTML::ElementDescription::BLOCKLI_ELT = T.let(T.unsafe(nil), Array)
|
324
|
+
|
325
|
+
Nokogiri::HTML::ElementDescription::BODY_ATTRS = T.let(T.unsafe(nil), Array)
|
326
|
+
|
327
|
+
Nokogiri::HTML::ElementDescription::BODY_CONTENTS = T.let(T.unsafe(nil), Array)
|
328
|
+
|
329
|
+
Nokogiri::HTML::ElementDescription::BODY_DEPR = T.let(T.unsafe(nil), Array)
|
330
|
+
|
331
|
+
Nokogiri::HTML::ElementDescription::BUTTON_ATTRS = T.let(T.unsafe(nil), Array)
|
332
|
+
|
333
|
+
Nokogiri::HTML::ElementDescription::CELLHALIGN = T.let(T.unsafe(nil), Array)
|
334
|
+
|
335
|
+
Nokogiri::HTML::ElementDescription::CELLVALIGN = T.let(T.unsafe(nil), Array)
|
336
|
+
|
337
|
+
Nokogiri::HTML::ElementDescription::CLEAR_ATTRS = T.let(T.unsafe(nil), Array)
|
338
|
+
|
339
|
+
Nokogiri::HTML::ElementDescription::COL_ATTRS = T.let(T.unsafe(nil), Array)
|
340
|
+
|
341
|
+
Nokogiri::HTML::ElementDescription::COL_ELT = T.let(T.unsafe(nil), Array)
|
342
|
+
|
343
|
+
Nokogiri::HTML::ElementDescription::COMPACT_ATTR = T.let(T.unsafe(nil), Array)
|
344
|
+
|
345
|
+
Nokogiri::HTML::ElementDescription::COMPACT_ATTRS = T.let(T.unsafe(nil), Array)
|
346
|
+
|
347
|
+
Nokogiri::HTML::ElementDescription::CONTENT_ATTR = T.let(T.unsafe(nil), Array)
|
348
|
+
|
349
|
+
Nokogiri::HTML::ElementDescription::COREATTRS = T.let(T.unsafe(nil), Array)
|
350
|
+
|
351
|
+
Nokogiri::HTML::ElementDescription::CORE_ATTRS = T.let(T.unsafe(nil), Array)
|
352
|
+
|
353
|
+
Nokogiri::HTML::ElementDescription::CORE_I18N_ATTRS = T.let(T.unsafe(nil), Array)
|
354
|
+
|
355
|
+
Nokogiri::HTML::ElementDescription::DIR_ATTR = T.let(T.unsafe(nil), Array)
|
356
|
+
|
357
|
+
Nokogiri::HTML::ElementDescription::DL_CONTENTS = T.let(T.unsafe(nil), Array)
|
358
|
+
|
359
|
+
Nokogiri::HTML::ElementDescription::DefaultDescriptions = T.let(T.unsafe(nil), Hash)
|
360
|
+
|
361
|
+
Nokogiri::HTML::ElementDescription::Desc = Struct
|
362
|
+
|
363
|
+
Nokogiri::HTML::ElementDescription::EDIT_ATTRS = T.let(T.unsafe(nil), Array)
|
364
|
+
|
365
|
+
Nokogiri::HTML::ElementDescription::EMBED_ATTRS = T.let(T.unsafe(nil), Array)
|
366
|
+
|
367
|
+
Nokogiri::HTML::ElementDescription::EMPTY = T.let(T.unsafe(nil), Array)
|
368
|
+
|
369
|
+
Nokogiri::HTML::ElementDescription::EVENTS = T.let(T.unsafe(nil), Array)
|
370
|
+
|
371
|
+
Nokogiri::HTML::ElementDescription::FIELDSET_CONTENTS = T.let(T.unsafe(nil), Array)
|
372
|
+
|
373
|
+
Nokogiri::HTML::ElementDescription::FLOW = T.let(T.unsafe(nil), Array)
|
374
|
+
|
375
|
+
Nokogiri::HTML::ElementDescription::FLOW_PARAM = T.let(T.unsafe(nil), Array)
|
376
|
+
|
377
|
+
Nokogiri::HTML::ElementDescription::FONTSTYLE = T.let(T.unsafe(nil), Array)
|
378
|
+
|
379
|
+
Nokogiri::HTML::ElementDescription::FONT_ATTRS = T.let(T.unsafe(nil), Array)
|
380
|
+
|
381
|
+
Nokogiri::HTML::ElementDescription::FORMCTRL = T.let(T.unsafe(nil), Array)
|
382
|
+
|
383
|
+
Nokogiri::HTML::ElementDescription::FORM_ATTRS = T.let(T.unsafe(nil), Array)
|
384
|
+
|
385
|
+
Nokogiri::HTML::ElementDescription::FORM_CONTENTS = T.let(T.unsafe(nil), Array)
|
386
|
+
|
387
|
+
Nokogiri::HTML::ElementDescription::FRAMESET_ATTRS = T.let(T.unsafe(nil), Array)
|
388
|
+
|
389
|
+
Nokogiri::HTML::ElementDescription::FRAMESET_CONTENTS = T.let(T.unsafe(nil), Array)
|
390
|
+
|
391
|
+
Nokogiri::HTML::ElementDescription::FRAME_ATTRS = T.let(T.unsafe(nil), Array)
|
392
|
+
|
393
|
+
Nokogiri::HTML::ElementDescription::HEADING = T.let(T.unsafe(nil), Array)
|
394
|
+
|
395
|
+
Nokogiri::HTML::ElementDescription::HEAD_ATTRS = T.let(T.unsafe(nil), Array)
|
396
|
+
|
397
|
+
Nokogiri::HTML::ElementDescription::HEAD_CONTENTS = T.let(T.unsafe(nil), Array)
|
398
|
+
|
399
|
+
Nokogiri::HTML::ElementDescription::HREF_ATTRS = T.let(T.unsafe(nil), Array)
|
400
|
+
|
401
|
+
Nokogiri::HTML::ElementDescription::HR_DEPR = T.let(T.unsafe(nil), Array)
|
402
|
+
|
403
|
+
Nokogiri::HTML::ElementDescription::HTML_ATTRS = T.let(T.unsafe(nil), Array)
|
404
|
+
|
405
|
+
Nokogiri::HTML::ElementDescription::HTML_CDATA = T.let(T.unsafe(nil), Array)
|
406
|
+
|
407
|
+
Nokogiri::HTML::ElementDescription::HTML_CONTENT = T.let(T.unsafe(nil), Array)
|
408
|
+
|
409
|
+
Nokogiri::HTML::ElementDescription::HTML_FLOW = T.let(T.unsafe(nil), Array)
|
410
|
+
|
411
|
+
Nokogiri::HTML::ElementDescription::HTML_INLINE = T.let(T.unsafe(nil), Array)
|
412
|
+
|
413
|
+
Nokogiri::HTML::ElementDescription::HTML_PCDATA = T.let(T.unsafe(nil), Array)
|
414
|
+
|
415
|
+
Nokogiri::HTML::ElementDescription::I18N = T.let(T.unsafe(nil), Array)
|
416
|
+
|
417
|
+
Nokogiri::HTML::ElementDescription::I18N_ATTRS = T.let(T.unsafe(nil), Array)
|
418
|
+
|
419
|
+
Nokogiri::HTML::ElementDescription::IFRAME_ATTRS = T.let(T.unsafe(nil), Array)
|
420
|
+
|
421
|
+
Nokogiri::HTML::ElementDescription::IMG_ATTRS = T.let(T.unsafe(nil), Array)
|
422
|
+
|
423
|
+
Nokogiri::HTML::ElementDescription::INLINE = T.let(T.unsafe(nil), Array)
|
424
|
+
|
425
|
+
Nokogiri::HTML::ElementDescription::INLINE_P = T.let(T.unsafe(nil), Array)
|
426
|
+
|
427
|
+
Nokogiri::HTML::ElementDescription::INPUT_ATTRS = T.let(T.unsafe(nil), Array)
|
428
|
+
|
429
|
+
Nokogiri::HTML::ElementDescription::LABEL_ATTR = T.let(T.unsafe(nil), Array)
|
430
|
+
|
431
|
+
Nokogiri::HTML::ElementDescription::LABEL_ATTRS = T.let(T.unsafe(nil), Array)
|
432
|
+
|
433
|
+
Nokogiri::HTML::ElementDescription::LANGUAGE_ATTR = T.let(T.unsafe(nil), Array)
|
434
|
+
|
435
|
+
Nokogiri::HTML::ElementDescription::LEGEND_ATTRS = T.let(T.unsafe(nil), Array)
|
436
|
+
|
437
|
+
Nokogiri::HTML::ElementDescription::LINK_ATTRS = T.let(T.unsafe(nil), Array)
|
438
|
+
|
439
|
+
Nokogiri::HTML::ElementDescription::LIST = T.let(T.unsafe(nil), Array)
|
440
|
+
|
441
|
+
Nokogiri::HTML::ElementDescription::LI_ELT = T.let(T.unsafe(nil), Array)
|
442
|
+
|
443
|
+
Nokogiri::HTML::ElementDescription::MAP_CONTENTS = T.let(T.unsafe(nil), Array)
|
444
|
+
|
445
|
+
Nokogiri::HTML::ElementDescription::META_ATTRS = T.let(T.unsafe(nil), Array)
|
446
|
+
|
447
|
+
Nokogiri::HTML::ElementDescription::MODIFIER = T.let(T.unsafe(nil), Array)
|
448
|
+
|
449
|
+
Nokogiri::HTML::ElementDescription::NAME_ATTR = T.let(T.unsafe(nil), Array)
|
450
|
+
|
451
|
+
Nokogiri::HTML::ElementDescription::NOFRAMES_CONTENT = T.let(T.unsafe(nil), Array)
|
452
|
+
|
453
|
+
Nokogiri::HTML::ElementDescription::OBJECT_ATTRS = T.let(T.unsafe(nil), Array)
|
454
|
+
|
455
|
+
Nokogiri::HTML::ElementDescription::OBJECT_CONTENTS = T.let(T.unsafe(nil), Array)
|
456
|
+
|
457
|
+
Nokogiri::HTML::ElementDescription::OBJECT_DEPR = T.let(T.unsafe(nil), Array)
|
458
|
+
|
459
|
+
Nokogiri::HTML::ElementDescription::OL_ATTRS = T.let(T.unsafe(nil), Array)
|
460
|
+
|
461
|
+
Nokogiri::HTML::ElementDescription::OPTGROUP_ATTRS = T.let(T.unsafe(nil), Array)
|
462
|
+
|
463
|
+
Nokogiri::HTML::ElementDescription::OPTION_ATTRS = T.let(T.unsafe(nil), Array)
|
464
|
+
|
465
|
+
Nokogiri::HTML::ElementDescription::OPTION_ELT = T.let(T.unsafe(nil), Array)
|
466
|
+
|
467
|
+
Nokogiri::HTML::ElementDescription::PARAM_ATTRS = T.let(T.unsafe(nil), Array)
|
468
|
+
|
469
|
+
Nokogiri::HTML::ElementDescription::PCDATA = T.let(T.unsafe(nil), Array)
|
470
|
+
|
471
|
+
Nokogiri::HTML::ElementDescription::PHRASE = T.let(T.unsafe(nil), Array)
|
472
|
+
|
473
|
+
Nokogiri::HTML::ElementDescription::PRE_CONTENT = T.let(T.unsafe(nil), Array)
|
474
|
+
|
475
|
+
Nokogiri::HTML::ElementDescription::PROMPT_ATTRS = T.let(T.unsafe(nil), Array)
|
476
|
+
|
477
|
+
Nokogiri::HTML::ElementDescription::QUOTE_ATTRS = T.let(T.unsafe(nil), Array)
|
478
|
+
|
479
|
+
Nokogiri::HTML::ElementDescription::ROWS_COLS_ATTR = T.let(T.unsafe(nil), Array)
|
480
|
+
|
481
|
+
Nokogiri::HTML::ElementDescription::SCRIPT_ATTRS = T.let(T.unsafe(nil), Array)
|
482
|
+
|
483
|
+
Nokogiri::HTML::ElementDescription::SELECT_ATTRS = T.let(T.unsafe(nil), Array)
|
484
|
+
|
485
|
+
Nokogiri::HTML::ElementDescription::SELECT_CONTENT = T.let(T.unsafe(nil), Array)
|
486
|
+
|
487
|
+
Nokogiri::HTML::ElementDescription::SPECIAL = T.let(T.unsafe(nil), Array)
|
488
|
+
|
489
|
+
Nokogiri::HTML::ElementDescription::SRC_ALT_ATTRS = T.let(T.unsafe(nil), Array)
|
490
|
+
|
491
|
+
Nokogiri::HTML::ElementDescription::STYLE_ATTRS = T.let(T.unsafe(nil), Array)
|
492
|
+
|
493
|
+
Nokogiri::HTML::ElementDescription::TABLE_ATTRS = T.let(T.unsafe(nil), Array)
|
494
|
+
|
495
|
+
Nokogiri::HTML::ElementDescription::TABLE_CONTENTS = T.let(T.unsafe(nil), Array)
|
496
|
+
|
497
|
+
Nokogiri::HTML::ElementDescription::TABLE_DEPR = T.let(T.unsafe(nil), Array)
|
498
|
+
|
499
|
+
Nokogiri::HTML::ElementDescription::TALIGN_ATTRS = T.let(T.unsafe(nil), Array)
|
500
|
+
|
501
|
+
Nokogiri::HTML::ElementDescription::TARGET_ATTR = T.let(T.unsafe(nil), Array)
|
502
|
+
|
503
|
+
Nokogiri::HTML::ElementDescription::TEXTAREA_ATTRS = T.let(T.unsafe(nil), Array)
|
504
|
+
|
505
|
+
Nokogiri::HTML::ElementDescription::TH_TD_ATTR = T.let(T.unsafe(nil), Array)
|
506
|
+
|
507
|
+
Nokogiri::HTML::ElementDescription::TH_TD_DEPR = T.let(T.unsafe(nil), Array)
|
508
|
+
|
509
|
+
Nokogiri::HTML::ElementDescription::TR_CONTENTS = T.let(T.unsafe(nil), Array)
|
510
|
+
|
511
|
+
Nokogiri::HTML::ElementDescription::TR_ELT = T.let(T.unsafe(nil), Array)
|
512
|
+
|
513
|
+
Nokogiri::HTML::ElementDescription::TYPE_ATTR = T.let(T.unsafe(nil), Array)
|
514
|
+
|
515
|
+
Nokogiri::HTML::ElementDescription::UL_DEPR = T.let(T.unsafe(nil), Array)
|
516
|
+
|
517
|
+
Nokogiri::HTML::ElementDescription::VERSION_ATTR = T.let(T.unsafe(nil), Array)
|
518
|
+
|
519
|
+
Nokogiri::HTML::ElementDescription::WIDTH_ATTR = T.let(T.unsafe(nil), Array)
|
520
|
+
|
521
|
+
class Nokogiri::HTML::EntityDescription < ::Struct
|
522
|
+
end
|
523
|
+
|
524
|
+
class Nokogiri::HTML::EntityLookup
|
525
|
+
def [](name); end
|
526
|
+
def get(_arg0); end
|
527
|
+
end
|
528
|
+
|
529
|
+
Nokogiri::HTML::NamedCharacters = T.let(T.unsafe(nil), Nokogiri::HTML::EntityLookup)
|
530
|
+
|
531
|
+
module Nokogiri::HTML::SAX
|
532
|
+
end
|
533
|
+
|
534
|
+
class Nokogiri::HTML::SAX::Parser < ::Nokogiri::XML::SAX::Parser
|
535
|
+
def parse_file(filename, encoding = T.unsafe(nil)); end
|
536
|
+
def parse_io(io, encoding = T.unsafe(nil)); end
|
537
|
+
def parse_memory(data, encoding = T.unsafe(nil)); end
|
538
|
+
end
|
539
|
+
|
540
|
+
class Nokogiri::HTML::SAX::ParserContext < ::Nokogiri::XML::SAX::ParserContext
|
541
|
+
def parse_with(_arg0); end
|
542
|
+
|
543
|
+
class << self
|
544
|
+
def file(_arg0, _arg1); end
|
545
|
+
def memory(_arg0, _arg1); end
|
546
|
+
def new(thing, encoding = T.unsafe(nil)); end
|
547
|
+
end
|
548
|
+
end
|
549
|
+
|
550
|
+
class Nokogiri::HTML::SAX::PushParser < ::Nokogiri::XML::SAX::PushParser
|
551
|
+
def initialize(doc = T.unsafe(nil), file_name = T.unsafe(nil), encoding = T.unsafe(nil)); end
|
552
|
+
|
553
|
+
def <<(chunk, last_chunk = T.unsafe(nil)); end
|
554
|
+
def document; end
|
555
|
+
def document=(_arg0); end
|
556
|
+
def finish; end
|
557
|
+
def write(chunk, last_chunk = T.unsafe(nil)); end
|
558
|
+
|
559
|
+
private
|
560
|
+
|
561
|
+
def initialize_native(_arg0, _arg1, _arg2); end
|
562
|
+
def native_write(_arg0, _arg1); end
|
563
|
+
end
|
564
|
+
|
565
|
+
Nokogiri::LIBXML_ICONV_ENABLED = T.let(T.unsafe(nil), TrueClass)
|
566
|
+
|
567
|
+
Nokogiri::LIBXML_PARSER_VERSION = T.let(T.unsafe(nil), String)
|
568
|
+
|
569
|
+
Nokogiri::LIBXML_VERSION = T.let(T.unsafe(nil), String)
|
570
|
+
|
571
|
+
Nokogiri::NOKOGIRI_LIBXML2_PATCHES = T.let(T.unsafe(nil), Array)
|
572
|
+
|
573
|
+
Nokogiri::NOKOGIRI_LIBXML2_PATH = T.let(T.unsafe(nil), String)
|
574
|
+
|
575
|
+
Nokogiri::NOKOGIRI_LIBXSLT_PATCHES = T.let(T.unsafe(nil), Array)
|
576
|
+
|
577
|
+
Nokogiri::NOKOGIRI_LIBXSLT_PATH = T.let(T.unsafe(nil), String)
|
578
|
+
|
579
|
+
Nokogiri::NOKOGIRI_USE_PACKAGED_LIBRARIES = T.let(T.unsafe(nil), TrueClass)
|
580
|
+
|
581
|
+
class Nokogiri::SyntaxError < ::StandardError
|
582
|
+
end
|
583
|
+
|
584
|
+
Nokogiri::VERSION = T.let(T.unsafe(nil), String)
|
585
|
+
|
586
|
+
Nokogiri::VERSION_INFO = T.let(T.unsafe(nil), Hash)
|
587
|
+
|
588
|
+
class Nokogiri::VersionInfo
|
589
|
+
def compiled_parser_version; end
|
590
|
+
def engine; end
|
591
|
+
def jruby?; end
|
592
|
+
def libxml2?; end
|
593
|
+
def libxml2_using_packaged?; end
|
594
|
+
def libxml2_using_system?; end
|
595
|
+
def loaded_parser_version; end
|
596
|
+
def to_hash; end
|
597
|
+
def to_markdown; end
|
598
|
+
def warnings; end
|
599
|
+
|
600
|
+
class << self
|
601
|
+
def instance; end
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
605
|
+
module Nokogiri::XML
|
606
|
+
class << self
|
607
|
+
def Reader(string_or_io, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); end
|
608
|
+
def RelaxNG(string_or_io); end
|
609
|
+
def Schema(string_or_io); end
|
610
|
+
def fragment(string); end
|
611
|
+
def parse(thing, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
615
|
+
class Nokogiri::XML::Attr < ::Nokogiri::XML::Node
|
616
|
+
def content=(_arg0); end
|
617
|
+
def to_s; end
|
618
|
+
def value; end
|
619
|
+
def value=(_arg0); end
|
620
|
+
|
621
|
+
private
|
622
|
+
|
623
|
+
def inspect_attributes; end
|
624
|
+
|
625
|
+
class << self
|
626
|
+
def new(*_arg0); end
|
627
|
+
end
|
628
|
+
end
|
629
|
+
|
630
|
+
class Nokogiri::XML::AttributeDecl < ::Nokogiri::XML::Node
|
631
|
+
def attribute_type; end
|
632
|
+
def default; end
|
633
|
+
def enumeration; end
|
634
|
+
def inspect; end
|
635
|
+
end
|
636
|
+
|
637
|
+
class Nokogiri::XML::Builder
|
638
|
+
def initialize(options = T.unsafe(nil), root = T.unsafe(nil), &block); end
|
639
|
+
|
640
|
+
def <<(string); end
|
641
|
+
def [](ns); end
|
642
|
+
def arity; end
|
643
|
+
def arity=(_arg0); end
|
644
|
+
def cdata(string); end
|
645
|
+
def comment(string); end
|
646
|
+
def context; end
|
647
|
+
def context=(_arg0); end
|
648
|
+
def doc; end
|
649
|
+
def doc=(_arg0); end
|
650
|
+
def method_missing(method, *args, &block); end
|
651
|
+
def parent; end
|
652
|
+
def parent=(_arg0); end
|
653
|
+
def text(string); end
|
654
|
+
def to_xml(*args); end
|
655
|
+
|
656
|
+
private
|
657
|
+
|
658
|
+
def insert(node, &block); end
|
659
|
+
|
660
|
+
class << self
|
661
|
+
def with(root, &block); end
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|
665
|
+
class Nokogiri::XML::Builder::NodeBuilder
|
666
|
+
def initialize(node, doc_builder); end
|
667
|
+
|
668
|
+
def [](k); end
|
669
|
+
def []=(k, v); end
|
670
|
+
def method_missing(method, *args, &block); end
|
671
|
+
end
|
672
|
+
|
673
|
+
class Nokogiri::XML::CDATA < ::Nokogiri::XML::Text
|
674
|
+
def name; end
|
675
|
+
|
676
|
+
class << self
|
677
|
+
def new(*_arg0); end
|
678
|
+
end
|
679
|
+
end
|
680
|
+
|
681
|
+
class Nokogiri::XML::CharacterData < ::Nokogiri::XML::Node
|
682
|
+
include(::Nokogiri::XML::PP::CharacterData)
|
683
|
+
end
|
684
|
+
|
685
|
+
class Nokogiri::XML::Comment < ::Nokogiri::XML::CharacterData
|
686
|
+
class << self
|
687
|
+
def new(*_arg0); end
|
688
|
+
end
|
689
|
+
end
|
690
|
+
|
691
|
+
class Nokogiri::XML::DTD < ::Nokogiri::XML::Node
|
692
|
+
def attributes; end
|
693
|
+
def each; end
|
694
|
+
def elements; end
|
695
|
+
def entities; end
|
696
|
+
def external_id; end
|
697
|
+
def html5_dtd?; end
|
698
|
+
def html_dtd?; end
|
699
|
+
def keys; end
|
700
|
+
def notations; end
|
701
|
+
def system_id; end
|
702
|
+
def validate(_arg0); end
|
703
|
+
end
|
704
|
+
|
705
|
+
class Nokogiri::XML::Document < ::Nokogiri::XML::Node
|
706
|
+
def initialize(*args); end
|
707
|
+
|
708
|
+
def <<(node_or_tags); end
|
709
|
+
def add_child(node_or_tags); end
|
710
|
+
def canonicalize(*_arg0); end
|
711
|
+
def clone(*_arg0); end
|
712
|
+
def collect_namespaces; end
|
713
|
+
def create_cdata(string, &block); end
|
714
|
+
def create_comment(string, &block); end
|
715
|
+
def create_element(name, *args, &block); end
|
716
|
+
def create_entity(*_arg0); end
|
717
|
+
def create_text_node(string, &block); end
|
718
|
+
def decorate(node); end
|
719
|
+
def decorators(key); end
|
720
|
+
def document; end
|
721
|
+
def dup(*_arg0); end
|
722
|
+
def encoding; end
|
723
|
+
def encoding=(_arg0); end
|
724
|
+
def errors; end
|
725
|
+
def errors=(_arg0); end
|
726
|
+
def fragment(tags = T.unsafe(nil)); end
|
727
|
+
def name; end
|
728
|
+
def namespaces; end
|
729
|
+
def remove_namespaces!; end
|
730
|
+
def root; end
|
731
|
+
def root=(_arg0); end
|
732
|
+
def slop!; end
|
733
|
+
def to_java; end
|
734
|
+
def to_xml(*args, &block); end
|
735
|
+
def url; end
|
736
|
+
def validate; end
|
737
|
+
def version; end
|
738
|
+
|
739
|
+
private
|
740
|
+
|
741
|
+
def inspect_attributes; end
|
742
|
+
|
743
|
+
class << self
|
744
|
+
def empty_doc?(string_or_io); end
|
745
|
+
def new(*_arg0); end
|
746
|
+
def parse(string_or_io, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); end
|
747
|
+
def read_io(_arg0, _arg1, _arg2, _arg3); end
|
748
|
+
def read_memory(_arg0, _arg1, _arg2, _arg3); end
|
749
|
+
def wrap(document); end
|
750
|
+
end
|
751
|
+
end
|
752
|
+
|
753
|
+
Nokogiri::XML::Document::IMPLIED_XPATH_CONTEXTS = T.let(T.unsafe(nil), Array)
|
754
|
+
|
755
|
+
Nokogiri::XML::Document::NCNAME_CHAR = T.let(T.unsafe(nil), String)
|
756
|
+
|
757
|
+
Nokogiri::XML::Document::NCNAME_RE = T.let(T.unsafe(nil), Regexp)
|
758
|
+
|
759
|
+
Nokogiri::XML::Document::NCNAME_START_CHAR = T.let(T.unsafe(nil), String)
|
760
|
+
|
761
|
+
class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node
|
762
|
+
def initialize(document, tags = T.unsafe(nil), ctx = T.unsafe(nil)); end
|
763
|
+
|
764
|
+
def css(*args); end
|
765
|
+
def dup; end
|
766
|
+
def errors; end
|
767
|
+
def errors=(things); end
|
768
|
+
def name; end
|
769
|
+
def search(*rules); end
|
770
|
+
def serialize; end
|
771
|
+
def to_html(*args); end
|
772
|
+
def to_s; end
|
773
|
+
def to_xhtml(*args); end
|
774
|
+
def to_xml(*args); end
|
775
|
+
|
776
|
+
private
|
777
|
+
|
778
|
+
def coerce(data); end
|
779
|
+
def namespace_declarations(ctx); end
|
780
|
+
|
781
|
+
class << self
|
782
|
+
def new(*_arg0); end
|
783
|
+
def parse(tags); end
|
784
|
+
end
|
785
|
+
end
|
786
|
+
|
787
|
+
class Nokogiri::XML::Element < ::Nokogiri::XML::Node
|
788
|
+
end
|
789
|
+
|
790
|
+
class Nokogiri::XML::ElementContent
|
791
|
+
def children; end
|
792
|
+
def document; end
|
793
|
+
def name; end
|
794
|
+
def occur; end
|
795
|
+
def prefix; end
|
796
|
+
def type; end
|
797
|
+
|
798
|
+
private
|
799
|
+
|
800
|
+
def c1; end
|
801
|
+
def c2; end
|
802
|
+
end
|
803
|
+
|
804
|
+
Nokogiri::XML::ElementContent::ELEMENT = T.let(T.unsafe(nil), Integer)
|
805
|
+
|
806
|
+
Nokogiri::XML::ElementContent::MULT = T.let(T.unsafe(nil), Integer)
|
807
|
+
|
808
|
+
Nokogiri::XML::ElementContent::ONCE = T.let(T.unsafe(nil), Integer)
|
809
|
+
|
810
|
+
Nokogiri::XML::ElementContent::OPT = T.let(T.unsafe(nil), Integer)
|
811
|
+
|
812
|
+
Nokogiri::XML::ElementContent::OR = T.let(T.unsafe(nil), Integer)
|
813
|
+
|
814
|
+
Nokogiri::XML::ElementContent::PCDATA = T.let(T.unsafe(nil), Integer)
|
815
|
+
|
816
|
+
Nokogiri::XML::ElementContent::PLUS = T.let(T.unsafe(nil), Integer)
|
817
|
+
|
818
|
+
Nokogiri::XML::ElementContent::SEQ = T.let(T.unsafe(nil), Integer)
|
819
|
+
|
820
|
+
class Nokogiri::XML::ElementDecl < ::Nokogiri::XML::Node
|
821
|
+
def content; end
|
822
|
+
def element_type; end
|
823
|
+
def inspect; end
|
824
|
+
def prefix; end
|
825
|
+
end
|
826
|
+
|
827
|
+
class Nokogiri::XML::EntityDecl < ::Nokogiri::XML::Node
|
828
|
+
def content; end
|
829
|
+
def entity_type; end
|
830
|
+
def external_id; end
|
831
|
+
def inspect; end
|
832
|
+
def original_content; end
|
833
|
+
def system_id; end
|
834
|
+
|
835
|
+
class << self
|
836
|
+
def new(name, doc, *args); end
|
837
|
+
end
|
838
|
+
end
|
839
|
+
|
840
|
+
Nokogiri::XML::EntityDecl::EXTERNAL_GENERAL_PARSED = T.let(T.unsafe(nil), Integer)
|
841
|
+
|
842
|
+
Nokogiri::XML::EntityDecl::EXTERNAL_GENERAL_UNPARSED = T.let(T.unsafe(nil), Integer)
|
843
|
+
|
844
|
+
Nokogiri::XML::EntityDecl::EXTERNAL_PARAMETER = T.let(T.unsafe(nil), Integer)
|
845
|
+
|
846
|
+
Nokogiri::XML::EntityDecl::INTERNAL_GENERAL = T.let(T.unsafe(nil), Integer)
|
847
|
+
|
848
|
+
Nokogiri::XML::EntityDecl::INTERNAL_PARAMETER = T.let(T.unsafe(nil), Integer)
|
849
|
+
|
850
|
+
Nokogiri::XML::EntityDecl::INTERNAL_PREDEFINED = T.let(T.unsafe(nil), Integer)
|
851
|
+
|
852
|
+
class Nokogiri::XML::EntityReference < ::Nokogiri::XML::Node
|
853
|
+
def children; end
|
854
|
+
def inspect_attributes; end
|
855
|
+
|
856
|
+
class << self
|
857
|
+
def new(*_arg0); end
|
858
|
+
end
|
859
|
+
end
|
860
|
+
|
861
|
+
class Nokogiri::XML::Namespace
|
862
|
+
include(::Nokogiri::XML::PP::Node)
|
863
|
+
|
864
|
+
def document; end
|
865
|
+
def href; end
|
866
|
+
def prefix; end
|
867
|
+
|
868
|
+
private
|
869
|
+
|
870
|
+
def inspect_attributes; end
|
871
|
+
end
|
872
|
+
|
873
|
+
class Nokogiri::XML::Node
|
874
|
+
include(::Nokogiri::XML::PP::Node)
|
875
|
+
include(::Nokogiri::XML::Searchable)
|
876
|
+
include(::Enumerable)
|
877
|
+
|
878
|
+
def initialize(name, document); end
|
879
|
+
|
880
|
+
def <<(node_or_tags); end
|
881
|
+
def <=>(other); end
|
882
|
+
def ==(other); end
|
883
|
+
def >(selector); end
|
884
|
+
def [](name); end
|
885
|
+
def []=(name, value); end
|
886
|
+
def accept(visitor); end
|
887
|
+
def add_child(node_or_tags); end
|
888
|
+
def add_class(name); end
|
889
|
+
def add_namespace(_arg0, _arg1); end
|
890
|
+
def add_namespace_definition(_arg0, _arg1); end
|
891
|
+
def add_next_sibling(node_or_tags); end
|
892
|
+
def add_previous_sibling(node_or_tags); end
|
893
|
+
def after(node_or_tags); end
|
894
|
+
def ancestors(selector = T.unsafe(nil)); end
|
895
|
+
def append_class(name); end
|
896
|
+
def attr(name); end
|
897
|
+
def attribute(_arg0); end
|
898
|
+
def attribute_nodes; end
|
899
|
+
def attribute_with_ns(_arg0, _arg1); end
|
900
|
+
def attributes; end
|
901
|
+
def before(node_or_tags); end
|
902
|
+
def blank?; end
|
903
|
+
def canonicalize(mode = T.unsafe(nil), inclusive_namespaces = T.unsafe(nil), with_comments = T.unsafe(nil)); end
|
904
|
+
def cdata?; end
|
905
|
+
def child; end
|
906
|
+
def children; end
|
907
|
+
def children=(node_or_tags); end
|
908
|
+
def classes; end
|
909
|
+
def clone(*_arg0); end
|
910
|
+
def comment?; end
|
911
|
+
def content; end
|
912
|
+
def content=(string); end
|
913
|
+
def create_external_subset(_arg0, _arg1, _arg2); end
|
914
|
+
def create_internal_subset(_arg0, _arg1, _arg2); end
|
915
|
+
def css_path; end
|
916
|
+
def decorate!; end
|
917
|
+
def default_namespace=(url); end
|
918
|
+
def delete(name); end
|
919
|
+
def description; end
|
920
|
+
def do_xinclude(options = T.unsafe(nil)); end
|
921
|
+
def document; end
|
922
|
+
def document?; end
|
923
|
+
def dup(*_arg0); end
|
924
|
+
def each; end
|
925
|
+
def elem?; end
|
926
|
+
def element?; end
|
927
|
+
def element_children; end
|
928
|
+
def elements; end
|
929
|
+
def encode_special_chars(_arg0); end
|
930
|
+
def external_subset; end
|
931
|
+
def first_element_child; end
|
932
|
+
def fragment(tags); end
|
933
|
+
def fragment?; end
|
934
|
+
def get_attribute(name); end
|
935
|
+
def has_attribute?(_arg0); end
|
936
|
+
def html?; end
|
937
|
+
def inner_html(*args); end
|
938
|
+
def inner_html=(node_or_tags); end
|
939
|
+
def inner_text; end
|
940
|
+
def internal_subset; end
|
941
|
+
def key?(_arg0); end
|
942
|
+
def keys; end
|
943
|
+
def lang; end
|
944
|
+
def lang=(_arg0); end
|
945
|
+
def last_element_child; end
|
946
|
+
def line; end
|
947
|
+
def matches?(selector); end
|
948
|
+
def name; end
|
949
|
+
def name=(_arg0); end
|
950
|
+
def namespace; end
|
951
|
+
def namespace=(ns); end
|
952
|
+
def namespace_definitions; end
|
953
|
+
def namespace_scopes; end
|
954
|
+
def namespaced_key?(_arg0, _arg1); end
|
955
|
+
def namespaces; end
|
956
|
+
def native_content=(_arg0); end
|
957
|
+
def next; end
|
958
|
+
def next=(node_or_tags); end
|
959
|
+
def next_element; end
|
960
|
+
def next_sibling; end
|
961
|
+
def node_name; end
|
962
|
+
def node_name=(_arg0); end
|
963
|
+
def node_type; end
|
964
|
+
def parent; end
|
965
|
+
def parent=(parent_node); end
|
966
|
+
def parse(string_or_io, options = T.unsafe(nil)); end
|
967
|
+
def path; end
|
968
|
+
def pointer_id; end
|
969
|
+
def prepend_child(node_or_tags); end
|
970
|
+
def previous; end
|
971
|
+
def previous=(node_or_tags); end
|
972
|
+
def previous_element; end
|
973
|
+
def previous_sibling; end
|
974
|
+
def processing_instruction?; end
|
975
|
+
def read_only?; end
|
976
|
+
def remove; end
|
977
|
+
def remove_attribute(name); end
|
978
|
+
def remove_class(name = T.unsafe(nil)); end
|
979
|
+
def replace(node_or_tags); end
|
980
|
+
def serialize(*args, &block); end
|
981
|
+
def set_attribute(name, value); end
|
982
|
+
def swap(node_or_tags); end
|
983
|
+
def text; end
|
984
|
+
def text?; end
|
985
|
+
def to_html(options = T.unsafe(nil)); end
|
986
|
+
def to_s; end
|
987
|
+
def to_str; end
|
988
|
+
def to_xhtml(options = T.unsafe(nil)); end
|
989
|
+
def to_xml(options = T.unsafe(nil)); end
|
990
|
+
def traverse(&block); end
|
991
|
+
def type; end
|
992
|
+
def unlink; end
|
993
|
+
def values; end
|
994
|
+
def wrap(html); end
|
995
|
+
def write_html_to(io, options = T.unsafe(nil)); end
|
996
|
+
def write_to(io, *options); end
|
997
|
+
def write_xhtml_to(io, options = T.unsafe(nil)); end
|
998
|
+
def write_xml_to(io, options = T.unsafe(nil)); end
|
999
|
+
def xml?; end
|
1000
|
+
|
1001
|
+
private
|
1002
|
+
|
1003
|
+
def add_child_node(_arg0); end
|
1004
|
+
def add_child_node_and_reparent_attrs(node); end
|
1005
|
+
def add_next_sibling_node(_arg0); end
|
1006
|
+
def add_previous_sibling_node(_arg0); end
|
1007
|
+
def add_sibling(next_or_previous, node_or_tags); end
|
1008
|
+
def coerce(data); end
|
1009
|
+
def compare(_arg0); end
|
1010
|
+
def dump_html; end
|
1011
|
+
def get(_arg0); end
|
1012
|
+
def in_context(_arg0, _arg1); end
|
1013
|
+
def inspect_attributes; end
|
1014
|
+
def native_write_to(_arg0, _arg1, _arg2, _arg3); end
|
1015
|
+
def process_xincludes(_arg0); end
|
1016
|
+
def replace_node(_arg0); end
|
1017
|
+
def set(_arg0, _arg1); end
|
1018
|
+
def set_namespace(_arg0); end
|
1019
|
+
def to_format(save_option, options); end
|
1020
|
+
def write_format_to(save_option, io, options); end
|
1021
|
+
|
1022
|
+
class << self
|
1023
|
+
def new(*_arg0); end
|
1024
|
+
end
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
Nokogiri::XML::Node::ATTRIBUTE_DECL = T.let(T.unsafe(nil), Integer)
|
1028
|
+
|
1029
|
+
Nokogiri::XML::Node::ATTRIBUTE_NODE = T.let(T.unsafe(nil), Integer)
|
1030
|
+
|
1031
|
+
Nokogiri::XML::Node::CDATA_SECTION_NODE = T.let(T.unsafe(nil), Integer)
|
1032
|
+
|
1033
|
+
Nokogiri::XML::Node::COMMENT_NODE = T.let(T.unsafe(nil), Integer)
|
1034
|
+
|
1035
|
+
Nokogiri::XML::Node::DOCB_DOCUMENT_NODE = T.let(T.unsafe(nil), Integer)
|
1036
|
+
|
1037
|
+
Nokogiri::XML::Node::DOCUMENT_FRAG_NODE = T.let(T.unsafe(nil), Integer)
|
1038
|
+
|
1039
|
+
Nokogiri::XML::Node::DOCUMENT_NODE = T.let(T.unsafe(nil), Integer)
|
1040
|
+
|
1041
|
+
Nokogiri::XML::Node::DOCUMENT_TYPE_NODE = T.let(T.unsafe(nil), Integer)
|
1042
|
+
|
1043
|
+
Nokogiri::XML::Node::DTD_NODE = T.let(T.unsafe(nil), Integer)
|
1044
|
+
|
1045
|
+
Nokogiri::XML::Node::ELEMENT_DECL = T.let(T.unsafe(nil), Integer)
|
1046
|
+
|
1047
|
+
Nokogiri::XML::Node::ELEMENT_NODE = T.let(T.unsafe(nil), Integer)
|
1048
|
+
|
1049
|
+
Nokogiri::XML::Node::ENTITY_DECL = T.let(T.unsafe(nil), Integer)
|
1050
|
+
|
1051
|
+
Nokogiri::XML::Node::ENTITY_NODE = T.let(T.unsafe(nil), Integer)
|
1052
|
+
|
1053
|
+
Nokogiri::XML::Node::ENTITY_REF_NODE = T.let(T.unsafe(nil), Integer)
|
1054
|
+
|
1055
|
+
Nokogiri::XML::Node::HTML_DOCUMENT_NODE = T.let(T.unsafe(nil), Integer)
|
1056
|
+
|
1057
|
+
Nokogiri::XML::Node::IMPLIED_XPATH_CONTEXTS = T.let(T.unsafe(nil), Array)
|
1058
|
+
|
1059
|
+
Nokogiri::XML::Node::NAMESPACE_DECL = T.let(T.unsafe(nil), Integer)
|
1060
|
+
|
1061
|
+
Nokogiri::XML::Node::NOTATION_NODE = T.let(T.unsafe(nil), Integer)
|
1062
|
+
|
1063
|
+
Nokogiri::XML::Node::PI_NODE = T.let(T.unsafe(nil), Integer)
|
1064
|
+
|
1065
|
+
class Nokogiri::XML::Node::SaveOptions
|
1066
|
+
def initialize(options = T.unsafe(nil)); end
|
1067
|
+
|
1068
|
+
def as_html; end
|
1069
|
+
def as_html?; end
|
1070
|
+
def as_xhtml; end
|
1071
|
+
def as_xhtml?; end
|
1072
|
+
def as_xml; end
|
1073
|
+
def as_xml?; end
|
1074
|
+
def default_html; end
|
1075
|
+
def default_html?; end
|
1076
|
+
def default_xhtml; end
|
1077
|
+
def default_xhtml?; end
|
1078
|
+
def default_xml; end
|
1079
|
+
def default_xml?; end
|
1080
|
+
def format; end
|
1081
|
+
def format?; end
|
1082
|
+
def no_declaration; end
|
1083
|
+
def no_declaration?; end
|
1084
|
+
def no_empty_tags; end
|
1085
|
+
def no_empty_tags?; end
|
1086
|
+
def no_xhtml; end
|
1087
|
+
def no_xhtml?; end
|
1088
|
+
def options; end
|
1089
|
+
def to_i; end
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
Nokogiri::XML::Node::SaveOptions::AS_HTML = T.let(T.unsafe(nil), Integer)
|
1093
|
+
|
1094
|
+
Nokogiri::XML::Node::SaveOptions::AS_XHTML = T.let(T.unsafe(nil), Integer)
|
1095
|
+
|
1096
|
+
Nokogiri::XML::Node::SaveOptions::AS_XML = T.let(T.unsafe(nil), Integer)
|
1097
|
+
|
1098
|
+
Nokogiri::XML::Node::SaveOptions::DEFAULT_HTML = T.let(T.unsafe(nil), Integer)
|
1099
|
+
|
1100
|
+
Nokogiri::XML::Node::SaveOptions::DEFAULT_XHTML = T.let(T.unsafe(nil), Integer)
|
1101
|
+
|
1102
|
+
Nokogiri::XML::Node::SaveOptions::DEFAULT_XML = T.let(T.unsafe(nil), Integer)
|
1103
|
+
|
1104
|
+
Nokogiri::XML::Node::SaveOptions::FORMAT = T.let(T.unsafe(nil), Integer)
|
1105
|
+
|
1106
|
+
Nokogiri::XML::Node::SaveOptions::NO_DECLARATION = T.let(T.unsafe(nil), Integer)
|
1107
|
+
|
1108
|
+
Nokogiri::XML::Node::SaveOptions::NO_EMPTY_TAGS = T.let(T.unsafe(nil), Integer)
|
1109
|
+
|
1110
|
+
Nokogiri::XML::Node::SaveOptions::NO_XHTML = T.let(T.unsafe(nil), Integer)
|
1111
|
+
|
1112
|
+
Nokogiri::XML::Node::TEXT_NODE = T.let(T.unsafe(nil), Integer)
|
1113
|
+
|
1114
|
+
Nokogiri::XML::Node::XINCLUDE_END = T.let(T.unsafe(nil), Integer)
|
1115
|
+
|
1116
|
+
Nokogiri::XML::Node::XINCLUDE_START = T.let(T.unsafe(nil), Integer)
|
1117
|
+
|
1118
|
+
class Nokogiri::XML::NodeSet
|
1119
|
+
include(::Nokogiri::XML::Searchable)
|
1120
|
+
include(::Enumerable)
|
1121
|
+
|
1122
|
+
def initialize(document, list = T.unsafe(nil)); end
|
1123
|
+
|
1124
|
+
def %(*args); end
|
1125
|
+
def &(_arg0); end
|
1126
|
+
def +(_arg0); end
|
1127
|
+
def -(_arg0); end
|
1128
|
+
def <<(_arg0); end
|
1129
|
+
def ==(other); end
|
1130
|
+
def >(selector); end
|
1131
|
+
def [](*_arg0); end
|
1132
|
+
def add_class(name); end
|
1133
|
+
def after(datum); end
|
1134
|
+
def append_class(name); end
|
1135
|
+
def at(*args); end
|
1136
|
+
def attr(key, value = T.unsafe(nil), &block); end
|
1137
|
+
def attribute(key, value = T.unsafe(nil), &block); end
|
1138
|
+
def before(datum); end
|
1139
|
+
def children; end
|
1140
|
+
def clone; end
|
1141
|
+
def css(*args); end
|
1142
|
+
def delete(_arg0); end
|
1143
|
+
def document; end
|
1144
|
+
def document=(_arg0); end
|
1145
|
+
def dup; end
|
1146
|
+
def each; end
|
1147
|
+
def empty?; end
|
1148
|
+
def filter(expr); end
|
1149
|
+
def first(n = T.unsafe(nil)); end
|
1150
|
+
def include?(_arg0); end
|
1151
|
+
def index(node = T.unsafe(nil)); end
|
1152
|
+
def inner_html(*args); end
|
1153
|
+
def inner_text; end
|
1154
|
+
def inspect; end
|
1155
|
+
def last; end
|
1156
|
+
def length; end
|
1157
|
+
def pop; end
|
1158
|
+
def push(_arg0); end
|
1159
|
+
def remove; end
|
1160
|
+
def remove_attr(name); end
|
1161
|
+
def remove_attribute(name); end
|
1162
|
+
def remove_class(name = T.unsafe(nil)); end
|
1163
|
+
def reverse; end
|
1164
|
+
def set(key, value = T.unsafe(nil), &block); end
|
1165
|
+
def shift; end
|
1166
|
+
def size; end
|
1167
|
+
def slice(*_arg0); end
|
1168
|
+
def text; end
|
1169
|
+
def to_a; end
|
1170
|
+
def to_ary; end
|
1171
|
+
def to_html(*args); end
|
1172
|
+
def to_s; end
|
1173
|
+
def to_xhtml(*args); end
|
1174
|
+
def to_xml(*args); end
|
1175
|
+
def unlink; end
|
1176
|
+
def wrap(html); end
|
1177
|
+
def xpath(*args); end
|
1178
|
+
def |(_arg0); end
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
Nokogiri::XML::NodeSet::IMPLIED_XPATH_CONTEXTS = T.let(T.unsafe(nil), Array)
|
1182
|
+
|
1183
|
+
class Nokogiri::XML::Notation < ::Struct
|
1184
|
+
end
|
1185
|
+
|
1186
|
+
module Nokogiri::XML::PP
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
module Nokogiri::XML::PP::CharacterData
|
1190
|
+
def inspect; end
|
1191
|
+
def pretty_print(pp); end
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
module Nokogiri::XML::PP::Node
|
1195
|
+
def inspect; end
|
1196
|
+
def pretty_print(pp); end
|
1197
|
+
end
|
1198
|
+
|
1199
|
+
class Nokogiri::XML::ParseOptions
|
1200
|
+
def initialize(options = T.unsafe(nil)); end
|
1201
|
+
|
1202
|
+
def compact; end
|
1203
|
+
def compact?; end
|
1204
|
+
def default_html; end
|
1205
|
+
def default_html?; end
|
1206
|
+
def default_xml; end
|
1207
|
+
def default_xml?; end
|
1208
|
+
def dtdattr; end
|
1209
|
+
def dtdattr?; end
|
1210
|
+
def dtdload; end
|
1211
|
+
def dtdload?; end
|
1212
|
+
def dtdvalid; end
|
1213
|
+
def dtdvalid?; end
|
1214
|
+
def huge; end
|
1215
|
+
def huge?; end
|
1216
|
+
def inspect; end
|
1217
|
+
def nobasefix; end
|
1218
|
+
def nobasefix?; end
|
1219
|
+
def noblanks; end
|
1220
|
+
def noblanks?; end
|
1221
|
+
def nocdata; end
|
1222
|
+
def nocdata?; end
|
1223
|
+
def nocompact; end
|
1224
|
+
def nodefault_html; end
|
1225
|
+
def nodefault_xml; end
|
1226
|
+
def nodict; end
|
1227
|
+
def nodict?; end
|
1228
|
+
def nodtdattr; end
|
1229
|
+
def nodtdload; end
|
1230
|
+
def nodtdvalid; end
|
1231
|
+
def noent; end
|
1232
|
+
def noent?; end
|
1233
|
+
def noerror; end
|
1234
|
+
def noerror?; end
|
1235
|
+
def nohuge; end
|
1236
|
+
def nonet; end
|
1237
|
+
def nonet?; end
|
1238
|
+
def nonobasefix; end
|
1239
|
+
def nonoblanks; end
|
1240
|
+
def nonocdata; end
|
1241
|
+
def nonodict; end
|
1242
|
+
def nonoent; end
|
1243
|
+
def nonoerror; end
|
1244
|
+
def nononet; end
|
1245
|
+
def nonowarning; end
|
1246
|
+
def nonoxincnode; end
|
1247
|
+
def nonsclean; end
|
1248
|
+
def noold10; end
|
1249
|
+
def nopedantic; end
|
1250
|
+
def norecover; end
|
1251
|
+
def nosax1; end
|
1252
|
+
def nowarning; end
|
1253
|
+
def nowarning?; end
|
1254
|
+
def noxinclude; end
|
1255
|
+
def noxincnode; end
|
1256
|
+
def noxincnode?; end
|
1257
|
+
def nsclean; end
|
1258
|
+
def nsclean?; end
|
1259
|
+
def old10; end
|
1260
|
+
def old10?; end
|
1261
|
+
def options; end
|
1262
|
+
def options=(_arg0); end
|
1263
|
+
def pedantic; end
|
1264
|
+
def pedantic?; end
|
1265
|
+
def recover; end
|
1266
|
+
def recover?; end
|
1267
|
+
def sax1; end
|
1268
|
+
def sax1?; end
|
1269
|
+
def strict; end
|
1270
|
+
def strict?; end
|
1271
|
+
def to_i; end
|
1272
|
+
def xinclude; end
|
1273
|
+
def xinclude?; end
|
1274
|
+
end
|
1275
|
+
|
1276
|
+
Nokogiri::XML::ParseOptions::COMPACT = T.let(T.unsafe(nil), Integer)
|
1277
|
+
|
1278
|
+
Nokogiri::XML::ParseOptions::DEFAULT_HTML = T.let(T.unsafe(nil), Integer)
|
1279
|
+
|
1280
|
+
Nokogiri::XML::ParseOptions::DEFAULT_XML = T.let(T.unsafe(nil), Integer)
|
1281
|
+
|
1282
|
+
Nokogiri::XML::ParseOptions::DTDATTR = T.let(T.unsafe(nil), Integer)
|
1283
|
+
|
1284
|
+
Nokogiri::XML::ParseOptions::DTDLOAD = T.let(T.unsafe(nil), Integer)
|
1285
|
+
|
1286
|
+
Nokogiri::XML::ParseOptions::DTDVALID = T.let(T.unsafe(nil), Integer)
|
1287
|
+
|
1288
|
+
Nokogiri::XML::ParseOptions::HUGE = T.let(T.unsafe(nil), Integer)
|
1289
|
+
|
1290
|
+
Nokogiri::XML::ParseOptions::NOBASEFIX = T.let(T.unsafe(nil), Integer)
|
1291
|
+
|
1292
|
+
Nokogiri::XML::ParseOptions::NOBLANKS = T.let(T.unsafe(nil), Integer)
|
1293
|
+
|
1294
|
+
Nokogiri::XML::ParseOptions::NOCDATA = T.let(T.unsafe(nil), Integer)
|
1295
|
+
|
1296
|
+
Nokogiri::XML::ParseOptions::NODICT = T.let(T.unsafe(nil), Integer)
|
1297
|
+
|
1298
|
+
Nokogiri::XML::ParseOptions::NOENT = T.let(T.unsafe(nil), Integer)
|
1299
|
+
|
1300
|
+
Nokogiri::XML::ParseOptions::NOERROR = T.let(T.unsafe(nil), Integer)
|
1301
|
+
|
1302
|
+
Nokogiri::XML::ParseOptions::NONET = T.let(T.unsafe(nil), Integer)
|
1303
|
+
|
1304
|
+
Nokogiri::XML::ParseOptions::NOWARNING = T.let(T.unsafe(nil), Integer)
|
1305
|
+
|
1306
|
+
Nokogiri::XML::ParseOptions::NOXINCNODE = T.let(T.unsafe(nil), Integer)
|
1307
|
+
|
1308
|
+
Nokogiri::XML::ParseOptions::NSCLEAN = T.let(T.unsafe(nil), Integer)
|
1309
|
+
|
1310
|
+
Nokogiri::XML::ParseOptions::OLD10 = T.let(T.unsafe(nil), Integer)
|
1311
|
+
|
1312
|
+
Nokogiri::XML::ParseOptions::PEDANTIC = T.let(T.unsafe(nil), Integer)
|
1313
|
+
|
1314
|
+
Nokogiri::XML::ParseOptions::RECOVER = T.let(T.unsafe(nil), Integer)
|
1315
|
+
|
1316
|
+
Nokogiri::XML::ParseOptions::SAX1 = T.let(T.unsafe(nil), Integer)
|
1317
|
+
|
1318
|
+
Nokogiri::XML::ParseOptions::STRICT = T.let(T.unsafe(nil), Integer)
|
1319
|
+
|
1320
|
+
Nokogiri::XML::ParseOptions::XINCLUDE = T.let(T.unsafe(nil), Integer)
|
1321
|
+
|
1322
|
+
class Nokogiri::XML::ProcessingInstruction < ::Nokogiri::XML::Node
|
1323
|
+
def initialize(document, name, content); end
|
1324
|
+
|
1325
|
+
class << self
|
1326
|
+
def new(*_arg0); end
|
1327
|
+
end
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
class Nokogiri::XML::Reader
|
1331
|
+
include(::Enumerable)
|
1332
|
+
|
1333
|
+
def initialize(source, url = T.unsafe(nil), encoding = T.unsafe(nil)); end
|
1334
|
+
|
1335
|
+
def attribute(_arg0); end
|
1336
|
+
def attribute_at(_arg0); end
|
1337
|
+
def attribute_count; end
|
1338
|
+
def attribute_nodes; end
|
1339
|
+
def attributes; end
|
1340
|
+
def attributes?; end
|
1341
|
+
def base_uri; end
|
1342
|
+
def default?; end
|
1343
|
+
def depth; end
|
1344
|
+
def each; end
|
1345
|
+
def empty_element?; end
|
1346
|
+
def encoding; end
|
1347
|
+
def errors; end
|
1348
|
+
def errors=(_arg0); end
|
1349
|
+
def inner_xml; end
|
1350
|
+
def lang; end
|
1351
|
+
def local_name; end
|
1352
|
+
def name; end
|
1353
|
+
def namespace_uri; end
|
1354
|
+
def namespaces; end
|
1355
|
+
def node_type; end
|
1356
|
+
def outer_xml; end
|
1357
|
+
def prefix; end
|
1358
|
+
def read; end
|
1359
|
+
def self_closing?; end
|
1360
|
+
def source; end
|
1361
|
+
def state; end
|
1362
|
+
def value; end
|
1363
|
+
def value?; end
|
1364
|
+
def xml_version; end
|
1365
|
+
|
1366
|
+
private
|
1367
|
+
|
1368
|
+
def attr_nodes; end
|
1369
|
+
|
1370
|
+
class << self
|
1371
|
+
def from_io(*_arg0); end
|
1372
|
+
def from_memory(*_arg0); end
|
1373
|
+
end
|
1374
|
+
end
|
1375
|
+
|
1376
|
+
Nokogiri::XML::Reader::TYPE_ATTRIBUTE = T.let(T.unsafe(nil), Integer)
|
1377
|
+
|
1378
|
+
Nokogiri::XML::Reader::TYPE_CDATA = T.let(T.unsafe(nil), Integer)
|
1379
|
+
|
1380
|
+
Nokogiri::XML::Reader::TYPE_COMMENT = T.let(T.unsafe(nil), Integer)
|
1381
|
+
|
1382
|
+
Nokogiri::XML::Reader::TYPE_DOCUMENT = T.let(T.unsafe(nil), Integer)
|
1383
|
+
|
1384
|
+
Nokogiri::XML::Reader::TYPE_DOCUMENT_FRAGMENT = T.let(T.unsafe(nil), Integer)
|
1385
|
+
|
1386
|
+
Nokogiri::XML::Reader::TYPE_DOCUMENT_TYPE = T.let(T.unsafe(nil), Integer)
|
1387
|
+
|
1388
|
+
Nokogiri::XML::Reader::TYPE_ELEMENT = T.let(T.unsafe(nil), Integer)
|
1389
|
+
|
1390
|
+
Nokogiri::XML::Reader::TYPE_END_ELEMENT = T.let(T.unsafe(nil), Integer)
|
1391
|
+
|
1392
|
+
Nokogiri::XML::Reader::TYPE_END_ENTITY = T.let(T.unsafe(nil), Integer)
|
1393
|
+
|
1394
|
+
Nokogiri::XML::Reader::TYPE_ENTITY = T.let(T.unsafe(nil), Integer)
|
1395
|
+
|
1396
|
+
Nokogiri::XML::Reader::TYPE_ENTITY_REFERENCE = T.let(T.unsafe(nil), Integer)
|
1397
|
+
|
1398
|
+
Nokogiri::XML::Reader::TYPE_NONE = T.let(T.unsafe(nil), Integer)
|
1399
|
+
|
1400
|
+
Nokogiri::XML::Reader::TYPE_NOTATION = T.let(T.unsafe(nil), Integer)
|
1401
|
+
|
1402
|
+
Nokogiri::XML::Reader::TYPE_PROCESSING_INSTRUCTION = T.let(T.unsafe(nil), Integer)
|
1403
|
+
|
1404
|
+
Nokogiri::XML::Reader::TYPE_SIGNIFICANT_WHITESPACE = T.let(T.unsafe(nil), Integer)
|
1405
|
+
|
1406
|
+
Nokogiri::XML::Reader::TYPE_TEXT = T.let(T.unsafe(nil), Integer)
|
1407
|
+
|
1408
|
+
Nokogiri::XML::Reader::TYPE_WHITESPACE = T.let(T.unsafe(nil), Integer)
|
1409
|
+
|
1410
|
+
Nokogiri::XML::Reader::TYPE_XML_DECLARATION = T.let(T.unsafe(nil), Integer)
|
1411
|
+
|
1412
|
+
class Nokogiri::XML::RelaxNG < ::Nokogiri::XML::Schema
|
1413
|
+
|
1414
|
+
private
|
1415
|
+
|
1416
|
+
def validate_document(_arg0); end
|
1417
|
+
|
1418
|
+
class << self
|
1419
|
+
def from_document(_arg0); end
|
1420
|
+
def read_memory(_arg0); end
|
1421
|
+
end
|
1422
|
+
end
|
1423
|
+
|
1424
|
+
module Nokogiri::XML::SAX
|
1425
|
+
end
|
1426
|
+
|
1427
|
+
class Nokogiri::XML::SAX::Document
|
1428
|
+
def cdata_block(string); end
|
1429
|
+
def characters(string); end
|
1430
|
+
def comment(string); end
|
1431
|
+
def end_document; end
|
1432
|
+
def end_element(name); end
|
1433
|
+
def end_element_namespace(name, prefix = T.unsafe(nil), uri = T.unsafe(nil)); end
|
1434
|
+
def error(string); end
|
1435
|
+
def processing_instruction(name, content); end
|
1436
|
+
def start_document; end
|
1437
|
+
def start_element(name, attrs = T.unsafe(nil)); end
|
1438
|
+
def start_element_namespace(name, attrs = T.unsafe(nil), prefix = T.unsafe(nil), uri = T.unsafe(nil), ns = T.unsafe(nil)); end
|
1439
|
+
def warning(string); end
|
1440
|
+
def xmldecl(version, encoding, standalone); end
|
1441
|
+
end
|
1442
|
+
|
1443
|
+
class Nokogiri::XML::SAX::Parser
|
1444
|
+
def initialize(doc = T.unsafe(nil), encoding = T.unsafe(nil)); end
|
1445
|
+
|
1446
|
+
def document; end
|
1447
|
+
def document=(_arg0); end
|
1448
|
+
def encoding; end
|
1449
|
+
def encoding=(_arg0); end
|
1450
|
+
def parse(thing, &block); end
|
1451
|
+
def parse_file(filename); end
|
1452
|
+
def parse_io(io, encoding = T.unsafe(nil)); end
|
1453
|
+
def parse_memory(data); end
|
1454
|
+
|
1455
|
+
private
|
1456
|
+
|
1457
|
+
def check_encoding(encoding); end
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
class Nokogiri::XML::SAX::Parser::Attribute < ::Struct
|
1461
|
+
end
|
1462
|
+
|
1463
|
+
Nokogiri::XML::SAX::Parser::ENCODINGS = T.let(T.unsafe(nil), Hash)
|
1464
|
+
|
1465
|
+
class Nokogiri::XML::SAX::ParserContext
|
1466
|
+
def column; end
|
1467
|
+
def line; end
|
1468
|
+
def parse_with(_arg0); end
|
1469
|
+
def recovery; end
|
1470
|
+
def recovery=(_arg0); end
|
1471
|
+
def replace_entities; end
|
1472
|
+
def replace_entities=(_arg0); end
|
1473
|
+
|
1474
|
+
class << self
|
1475
|
+
def file(_arg0); end
|
1476
|
+
def io(_arg0, _arg1); end
|
1477
|
+
def memory(_arg0); end
|
1478
|
+
def new(thing, encoding = T.unsafe(nil)); end
|
1479
|
+
end
|
1480
|
+
end
|
1481
|
+
|
1482
|
+
class Nokogiri::XML::SAX::PushParser
|
1483
|
+
def initialize(doc = T.unsafe(nil), file_name = T.unsafe(nil), encoding = T.unsafe(nil)); end
|
1484
|
+
|
1485
|
+
def <<(chunk, last_chunk = T.unsafe(nil)); end
|
1486
|
+
def document; end
|
1487
|
+
def document=(_arg0); end
|
1488
|
+
def finish; end
|
1489
|
+
def options; end
|
1490
|
+
def options=(_arg0); end
|
1491
|
+
def replace_entities; end
|
1492
|
+
def replace_entities=(_arg0); end
|
1493
|
+
def write(chunk, last_chunk = T.unsafe(nil)); end
|
1494
|
+
|
1495
|
+
private
|
1496
|
+
|
1497
|
+
def initialize_native(_arg0, _arg1); end
|
1498
|
+
def native_write(_arg0, _arg1); end
|
1499
|
+
end
|
1500
|
+
|
1501
|
+
class Nokogiri::XML::Schema
|
1502
|
+
def errors; end
|
1503
|
+
def errors=(_arg0); end
|
1504
|
+
def valid?(thing); end
|
1505
|
+
def validate(thing); end
|
1506
|
+
|
1507
|
+
private
|
1508
|
+
|
1509
|
+
def validate_document(_arg0); end
|
1510
|
+
def validate_file(_arg0); end
|
1511
|
+
|
1512
|
+
class << self
|
1513
|
+
def from_document(_arg0); end
|
1514
|
+
def new(string_or_io); end
|
1515
|
+
def read_memory(_arg0); end
|
1516
|
+
end
|
1517
|
+
end
|
1518
|
+
|
1519
|
+
module Nokogiri::XML::Searchable
|
1520
|
+
def %(*args); end
|
1521
|
+
def /(*args); end
|
1522
|
+
def at(*args); end
|
1523
|
+
def at_css(*args); end
|
1524
|
+
def at_xpath(*args); end
|
1525
|
+
def css(*args); end
|
1526
|
+
def search(*args); end
|
1527
|
+
def xpath(*args); end
|
1528
|
+
|
1529
|
+
private
|
1530
|
+
|
1531
|
+
def css_internal(node, rules, handler, ns); end
|
1532
|
+
def css_rules_to_xpath(rules, ns); end
|
1533
|
+
def extract_params(params); end
|
1534
|
+
def xpath_impl(node, path, handler, ns, binds); end
|
1535
|
+
def xpath_internal(node, paths, handler, ns, binds); end
|
1536
|
+
def xpath_query_from_css_rule(rule, ns); end
|
1537
|
+
end
|
1538
|
+
|
1539
|
+
Nokogiri::XML::Searchable::LOOKS_LIKE_XPATH = T.let(T.unsafe(nil), Regexp)
|
1540
|
+
|
1541
|
+
class Nokogiri::XML::SyntaxError < ::Nokogiri::SyntaxError
|
1542
|
+
def code; end
|
1543
|
+
def column; end
|
1544
|
+
def domain; end
|
1545
|
+
def error?; end
|
1546
|
+
def fatal?; end
|
1547
|
+
def file; end
|
1548
|
+
def int1; end
|
1549
|
+
def level; end
|
1550
|
+
def line; end
|
1551
|
+
def none?; end
|
1552
|
+
def str1; end
|
1553
|
+
def str2; end
|
1554
|
+
def str3; end
|
1555
|
+
def to_s; end
|
1556
|
+
def warning?; end
|
1557
|
+
|
1558
|
+
private
|
1559
|
+
|
1560
|
+
def level_to_s; end
|
1561
|
+
def location_to_s; end
|
1562
|
+
def nil_or_zero?(attribute); end
|
1563
|
+
end
|
1564
|
+
|
1565
|
+
class Nokogiri::XML::Text < ::Nokogiri::XML::CharacterData
|
1566
|
+
def content=(string); end
|
1567
|
+
|
1568
|
+
class << self
|
1569
|
+
def new(*_arg0); end
|
1570
|
+
end
|
1571
|
+
end
|
1572
|
+
|
1573
|
+
Nokogiri::XML::XML_C14N_1_0 = T.let(T.unsafe(nil), Integer)
|
1574
|
+
|
1575
|
+
Nokogiri::XML::XML_C14N_1_1 = T.let(T.unsafe(nil), Integer)
|
1576
|
+
|
1577
|
+
Nokogiri::XML::XML_C14N_EXCLUSIVE_1_0 = T.let(T.unsafe(nil), Integer)
|
1578
|
+
|
1579
|
+
class Nokogiri::XML::XPath
|
1580
|
+
def document; end
|
1581
|
+
def document=(_arg0); end
|
1582
|
+
end
|
1583
|
+
|
1584
|
+
class Nokogiri::XML::XPath::SyntaxError < ::Nokogiri::XML::SyntaxError
|
1585
|
+
def to_s; end
|
1586
|
+
end
|
1587
|
+
|
1588
|
+
class Nokogiri::XML::XPathContext
|
1589
|
+
def evaluate(*_arg0); end
|
1590
|
+
def register_namespaces(namespaces); end
|
1591
|
+
def register_ns(_arg0, _arg1); end
|
1592
|
+
def register_variable(_arg0, _arg1); end
|
1593
|
+
|
1594
|
+
class << self
|
1595
|
+
def new(_arg0); end
|
1596
|
+
end
|
1597
|
+
end
|
1598
|
+
|
1599
|
+
module Nokogiri::XSLT
|
1600
|
+
class << self
|
1601
|
+
def parse(string, modules = T.unsafe(nil)); end
|
1602
|
+
def quote_params(params); end
|
1603
|
+
def register(_arg0, _arg1); end
|
1604
|
+
end
|
1605
|
+
end
|
1606
|
+
|
1607
|
+
class Nokogiri::XSLT::Stylesheet
|
1608
|
+
def apply_to(document, params = T.unsafe(nil)); end
|
1609
|
+
def serialize(_arg0); end
|
1610
|
+
def transform(*_arg0); end
|
1611
|
+
|
1612
|
+
class << self
|
1613
|
+
def parse_stylesheet_doc(_arg0); end
|
1614
|
+
end
|
1615
|
+
end
|