rigortype 0.1.19 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +41 -6
- data/data/core_overlay/numeric.rbs +33 -0
- data/data/core_overlay/pathname.rbs +25 -0
- data/data/core_overlay/string_scanner.rbs +28 -0
- data/data/gem_overlay/activesupport/core_ext.rbs +473 -0
- data/data/vendored_gem_sigs/ast/ast.rbs +130 -0
- data/data/vendored_gem_sigs/bcrypt/bcrypt.rbs +47 -0
- data/data/vendored_gem_sigs/bundler/bundler.rbs +238 -0
- data/data/vendored_gem_sigs/cgi/cgi_extras.rbs +34 -0
- data/data/vendored_gem_sigs/did_you_mean/did_you_mean_extras.rbs +34 -0
- data/data/vendored_gem_sigs/idn-ruby/idn.rbs +54 -0
- data/data/vendored_gem_sigs/mysql2/client.rbs +55 -0
- data/data/vendored_gem_sigs/mysql2/error.rbs +5 -0
- data/data/vendored_gem_sigs/mysql2/result.rbs +31 -0
- data/data/vendored_gem_sigs/mysql2/statement.rbs +5 -0
- data/data/vendored_gem_sigs/nokogiri/nokogiri.rbs +2332 -0
- data/data/vendored_gem_sigs/nokogiri/nokogiri_html5.rbs +47 -0
- data/data/vendored_gem_sigs/pg/pg.rbs +212 -0
- data/data/vendored_gem_sigs/prism/prism_supplement.rbs +44 -0
- data/data/vendored_gem_sigs/redis/errors.rbs +50 -0
- data/data/vendored_gem_sigs/redis/future.rbs +5 -0
- data/data/vendored_gem_sigs/redis/redis.rbs +348 -0
- data/data/vendored_gem_sigs/redis/redis_extras.rbs +130 -0
- data/data/vendored_gem_sigs/rubygems/rubygems_extras.rbs +226 -0
- data/lib/rigor/analysis/check_rules/ivar_write_collector.rb +3 -23
- data/lib/rigor/analysis/check_rules/rule_walk.rb +3 -21
- data/lib/rigor/analysis/check_rules/self_closedness_scanner.rb +24 -15
- data/lib/rigor/analysis/check_rules.rb +492 -71
- data/lib/rigor/analysis/dependency_source_inference/index.rb +4 -7
- data/lib/rigor/analysis/dependency_source_inference/walker.rb +2 -18
- data/lib/rigor/analysis/dependency_source_inference.rb +3 -12
- data/lib/rigor/analysis/fact_store.rb +5 -4
- data/lib/rigor/analysis/rule_catalog.rb +153 -6
- data/lib/rigor/analysis/runner/diagnostic_aggregator.rb +17 -17
- data/lib/rigor/analysis/runner/project_pre_passes.rb +9 -8
- data/lib/rigor/analysis/runner.rb +17 -6
- data/lib/rigor/analysis/self_call_resolution_recorder.rb +3 -4
- data/lib/rigor/analysis/worker_session.rb +10 -14
- data/lib/rigor/builtins/predefined_constant_refinements.rb +151 -0
- data/lib/rigor/cache/store.rb +5 -3
- data/lib/rigor/cli/annotate_command.rb +28 -7
- data/lib/rigor/cli/baseline_command.rb +4 -3
- data/lib/rigor/cli/check_command.rb +138 -16
- data/lib/rigor/cli/coverage_command.rb +138 -31
- data/lib/rigor/cli/coverage_mutation.rb +149 -0
- data/lib/rigor/cli/coverage_scan.rb +57 -0
- data/lib/rigor/cli/explain_command.rb +2 -0
- data/lib/rigor/cli/fused_protection_renderer.rb +67 -0
- data/lib/rigor/cli/fused_protection_report.rb +76 -0
- data/lib/rigor/cli/lsp_command.rb +3 -7
- data/lib/rigor/cli/mutation_protection_renderer.rb +63 -0
- data/lib/rigor/cli/mutation_protection_report.rb +73 -0
- data/lib/rigor/cli/options.rb +9 -0
- data/lib/rigor/cli/plugins_command.rb +2 -1
- data/lib/rigor/cli/protection_renderer.rb +63 -0
- data/lib/rigor/cli/protection_report.rb +68 -0
- data/lib/rigor/cli/sig_gen_command.rb +2 -1
- data/lib/rigor/cli/trace_command.rb +2 -1
- data/lib/rigor/cli/triage_command.rb +2 -1
- data/lib/rigor/cli/type_of_command.rb +1 -1
- data/lib/rigor/cli/type_scan_command.rb +2 -1
- data/lib/rigor/cli.rb +3 -2
- data/lib/rigor/config_audit.rb +152 -0
- data/lib/rigor/configuration/dependencies.rb +2 -4
- data/lib/rigor/configuration.rb +57 -7
- data/lib/rigor/environment/bundle_sig_discovery.rb +61 -13
- data/lib/rigor/environment/class_registry.rb +4 -3
- data/lib/rigor/environment/constant_type_cache_holder.rb +43 -0
- data/lib/rigor/environment/lockfile_resolver.rb +1 -1
- data/lib/rigor/environment/rbs_collection_discovery.rb +1 -2
- data/lib/rigor/environment/rbs_coverage_report.rb +2 -1
- data/lib/rigor/environment/rbs_loader.rb +76 -5
- data/lib/rigor/environment.rb +66 -8
- data/lib/rigor/flow_contribution/fact.rb +1 -1
- data/lib/rigor/flow_contribution.rb +3 -5
- data/lib/rigor/inference/acceptance.rb +17 -9
- data/lib/rigor/inference/block_parameter_binder.rb +2 -3
- data/lib/rigor/inference/builtins/comparable_catalog.rb +2 -2
- data/lib/rigor/inference/builtins/enumerable_catalog.rb +2 -2
- data/lib/rigor/inference/builtins/method_catalog.rb +19 -0
- data/lib/rigor/inference/builtins/string_catalog.rb +9 -1
- data/lib/rigor/inference/expression_typer.rb +20 -28
- data/lib/rigor/inference/hkt_body.rb +8 -11
- data/lib/rigor/inference/hkt_body_parser.rb +10 -12
- data/lib/rigor/inference/hkt_registry.rb +10 -11
- data/lib/rigor/inference/method_dispatcher/call_context.rb +1 -4
- data/lib/rigor/inference/method_dispatcher/constant_folding.rb +169 -24
- data/lib/rigor/inference/method_dispatcher/data_folding.rb +9 -73
- data/lib/rigor/inference/method_dispatcher/file_folding.rb +6 -7
- data/lib/rigor/inference/method_dispatcher/iterator_dispatch.rb +10 -16
- data/lib/rigor/inference/method_dispatcher/kernel_dispatch.rb +25 -13
- data/lib/rigor/inference/method_dispatcher/member_shape_projection.rb +93 -0
- data/lib/rigor/inference/method_dispatcher/overload_selector.rb +1 -3
- data/lib/rigor/inference/method_dispatcher/rbs_dispatch.rb +24 -22
- data/lib/rigor/inference/method_dispatcher/shape_dispatch.rb +90 -15
- data/lib/rigor/inference/method_dispatcher/struct_folding.rb +303 -0
- data/lib/rigor/inference/method_dispatcher.rb +40 -48
- data/lib/rigor/inference/mutation_widening.rb +5 -11
- data/lib/rigor/inference/narrowing.rb +14 -16
- data/lib/rigor/inference/parameter_inference_collector.rb +367 -0
- data/lib/rigor/inference/project_patched_methods.rb +4 -7
- data/lib/rigor/inference/project_patched_scanner.rb +2 -13
- data/lib/rigor/inference/protection_scanner.rb +86 -0
- data/lib/rigor/inference/scope_indexer.rb +129 -55
- data/lib/rigor/inference/statement_evaluator.rb +271 -114
- data/lib/rigor/inference/struct_fold_safety.rb +181 -0
- data/lib/rigor/inference/synthetic_method.rb +7 -7
- data/lib/rigor/language_server/completion_provider.rb +6 -12
- data/lib/rigor/language_server/diagnostic_publisher.rb +4 -4
- data/lib/rigor/language_server/document_symbol_provider.rb +3 -3
- data/lib/rigor/language_server/hover_provider.rb +2 -3
- data/lib/rigor/language_server/hover_renderer.rb +2 -11
- data/lib/rigor/language_server/server.rb +9 -17
- data/lib/rigor/language_server.rb +4 -5
- data/lib/rigor/plugin/base.rb +10 -8
- data/lib/rigor/plugin/macro/block_as_method.rb +3 -4
- data/lib/rigor/plugin/macro/heredoc_template.rb +4 -7
- data/lib/rigor/plugin/macro/trait_registry.rb +3 -6
- data/lib/rigor/plugin/macro.rb +4 -5
- data/lib/rigor/plugin/manifest.rb +45 -66
- data/lib/rigor/plugin/registry.rb +6 -7
- data/lib/rigor/plugin/type_node_resolver.rb +6 -8
- data/lib/rigor/protection/diagnostic_oracle.rb +51 -0
- data/lib/rigor/protection/mutation_scanner.rb +180 -0
- data/lib/rigor/protection/mutator.rb +267 -0
- data/lib/rigor/protection/test_suite_oracle.rb +68 -0
- data/lib/rigor/rbs_extended.rb +24 -36
- data/lib/rigor/reflection.rb +4 -7
- data/lib/rigor/scope/discovery_index.rb +14 -2
- data/lib/rigor/scope.rb +54 -11
- data/lib/rigor/sig_gen/observed_call.rb +3 -3
- data/lib/rigor/sig_gen/writer.rb +40 -2
- data/lib/rigor/signature_path_audit.rb +92 -0
- data/lib/rigor/source/constant_path.rb +62 -0
- data/lib/rigor/source.rb +1 -0
- data/lib/rigor/type/bound_method.rb +2 -11
- data/lib/rigor/type/combinator.rb +16 -3
- data/lib/rigor/type/constant.rb +2 -11
- data/lib/rigor/type/data_class.rb +2 -11
- data/lib/rigor/type/data_instance.rb +2 -11
- data/lib/rigor/type/hash_shape.rb +2 -11
- data/lib/rigor/type/integer_range.rb +2 -11
- data/lib/rigor/type/intersection.rb +2 -11
- data/lib/rigor/type/nominal.rb +2 -11
- data/lib/rigor/type/plain_lattice.rb +37 -0
- data/lib/rigor/type/refined.rb +72 -13
- data/lib/rigor/type/singleton.rb +2 -11
- data/lib/rigor/type/struct_class.rb +75 -0
- data/lib/rigor/type/struct_instance.rb +93 -0
- data/lib/rigor/type/tuple.rb +5 -15
- data/lib/rigor/type.rb +2 -0
- data/lib/rigor/version.rb +1 -1
- data/plugins/rigor-actioncable/lib/rigor/plugin/actioncable/channel_discoverer.rb +1 -1
- data/plugins/rigor-actioncable/lib/rigor/plugin/actioncable/channel_index.rb +3 -3
- data/plugins/rigor-actioncable/lib/rigor/plugin/actioncable.rb +3 -3
- data/plugins/rigor-actionmailer/lib/rigor/plugin/actionmailer/mailer_discoverer.rb +5 -13
- data/plugins/rigor-actionpack/lib/rigor/plugin/actionpack/analyzer.rb +11 -17
- data/plugins/rigor-actionpack/lib/rigor/plugin/actionpack.rb +7 -10
- data/plugins/rigor-activejob/lib/rigor/plugin/activejob/job_index.rb +3 -2
- data/plugins/rigor-activerecord/lib/rigor/plugin/activerecord/model_discoverer.rb +4 -4
- data/plugins/rigor-activerecord/lib/rigor/plugin/activerecord.rb +6 -8
- data/plugins/rigor-activestorage/lib/rigor/plugin/activestorage/analyzer.rb +5 -7
- data/plugins/rigor-activestorage/lib/rigor/plugin/activestorage.rb +1 -2
- data/plugins/rigor-devise/lib/rigor/plugin/devise.rb +9 -11
- data/plugins/rigor-dry-struct/lib/rigor/plugin/dry_struct.rb +8 -9
- data/plugins/rigor-dry-types/lib/rigor/plugin/dry_types.rb +13 -12
- data/plugins/rigor-dry-validation/lib/rigor/plugin/dry_validation.rb +3 -4
- data/plugins/rigor-factorybot/lib/rigor/plugin/factorybot/analyzer.rb +8 -8
- data/plugins/rigor-factorybot/lib/rigor/plugin/factorybot/factory_discoverer.rb +9 -11
- data/plugins/rigor-factorybot/lib/rigor/plugin/factorybot/factory_index.rb +7 -8
- data/plugins/rigor-factorybot/lib/rigor/plugin/factorybot.rb +7 -9
- data/plugins/rigor-graphql/lib/rigor/plugin/graphql/type_scanner.rb +12 -13
- data/plugins/rigor-graphql/lib/rigor/plugin/graphql.rb +15 -23
- data/plugins/rigor-mangrove/lib/rigor/plugin/mangrove.rb +3 -3
- data/plugins/rigor-minitest/lib/rigor/plugin/minitest.rb +3 -3
- data/plugins/rigor-rails-i18n/lib/rigor/plugin/rails_i18n/analyzer.rb +2 -4
- data/plugins/rigor-rails-i18n/lib/rigor/plugin/rails_i18n/locale_loader.rb +27 -11
- data/plugins/rigor-rails-i18n/lib/rigor/plugin/rails_i18n.rb +1 -1
- data/plugins/rigor-rails-routes/lib/rigor/plugin/rails_routes/devise_routes.rb +4 -6
- data/plugins/rigor-rails-routes/lib/rigor/plugin/rails_routes/routes_parser.rb +12 -18
- data/plugins/rigor-rails-routes/lib/rigor/plugin/rails_routes.rb +5 -5
- data/plugins/rigor-rspec/lib/rigor/plugin/rspec/let_scope_index.rb +3 -4
- data/plugins/rigor-rspec/lib/rigor/plugin/rspec/let_type_resolver.rb +1 -1
- data/plugins/rigor-rspec/lib/rigor/plugin/rspec/matcher_analyzer.rb +1 -1
- data/plugins/rigor-rspec/lib/rigor/plugin/rspec.rb +19 -14
- data/plugins/rigor-shoulda-matchers/lib/rigor/plugin/shoulda_matchers/analyzer.rb +0 -1
- data/plugins/rigor-sidekiq/lib/rigor/plugin/sidekiq/worker_index.rb +5 -4
- data/plugins/rigor-sorbet/lib/rigor/plugin/sorbet/assertion_recognizer.rb +2 -3
- data/plugins/rigor-sorbet/lib/rigor/plugin/sorbet/method_signature.rb +7 -11
- data/plugins/rigor-sorbet/lib/rigor/plugin/sorbet/sig_parser.rb +4 -5
- data/plugins/rigor-sorbet/lib/rigor/plugin/sorbet/sigil_detector.rb +6 -9
- data/plugins/rigor-sorbet/lib/rigor/plugin/sorbet/type_translator.rb +5 -15
- data/plugins/rigor-sorbet/lib/rigor/plugin/sorbet.rb +28 -41
- data/sig/rigor/scope.rbs +9 -1
- data/sig/rigor/type.rbs +36 -1
- metadata +49 -1
|
@@ -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: () -> String?
|
|
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: () -> Nokogiri::XML::Element?
|
|
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: () -> String?
|
|
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 []: (String name) -> String?
|
|
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: (String name) -> Nokogiri::XML::Attr?
|
|
1219
|
+
|
|
1220
|
+
def attribute_nodes: () -> untyped
|
|
1221
|
+
|
|
1222
|
+
def attribute_with_ns: (untyped, untyped) -> untyped
|
|
1223
|
+
|
|
1224
|
+
def attributes: () -> Hash[String, Nokogiri::XML::Attr]
|
|
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: () -> Nokogiri::XML::NodeSet
|
|
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) -> Nokogiri::XML::Node?
|
|
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) -> Nokogiri::XML::NodeSet
|
|
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) -> Nokogiri::XML::Node?
|
|
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
|