muina 0.2.8 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +25 -0
  3. data/README.md +0 -35
  4. data/lib/muina/maybe/none.rb +61 -0
  5. data/lib/muina/maybe/some.rb +62 -0
  6. data/lib/muina/maybe.rb +13 -0
  7. data/lib/muina/result/failure.rb +7 -18
  8. data/lib/muina/result/success.rb +7 -18
  9. data/lib/muina/result.rb +6 -8
  10. data/lib/muina/version.rb +1 -2
  11. data/lib/muina.rb +0 -32
  12. metadata +24 -225
  13. data/.github/workflows/main.yml +0 -16
  14. data/.gitignore +0 -5
  15. data/.mutant.yml +0 -38
  16. data/.rspec +0 -4
  17. data/.rubocop.yml +0 -181
  18. data/.ruby-version +0 -1
  19. data/.simplecov +0 -14
  20. data/CHANGELOG.md +0 -38
  21. data/Gemfile +0 -34
  22. data/Gemfile.lock +0 -265
  23. data/Guardfile +0 -24
  24. data/Rakefile +0 -13
  25. data/SECURITY.md +0 -14
  26. data/bin/bundle +0 -114
  27. data/bin/console +0 -15
  28. data/bin/flay +0 -29
  29. data/bin/flog +0 -29
  30. data/bin/guard +0 -29
  31. data/bin/irb +0 -29
  32. data/bin/lefthook +0 -29
  33. data/bin/mutant +0 -29
  34. data/bin/parlour +0 -29
  35. data/bin/rake +0 -29
  36. data/bin/rspec +0 -29
  37. data/bin/rubocop +0 -29
  38. data/bin/setup +0 -8
  39. data/bin/srb +0 -29
  40. data/bin/srb-rbi +0 -29
  41. data/bin/tapioca +0 -29
  42. data/exe/muina +0 -11
  43. data/lefthook.yml +0 -39
  44. data/lib/muina/action/params_factory.rb +0 -17
  45. data/lib/muina/action/step/command.rb +0 -33
  46. data/lib/muina/action/step/failure.rb +0 -18
  47. data/lib/muina/action/step/query.rb +0 -35
  48. data/lib/muina/action/step/result.rb +0 -56
  49. data/lib/muina/action/step.rb +0 -13
  50. data/lib/muina/action.rb +0 -73
  51. data/lib/muina/any.rb +0 -7
  52. data/lib/muina/classes.rb +0 -7
  53. data/lib/muina/deprecator.rb +0 -93
  54. data/lib/muina/entity.rb +0 -20
  55. data/lib/muina/module.rb +0 -6
  56. data/lib/muina/parameters.rb +0 -7
  57. data/lib/muina/params.rb +0 -19
  58. data/lib/muina/private_creation.rb +0 -12
  59. data/lib/muina/result/factory.rb +0 -37
  60. data/lib/muina/result/null.rb +0 -25
  61. data/lib/muina/service.rb +0 -25
  62. data/lib/muina/symbol_hash.rb +0 -7
  63. data/lib/muina/unit.rb +0 -10
  64. data/lib/muina/untyped_array.rb +0 -7
  65. data/lib/muina/untyped_hash.rb +0 -7
  66. data/lib/muina/value.rb +0 -24
  67. data/muina.gemspec +0 -35
  68. data/rbi/muina.rbi +0 -311
  69. data/sorbet/config +0 -2
  70. data/sorbet/rbi/gems/actionpack@6.1.4.rbi +0 -5045
  71. data/sorbet/rbi/gems/actionview@6.1.4.rbi +0 -2416
  72. data/sorbet/rbi/gems/activesupport@6.1.4.rbi +0 -3778
  73. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
  74. data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +0 -322
  75. data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -8
  76. data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -18
  77. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  78. data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
  79. data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
  80. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
  81. data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -123
  82. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
  83. data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -54
  84. data/sorbet/rbi/gems/erubi@1.10.0.rbi +0 -36
  85. data/sorbet/rbi/gems/erubis@2.7.0.rbi +0 -8
  86. data/sorbet/rbi/gems/faker@2.18.0.rbi +0 -2469
  87. data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
  88. data/sorbet/rbi/gems/flay@2.12.1.rbi +0 -178
  89. data/sorbet/rbi/gems/flog@4.6.4.rbi +0 -70
  90. data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
  91. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +0 -49
  92. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +0 -233
  93. data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +0 -66
  94. data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +0 -69
  95. data/sorbet/rbi/gems/guard@2.18.0.rbi +0 -617
  96. data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
  97. data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -616
  98. data/sorbet/rbi/gems/io-console@0.5.9.rbi +0 -8
  99. data/sorbet/rbi/gems/irb@1.3.6.rbi +0 -452
  100. data/sorbet/rbi/gems/lefthook@0.7.6.rbi +0 -8
  101. data/sorbet/rbi/gems/listen@3.6.0.rbi +0 -476
  102. data/sorbet/rbi/gems/loofah@2.10.0.rbi +0 -223
  103. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +0 -431
  104. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
  105. data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
  106. data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +0 -8
  107. data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +0 -8
  108. data/sorbet/rbi/gems/mutant@0.10.32.rbi +0 -4154
  109. data/sorbet/rbi/gems/nenv@0.3.0.rbi +0 -88
  110. data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +0 -1422
  111. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +0 -331
  112. data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
  113. data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1726
  114. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1683
  115. data/sorbet/rbi/gems/path_expander@1.1.0.rbi +0 -24
  116. data/sorbet/rbi/gems/polyfill@1.9.0.rbi +0 -393
  117. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
  118. data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
  119. data/sorbet/rbi/gems/rack-test@1.1.0.rbi +0 -272
  120. data/sorbet/rbi/gems/rack@2.2.3.rbi +0 -1618
  121. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -92
  122. data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +0 -183
  123. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
  124. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -808
  125. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
  126. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +0 -8
  127. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1120
  128. data/sorbet/rbi/gems/reline@0.2.6.rbi +0 -662
  129. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -672
  130. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2509
  131. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
  132. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
  133. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -509
  134. data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -38
  135. data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +0 -2194
  136. data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +0 -899
  137. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -118
  138. data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +0 -1805
  139. data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -288
  140. data/sorbet/rbi/gems/rubocop@1.18.4.rbi +0 -13197
  141. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
  142. data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +0 -4528
  143. data/sorbet/rbi/gems/safe_type@1.1.1.rbi +0 -157
  144. data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +0 -359
  145. data/sorbet/rbi/gems/shellany@0.0.1.rbi +0 -28
  146. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
  147. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
  148. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
  149. data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +0 -42
  150. data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +0 -8
  151. data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +0 -17
  152. data/sorbet/rbi/gems/spoom@1.1.1.rbi +0 -1193
  153. data/sorbet/rbi/gems/tapioca@0.4.23.rbi +0 -1826
  154. data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
  155. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -856
  156. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -26
  157. data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -2037
  158. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
  159. data/sorbet/rbi/todo.rbi +0 -8
  160. data/sorbet/rbi/typed_params.rbi +0 -7
  161. data/sorbet/tapioca/require.rb +0 -16
@@ -1,672 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `rexml` gem.
3
- # Please instead update this file by running `bin/tapioca sync`.
4
-
5
- # typed: true
6
-
7
- class REXML::AttlistDecl < ::REXML::Child
8
- include ::Enumerable
9
-
10
- def initialize(source); end
11
-
12
- def [](key); end
13
- def each(&block); end
14
- def element_name; end
15
- def include?(key); end
16
- def node_type; end
17
- def write(out, indent = T.unsafe(nil)); end
18
- end
19
-
20
- class REXML::Attribute
21
- include ::REXML::Node
22
- include ::REXML::XMLTokens
23
- include ::REXML::Namespace
24
-
25
- def initialize(first, second = T.unsafe(nil), parent = T.unsafe(nil)); end
26
-
27
- def ==(other); end
28
- def clone; end
29
- def doctype; end
30
- def element; end
31
- def element=(element); end
32
- def hash; end
33
- def inspect; end
34
- def namespace(arg = T.unsafe(nil)); end
35
- def node_type; end
36
- def normalized=(_arg0); end
37
- def prefix; end
38
- def remove; end
39
- def to_s; end
40
- def to_string; end
41
- def value; end
42
- def write(output, indent = T.unsafe(nil)); end
43
- def xpath; end
44
- end
45
-
46
- class REXML::Attributes < ::Hash
47
- def initialize(element); end
48
-
49
- def <<(attribute); end
50
- def [](name); end
51
- def []=(name, value); end
52
- def add(attribute); end
53
- def delete(attribute); end
54
- def delete_all(name); end
55
- def each; end
56
- def each_attribute; end
57
- def get_attribute(name); end
58
- def get_attribute_ns(namespace, name); end
59
- def length; end
60
- def namespaces; end
61
- def prefixes; end
62
- def size; end
63
- def to_a; end
64
- end
65
-
66
- class REXML::CData < ::REXML::Text
67
- def initialize(first, whitespace = T.unsafe(nil), parent = T.unsafe(nil)); end
68
-
69
- def clone; end
70
- def to_s; end
71
- def value; end
72
- def write(output = T.unsafe(nil), indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
73
- end
74
-
75
- class REXML::Child
76
- include ::REXML::Node
77
-
78
- def initialize(parent = T.unsafe(nil)); end
79
-
80
- def bytes; end
81
- def document; end
82
- def next_sibling; end
83
- def next_sibling=(other); end
84
- def parent; end
85
- def parent=(other); end
86
- def previous_sibling; end
87
- def previous_sibling=(other); end
88
- def remove; end
89
- def replace_with(child); end
90
- end
91
-
92
- class REXML::Comment < ::REXML::Child
93
- include ::Comparable
94
-
95
- def initialize(first, second = T.unsafe(nil)); end
96
-
97
- def <=>(other); end
98
- def ==(other); end
99
- def clone; end
100
- def node_type; end
101
- def string; end
102
- def string=(_arg0); end
103
- def to_s; end
104
- def write(output, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
105
- end
106
-
107
- module REXML::DClonable; end
108
-
109
- class REXML::Declaration < ::REXML::Child
110
- def initialize(src); end
111
-
112
- def to_s; end
113
- def write(output, indent); end
114
- end
115
-
116
- class REXML::DocType < ::REXML::Parent
117
- include ::REXML::XMLTokens
118
-
119
- def initialize(first, parent = T.unsafe(nil)); end
120
-
121
- def add(child); end
122
- def attribute_of(element, attribute); end
123
- def attributes_of(element); end
124
- def clone; end
125
- def context; end
126
- def entities; end
127
- def entity(name); end
128
- def external_id; end
129
- def name; end
130
- def namespaces; end
131
- def node_type; end
132
- def notation(name); end
133
- def notations; end
134
- def public; end
135
- def system; end
136
- def write(output, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
137
- end
138
-
139
- class REXML::Document < ::REXML::Element
140
- def initialize(source = T.unsafe(nil), context = T.unsafe(nil)); end
141
-
142
- def <<(child); end
143
- def add(child); end
144
- def add_element(arg = T.unsafe(nil), arg2 = T.unsafe(nil)); end
145
- def clone; end
146
- def doctype; end
147
- def document; end
148
- def encoding; end
149
- def entity_expansion_count; end
150
- def expanded_name; end
151
- def name; end
152
- def node_type; end
153
- def record_entity_expansion; end
154
- def root; end
155
- def stand_alone?; end
156
- def version; end
157
- def write(*arguments); end
158
- def xml_decl; end
159
-
160
- private
161
-
162
- def build(source); end
163
-
164
- class << self
165
- def entity_expansion_limit; end
166
- def entity_expansion_limit=(val); end
167
- def entity_expansion_text_limit; end
168
- def entity_expansion_text_limit=(val); end
169
- def parse_stream(source, listener); end
170
- end
171
- end
172
-
173
- class REXML::Element < ::REXML::Parent
174
- include ::REXML::XMLTokens
175
- include ::REXML::Namespace
176
-
177
- def initialize(arg = T.unsafe(nil), parent = T.unsafe(nil), context = T.unsafe(nil)); end
178
-
179
- def [](name_or_index); end
180
- def add_attribute(key, value = T.unsafe(nil)); end
181
- def add_attributes(hash); end
182
- def add_element(element, attrs = T.unsafe(nil)); end
183
- def add_namespace(prefix, uri = T.unsafe(nil)); end
184
- def add_text(text); end
185
- def attribute(name, namespace = T.unsafe(nil)); end
186
- def attributes; end
187
- def cdatas; end
188
- def clone; end
189
- def comments; end
190
- def context; end
191
- def context=(_arg0); end
192
- def delete_attribute(key); end
193
- def delete_element(element); end
194
- def delete_namespace(namespace = T.unsafe(nil)); end
195
- def document; end
196
- def each_element(xpath = T.unsafe(nil), &block); end
197
- def each_element_with_attribute(key, value = T.unsafe(nil), max = T.unsafe(nil), name = T.unsafe(nil), &block); end
198
- def each_element_with_text(text = T.unsafe(nil), max = T.unsafe(nil), name = T.unsafe(nil), &block); end
199
- def elements; end
200
- def get_elements(xpath); end
201
- def get_text(path = T.unsafe(nil)); end
202
- def has_attributes?; end
203
- def has_elements?; end
204
- def has_text?; end
205
- def ignore_whitespace_nodes; end
206
- def inspect; end
207
- def instructions; end
208
- def namespace(prefix = T.unsafe(nil)); end
209
- def namespaces; end
210
- def next_element; end
211
- def node_type; end
212
- def prefixes; end
213
- def previous_element; end
214
- def raw; end
215
- def root; end
216
- def root_node; end
217
- def text(path = T.unsafe(nil)); end
218
- def text=(text); end
219
- def texts; end
220
- def whitespace; end
221
- def write(output = T.unsafe(nil), indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
222
- def xpath; end
223
-
224
- private
225
-
226
- def __to_xpath_helper(node); end
227
- def each_with_something(test, max = T.unsafe(nil), name = T.unsafe(nil)); end
228
- end
229
-
230
- class REXML::ElementDecl < ::REXML::Declaration
231
- def initialize(src); end
232
- end
233
-
234
- class REXML::Elements
235
- include ::Enumerable
236
-
237
- def initialize(parent); end
238
-
239
- def <<(element = T.unsafe(nil)); end
240
- def [](index, name = T.unsafe(nil)); end
241
- def []=(index, element); end
242
- def add(element = T.unsafe(nil)); end
243
- def collect(xpath = T.unsafe(nil)); end
244
- def delete(element); end
245
- def delete_all(xpath); end
246
- def each(xpath = T.unsafe(nil)); end
247
- def empty?; end
248
- def index(element); end
249
- def inject(xpath = T.unsafe(nil), initial = T.unsafe(nil)); end
250
- def parent; end
251
- def size; end
252
- def to_a(xpath = T.unsafe(nil)); end
253
-
254
- private
255
-
256
- def literalize(name); end
257
- end
258
-
259
- module REXML::Encoding
260
- def decode(string); end
261
- def encode(string); end
262
- def encoding; end
263
- def encoding=(encoding); end
264
-
265
- private
266
-
267
- def find_encoding(name); end
268
- end
269
-
270
- class REXML::Entity < ::REXML::Child
271
- include ::REXML::XMLTokens
272
-
273
- def initialize(stream, value = T.unsafe(nil), parent = T.unsafe(nil), reference = T.unsafe(nil)); end
274
-
275
- def external; end
276
- def name; end
277
- def ndata; end
278
- def normalized; end
279
- def pubid; end
280
- def ref; end
281
- def to_s; end
282
- def unnormalized; end
283
- def value; end
284
- def write(out, indent = T.unsafe(nil)); end
285
-
286
- class << self
287
- def matches?(string); end
288
- end
289
- end
290
-
291
- class REXML::ExternalEntity < ::REXML::Child
292
- def initialize(src); end
293
-
294
- def to_s; end
295
- def write(output, indent); end
296
- end
297
-
298
- class REXML::Formatters::Default
299
- def initialize(ie_hack = T.unsafe(nil)); end
300
-
301
- def write(node, output); end
302
-
303
- protected
304
-
305
- def write_cdata(node, output); end
306
- def write_comment(node, output); end
307
- def write_document(node, output); end
308
- def write_element(node, output); end
309
- def write_instruction(node, output); end
310
- def write_text(node, output); end
311
- end
312
-
313
- class REXML::Formatters::Pretty < ::REXML::Formatters::Default
314
- def initialize(indentation = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
315
-
316
- def compact; end
317
- def compact=(_arg0); end
318
- def width; end
319
- def width=(_arg0); end
320
-
321
- protected
322
-
323
- def write_cdata(node, output); end
324
- def write_comment(node, output); end
325
- def write_document(node, output); end
326
- def write_element(node, output); end
327
- def write_text(node, output); end
328
-
329
- private
330
-
331
- def indent_text(string, level = T.unsafe(nil), style = T.unsafe(nil), indentfirstline = T.unsafe(nil)); end
332
- def wrap(string, width); end
333
- end
334
-
335
- class REXML::IOSource < ::REXML::Source
336
- def initialize(arg, block_size = T.unsafe(nil), encoding = T.unsafe(nil)); end
337
-
338
- def consume(pattern); end
339
- def current_line; end
340
- def empty?; end
341
- def match(pattern, cons = T.unsafe(nil)); end
342
- def position; end
343
- def read; end
344
- def scan(pattern, cons = T.unsafe(nil)); end
345
-
346
- private
347
-
348
- def encoding_updated; end
349
- def readline; end
350
- end
351
-
352
- class REXML::Instruction < ::REXML::Child
353
- def initialize(target, content = T.unsafe(nil)); end
354
-
355
- def ==(other); end
356
- def clone; end
357
- def content; end
358
- def content=(_arg0); end
359
- def inspect; end
360
- def node_type; end
361
- def target; end
362
- def target=(_arg0); end
363
- def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
364
- end
365
-
366
- class REXML::NotationDecl < ::REXML::Child
367
- def initialize(name, middle, pub, sys); end
368
-
369
- def name; end
370
- def public; end
371
- def public=(_arg0); end
372
- def system; end
373
- def system=(_arg0); end
374
- def to_s; end
375
- def write(output, indent = T.unsafe(nil)); end
376
- end
377
-
378
- class REXML::Output
379
- include ::REXML::Encoding
380
-
381
- def initialize(real_IO, encd = T.unsafe(nil)); end
382
-
383
- def <<(content); end
384
- def encoding; end
385
- def to_s; end
386
- end
387
-
388
- class REXML::Parent < ::REXML::Child
389
- include ::Enumerable
390
-
391
- def initialize(parent = T.unsafe(nil)); end
392
-
393
- def <<(object); end
394
- def [](index); end
395
- def []=(*args); end
396
- def add(object); end
397
- def children; end
398
- def deep_clone; end
399
- def delete(object); end
400
- def delete_at(index); end
401
- def delete_if(&block); end
402
- def each(&block); end
403
- def each_child(&block); end
404
- def each_index(&block); end
405
- def index(child); end
406
- def insert_after(child1, child2); end
407
- def insert_before(child1, child2); end
408
- def length; end
409
- def parent?; end
410
- def push(object); end
411
- def replace_child(to_replace, replacement); end
412
- def size; end
413
- def to_a; end
414
- def unshift(object); end
415
- end
416
-
417
- class REXML::ParseException < ::RuntimeError
418
- def initialize(message, source = T.unsafe(nil), parser = T.unsafe(nil), exception = T.unsafe(nil)); end
419
-
420
- def context; end
421
- def continued_exception; end
422
- def continued_exception=(_arg0); end
423
- def line; end
424
- def parser; end
425
- def parser=(_arg0); end
426
- def position; end
427
- def source; end
428
- def source=(_arg0); end
429
- def to_s; end
430
- end
431
-
432
- class REXML::Parsers::BaseParser
433
- def initialize(source); end
434
-
435
- def add_listener(listener); end
436
- def empty?; end
437
- def entity(reference, entities); end
438
- def has_next?; end
439
- def normalize(input, entities = T.unsafe(nil), entity_filter = T.unsafe(nil)); end
440
- def peek(depth = T.unsafe(nil)); end
441
- def position; end
442
- def pull; end
443
- def source; end
444
- def stream=(source); end
445
- def unnormalize(string, entities = T.unsafe(nil), filter = T.unsafe(nil)); end
446
- def unshift(token); end
447
-
448
- private
449
-
450
- def need_source_encoding_update?(xml_declaration_encoding); end
451
- def parse_attributes(prefixes, curr_ns); end
452
- def parse_id(base_error_message, accept_external_id:, accept_public_id:); end
453
- def parse_id_invalid_details(accept_external_id:, accept_public_id:); end
454
- def parse_name(base_error_message); end
455
- def process_instruction; end
456
- def pull_event; end
457
- end
458
-
459
- REXML::Parsers::BaseParser::EXTERNAL_ID_PUBLIC = T.let(T.unsafe(nil), Regexp)
460
- REXML::Parsers::BaseParser::EXTERNAL_ID_SYSTEM = T.let(T.unsafe(nil), Regexp)
461
- REXML::Parsers::BaseParser::PUBLIC_ID = T.let(T.unsafe(nil), Regexp)
462
- REXML::Parsers::BaseParser::QNAME = T.let(T.unsafe(nil), Regexp)
463
- REXML::Parsers::BaseParser::QNAME_STR = T.let(T.unsafe(nil), String)
464
-
465
- class REXML::Parsers::StreamParser
466
- def initialize(source, listener); end
467
-
468
- def add_listener(listener); end
469
- def parse; end
470
- end
471
-
472
- class REXML::Parsers::TreeParser
473
- def initialize(source, build_context = T.unsafe(nil)); end
474
-
475
- def add_listener(listener); end
476
- def parse; end
477
- end
478
-
479
- class REXML::Parsers::XPathParser
480
- include ::REXML::XMLTokens
481
-
482
- def abbreviate(path); end
483
- def expand(path); end
484
- def namespaces=(namespaces); end
485
- def parse(path); end
486
- def predicate(path); end
487
- def predicate_to_string(path, &block); end
488
-
489
- private
490
-
491
- def AdditiveExpr(path, parsed); end
492
- def AndExpr(path, parsed); end
493
- def EqualityExpr(path, parsed); end
494
- def FilterExpr(path, parsed); end
495
- def FunctionCall(rest, parsed); end
496
- def LocationPath(path, parsed); end
497
- def MultiplicativeExpr(path, parsed); end
498
- def NodeTest(path, parsed); end
499
- def OrExpr(path, parsed); end
500
- def PathExpr(path, parsed); end
501
- def Predicate(path, parsed); end
502
- def PrimaryExpr(path, parsed); end
503
- def RelationalExpr(path, parsed); end
504
- def RelativeLocationPath(path, parsed); end
505
- def UnaryExpr(path, parsed); end
506
- def UnionExpr(path, parsed); end
507
- def get_group(string); end
508
- def parse_args(string); end
509
- end
510
-
511
- REXML::Parsers::XPathParser::LOCAL_NAME_WILDCARD = T.let(T.unsafe(nil), Regexp)
512
- REXML::Parsers::XPathParser::PREFIX_WILDCARD = T.let(T.unsafe(nil), Regexp)
513
-
514
- class REXML::ReferenceWriter
515
- def initialize(id_type, public_id_literal, system_literal, context = T.unsafe(nil)); end
516
-
517
- def write(output); end
518
- end
519
-
520
- class REXML::Source
521
- include ::REXML::Encoding
522
-
523
- def initialize(arg, encoding = T.unsafe(nil)); end
524
-
525
- def buffer; end
526
- def consume(pattern); end
527
- def current_line; end
528
- def empty?; end
529
- def encoding; end
530
- def encoding=(enc); end
531
- def line; end
532
- def match(pattern, cons = T.unsafe(nil)); end
533
- def match_to(char, pattern); end
534
- def match_to_consume(char, pattern); end
535
- def position; end
536
- def read; end
537
- def scan(pattern, cons = T.unsafe(nil)); end
538
-
539
- private
540
-
541
- def detect_encoding; end
542
- def encoding_updated; end
543
- end
544
-
545
- class REXML::Text < ::REXML::Child
546
- include ::Comparable
547
-
548
- def initialize(arg, respect_whitespace = T.unsafe(nil), parent = T.unsafe(nil), raw = T.unsafe(nil), entity_filter = T.unsafe(nil), illegal = T.unsafe(nil)); end
549
-
550
- def <<(to_append); end
551
- def <=>(other); end
552
- def clone; end
553
- def doctype; end
554
- def empty?; end
555
- def indent_text(string, level = T.unsafe(nil), style = T.unsafe(nil), indentfirstline = T.unsafe(nil)); end
556
- def inspect; end
557
- def node_type; end
558
- def parent=(parent); end
559
- def raw; end
560
- def raw=(_arg0); end
561
- def to_s; end
562
- def value; end
563
- def value=(val); end
564
- def wrap(string, width, addnewline = T.unsafe(nil)); end
565
- def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
566
- def write_with_substitution(out, input); end
567
- def xpath; end
568
-
569
- private
570
-
571
- def clear_cache; end
572
-
573
- class << self
574
- def check(string, pattern, doctype); end
575
- def expand(ref, doctype, filter); end
576
- def normalize(input, doctype = T.unsafe(nil), entity_filter = T.unsafe(nil)); end
577
- def read_with_substitution(input, illegal = T.unsafe(nil)); end
578
- def unnormalize(string, doctype = T.unsafe(nil), filter = T.unsafe(nil), illegal = T.unsafe(nil)); end
579
- end
580
- end
581
-
582
- class REXML::UndefinedNamespaceException < ::REXML::ParseException
583
- def initialize(prefix, source, parser); end
584
- end
585
-
586
- class REXML::Validation::ValidationException < ::RuntimeError
587
- def initialize(msg); end
588
- end
589
-
590
- class REXML::XMLDecl < ::REXML::Child
591
- include ::REXML::Encoding
592
-
593
- def initialize(version = T.unsafe(nil), encoding = T.unsafe(nil), standalone = T.unsafe(nil)); end
594
-
595
- def ==(other); end
596
- def clone; end
597
- def dowrite; end
598
- def encoding=(enc); end
599
- def inspect; end
600
- def node_type; end
601
- def nowrite; end
602
- def old_enc=(encoding); end
603
- def stand_alone?; end
604
- def standalone; end
605
- def standalone=(_arg0); end
606
- def version; end
607
- def version=(_arg0); end
608
- def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
609
- def writeencoding; end
610
- def writethis; end
611
- def xmldecl(version, encoding, standalone); end
612
-
613
- private
614
-
615
- def content(enc); end
616
-
617
- class << self
618
- def default; end
619
- end
620
- end
621
-
622
- class REXML::XPathNode
623
- def initialize(node, context = T.unsafe(nil)); end
624
-
625
- def context; end
626
- def position; end
627
- def raw_node; end
628
- end
629
-
630
- class REXML::XPathParser
631
- include ::REXML::XMLTokens
632
-
633
- def initialize(strict: T.unsafe(nil)); end
634
-
635
- def []=(variable_name, value); end
636
- def first(path_stack, node); end
637
- def get_first(path, nodeset); end
638
- def match(path_stack, nodeset); end
639
- def namespaces=(namespaces = T.unsafe(nil)); end
640
- def parse(path, nodeset); end
641
- def predicate(path, nodeset); end
642
- def variables=(vars = T.unsafe(nil)); end
643
-
644
- private
645
-
646
- def child(nodeset); end
647
- def compare(a, operator, b); end
648
- def descendant(nodeset, include_self); end
649
- def descendant_recursive(raw_node, new_nodeset, new_nodes, include_self); end
650
- def each_unnode(nodeset); end
651
- def enter(tag, *args); end
652
- def equality_relational_compare(set1, op, set2); end
653
- def evaluate_predicate(expression, nodesets); end
654
- def expr(path_stack, nodeset, context = T.unsafe(nil)); end
655
- def filter_nodeset(nodeset); end
656
- def following(node); end
657
- def following_node_of(node); end
658
- def get_namespace(node, prefix); end
659
- def leave(tag, *args); end
660
- def next_sibling_node(node); end
661
- def node_test(path_stack, nodesets, any_type: T.unsafe(nil)); end
662
- def norm(b); end
663
- def normalize_compare_values(a, operator, b); end
664
- def preceding(node); end
665
- def preceding_node_of(node); end
666
- def sort(array_of_nodes, order); end
667
- def step(path_stack, any_type: T.unsafe(nil), order: T.unsafe(nil)); end
668
- def strict?; end
669
- def trace(*args); end
670
- def unnode(nodeset); end
671
- def value_type(value); end
672
- end