mootool 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +7 -0
  3. data/Gemfile +1 -0
  4. data/Gemfile.lock +71 -67
  5. data/lib/mootool/command.rb +1 -0
  6. data/lib/mootool/controller_base.rb +1 -0
  7. data/lib/mootool/controllers/dwarf.rb +2 -1
  8. data/lib/mootool/controllers/dyld_linker.rb +1 -0
  9. data/lib/mootool/controllers/dyld_shared_cache.rb +1 -0
  10. data/lib/mootool/controllers/fat_binary.rb +1 -0
  11. data/lib/mootool/controllers/kernel_collection.rb +4 -3
  12. data/lib/mootool/controllers/sections.rb +1 -0
  13. data/lib/mootool/core_extensions.rb +3 -3
  14. data/lib/mootool/models/decompressor.rb +5 -2
  15. data/lib/mootool/models/device_tree.rb +5 -3
  16. data/lib/mootool/models/img4.rb +2 -1
  17. data/lib/mootool/models/ipsw.rb +5 -1
  18. data/lib/mootool/version.rb +2 -1
  19. data/lib/mootool.rb +1 -0
  20. data/sorbet/config +1 -1
  21. data/sorbet/rbi/annotations/.gitattributes +1 -0
  22. data/sorbet/rbi/annotations/rainbow.rbi +2 -2
  23. data/sorbet/rbi/gems/.gitattributes +1 -0
  24. data/sorbet/rbi/gems/ast@2.4.2.rbi +48 -82
  25. data/sorbet/rbi/gems/childprocess@4.1.0.rbi +107 -153
  26. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +192 -332
  27. data/sorbet/rbi/gems/docile@1.4.0.rbi +376 -0
  28. data/sorbet/rbi/gems/erubi@1.12.0.rbi +146 -0
  29. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +166 -276
  30. data/sorbet/rbi/gems/{json@2.6.2.rbi → json@2.6.3.rbi} +119 -228
  31. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
  32. data/sorbet/rbi/gems/lzfse@0.0.2.rbi +55 -0
  33. data/sorbet/rbi/gems/lzss@0.1.rbi +8 -0
  34. data/sorbet/rbi/gems/netrc@0.11.0.rbi +52 -80
  35. data/sorbet/rbi/gems/{overcommit@0.59.1.rbi → overcommit@0.60.0.rbi} +534 -887
  36. data/sorbet/rbi/gems/parallel@1.23.0.rbi +273 -0
  37. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +5451 -0
  38. data/sorbet/rbi/gems/{plist@3.6.0.rbi → plist@3.7.0.rbi} +125 -3
  39. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
  40. data/sorbet/rbi/gems/prism@0.17.1.rbi +27700 -0
  41. data/sorbet/rbi/gems/racc@1.7.3.rbi +161 -0
  42. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +141 -191
  43. data/sorbet/rbi/gems/rake@13.1.0.rbi +2887 -0
  44. data/sorbet/rbi/gems/{rbi@0.0.15.rbi → rbi@0.1.4.rbi} +979 -1676
  45. data/sorbet/rbi/gems/regexp_parser@2.8.2.rbi +3749 -0
  46. data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.2.6.rbi} +811 -1268
  47. data/sorbet/rbi/gems/{rspec-core@3.11.0.rbi → rspec-core@3.12.2.rbi} +2662 -4722
  48. data/sorbet/rbi/gems/{rspec-expectations@3.11.0.rbi → rspec-expectations@3.12.3.rbi} +1557 -2608
  49. data/sorbet/rbi/gems/rspec-mocks@3.12.6.rbi +5306 -0
  50. data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +1609 -0
  51. data/sorbet/rbi/gems/rspec@3.12.0.rbi +82 -0
  52. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +7090 -0
  53. data/sorbet/rbi/gems/rubocop-capybara@2.19.0.rbi +1125 -0
  54. data/sorbet/rbi/gems/rubocop-factory_bot@2.24.0.rbi +878 -0
  55. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +88 -173
  56. data/sorbet/rbi/gems/rubocop-rspec@2.25.0.rbi +7997 -0
  57. data/sorbet/rbi/gems/rubocop@1.57.2.rbi +56813 -0
  58. data/sorbet/rbi/gems/ruby-lzma@0.4.3.rbi +19 -0
  59. data/sorbet/rbi/gems/ruby-macho@3.0.0.rbi +899 -1237
  60. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
  61. data/sorbet/rbi/gems/rubyzip@2.3.2.rbi +808 -1275
  62. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +216 -0
  63. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2148 -0
  64. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
  65. data/sorbet/rbi/gems/spoom@1.2.4.rbi +3777 -0
  66. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23136 -0
  67. data/sorbet/rbi/gems/tapioca@0.11.12.rbi +3507 -0
  68. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +65 -0
  69. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
  70. data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +4531 -7160
  71. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +24 -72
  72. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +385 -1697
  73. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +7 -30
  74. data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +1 -3
  75. data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
  76. data/sorbet/rbi/sorbet-typed/lib/yard/all/yard.rbi +35 -0
  77. data/sorbet/tapioca/require.rb +13 -1
  78. metadata +47 -35
  79. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  80. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
  81. data/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -353
  82. data/sorbet/rbi/gems/parser@3.1.2.1.rbi +0 -6198
  83. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
  84. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -3587
  85. data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +0 -3927
  86. data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +0 -6506
  87. data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +0 -2040
  88. data/sorbet/rbi/gems/rspec@3.11.0.rbi +0 -120
  89. data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +0 -7990
  90. data/sorbet/rbi/gems/rubocop-rspec@2.12.1.rbi +0 -7604
  91. data/sorbet/rbi/gems/rubocop@1.35.0.rbi +0 -62260
  92. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -1445
  93. data/sorbet/rbi/gems/spoom@1.1.12.rbi +0 -2829
  94. data/sorbet/rbi/gems/tapioca@0.9.3.rbi +0 -2151
  95. data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -4532
  96. data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +0 -60
  97. data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -8
  98. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -3075
  99. data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +0 -458
  100. data/sorbet/rbi/todo.rbi +0 -7
@@ -16,7 +16,7 @@
16
16
  # AttlistDecls onto an intuitive Ruby interface, let me know. I'm desperate
17
17
  # for anything to make DTDs more palateable.
18
18
  #
19
- # source://rexml-3.2.5/lib/rexml/attlistdecl.rb:18
19
+ # source://rexml//lib/rexml/attlistdecl.rb#18
20
20
  class REXML::AttlistDecl < ::REXML::Child
21
21
  include ::Enumerable
22
22
 
@@ -28,30 +28,24 @@ class REXML::AttlistDecl < ::REXML::Child
28
28
  #
29
29
  # @return [AttlistDecl] a new instance of AttlistDecl
30
30
  #
31
- # source://rexml-3.2.5/lib/rexml/attlistdecl.rb:29
32
- def initialize(source)
33
- ;
34
- end
31
+ # source://rexml//lib/rexml/attlistdecl.rb#29
32
+ def initialize(source); end
35
33
 
36
34
  # Access the attlist attribute/value pairs.
37
35
  # value = attlist_decl[ attribute_name ]
38
36
  #
39
- # source://rexml-3.2.5/lib/rexml/attlistdecl.rb:38
40
- def [](key)
41
- ;
42
- end
37
+ # source://rexml//lib/rexml/attlistdecl.rb#38
38
+ def [](key); end
43
39
 
44
40
  # Iterate over the key/value pairs:
45
41
  # attlist_decl.each { |attribute_name, attribute_value| ... }
46
42
  #
47
- # source://rexml-3.2.5/lib/rexml/attlistdecl.rb:50
48
- def each(&block)
49
- ;
50
- end
43
+ # source://rexml//lib/rexml/attlistdecl.rb#50
44
+ def each(&block); end
51
45
 
52
46
  # What is this? Got me.
53
47
  #
54
- # source://rexml-3.2.5/lib/rexml/attlistdecl.rb:22
48
+ # source://rexml//lib/rexml/attlistdecl.rb#22
55
49
  def element_name; end
56
50
 
57
51
  # Whether an attlist declaration includes the given attribute definition
@@ -59,20 +53,16 @@ class REXML::AttlistDecl < ::REXML::Child
59
53
  #
60
54
  # @return [Boolean]
61
55
  #
62
- # source://rexml-3.2.5/lib/rexml/attlistdecl.rb:44
63
- def include?(key)
64
- ;
65
- end
56
+ # source://rexml//lib/rexml/attlistdecl.rb#44
57
+ def include?(key); end
66
58
 
67
- # source://rexml-3.2.5/lib/rexml/attlistdecl.rb:59
59
+ # source://rexml//lib/rexml/attlistdecl.rb#59
68
60
  def node_type; end
69
61
 
70
62
  # Write out exactly what we got in.
71
63
  #
72
- # source://rexml-3.2.5/lib/rexml/attlistdecl.rb:55
73
- def write(out, indent = T.unsafe(nil))
74
- ;
75
- end
64
+ # source://rexml//lib/rexml/attlistdecl.rb#55
65
+ def write(out, indent = T.unsafe(nil)); end
76
66
  end
77
67
 
78
68
  # Defines an Element Attribute; IE, a attribute=value pair, as in:
@@ -80,7 +70,7 @@ end
80
70
  # namespaces. General users of REXML will not interact with the
81
71
  # Attribute class much.
82
72
  #
83
- # source://rexml-3.2.5/lib/rexml/attribute.rb:10
73
+ # source://rexml//lib/rexml/attribute.rb#10
84
74
  class REXML::Attribute
85
75
  include ::REXML::Node
86
76
  include ::REXML::XMLTokens
@@ -111,30 +101,26 @@ class REXML::Attribute
111
101
  #
112
102
  # @return [Attribute] a new instance of Attribute
113
103
  #
114
- # source://rexml-3.2.5/lib/rexml/attribute.rb:45
115
- def initialize(first, second = T.unsafe(nil), parent = T.unsafe(nil))
116
- ;
117
- end
104
+ # source://rexml//lib/rexml/attribute.rb#42
105
+ def initialize(first, second = T.unsafe(nil), parent = T.unsafe(nil)); end
118
106
 
119
107
  # Returns true if other is an Attribute and has the same name and value,
120
108
  # false otherwise.
121
109
  #
122
- # source://rexml-3.2.5/lib/rexml/attribute.rb:109
123
- def ==(other)
124
- ;
125
- end
110
+ # source://rexml//lib/rexml/attribute.rb#106
111
+ def ==(other); end
126
112
 
127
113
  # Returns a copy of this attribute
128
114
  #
129
- # source://rexml-3.2.5/lib/rexml/attribute.rb:158
115
+ # source://rexml//lib/rexml/attribute.rb#163
130
116
  def clone; end
131
117
 
132
- # source://rexml-3.2.5/lib/rexml/attribute.rb:132
118
+ # source://rexml//lib/rexml/attribute.rb#132
133
119
  def doctype; end
134
120
 
135
121
  # The element to which this attribute belongs
136
122
  #
137
- # source://rexml-3.2.5/lib/rexml/attribute.rb:15
123
+ # source://rexml//lib/rexml/attribute.rb#15
138
124
  def element; end
139
125
 
140
126
  # Sets the element of which this object is an attribute. Normally, this
@@ -142,17 +128,15 @@ class REXML::Attribute
142
128
  #
143
129
  # Returns this attribute
144
130
  #
145
- # source://rexml-3.2.5/lib/rexml/attribute.rb:166
146
- def element=(element)
147
- ;
148
- end
131
+ # source://rexml//lib/rexml/attribute.rb#171
132
+ def element=(element); end
149
133
 
150
134
  # Creates (and returns) a hash from both the name and value
151
135
  #
152
- # source://rexml-3.2.5/lib/rexml/attribute.rb:114
136
+ # source://rexml//lib/rexml/attribute.rb#111
153
137
  def hash; end
154
138
 
155
- # source://rexml-3.2.5/lib/rexml/attribute.rb:192
139
+ # source://rexml//lib/rexml/attribute.rb#197
156
140
  def inspect; end
157
141
 
158
142
  # Returns the namespace URL, if defined, or nil otherwise
@@ -177,21 +161,17 @@ class REXML::Attribute
177
161
  # e.add_attribute("a", "b")
178
162
  # e.attribute("a").namespace # => ""
179
163
  #
180
- # source://rexml-3.2.5/lib/rexml/attribute.rb:98
181
- def namespace(arg = T.unsafe(nil))
182
- ;
183
- end
164
+ # source://rexml//lib/rexml/attribute.rb#95
165
+ def namespace(arg = T.unsafe(nil)); end
184
166
 
185
- # source://rexml-3.2.5/lib/rexml/attribute.rb:188
167
+ # source://rexml//lib/rexml/attribute.rb#193
186
168
  def node_type; end
187
169
 
188
170
  # The normalized value of this attribute. That is, the attribute with
189
171
  # entities intact.
190
172
  #
191
- # source://rexml-3.2.5/lib/rexml/attribute.rb:18
192
- def normalized=(_arg0)
193
- ;
194
- end
173
+ # source://rexml//lib/rexml/attribute.rb#157
174
+ def normalized=(new_normalized); end
195
175
 
196
176
  # Returns the namespace of the attribute.
197
177
  #
@@ -203,19 +183,19 @@ class REXML::Attribute
203
183
  # a = Attribute.new( "x", "y" )
204
184
  # a.prefix # -> ""
205
185
  #
206
- # source://rexml-3.2.5/lib/rexml/attribute.rb:73
186
+ # source://rexml//lib/rexml/attribute.rb#70
207
187
  def prefix; end
208
188
 
209
189
  # Removes this Attribute from the tree, and returns true if successful
210
190
  #
211
191
  # This method is usually not called directly.
212
192
  #
213
- # source://rexml-3.2.5/lib/rexml/attribute.rb:179
193
+ # source://rexml//lib/rexml/attribute.rb#184
214
194
  def remove; end
215
195
 
216
196
  # Returns the attribute value, with entities replaced
217
197
  #
218
- # source://rexml-3.2.5/lib/rexml/attribute.rb:140
198
+ # source://rexml//lib/rexml/attribute.rb#140
219
199
  def to_s; end
220
200
 
221
201
  # Returns this attribute out as XML source, expanding the name
@@ -225,30 +205,28 @@ class REXML::Attribute
225
205
  # b = Attribute.new( "ns:x", "y" )
226
206
  # b.to_string # -> "ns:x='y'"
227
207
  #
228
- # source://rexml-3.2.5/lib/rexml/attribute.rb:124
208
+ # source://rexml//lib/rexml/attribute.rb#121
229
209
  def to_string; end
230
210
 
231
211
  # Returns the UNNORMALIZED value of this attribute. That is, entities
232
212
  # have been expanded to their values
233
213
  #
234
- # source://rexml-3.2.5/lib/rexml/attribute.rb:150
214
+ # source://rexml//lib/rexml/attribute.rb#149
235
215
  def value; end
236
216
 
237
217
  # Writes this attribute (EG, puts 'key="value"' to the output)
238
218
  #
239
- # source://rexml-3.2.5/lib/rexml/attribute.rb:184
240
- def write(output, indent = T.unsafe(nil))
241
- ;
242
- end
219
+ # source://rexml//lib/rexml/attribute.rb#189
220
+ def write(output, indent = T.unsafe(nil)); end
243
221
 
244
- # source://rexml-3.2.5/lib/rexml/attribute.rb:198
222
+ # source://rexml//lib/rexml/attribute.rb#203
245
223
  def xpath; end
246
224
  end
247
225
 
248
226
  # A class that defines the set of Attributes of an Element and provides
249
227
  # operations for accessing elements in that set.
250
228
  #
251
- # source://rexml-3.2.5/lib/rexml/element.rb:2141
229
+ # source://rexml//lib/rexml/element.rb#2141
252
230
  class REXML::Attributes < ::Hash
253
231
  # :call-seq:
254
232
  # new(element)
@@ -269,10 +247,8 @@ class REXML::Attributes < ::Hash
269
247
  #
270
248
  # @return [Attributes] a new instance of Attributes
271
249
  #
272
- # source://rexml-3.2.5/lib/rexml/element.rb:2160
273
- def initialize(element)
274
- ;
275
- end
250
+ # source://rexml//lib/rexml/element.rb#2160
251
+ def initialize(element); end
276
252
 
277
253
  # :call-seq:
278
254
  # add(attribute) -> attribute
@@ -294,10 +270,8 @@ class REXML::Attributes < ::Hash
294
270
  # attrs.add(REXML::Attribute.new('baz', '3')) # => baz='3'
295
271
  # attrs.include?('baz') # => true
296
272
  #
297
- # source://rexml-3.2.5/lib/rexml/element.rb:2537
298
- def <<(attribute)
299
- ;
300
- end
273
+ # source://rexml//lib/rexml/element.rb#2537
274
+ def <<(attribute); end
301
275
 
302
276
  # :call-seq:
303
277
  # [name] -> attribute_value or nil
@@ -320,10 +294,8 @@ class REXML::Attributes < ::Hash
320
294
  #
321
295
  # Related: get_attribute (returns an \Attribute object).
322
296
  #
323
- # source://rexml-3.2.5/lib/rexml/element.rb:2185
324
- def [](name)
325
- ;
326
- end
297
+ # source://rexml//lib/rexml/element.rb#2185
298
+ def [](name); end
327
299
 
328
300
  # :call-seq:
329
301
  # [name] = value -> value
@@ -348,10 +320,8 @@ class REXML::Attributes < ::Hash
348
320
  # attrs['baz:att'] = nil
349
321
  # attrs.include?('baz:att') # => false
350
322
  #
351
- # source://rexml-3.2.5/lib/rexml/element.rb:2369
352
- def []=(name, value)
353
- ;
354
- end
323
+ # source://rexml//lib/rexml/element.rb#2369
324
+ def []=(name, value); end
355
325
 
356
326
  # :call-seq:
357
327
  # add(attribute) -> attribute
@@ -373,10 +343,8 @@ class REXML::Attributes < ::Hash
373
343
  # attrs.add(REXML::Attribute.new('baz', '3')) # => baz='3'
374
344
  # attrs.include?('baz') # => true
375
345
  #
376
- # source://rexml-3.2.5/lib/rexml/element.rb:2537
377
- def add(attribute)
378
- ;
379
- end
346
+ # source://rexml//lib/rexml/element.rb#2537
347
+ def add(attribute); end
380
348
 
381
349
  # :call-seq:
382
350
  # delete(name) -> element
@@ -406,10 +374,8 @@ class REXML::Attributes < ::Hash
406
374
  # attrs.delete(attr) # => <ele att='&lt;'/> # => <ele att='&lt;'/>
407
375
  # attrs.delete(attr) # => <ele att='&lt;'/> # => <ele/>
408
376
  #
409
- # source://rexml-3.2.5/lib/rexml/element.rb:2490
410
- def delete(attribute)
411
- ;
412
- end
377
+ # source://rexml//lib/rexml/element.rb#2490
378
+ def delete(attribute); end
413
379
 
414
380
  # :call-seq:
415
381
  # delete_all(name) -> array_of_removed_attributes
@@ -427,10 +393,8 @@ class REXML::Attributes < ::Hash
427
393
  # attrs = ele.attributes
428
394
  # attrs.delete_all('att') # => [att='&lt;']
429
395
  #
430
- # source://rexml-3.2.5/lib/rexml/element.rb:2559
431
- def delete_all(name)
432
- ;
433
- end
396
+ # source://rexml//lib/rexml/element.rb#2559
397
+ def delete_all(name); end
434
398
 
435
399
  # :call-seq:
436
400
  # each {|expanded_name, value| ... }
@@ -454,7 +418,7 @@ class REXML::Attributes < ::Hash
454
418
  # ["bar:att", "2"]
455
419
  # ["att", "<"]
456
420
  #
457
- # source://rexml-3.2.5/lib/rexml/element.rb:2287
421
+ # source://rexml//lib/rexml/element.rb#2287
458
422
  def each; end
459
423
 
460
424
  # :call-seq:
@@ -479,7 +443,7 @@ class REXML::Attributes < ::Hash
479
443
  # [REXML::Attribute, bar:att='2']
480
444
  # [REXML::Attribute, att='&lt;']
481
445
  #
482
- # source://rexml-3.2.5/lib/rexml/element.rb:2254
446
+ # source://rexml//lib/rexml/element.rb#2254
483
447
  def each_attribute; end
484
448
 
485
449
  # :call-seq:
@@ -501,10 +465,8 @@ class REXML::Attributes < ::Hash
501
465
  # attrs.get_attribute('att') # => att='&lt;'
502
466
  # attrs.get_attribute('nosuch') # => nil
503
467
  #
504
- # source://rexml-3.2.5/lib/rexml/element.rb:2313
505
- def get_attribute(name)
506
- ;
507
- end
468
+ # source://rexml//lib/rexml/element.rb#2313
469
+ def get_attribute(name); end
508
470
 
509
471
  # :call-seq:
510
472
  # get_attribute_ns(namespace, name)
@@ -523,10 +485,8 @@ class REXML::Attributes < ::Hash
523
485
  # attrs.get_attribute_ns('http://foo', 'att') # => foo:att='1'
524
486
  # attrs.get_attribute_ns('http://foo', 'nosuch') # => nil
525
487
  #
526
- # source://rexml-3.2.5/lib/rexml/element.rb:2585
527
- def get_attribute_ns(namespace, name)
528
- ;
529
- end
488
+ # source://rexml//lib/rexml/element.rb#2585
489
+ def get_attribute_ns(namespace, name); end
530
490
 
531
491
  # :call-seq:
532
492
  # length
@@ -542,7 +502,7 @@ class REXML::Attributes < ::Hash
542
502
  # ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='&lt;'/>
543
503
  # ele.attributes.length # => 3
544
504
  #
545
- # source://rexml-3.2.5/lib/rexml/element.rb:2225
505
+ # source://rexml//lib/rexml/element.rb#2225
546
506
  def length; end
547
507
 
548
508
  # :call-seq:
@@ -554,7 +514,7 @@ class REXML::Attributes < ::Hash
554
514
  # d = REXML::Document.new(xml_string)
555
515
  # d.root.attributes.namespaces # => {"xmlns"=>"foo", "x"=>"bar", "y"=>"twee"}
556
516
  #
557
- # source://rexml-3.2.5/lib/rexml/element.rb:2446
517
+ # source://rexml//lib/rexml/element.rb#2446
558
518
  def namespaces; end
559
519
 
560
520
  # :call-seq:
@@ -568,7 +528,7 @@ class REXML::Attributes < ::Hash
568
528
  # d = REXML::Document.new(xml_string)
569
529
  # d.root.attributes.prefixes # => ["x", "y"]
570
530
  #
571
- # source://rexml-3.2.5/lib/rexml/element.rb:2421
531
+ # source://rexml//lib/rexml/element.rb#2421
572
532
  def prefixes; end
573
533
 
574
534
  # :call-seq:
@@ -585,7 +545,7 @@ class REXML::Attributes < ::Hash
585
545
  # ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='&lt;'/>
586
546
  # ele.attributes.length # => 3
587
547
  #
588
- # source://rexml-3.2.5/lib/rexml/element.rb:2225
548
+ # source://rexml//lib/rexml/element.rb#2225
589
549
  def size; end
590
550
 
591
551
  # :call-seq:
@@ -604,11 +564,11 @@ class REXML::Attributes < ::Hash
604
564
  # attrs = ele.attributes.to_a # => [foo:att='1', bar:att='2', att='&lt;']
605
565
  # attrs.first.class # => REXML::Attribute
606
566
  #
607
- # source://rexml-3.2.5/lib/rexml/element.rb:2207
567
+ # source://rexml//lib/rexml/element.rb#2207
608
568
  def to_a; end
609
569
  end
610
570
 
611
- # source://rexml-3.2.5/lib/rexml/cdata.rb:5
571
+ # source://rexml//lib/rexml/cdata.rb#5
612
572
  class REXML::CData < ::REXML::Text
613
573
  # Constructor. CData is data between <![CDATA[ ... ]]>
614
574
  #
@@ -619,10 +579,8 @@ class REXML::CData < ::REXML::Text
619
579
  #
620
580
  # @return [CData] a new instance of CData
621
581
  #
622
- # source://rexml-3.2.5/lib/rexml/cdata.rb:16
623
- def initialize(first, whitespace = T.unsafe(nil), parent = T.unsafe(nil))
624
- ;
625
- end
582
+ # source://rexml//lib/rexml/cdata.rb#16
583
+ def initialize(first, whitespace = T.unsafe(nil), parent = T.unsafe(nil)); end
626
584
 
627
585
  # Make a copy of this object
628
586
  #
@@ -631,7 +589,7 @@ class REXML::CData < ::REXML::Text
631
589
  # d = c.clone
632
590
  # d.to_s # -> "Some text"
633
591
  #
634
- # source://rexml-3.2.5/lib/rexml/cdata.rb:26
592
+ # source://rexml//lib/rexml/cdata.rb#26
635
593
  def clone; end
636
594
 
637
595
  # Returns the content of this CData object
@@ -640,10 +598,10 @@ class REXML::CData < ::REXML::Text
640
598
  # c = CData.new( "Some text" )
641
599
  # c.to_s # -> "Some text"
642
600
  #
643
- # source://rexml-3.2.5/lib/rexml/cdata.rb:35
601
+ # source://rexml//lib/rexml/cdata.rb#35
644
602
  def to_s; end
645
603
 
646
- # source://rexml-3.2.5/lib/rexml/cdata.rb:39
604
+ # source://rexml//lib/rexml/cdata.rb#39
647
605
  def value; end
648
606
 
649
607
  # == DEPRECATED
@@ -664,17 +622,15 @@ class REXML::CData < ::REXML::Text
664
622
  # c = CData.new( " Some text " )
665
623
  # c.write( $stdout ) #-> <![CDATA[ Some text ]]>
666
624
  #
667
- # source://rexml-3.2.5/lib/rexml/cdata.rb:60
668
- def write(output = T.unsafe(nil), indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil))
669
- ;
670
- end
625
+ # source://rexml//lib/rexml/cdata.rb#60
626
+ def write(output = T.unsafe(nil), indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
671
627
  end
672
628
 
673
629
  # A Child object is something contained by a parent, and this class
674
630
  # contains methods to support that. Most user code will not use this
675
631
  # class directly.
676
632
  #
677
- # source://rexml-3.2.5/lib/rexml/child.rb:9
633
+ # source://rexml//lib/rexml/child.rb#9
678
634
  class REXML::Child
679
635
  include ::REXML::Node
680
636
 
@@ -686,23 +642,21 @@ class REXML::Child
686
642
  #
687
643
  # @return [Child] a new instance of Child
688
644
  #
689
- # source://rexml-3.2.5/lib/rexml/child.rb:18
690
- def initialize(parent = T.unsafe(nil))
691
- ;
692
- end
645
+ # source://rexml//lib/rexml/child.rb#18
646
+ def initialize(parent = T.unsafe(nil)); end
693
647
 
694
648
  # This doesn't yet handle encodings
695
649
  #
696
- # source://rexml-3.2.5/lib/rexml/child.rb:91
650
+ # source://rexml//lib/rexml/child.rb#91
697
651
  def bytes; end
698
652
 
699
653
  # Returns:: the document this child belongs to, or nil if this child
700
654
  # belongs to no document
701
655
  #
702
- # source://rexml-3.2.5/lib/rexml/child.rb:85
656
+ # source://rexml//lib/rexml/child.rb#85
703
657
  def document; end
704
658
 
705
- # source://rexml-3.2.5/lib/rexml/node.rb:11
659
+ # source://rexml//lib/rexml/node.rb#11
706
660
  def next_sibling; end
707
661
 
708
662
  # Sets the next sibling of this child. This can be used to insert a child
@@ -713,14 +667,12 @@ class REXML::Child
713
667
  # b.next_sibling = c
714
668
  # # => <a><b/><c/></a>
715
669
  #
716
- # source://rexml-3.2.5/lib/rexml/child.rb:68
717
- def next_sibling=(other)
718
- ;
719
- end
670
+ # source://rexml//lib/rexml/child.rb#68
671
+ def next_sibling=(other); end
720
672
 
721
673
  # The Parent of this object
722
674
  #
723
- # source://rexml-3.2.5/lib/rexml/child.rb:11
675
+ # source://rexml//lib/rexml/child.rb#11
724
676
  def parent; end
725
677
 
726
678
  # Sets the parent of this child to the supplied argument.
@@ -732,12 +684,10 @@ class REXML::Child
732
684
  # to the new parent.
733
685
  # Returns:: The parent added
734
686
  #
735
- # source://rexml-3.2.5/lib/rexml/child.rb:52
736
- def parent=(other)
737
- ;
738
- end
687
+ # source://rexml//lib/rexml/child.rb#52
688
+ def parent=(other); end
739
689
 
740
- # source://rexml-3.2.5/lib/rexml/node.rb:17
690
+ # source://rexml//lib/rexml/node.rb#17
741
691
  def previous_sibling; end
742
692
 
743
693
  # Sets the previous sibling of this child. This can be used to insert a
@@ -748,16 +698,14 @@ class REXML::Child
748
698
  # b.previous_sibling = c
749
699
  # # => <a><b/><c/></a>
750
700
  #
751
- # source://rexml-3.2.5/lib/rexml/child.rb:79
752
- def previous_sibling=(other)
753
- ;
754
- end
701
+ # source://rexml//lib/rexml/child.rb#79
702
+ def previous_sibling=(other); end
755
703
 
756
704
  # Removes this child from the parent.
757
705
  #
758
706
  # Returns:: self
759
707
  #
760
- # source://rexml-3.2.5/lib/rexml/child.rb:37
708
+ # source://rexml//lib/rexml/child.rb#37
761
709
  def remove; end
762
710
 
763
711
  # Replaces this object with another object. Basically, calls
@@ -765,15 +713,13 @@ class REXML::Child
765
713
  #
766
714
  # Returns:: self
767
715
  #
768
- # source://rexml-3.2.5/lib/rexml/child.rb:29
769
- def replace_with(child)
770
- ;
771
- end
716
+ # source://rexml//lib/rexml/child.rb#29
717
+ def replace_with(child); end
772
718
  end
773
719
 
774
720
  # Represents an XML comment; that is, text between \<!-- ... -->
775
721
  #
776
- # source://rexml-3.2.5/lib/rexml/comment.rb:7
722
+ # source://rexml//lib/rexml/comment.rb#7
777
723
  class REXML::Comment < ::REXML::Child
778
724
  include ::Comparable
779
725
 
@@ -787,48 +733,40 @@ class REXML::Comment < ::REXML::Child
787
733
  # @param second If the first argument is a Source, this argument
788
734
  # @return [Comment] a new instance of Comment
789
735
  #
790
- # source://rexml-3.2.5/lib/rexml/comment.rb:24
791
- def initialize(first, second = T.unsafe(nil))
792
- ;
793
- end
736
+ # source://rexml//lib/rexml/comment.rb#24
737
+ def initialize(first, second = T.unsafe(nil)); end
794
738
 
795
739
  # Compares this Comment to another; the contents of the comment are used
796
740
  # in the comparison.
797
741
  #
798
- # source://rexml-3.2.5/lib/rexml/comment.rb:63
799
- def <=>(other)
800
- ;
801
- end
742
+ # source://rexml//lib/rexml/comment.rb#63
743
+ def <=>(other); end
802
744
 
803
745
  # Compares this Comment to another; the contents of the comment are used
804
746
  # in the comparison.
805
747
  #
806
- # source://rexml-3.2.5/lib/rexml/comment.rb:70
807
- def ==(other)
808
- ;
809
- end
748
+ # source://rexml//lib/rexml/comment.rb#70
749
+ def ==(other); end
810
750
 
811
- # source://rexml-3.2.5/lib/rexml/comment.rb:33
751
+ # source://rexml//lib/rexml/comment.rb#33
812
752
  def clone; end
813
753
 
814
- # source://rexml-3.2.5/lib/rexml/comment.rb:75
754
+ # source://rexml//lib/rexml/comment.rb#75
815
755
  def node_type; end
816
756
 
817
757
  # The content text
818
758
  #
819
- # source://rexml-3.2.5/lib/rexml/comment.rb:14
759
+ # source://rexml//lib/rexml/comment.rb#14
820
760
  def string; end
821
761
 
822
762
  # The content text
823
763
  #
824
- # source://rexml-3.2.5/lib/rexml/comment.rb:14
825
- def string=(_arg0)
826
- ;
827
- end
764
+ # source://rexml//lib/rexml/comment.rb#14
765
+ def string=(_arg0); end
828
766
 
829
767
  # The content text
830
768
  #
831
- # source://rexml-3.2.5/lib/rexml/comment.rb:14
769
+ # source://rexml//lib/rexml/comment.rb#14
832
770
  def to_s; end
833
771
 
834
772
  # == DEPRECATED
@@ -845,46 +783,38 @@ class REXML::Comment < ::REXML::Child
845
783
  # ie_hack::
846
784
  # Needed for conformity to the child API, but not used by this class.
847
785
  #
848
- # source://rexml-3.2.5/lib/rexml/comment.rb:50
849
- def write(output, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil))
850
- ;
851
- end
786
+ # source://rexml//lib/rexml/comment.rb#50
787
+ def write(output, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
852
788
  end
853
789
 
854
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:11
855
- module REXML::DClonable
856
- ;
857
- end
790
+ # source://rexml//lib/rexml/xpath_parser.rb#11
791
+ module REXML::DClonable; end
858
792
 
859
793
  # This is an abstract class. You never use this directly; it serves as a
860
794
  # parent class for the specific declarations.
861
795
  #
862
- # source://rexml-3.2.5/lib/rexml/doctype.rb:242
796
+ # source://rexml//lib/rexml/doctype.rb#242
863
797
  class REXML::Declaration < ::REXML::Child
864
798
  # @return [Declaration] a new instance of Declaration
865
799
  #
866
- # source://rexml-3.2.5/lib/rexml/doctype.rb:243
867
- def initialize(src)
868
- ;
869
- end
800
+ # source://rexml//lib/rexml/doctype.rb#243
801
+ def initialize(src); end
870
802
 
871
- # source://rexml-3.2.5/lib/rexml/doctype.rb:248
803
+ # source://rexml//lib/rexml/doctype.rb#248
872
804
  def to_s; end
873
805
 
874
806
  # == DEPRECATED
875
807
  # See REXML::Formatters
876
808
  #
877
- # source://rexml-3.2.5/lib/rexml/doctype.rb:255
878
- def write(output, indent)
879
- ;
880
- end
809
+ # source://rexml//lib/rexml/doctype.rb#255
810
+ def write(output, indent); end
881
811
  end
882
812
 
883
813
  # Represents an XML DOCTYPE declaration; that is, the contents of <!DOCTYPE
884
814
  # ... >. DOCTYPES can be used to declare the DTD of a document, as well as
885
815
  # being used to declare entities used in the document.
886
816
  #
887
- # source://rexml-3.2.5/lib/rexml/doctype.rb:51
817
+ # source://rexml//lib/rexml/doctype.rb#51
888
818
  class REXML::DocType < ::REXML::Parent
889
819
  include ::REXML::XMLTokens
890
820
 
@@ -903,62 +833,52 @@ class REXML::DocType < ::REXML::Parent
903
833
  #
904
834
  # @return [DocType] a new instance of DocType
905
835
  #
906
- # source://rexml-3.2.5/lib/rexml/doctype.rb:80
907
- def initialize(first, parent = T.unsafe(nil))
908
- ;
909
- end
836
+ # source://rexml//lib/rexml/doctype.rb#80
837
+ def initialize(first, parent = T.unsafe(nil)); end
910
838
 
911
- # source://rexml-3.2.5/lib/rexml/doctype.rb:185
912
- def add(child)
913
- ;
914
- end
839
+ # source://rexml//lib/rexml/doctype.rb#185
840
+ def add(child); end
915
841
 
916
- # source://rexml-3.2.5/lib/rexml/doctype.rb:125
917
- def attribute_of(element, attribute)
918
- ;
919
- end
842
+ # source://rexml//lib/rexml/doctype.rb#125
843
+ def attribute_of(element, attribute); end
920
844
 
921
- # source://rexml-3.2.5/lib/rexml/doctype.rb:115
922
- def attributes_of(element)
923
- ;
924
- end
845
+ # source://rexml//lib/rexml/doctype.rb#115
846
+ def attributes_of(element); end
925
847
 
926
- # source://rexml-3.2.5/lib/rexml/doctype.rb:135
848
+ # source://rexml//lib/rexml/doctype.rb#135
927
849
  def clone; end
928
850
 
929
- # source://rexml-3.2.5/lib/rexml/doctype.rb:173
851
+ # source://rexml//lib/rexml/doctype.rb#173
930
852
  def context; end
931
853
 
932
854
  # name is the name of the doctype
933
855
  # external_id is the referenced DTD, if given
934
856
  #
935
- # source://rexml-3.2.5/lib/rexml/doctype.rb:66
857
+ # source://rexml//lib/rexml/doctype.rb#66
936
858
  def entities; end
937
859
 
938
- # source://rexml-3.2.5/lib/rexml/doctype.rb:181
939
- def entity(name)
940
- ;
941
- end
860
+ # source://rexml//lib/rexml/doctype.rb#181
861
+ def entity(name); end
942
862
 
943
863
  # name is the name of the doctype
944
864
  # external_id is the referenced DTD, if given
945
865
  #
946
- # source://rexml-3.2.5/lib/rexml/doctype.rb:66
866
+ # source://rexml//lib/rexml/doctype.rb#66
947
867
  def external_id; end
948
868
 
949
869
  # name is the name of the doctype
950
870
  # external_id is the referenced DTD, if given
951
871
  #
952
- # source://rexml-3.2.5/lib/rexml/doctype.rb:66
872
+ # source://rexml//lib/rexml/doctype.rb#66
953
873
  def name; end
954
874
 
955
875
  # name is the name of the doctype
956
876
  # external_id is the referenced DTD, if given
957
877
  #
958
- # source://rexml-3.2.5/lib/rexml/doctype.rb:66
878
+ # source://rexml//lib/rexml/doctype.rb#66
959
879
  def namespaces; end
960
880
 
961
- # source://rexml-3.2.5/lib/rexml/doctype.rb:111
881
+ # source://rexml//lib/rexml/doctype.rb#111
962
882
  def node_type; end
963
883
 
964
884
  # Retrieves a named notation. Only notations declared in the internal
@@ -966,10 +886,8 @@ class REXML::DocType < ::REXML::Parent
966
886
  #
967
887
  # Method contributed by Henrik Martensson
968
888
  #
969
- # source://rexml-3.2.5/lib/rexml/doctype.rb:229
970
- def notation(name)
971
- ;
972
- end
889
+ # source://rexml//lib/rexml/doctype.rb#229
890
+ def notation(name); end
973
891
 
974
892
  # This method returns a list of notations that have been declared in the
975
893
  # _internal_ DTD subset. Notations in the external DTD subset are not
@@ -977,7 +895,7 @@ class REXML::DocType < ::REXML::Parent
977
895
  #
978
896
  # Method contributed by Henrik Martensson
979
897
  #
980
- # source://rexml-3.2.5/lib/rexml/doctype.rb:221
898
+ # source://rexml//lib/rexml/doctype.rb#221
981
899
  def notations; end
982
900
 
983
901
  # This method retrieves the public identifier identifying the document's
@@ -985,14 +903,14 @@ class REXML::DocType < ::REXML::Parent
985
903
  #
986
904
  # Method contributed by Henrik Martensson
987
905
  #
988
- # source://rexml-3.2.5/lib/rexml/doctype.rb:195
906
+ # source://rexml//lib/rexml/doctype.rb#195
989
907
  def public; end
990
908
 
991
909
  # This method retrieves the system identifier identifying the document's DTD
992
910
  #
993
911
  # Method contributed by Henrik Martensson
994
912
  #
995
- # source://rexml-3.2.5/lib/rexml/doctype.rb:207
913
+ # source://rexml//lib/rexml/doctype.rb#207
996
914
  def system; end
997
915
 
998
916
  # output::
@@ -1006,10 +924,8 @@ class REXML::DocType < ::REXML::Parent
1006
924
  # ie_hack::
1007
925
  # Ignored
1008
926
  #
1009
- # source://rexml-3.2.5/lib/rexml/doctype.rb:149
1010
- def write(output, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil))
1011
- ;
1012
- end
927
+ # source://rexml//lib/rexml/doctype.rb#149
928
+ def write(output, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
1013
929
  end
1014
930
 
1015
931
  # Represents an XML document.
@@ -1030,7 +946,7 @@ end
1030
946
  # and in particular, the
1031
947
  # {tasks page for documents}[../doc/rexml/tasks/tocs/document_toc_rdoc.html].
1032
948
  #
1033
- # source://rexml-3.2.5/lib/rexml/document.rb:39
949
+ # source://rexml//lib/rexml/document.rb#39
1034
950
  class REXML::Document < ::REXML::Element
1035
951
  # :call-seq:
1036
952
  # new(string = nil, context = {}) -> new_document
@@ -1062,7 +978,7 @@ class REXML::Document < ::REXML::Element
1062
978
  # d.to_s # => "<root><foo>Foo</foo><bar>Bar</bar></root>"
1063
979
  #
1064
980
  # When argument +document+ is given, it must be an existing
1065
- # document object, whose context and attributes (but not chidren)
981
+ # document object, whose context and attributes (but not children)
1066
982
  # are cloned into the new document:
1067
983
  #
1068
984
  # d = REXML::Document.new(xml_string)
@@ -1084,10 +1000,8 @@ class REXML::Document < ::REXML::Element
1084
1000
  #
1085
1001
  # @return [Document] a new instance of Document
1086
1002
  #
1087
- # source://rexml-3.2.5/lib/rexml/document.rb:92
1088
- def initialize(source = T.unsafe(nil), context = T.unsafe(nil))
1089
- ;
1090
- end
1003
+ # source://rexml//lib/rexml/document.rb#92
1004
+ def initialize(source = T.unsafe(nil), context = T.unsafe(nil)); end
1091
1005
 
1092
1006
  # :call-seq:
1093
1007
  # add(xml_decl) -> self
@@ -1123,10 +1037,8 @@ class REXML::Document < ::REXML::Element
1123
1037
  # d.add(REXML::Element.new('foo'))
1124
1038
  # d.to_s # => "<foo/>"
1125
1039
  #
1126
- # source://rexml-3.2.5/lib/rexml/document.rb:170
1127
- def <<(child)
1128
- ;
1129
- end
1040
+ # source://rexml//lib/rexml/document.rb#170
1041
+ def <<(child); end
1130
1042
 
1131
1043
  # :call-seq:
1132
1044
  # add(xml_decl) -> self
@@ -1162,10 +1074,8 @@ class REXML::Document < ::REXML::Element
1162
1074
  # d.add(REXML::Element.new('foo'))
1163
1075
  # d.to_s # => "<foo/>"
1164
1076
  #
1165
- # source://rexml-3.2.5/lib/rexml/document.rb:170
1166
- def add(child)
1167
- ;
1168
- end
1077
+ # source://rexml//lib/rexml/document.rb#170
1078
+ def add(child); end
1169
1079
 
1170
1080
  # :call-seq:
1171
1081
  # add_element(name_or_element = nil, attributes = nil) -> new_element
@@ -1174,10 +1084,8 @@ class REXML::Document < ::REXML::Element
1174
1084
  #
1175
1085
  # REXML::Element.add_element(name_or_element, attributes)
1176
1086
  #
1177
- # source://rexml-3.2.5/lib/rexml/document.rb:209
1178
- def add_element(arg = T.unsafe(nil), arg2 = T.unsafe(nil))
1179
- ;
1180
- end
1087
+ # source://rexml//lib/rexml/document.rb#209
1088
+ def add_element(arg = T.unsafe(nil), arg2 = T.unsafe(nil)); end
1181
1089
 
1182
1090
  # :call-seq:
1183
1091
  # clone -> new_document
@@ -1185,7 +1093,7 @@ class REXML::Document < ::REXML::Element
1185
1093
  # Returns the new document resulting from executing
1186
1094
  # <tt>Document.new(self)</tt>. See Document.new.
1187
1095
  #
1188
- # source://rexml-3.2.5/lib/rexml/document.rb:120
1096
+ # source://rexml//lib/rexml/document.rb#120
1189
1097
  def clone; end
1190
1098
 
1191
1099
  # :call-seq:
@@ -1198,10 +1106,10 @@ class REXML::Document < ::REXML::Element
1198
1106
  # d = REXML::Document.new('')
1199
1107
  # d.doctype.class # => nil
1200
1108
  #
1201
- # source://rexml-3.2.5/lib/rexml/document.rb:241
1109
+ # source://rexml//lib/rexml/document.rb#241
1202
1110
  def doctype; end
1203
1111
 
1204
- # source://rexml-3.2.5/lib/rexml/document.rb:442
1112
+ # source://rexml//lib/rexml/document.rb#442
1205
1113
  def document; end
1206
1114
 
1207
1115
  # :call-seq:
@@ -1214,12 +1122,12 @@ class REXML::Document < ::REXML::Element
1214
1122
  # d = REXML::Document.new('')
1215
1123
  # d.encoding # => "UTF-8"
1216
1124
  #
1217
- # source://rexml-3.2.5/lib/rexml/document.rb:290
1125
+ # source://rexml//lib/rexml/document.rb#290
1218
1126
  def encoding; end
1219
1127
 
1220
1128
  # Returns the value of attribute entity_expansion_count.
1221
1129
  #
1222
- # source://rexml-3.2.5/lib/rexml/document.rb:433
1130
+ # source://rexml//lib/rexml/document.rb#433
1223
1131
  def entity_expansion_count; end
1224
1132
 
1225
1133
  # :call-seq:
@@ -1227,7 +1135,7 @@ class REXML::Document < ::REXML::Element
1227
1135
  #
1228
1136
  # Returns an empty string.
1229
1137
  #
1230
- # source://rexml-3.2.5/lib/rexml/document.rb:129
1138
+ # source://rexml//lib/rexml/document.rb#129
1231
1139
  def expanded_name; end
1232
1140
 
1233
1141
  # :call-seq:
@@ -1237,7 +1145,7 @@ class REXML::Document < ::REXML::Element
1237
1145
  # d = doc_type
1238
1146
  # d ? d.name : "UNDEFINED"
1239
1147
  #
1240
- # source://rexml-3.2.5/lib/rexml/document.rb:129
1148
+ # source://rexml//lib/rexml/document.rb#129
1241
1149
  def name; end
1242
1150
 
1243
1151
  # :call-seq:
@@ -1245,10 +1153,10 @@ class REXML::Document < ::REXML::Element
1245
1153
  #
1246
1154
  # Returns the symbol +:document+.
1247
1155
  #
1248
- # source://rexml-3.2.5/lib/rexml/document.rb:110
1156
+ # source://rexml//lib/rexml/document.rb#110
1249
1157
  def node_type; end
1250
1158
 
1251
- # source://rexml-3.2.5/lib/rexml/document.rb:435
1159
+ # source://rexml//lib/rexml/document.rb#435
1252
1160
  def record_entity_expansion; end
1253
1161
 
1254
1162
  # :call-seq:
@@ -1261,7 +1169,7 @@ class REXML::Document < ::REXML::Element
1261
1169
  # d = REXML::Document.new('')
1262
1170
  # d.root # => nil
1263
1171
  #
1264
- # source://rexml-3.2.5/lib/rexml/document.rb:225
1172
+ # source://rexml//lib/rexml/document.rb#225
1265
1173
  def root; end
1266
1174
 
1267
1175
  # :call-seq:
@@ -1277,7 +1185,7 @@ class REXML::Document < ::REXML::Element
1277
1185
  #
1278
1186
  # @return [Boolean]
1279
1187
  #
1280
- # source://rexml-3.2.5/lib/rexml/document.rb:305
1188
+ # source://rexml//lib/rexml/document.rb#305
1281
1189
  def stand_alone?; end
1282
1190
 
1283
1191
  # :call-seq:
@@ -1291,7 +1199,7 @@ class REXML::Document < ::REXML::Element
1291
1199
  # d = REXML::Document.new('')
1292
1200
  # d.version # => "1.0"
1293
1201
  #
1294
- # source://rexml-3.2.5/lib/rexml/document.rb:275
1202
+ # source://rexml//lib/rexml/document.rb#275
1295
1203
  def version; end
1296
1204
 
1297
1205
  # :call-seq:
@@ -1350,10 +1258,8 @@ class REXML::Document < ::REXML::Element
1350
1258
  # instead of encoding in XML declaration.
1351
1259
  # Defaults to nil. It means encoding in XML declaration is used.
1352
1260
  #
1353
- # source://rexml-3.2.5/lib/rexml/document.rb:365
1354
- def write(*arguments)
1355
- ;
1356
- end
1261
+ # source://rexml//lib/rexml/document.rb#365
1262
+ def write(*arguments); end
1357
1263
 
1358
1264
  # :call-seq:
1359
1265
  # xml_decl -> xml_decl
@@ -1368,53 +1274,45 @@ class REXML::Document < ::REXML::Element
1368
1274
  # d.xml_decl.class # => REXML::XMLDecl
1369
1275
  # d.xml_decl.to_s # => ""
1370
1276
  #
1371
- # source://rexml-3.2.5/lib/rexml/document.rb:258
1277
+ # source://rexml//lib/rexml/document.rb#258
1372
1278
  def xml_decl; end
1373
1279
 
1374
1280
  private
1375
1281
 
1376
- # source://rexml-3.2.5/lib/rexml/document.rb:447
1377
- def build(source)
1378
- ;
1379
- end
1282
+ # source://rexml//lib/rexml/document.rb#447
1283
+ def build(source); end
1380
1284
 
1381
1285
  class << self
1382
1286
  # Get the entity expansion limit. By default the limit is set to 10000.
1383
1287
  #
1384
1288
  # Deprecated. Use REXML::Security.entity_expansion_limit= instead.
1385
1289
  #
1386
- # source://rexml-3.2.5/lib/rexml/document.rb:415
1290
+ # source://rexml//lib/rexml/document.rb#415
1387
1291
  def entity_expansion_limit; end
1388
1292
 
1389
1293
  # Set the entity expansion limit. By default the limit is set to 10000.
1390
1294
  #
1391
1295
  # Deprecated. Use REXML::Security.entity_expansion_limit= instead.
1392
1296
  #
1393
- # source://rexml-3.2.5/lib/rexml/document.rb:408
1394
- def entity_expansion_limit=(val)
1395
- ;
1396
- end
1297
+ # source://rexml//lib/rexml/document.rb#408
1298
+ def entity_expansion_limit=(val); end
1397
1299
 
1398
1300
  # Get the entity expansion limit. By default the limit is set to 10240.
1399
1301
  #
1400
1302
  # Deprecated. Use REXML::Security.entity_expansion_text_limit instead.
1401
1303
  #
1402
- # source://rexml-3.2.5/lib/rexml/document.rb:429
1304
+ # source://rexml//lib/rexml/document.rb#429
1403
1305
  def entity_expansion_text_limit; end
1404
1306
 
1405
1307
  # Set the entity expansion limit. By default the limit is set to 10240.
1406
1308
  #
1407
1309
  # Deprecated. Use REXML::Security.entity_expansion_text_limit= instead.
1408
1310
  #
1409
- # source://rexml-3.2.5/lib/rexml/document.rb:422
1410
- def entity_expansion_text_limit=(val)
1411
- ;
1412
- end
1413
-
1414
- # source://rexml-3.2.5/lib/rexml/document.rb:401
1415
- def parse_stream(source, listener)
1416
- ;
1417
- end
1311
+ # source://rexml//lib/rexml/document.rb#422
1312
+ def entity_expansion_text_limit=(val); end
1313
+
1314
+ # source://rexml//lib/rexml/document.rb#401
1315
+ def parse_stream(source, listener); end
1418
1316
  end
1419
1317
  end
1420
1318
 
@@ -1679,7 +1577,7 @@ end
1679
1577
  # #attributes:: Returns the REXML::Attributes object for the element.
1680
1578
  # #context:: Returns or sets the context hash for the element.
1681
1579
  #
1682
- # source://rexml-3.2.5/lib/rexml/element.rb:279
1580
+ # source://rexml//lib/rexml/element.rb#279
1683
1581
  class REXML::Element < ::REXML::Parent
1684
1582
  include ::REXML::XMLTokens
1685
1583
  include ::REXML::Namespace
@@ -1722,10 +1620,8 @@ class REXML::Element < ::REXML::Parent
1722
1620
  #
1723
1621
  # @return [Element] a new instance of Element
1724
1622
  #
1725
- # source://rexml-3.2.5/lib/rexml/element.rb:327
1726
- def initialize(arg = T.unsafe(nil), parent = T.unsafe(nil), context = T.unsafe(nil))
1727
- ;
1728
- end
1623
+ # source://rexml//lib/rexml/element.rb#327
1624
+ def initialize(arg = T.unsafe(nil), parent = T.unsafe(nil), context = T.unsafe(nil)); end
1729
1625
 
1730
1626
  # :call-seq:
1731
1627
  # [index] -> object
@@ -1766,10 +1662,8 @@ class REXML::Element < ::REXML::Parent
1766
1662
  # root[:attr] # => "value"
1767
1663
  # root[:nosuch] # => nil
1768
1664
  #
1769
- # source://rexml-3.2.5/lib/rexml/element.rb:1245
1770
- def [](name_or_index)
1771
- ;
1772
- end
1665
+ # source://rexml//lib/rexml/element.rb#1245
1666
+ def [](name_or_index); end
1773
1667
 
1774
1668
  # :call-seq:
1775
1669
  # add_attribute(name, value) -> value
@@ -1797,10 +1691,8 @@ class REXML::Element < ::REXML::Parent
1797
1691
  # e.add_attribute(a) # => attr='VALUE'
1798
1692
  # e['attr'] # => "VALUE"
1799
1693
  #
1800
- # source://rexml-3.2.5/lib/rexml/element.rb:1349
1801
- def add_attribute(key, value = T.unsafe(nil))
1802
- ;
1803
- end
1694
+ # source://rexml//lib/rexml/element.rb#1349
1695
+ def add_attribute(key, value = T.unsafe(nil)); end
1804
1696
 
1805
1697
  # :call-seq:
1806
1698
  # add_attributes(hash) -> hash
@@ -1825,10 +1717,8 @@ class REXML::Element < ::REXML::Parent
1825
1717
  # a = [['foo' => 'bar'], ['baz' => 'bat']]
1826
1718
  # e.add_attributes(a)
1827
1719
  #
1828
- # source://rexml-3.2.5/lib/rexml/element.rb:1380
1829
- def add_attributes(hash)
1830
- ;
1831
- end
1720
+ # source://rexml//lib/rexml/element.rb#1380
1721
+ def add_attributes(hash); end
1832
1722
 
1833
1723
  # :call-seq:
1834
1724
  # add_element(name, attributes = nil) -> new_element
@@ -1864,10 +1754,8 @@ class REXML::Element < ::REXML::Parent
1864
1754
  # e0.add_element(e1, {'bat' => '0', 'bam' => '1'})
1865
1755
  # e0[1] # => <bar bat='0' bam='1'/>
1866
1756
  #
1867
- # source://rexml-3.2.5/lib/rexml/element.rb:731
1868
- def add_element(element, attrs = T.unsafe(nil))
1869
- ;
1870
- end
1757
+ # source://rexml//lib/rexml/element.rb#731
1758
+ def add_element(element, attrs = T.unsafe(nil)); end
1871
1759
 
1872
1760
  # :call-seq:
1873
1761
  # add_namespace(prefix, uri = nil) -> self
@@ -1887,10 +1775,8 @@ class REXML::Element < ::REXML::Parent
1887
1775
  # e.add_namespace('baz', 'bat')
1888
1776
  # e.namespaces # => {"xmlns"=>"bar", "baz"=>"bat"}
1889
1777
  #
1890
- # source://rexml-3.2.5/lib/rexml/element.rb:654
1891
- def add_namespace(prefix, uri = T.unsafe(nil))
1892
- ;
1893
- end
1778
+ # source://rexml//lib/rexml/element.rb#654
1779
+ def add_namespace(prefix, uri = T.unsafe(nil)); end
1894
1780
 
1895
1781
  # :call-seq:
1896
1782
  # add_text(string) -> nil
@@ -1931,10 +1817,8 @@ class REXML::Element < ::REXML::Parent
1931
1817
  # a.add_text(REXML::Text.new('baz'))
1932
1818
  # a.to_a # => ["foo", <b/>, "bar", "baz", "baz"]
1933
1819
  #
1934
- # source://rexml-3.2.5/lib/rexml/element.rb:1146
1935
- def add_text(text)
1936
- ;
1937
- end
1820
+ # source://rexml//lib/rexml/element.rb#1146
1821
+ def add_text(text); end
1938
1822
 
1939
1823
  # :call-seq:
1940
1824
  # attribute(name, namespace = nil)
@@ -1965,15 +1849,13 @@ class REXML::Element < ::REXML::Parent
1965
1849
  # document.root.attribute("x") # => x='x'
1966
1850
  # document.root.attribute("x", "a") # => a:x='a:x'
1967
1851
  #
1968
- # source://rexml-3.2.5/lib/rexml/element.rb:1286
1969
- def attribute(name, namespace = T.unsafe(nil))
1970
- ;
1971
- end
1852
+ # source://rexml//lib/rexml/element.rb#1286
1853
+ def attribute(name, namespace = T.unsafe(nil)); end
1972
1854
 
1973
1855
  # Mechanisms for accessing attributes and child elements of this
1974
1856
  # element.
1975
1857
  #
1976
- # source://rexml-3.2.5/lib/rexml/element.rb:286
1858
+ # source://rexml//lib/rexml/element.rb#286
1977
1859
  def attributes; end
1978
1860
 
1979
1861
  # :call-seq:
@@ -1992,7 +1874,7 @@ class REXML::Element < ::REXML::Parent
1992
1874
  # cds.frozen? # => true
1993
1875
  # cds.map {|cd| cd.class } # => [REXML::CData, REXML::CData]
1994
1876
  #
1995
- # source://rexml-3.2.5/lib/rexml/element.rb:1424
1877
+ # source://rexml//lib/rexml/element.rb#1424
1996
1878
  def cdatas; end
1997
1879
 
1998
1880
  # :call-seq:
@@ -2005,7 +1887,7 @@ class REXML::Element < ::REXML::Parent
2005
1887
  # e.add_attributes({'bar' => 0, 'baz' => 1})
2006
1888
  # e.clone # => <foo bar='0' baz='1'/>
2007
1889
  #
2008
- # source://rexml-3.2.5/lib/rexml/element.rb:391
1890
+ # source://rexml//lib/rexml/element.rb#391
2009
1891
  def clone; end
2010
1892
 
2011
1893
  # :call-seq:
@@ -2025,22 +1907,20 @@ class REXML::Element < ::REXML::Parent
2025
1907
  # cs.map {|c| c.class } # => [REXML::Comment, REXML::Comment]
2026
1908
  # cs.map {|c| c.to_s } # => ["foo", "bar"]
2027
1909
  #
2028
- # source://rexml-3.2.5/lib/rexml/element.rb:1445
1910
+ # source://rexml//lib/rexml/element.rb#1445
2029
1911
  def comments; end
2030
1912
 
2031
1913
  # The context holds information about the processing environment, such as
2032
1914
  # whitespace handling.
2033
1915
  #
2034
- # source://rexml-3.2.5/lib/rexml/element.rb:289
1916
+ # source://rexml//lib/rexml/element.rb#289
2035
1917
  def context; end
2036
1918
 
2037
1919
  # The context holds information about the processing environment, such as
2038
1920
  # whitespace handling.
2039
1921
  #
2040
- # source://rexml-3.2.5/lib/rexml/element.rb:289
2041
- def context=(_arg0)
2042
- ;
2043
- end
1922
+ # source://rexml//lib/rexml/element.rb#289
1923
+ def context=(_arg0); end
2044
1924
 
2045
1925
  # :call-seq:
2046
1926
  # delete_attribute(name) -> removed_attribute or nil
@@ -2053,10 +1933,8 @@ class REXML::Element < ::REXML::Parent
2053
1933
  # e.delete_attribute('bar') # => <bar/>
2054
1934
  # e.delete_attribute('bar') # => nil
2055
1935
  #
2056
- # source://rexml-3.2.5/lib/rexml/element.rb:1399
2057
- def delete_attribute(key)
2058
- ;
2059
- end
1936
+ # source://rexml//lib/rexml/element.rb#1399
1937
+ def delete_attribute(key); end
2060
1938
 
2061
1939
  # :call-seq:
2062
1940
  # delete_element(index) -> removed_element or nil
@@ -2095,10 +1973,8 @@ class REXML::Element < ::REXML::Parent
2095
1973
  # a.delete_element('//c') # => <c/>
2096
1974
  # a.delete_element('//c') # => nil
2097
1975
  #
2098
- # source://rexml-3.2.5/lib/rexml/element.rb:777
2099
- def delete_element(element)
2100
- ;
2101
- end
1976
+ # source://rexml//lib/rexml/element.rb#777
1977
+ def delete_element(element); end
2102
1978
 
2103
1979
  # :call-seq:
2104
1980
  # delete_namespace(namespace = 'xmlns') -> self
@@ -2122,10 +1998,8 @@ class REXML::Element < ::REXML::Parent
2122
1998
  # d.root.delete_namespace('nosuch')
2123
1999
  # d.to_s # => "<a/>"
2124
2000
  #
2125
- # source://rexml-3.2.5/lib/rexml/element.rb:686
2126
- def delete_namespace(namespace = T.unsafe(nil))
2127
- ;
2128
- end
2001
+ # source://rexml//lib/rexml/element.rb#686
2002
+ def delete_namespace(namespace = T.unsafe(nil)); end
2129
2003
 
2130
2004
  # :call-seq:
2131
2005
  # document -> document or nil
@@ -2148,7 +2022,7 @@ class REXML::Element < ::REXML::Parent
2148
2022
  #
2149
2023
  # Related: #root, #root_node.
2150
2024
  #
2151
- # source://rexml-3.2.5/lib/rexml/element.rb:478
2025
+ # source://rexml//lib/rexml/element.rb#478
2152
2026
  def document; end
2153
2027
 
2154
2028
  # :call-seq:
@@ -2167,10 +2041,8 @@ class REXML::Element < ::REXML::Parent
2167
2041
  # <d> ... </>
2168
2042
  # <e/>
2169
2043
  #
2170
- # source://rexml-3.2.5/lib/rexml/element.rb:929
2171
- def each_element(xpath = T.unsafe(nil), &block)
2172
- ;
2173
- end
2044
+ # source://rexml//lib/rexml/element.rb#929
2045
+ def each_element(xpath = T.unsafe(nil), &block); end
2174
2046
 
2175
2047
  # :call-seq:
2176
2048
  # each_element_with_attribute(attr_name, value = nil, max = 0, xpath = nil) {|e| ... }
@@ -2221,10 +2093,8 @@ class REXML::Element < ::REXML::Parent
2221
2093
  #
2222
2094
  # <d id='1'/>
2223
2095
  #
2224
- # source://rexml-3.2.5/lib/rexml/element.rb:846
2225
- def each_element_with_attribute(key, value = T.unsafe(nil), max = T.unsafe(nil), name = T.unsafe(nil), &block)
2226
- ;
2227
- end
2096
+ # source://rexml//lib/rexml/element.rb#846
2097
+ def each_element_with_attribute(key, value = T.unsafe(nil), max = T.unsafe(nil), name = T.unsafe(nil), &block); end
2228
2098
 
2229
2099
  # :call-seq:
2230
2100
  # each_element_with_text(text = nil, max = 0, xpath = nil) {|e| ... }
@@ -2273,15 +2143,13 @@ class REXML::Element < ::REXML::Parent
2273
2143
  #
2274
2144
  # <c> ... </>
2275
2145
  #
2276
- # source://rexml-3.2.5/lib/rexml/element.rb:903
2277
- def each_element_with_text(text = T.unsafe(nil), max = T.unsafe(nil), name = T.unsafe(nil), &block)
2278
- ;
2279
- end
2146
+ # source://rexml//lib/rexml/element.rb#903
2147
+ def each_element_with_text(text = T.unsafe(nil), max = T.unsafe(nil), name = T.unsafe(nil), &block); end
2280
2148
 
2281
2149
  # Mechanisms for accessing attributes and child elements of this
2282
2150
  # element.
2283
2151
  #
2284
- # source://rexml-3.2.5/lib/rexml/element.rb:286
2152
+ # source://rexml//lib/rexml/element.rb#286
2285
2153
  def elements; end
2286
2154
 
2287
2155
  # :call-seq:
@@ -2299,10 +2167,8 @@ class REXML::Element < ::REXML::Parent
2299
2167
  # d = REXML::Document.new(xml_string)
2300
2168
  # d.root.get_elements('//a') # => [<a level='1'> ... </>, <a level='2'/>]
2301
2169
  #
2302
- # source://rexml-3.2.5/lib/rexml/element.rb:948
2303
- def get_elements(xpath)
2304
- ;
2305
- end
2170
+ # source://rexml//lib/rexml/element.rb#948
2171
+ def get_elements(xpath); end
2306
2172
 
2307
2173
  # :call-seq:
2308
2174
  # get_text(xpath = nil) -> text_node or nil
@@ -2321,10 +2187,8 @@ class REXML::Element < ::REXML::Parent
2321
2187
  #
2322
2188
  # d.root.get_text(1) # => "this is bold!"
2323
2189
  #
2324
- # source://rexml-3.2.5/lib/rexml/element.rb:1052
2325
- def get_text(path = T.unsafe(nil))
2326
- ;
2327
- end
2190
+ # source://rexml//lib/rexml/element.rb#1052
2191
+ def get_text(path = T.unsafe(nil)); end
2328
2192
 
2329
2193
  # :call-seq:
2330
2194
  # has_attributes? -> true or false
@@ -2338,7 +2202,7 @@ class REXML::Element < ::REXML::Parent
2338
2202
  #
2339
2203
  # @return [Boolean]
2340
2204
  #
2341
- # source://rexml-3.2.5/lib/rexml/element.rb:1319
2205
+ # source://rexml//lib/rexml/element.rb#1319
2342
2206
  def has_attributes?; end
2343
2207
 
2344
2208
  # :call-seq:
@@ -2355,13 +2219,13 @@ class REXML::Element < ::REXML::Parent
2355
2219
  #
2356
2220
  # @return [Boolean]
2357
2221
  #
2358
- # source://rexml-3.2.5/lib/rexml/element.rb:793
2222
+ # source://rexml//lib/rexml/element.rb#793
2359
2223
  def has_elements?; end
2360
2224
 
2361
2225
  # :call-seq:
2362
2226
  # has_text? -> true or false
2363
2227
  #
2364
- # Returns +true if the element has one or more text noded,
2228
+ # Returns +true+ if the element has one or more text noded,
2365
2229
  # +false+ otherwise:
2366
2230
  #
2367
2231
  # d = REXML::Document.new '<a><b/>text<c/></a>'
@@ -2372,7 +2236,7 @@ class REXML::Element < ::REXML::Parent
2372
2236
  #
2373
2237
  # @return [Boolean]
2374
2238
  #
2375
- # source://rexml-3.2.5/lib/rexml/element.rb:1001
2239
+ # source://rexml//lib/rexml/element.rb#1001
2376
2240
  def has_text?; end
2377
2241
 
2378
2242
  # :call-seq:
@@ -2382,7 +2246,7 @@ class REXML::Element < ::REXML::Parent
2382
2246
  #
2383
2247
  # See {Element Context}[../doc/rexml/context_rdoc.html].
2384
2248
  #
2385
- # source://rexml-3.2.5/lib/rexml/element.rb:516
2249
+ # source://rexml//lib/rexml/element.rb#516
2386
2250
  def ignore_whitespace_nodes; end
2387
2251
 
2388
2252
  # :call-seq:
@@ -2406,7 +2270,7 @@ class REXML::Element < ::REXML::Parent
2406
2270
  # e.add_element(REXML::Element.new('baz'))
2407
2271
  # e.inspect # => "<foo bar='0' baz='1'> ... </>"
2408
2272
  #
2409
- # source://rexml-3.2.5/lib/rexml/element.rb:366
2273
+ # source://rexml//lib/rexml/element.rb#366
2410
2274
  def inspect; end
2411
2275
 
2412
2276
  # :call-seq:
@@ -2426,7 +2290,7 @@ class REXML::Element < ::REXML::Parent
2426
2290
  # is.map {|i| i.class } # => [REXML::Instruction, REXML::Instruction]
2427
2291
  # is.map {|i| i.to_s } # => ["<?target0 foo?>", "<?target1 bar?>"]
2428
2292
  #
2429
- # source://rexml-3.2.5/lib/rexml/element.rb:1466
2293
+ # source://rexml//lib/rexml/element.rb#1466
2430
2294
  def instructions; end
2431
2295
 
2432
2296
  # :call-seq:
@@ -2449,10 +2313,8 @@ class REXML::Element < ::REXML::Parent
2449
2313
  # b.namespace('y') # => "2"
2450
2314
  # b.namespace('nosuch') # => nil
2451
2315
  #
2452
- # source://rexml-3.2.5/lib/rexml/element.rb:621
2453
- def namespace(prefix = T.unsafe(nil))
2454
- ;
2455
- end
2316
+ # source://rexml//lib/rexml/element.rb#621
2317
+ def namespace(prefix = T.unsafe(nil)); end
2456
2318
 
2457
2319
  # :call-seq:
2458
2320
  # namespaces -> array_of_namespace_names
@@ -2473,7 +2335,7 @@ class REXML::Element < ::REXML::Parent
2473
2335
  # d.elements['//b'].namespaces # => {"x"=>"1", "y"=>"2"}
2474
2336
  # d.elements['//c'].namespaces # => {"x"=>"1", "y"=>"2", "z"=>"3"}
2475
2337
  #
2476
- # source://rexml-3.2.5/lib/rexml/element.rb:594
2338
+ # source://rexml//lib/rexml/element.rb#594
2477
2339
  def namespaces; end
2478
2340
 
2479
2341
  # :call-seq:
@@ -2486,7 +2348,7 @@ class REXML::Element < ::REXML::Parent
2486
2348
  # d.root.elements['b'].next_element #-> <c/>
2487
2349
  # d.root.elements['c'].next_element #-> nil
2488
2350
  #
2489
- # source://rexml-3.2.5/lib/rexml/element.rb:962
2351
+ # source://rexml//lib/rexml/element.rb#962
2490
2352
  def next_element; end
2491
2353
 
2492
2354
  # :call-seq:
@@ -2498,7 +2360,7 @@ class REXML::Element < ::REXML::Parent
2498
2360
  # a = d.root # => <a/>
2499
2361
  # a.node_type # => :element
2500
2362
  #
2501
- # source://rexml-3.2.5/lib/rexml/element.rb:1167
2363
+ # source://rexml//lib/rexml/element.rb#1167
2502
2364
  def node_type; end
2503
2365
 
2504
2366
  # :call-seq:
@@ -2520,7 +2382,7 @@ class REXML::Element < ::REXML::Parent
2520
2382
  # d.elements['//b'].prefixes # => ["x", "y"]
2521
2383
  # d.elements['//c'].prefixes # => ["x", "y", "z"]
2522
2384
  #
2523
- # source://rexml-3.2.5/lib/rexml/element.rb:568
2385
+ # source://rexml//lib/rexml/element.rb#568
2524
2386
  def prefixes; end
2525
2387
 
2526
2388
  # :call-seq:
@@ -2533,7 +2395,7 @@ class REXML::Element < ::REXML::Parent
2533
2395
  # d.root.elements['c'].previous_element #-> <b/>
2534
2396
  # d.root.elements['b'].previous_element #-> nil
2535
2397
  #
2536
- # source://rexml-3.2.5/lib/rexml/element.rb:978
2398
+ # source://rexml//lib/rexml/element.rb#978
2537
2399
  def previous_element; end
2538
2400
 
2539
2401
  # :call-seq:
@@ -2546,7 +2408,7 @@ class REXML::Element < ::REXML::Parent
2546
2408
  # The evaluation is tested against +expanded_name+, and so is namespace
2547
2409
  # sensitive.
2548
2410
  #
2549
- # source://rexml-3.2.5/lib/rexml/element.rb:536
2411
+ # source://rexml//lib/rexml/element.rb#536
2550
2412
  def raw; end
2551
2413
 
2552
2414
  # :call-seq:
@@ -2566,7 +2428,7 @@ class REXML::Element < ::REXML::Parent
2566
2428
  #
2567
2429
  # Related: #root_node, #document.
2568
2430
  #
2569
- # source://rexml-3.2.5/lib/rexml/element.rb:451
2431
+ # source://rexml//lib/rexml/element.rb#451
2570
2432
  def root; end
2571
2433
 
2572
2434
  # :call-seq:
@@ -2604,14 +2466,14 @@ class REXML::Element < ::REXML::Parent
2604
2466
  #
2605
2467
  # Related: #root, #document.
2606
2468
  #
2607
- # source://rexml-3.2.5/lib/rexml/element.rb:430
2469
+ # source://rexml//lib/rexml/element.rb#430
2608
2470
  def root_node; end
2609
2471
 
2610
2472
  # :call-seq:
2611
2473
  # text(xpath = nil) -> text_string or nil
2612
2474
  #
2613
2475
  # Returns the text string from the first text node child
2614
- # in a specified element, if it exists, # +nil+ otherwise.
2476
+ # in a specified element, if it exists, +nil+ otherwise.
2615
2477
  #
2616
2478
  # With no argument, returns the text from the first text node in +self+:
2617
2479
  #
@@ -2619,7 +2481,7 @@ class REXML::Element < ::REXML::Parent
2619
2481
  # d.root.text.class # => String
2620
2482
  # d.root.text # => "some text "
2621
2483
  #
2622
- # With argument +xpath+, returns text from the the first text node
2484
+ # With argument +xpath+, returns text from the first text node
2623
2485
  # in the element that matches +xpath+:
2624
2486
  #
2625
2487
  # d.root.text(1) # => "this is bold!"
@@ -2631,10 +2493,8 @@ class REXML::Element < ::REXML::Parent
2631
2493
  # Note also that the text note is retrieved by method get_text,
2632
2494
  # and so is always normalized text.
2633
2495
  #
2634
- # source://rexml-3.2.5/lib/rexml/element.rb:1029
2635
- def text(path = T.unsafe(nil))
2636
- ;
2637
- end
2496
+ # source://rexml//lib/rexml/element.rb#1029
2497
+ def text(path = T.unsafe(nil)); end
2638
2498
 
2639
2499
  # :call-seq:
2640
2500
  # text = string -> string
@@ -2661,10 +2521,8 @@ class REXML::Element < ::REXML::Parent
2661
2521
  #
2662
2522
  # d.root.text = nil #-> '<a><b/><c/></a>'
2663
2523
  #
2664
- # source://rexml-3.2.5/lib/rexml/element.rb:1088
2665
- def text=(text)
2666
- ;
2667
- end
2524
+ # source://rexml//lib/rexml/element.rb#1088
2525
+ def text=(text); end
2668
2526
 
2669
2527
  # :call-seq:
2670
2528
  # texts -> array_of_text_children
@@ -2678,7 +2536,7 @@ class REXML::Element < ::REXML::Parent
2678
2536
  # ts.map {|t| t.class } # => [REXML::Text, REXML::Text]
2679
2537
  # ts.map {|t| t.to_s } # => ["text", "more"]
2680
2538
  #
2681
- # source://rexml-3.2.5/lib/rexml/element.rb:1482
2539
+ # source://rexml//lib/rexml/element.rb#1482
2682
2540
  def texts; end
2683
2541
 
2684
2542
  # :call-seq:
@@ -2692,7 +2550,7 @@ class REXML::Element < ::REXML::Parent
2692
2550
  # The evaluation is tested against the element's +expanded_name+,
2693
2551
  # and so is namespace-sensitive.
2694
2552
  #
2695
- # source://rexml-3.2.5/lib/rexml/element.rb:493
2553
+ # source://rexml//lib/rexml/element.rb#493
2696
2554
  def whitespace; end
2697
2555
 
2698
2556
  # == DEPRECATED
@@ -2718,10 +2576,8 @@ class REXML::Element < ::REXML::Parent
2718
2576
  # doc.write( out ) #-> doc is written to the string 'out'
2719
2577
  # doc.write( $stdout ) #-> doc written to the console
2720
2578
  #
2721
- # source://rexml-3.2.5/lib/rexml/element.rb:1508
2722
- def write(output = T.unsafe(nil), indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil))
2723
- ;
2724
- end
2579
+ # source://rexml//lib/rexml/element.rb#1508
2580
+ def write(output = T.unsafe(nil), indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
2725
2581
 
2726
2582
  # :call-seq:
2727
2583
  # xpath -> string_xpath
@@ -2743,32 +2599,26 @@ class REXML::Element < ::REXML::Parent
2743
2599
  # e = REXML::Element.new('foo')
2744
2600
  # e.xpath # => "foo"
2745
2601
  #
2746
- # source://rexml-3.2.5/lib/rexml/element.rb:1191
2602
+ # source://rexml//lib/rexml/element.rb#1191
2747
2603
  def xpath; end
2748
2604
 
2749
2605
  private
2750
2606
 
2751
- # source://rexml-3.2.5/lib/rexml/element.rb:1525
2752
- def __to_xpath_helper(node)
2753
- ;
2754
- end
2607
+ # source://rexml//lib/rexml/element.rb#1525
2608
+ def __to_xpath_helper(node); end
2755
2609
 
2756
2610
  # A private helper method
2757
2611
  #
2758
- # source://rexml-3.2.5/lib/rexml/element.rb:1540
2759
- def each_with_something(test, max = T.unsafe(nil), name = T.unsafe(nil))
2760
- ;
2761
- end
2612
+ # source://rexml//lib/rexml/element.rb#1540
2613
+ def each_with_something(test, max = T.unsafe(nil), name = T.unsafe(nil)); end
2762
2614
  end
2763
2615
 
2764
- # source://rexml-3.2.5/lib/rexml/doctype.rb:261
2616
+ # source://rexml//lib/rexml/doctype.rb#261
2765
2617
  class REXML::ElementDecl < ::REXML::Declaration
2766
2618
  # @return [ElementDecl] a new instance of ElementDecl
2767
2619
  #
2768
- # source://rexml-3.2.5/lib/rexml/doctype.rb:262
2769
- def initialize(src)
2770
- ;
2771
- end
2620
+ # source://rexml//lib/rexml/doctype.rb#262
2621
+ def initialize(src); end
2772
2622
  end
2773
2623
 
2774
2624
  # A class which provides filtering of children for Elements, and
@@ -2813,7 +2663,7 @@ end
2813
2663
  # elements = d.root.elements
2814
2664
  # elements # => #<REXML::Elements @element=<bookstore> ... </>>
2815
2665
  #
2816
- # source://rexml-3.2.5/lib/rexml/element.rb:1595
2666
+ # source://rexml//lib/rexml/element.rb#1595
2817
2667
  class REXML::Elements
2818
2668
  include ::Enumerable
2819
2669
 
@@ -2830,10 +2680,8 @@ class REXML::Elements
2830
2680
  #
2831
2681
  # @return [Elements] a new instance of Elements
2832
2682
  #
2833
- # source://rexml-3.2.5/lib/rexml/element.rb:1608
2834
- def initialize(parent)
2835
- ;
2836
- end
2683
+ # source://rexml//lib/rexml/element.rb#1608
2684
+ def initialize(parent); end
2837
2685
 
2838
2686
  # :call-seq:
2839
2687
  # add -> new_element
@@ -2897,10 +2745,8 @@ class REXML::Elements
2897
2745
  # element.parent # => <bookstore> ... </>
2898
2746
  # element.context # => {:raw=>:all}
2899
2747
  #
2900
- # source://rexml-3.2.5/lib/rexml/element.rb:1925
2901
- def <<(element = T.unsafe(nil))
2902
- ;
2903
- end
2748
+ # source://rexml//lib/rexml/element.rb#1925
2749
+ def <<(element = T.unsafe(nil)); end
2904
2750
 
2905
2751
  # :call-seq:
2906
2752
  # elements[index] -> element or nil
@@ -2955,10 +2801,8 @@ class REXML::Elements
2955
2801
  # eles[4, 'book'] # => <book category='web' cover='paperback'> ... </>
2956
2802
  # eles[5, 'book'] # => nil
2957
2803
  #
2958
- # source://rexml-3.2.5/lib/rexml/element.rb:1680
2959
- def [](index, name = T.unsafe(nil))
2960
- ;
2961
- end
2804
+ # source://rexml//lib/rexml/element.rb#1680
2805
+ def [](index, name = T.unsafe(nil)); end
2962
2806
 
2963
2807
  # :call-seq:
2964
2808
  # elements[] = index, replacement_element -> replacement_element or nil
@@ -2996,10 +2840,8 @@ class REXML::Elements
2996
2840
  # eles[50] = REXML::Text.new('bar') # => "bar"
2997
2841
  # eles.size # => 5
2998
2842
  #
2999
- # source://rexml-3.2.5/lib/rexml/element.rb:1735
3000
- def []=(index, element)
3001
- ;
3002
- end
2843
+ # source://rexml//lib/rexml/element.rb#1735
2844
+ def []=(index, element); end
3003
2845
 
3004
2846
  # :call-seq:
3005
2847
  # add -> new_element
@@ -3063,10 +2905,8 @@ class REXML::Elements
3063
2905
  # element.parent # => <bookstore> ... </>
3064
2906
  # element.context # => {:raw=>:all}
3065
2907
  #
3066
- # source://rexml-3.2.5/lib/rexml/element.rb:1925
3067
- def add(element = T.unsafe(nil))
3068
- ;
3069
- end
2908
+ # source://rexml//lib/rexml/element.rb#1925
2909
+ def add(element = T.unsafe(nil)); end
3070
2910
 
3071
2911
  # :call-seq:
3072
2912
  # collect(xpath = nil) {|element| ... } -> array
@@ -3085,10 +2925,8 @@ class REXML::Elements
3085
2925
  # xpath = '//book [@category="web"]'
3086
2926
  # elements.collect(xpath) {|element| element.size } # => [17, 9]
3087
2927
  #
3088
- # source://rexml-3.2.5/lib/rexml/element.rb:1988
3089
- def collect(xpath = T.unsafe(nil))
3090
- ;
3091
- end
2928
+ # source://rexml//lib/rexml/element.rb#1988
2929
+ def collect(xpath = T.unsafe(nil)); end
3092
2930
 
3093
2931
  # :call-seq:
3094
2932
  # delete(index) -> removed_element or nil
@@ -3131,10 +2969,8 @@ class REXML::Elements
3131
2969
  # elements.delete('//book [@category="children"]') # => <book category='children'> ... </>
3132
2970
  # elements.delete('//nosuch') # => nil
3133
2971
  #
3134
- # source://rexml-3.2.5/lib/rexml/element.rb:1825
3135
- def delete(element)
3136
- ;
3137
- end
2972
+ # source://rexml//lib/rexml/element.rb#1825
2973
+ def delete(element); end
3138
2974
 
3139
2975
  # :call-seq:
3140
2976
  # delete_all(xpath)
@@ -3153,10 +2989,8 @@ class REXML::Elements
3153
2989
  # elements.size # => 0
3154
2990
  # elements.delete_all('//book') # => []
3155
2991
  #
3156
- # source://rexml-3.2.5/lib/rexml/element.rb:1851
3157
- def delete_all(xpath)
3158
- ;
3159
- end
2992
+ # source://rexml//lib/rexml/element.rb#1851
2993
+ def delete_all(xpath); end
3160
2994
 
3161
2995
  # :call-seq:
3162
2996
  # each(xpath = nil) {|element| ... } -> self
@@ -3186,10 +3020,8 @@ class REXML::Elements
3186
3020
  # <book category='web'> ... </>
3187
3021
  # <book category='web' cover='paperback'> ... </>
3188
3022
  #
3189
- # source://rexml-3.2.5/lib/rexml/element.rb:1967
3190
- def each(xpath = T.unsafe(nil))
3191
- ;
3192
- end
3023
+ # source://rexml//lib/rexml/element.rb#1967
3024
+ def each(xpath = T.unsafe(nil)); end
3193
3025
 
3194
3026
  # :call-seq:
3195
3027
  # empty? -> true or false
@@ -3203,7 +3035,7 @@ class REXML::Elements
3203
3035
  #
3204
3036
  # @return [Boolean]
3205
3037
  #
3206
- # source://rexml-3.2.5/lib/rexml/element.rb:1755
3038
+ # source://rexml//lib/rexml/element.rb#1755
3207
3039
  def empty?; end
3208
3040
 
3209
3041
  # :call-seq:
@@ -3220,10 +3052,8 @@ class REXML::Elements
3220
3052
  # elements.index(ele_4) # => 3
3221
3053
  # elements.index(ele_3) # => -1
3222
3054
  #
3223
- # source://rexml-3.2.5/lib/rexml/element.rb:1773
3224
- def index(element)
3225
- ;
3226
- end
3055
+ # source://rexml//lib/rexml/element.rb#1773
3056
+ def index(element); end
3227
3057
 
3228
3058
  # :call-seq:
3229
3059
  # inject(xpath = nil, initial = nil) -> object
@@ -3302,10 +3132,8 @@ class REXML::Elements
3302
3132
  # total += element.size
3303
3133
  # end # => 26
3304
3134
  #
3305
- # source://rexml-3.2.5/lib/rexml/element.rb:2073
3306
- def inject(xpath = T.unsafe(nil), initial = T.unsafe(nil))
3307
- ;
3308
- end
3135
+ # source://rexml//lib/rexml/element.rb#2073
3136
+ def inject(xpath = T.unsafe(nil), initial = T.unsafe(nil)); end
3309
3137
 
3310
3138
  # :call-seq:
3311
3139
  # parent
@@ -3318,7 +3146,7 @@ class REXML::Elements
3318
3146
  # elements = REXML::Elements.new(d.root)
3319
3147
  # elements.parent == d.root # => true
3320
3148
  #
3321
- # source://rexml-3.2.5/lib/rexml/element.rb:1623
3149
+ # source://rexml//lib/rexml/element.rb#1623
3322
3150
  def parent; end
3323
3151
 
3324
3152
  # :call-seq:
@@ -3330,7 +3158,7 @@ class REXML::Elements
3330
3158
  # d.root.elements.size # => 3 # Three elements.
3331
3159
  # d.root.size # => 6 # Three elements plus three text nodes..
3332
3160
  #
3333
- # source://rexml-3.2.5/lib/rexml/element.rb:2097
3161
+ # source://rexml//lib/rexml/element.rb#2097
3334
3162
  def size; end
3335
3163
 
3336
3164
  # :call-seq:
@@ -3351,52 +3179,40 @@ class REXML::Elements
3351
3179
  #
3352
3180
  # elements.to_a('//c') # => [<c/>]
3353
3181
  #
3354
- # source://rexml-3.2.5/lib/rexml/element.rb:2121
3355
- def to_a(xpath = T.unsafe(nil))
3356
- ;
3357
- end
3182
+ # source://rexml//lib/rexml/element.rb#2121
3183
+ def to_a(xpath = T.unsafe(nil)); end
3358
3184
 
3359
3185
  private
3360
3186
 
3361
3187
  # Private helper class. Removes quotes from quoted strings
3362
3188
  #
3363
- # source://rexml-3.2.5/lib/rexml/element.rb:2129
3364
- def literalize(name)
3365
- ;
3366
- end
3189
+ # source://rexml//lib/rexml/element.rb#2129
3190
+ def literalize(name); end
3367
3191
  end
3368
3192
 
3369
- # source://rexml-3.2.5/lib/rexml/encoding.rb:4
3193
+ # source://rexml//lib/rexml/encoding.rb#4
3370
3194
  module REXML::Encoding
3371
- # source://rexml-3.2.5/lib/rexml/encoding.rb:29
3372
- def decode(string)
3373
- ;
3374
- end
3195
+ # source://rexml//lib/rexml/encoding.rb#29
3196
+ def decode(string); end
3375
3197
 
3376
- # source://rexml-3.2.5/lib/rexml/encoding.rb:25
3377
- def encode(string)
3378
- ;
3379
- end
3198
+ # source://rexml//lib/rexml/encoding.rb#25
3199
+ def encode(string); end
3380
3200
 
3381
3201
  # ID ---> Encoding name
3382
3202
  #
3383
- # source://rexml-3.2.5/lib/rexml/encoding.rb:6
3203
+ # source://rexml//lib/rexml/encoding.rb#6
3384
3204
  def encoding; end
3385
3205
 
3386
- # source://rexml-3.2.5/lib/rexml/encoding.rb:7
3387
- def encoding=(encoding)
3388
- ;
3389
- end
3206
+ # source://rexml//lib/rexml/encoding.rb#7
3207
+ def encoding=(encoding); end
3390
3208
 
3391
3209
  private
3392
3210
 
3393
- # source://rexml-3.2.5/lib/rexml/encoding.rb:34
3394
- def find_encoding(name)
3395
- ;
3396
- end
3211
+ # source://rexml//lib/rexml/encoding.rb#34
3212
+ def find_encoding(name); end
3397
3213
  end
3398
3214
 
3399
- # source://rexml-3.2.5/lib/rexml/entity.rb:7
3215
+ # source://rexml//lib/rexml/entity.rb#7
3400
3216
  class REXML::Entity < ::REXML::Child
3401
3217
  include ::REXML::XMLTokens
3402
3218
 
@@ -3412,52 +3228,53 @@ class REXML::Entity < ::REXML::Child
3412
3228
  #
3413
3229
  # @return [Entity] a new instance of Entity
3414
3230
  #
3415
- # source://rexml-3.2.5/lib/rexml/entity.rb:33
3416
- def initialize(stream, value = T.unsafe(nil), parent = T.unsafe(nil), reference = T.unsafe(nil))
3417
- ;
3418
- end
3231
+ # source://rexml//lib/rexml/entity.rb#33
3232
+ def initialize(stream, value = T.unsafe(nil), parent = T.unsafe(nil), reference = T.unsafe(nil)); end
3419
3233
 
3420
3234
  # Returns the value of attribute external.
3421
3235
  #
3422
- # source://rexml-3.2.5/lib/rexml/entity.rb:22
3236
+ # source://rexml//lib/rexml/entity.rb#22
3423
3237
  def external; end
3424
3238
 
3425
3239
  # Returns the value of attribute name.
3426
3240
  #
3427
- # source://rexml-3.2.5/lib/rexml/entity.rb:22
3241
+ # source://rexml//lib/rexml/entity.rb#22
3428
3242
  def name; end
3429
3243
 
3430
3244
  # Returns the value of attribute ndata.
3431
3245
  #
3432
- # source://rexml-3.2.5/lib/rexml/entity.rb:22
3246
+ # source://rexml//lib/rexml/entity.rb#22
3433
3247
  def ndata; end
3434
3248
 
3435
3249
  # Returns the value of this entity unprocessed -- raw. This is the
3436
3250
  # normalized value; that is, with all %ent; and &ent; entities intact
3437
3251
  #
3438
- # source://rexml-3.2.5/lib/rexml/entity.rb:85
3252
+ # source://rexml//lib/rexml/entity.rb#85
3439
3253
  def normalized; end
3440
3254
 
3255
+ # source://rexml//lib/rexml/entity.rb#138
3256
+ def parent=(other); end
3257
+
3441
3258
  # Returns the value of attribute pubid.
3442
3259
  #
3443
- # source://rexml-3.2.5/lib/rexml/entity.rb:22
3260
+ # source://rexml//lib/rexml/entity.rb#22
3444
3261
  def pubid; end
3445
3262
 
3446
3263
  # Returns the value of attribute ref.
3447
3264
  #
3448
- # source://rexml-3.2.5/lib/rexml/entity.rb:22
3265
+ # source://rexml//lib/rexml/entity.rb#22
3449
3266
  def ref; end
3450
3267
 
3451
3268
  # Returns this entity as a string. See write().
3452
3269
  #
3453
- # source://rexml-3.2.5/lib/rexml/entity.rb:119
3270
+ # source://rexml//lib/rexml/entity.rb#119
3454
3271
  def to_s; end
3455
3272
 
3456
3273
  # Evaluates to the unnormalized value of this entity; that is, replacing
3457
3274
  # all entities -- both %ent; and &ent; entities. This differs from
3458
3275
  # +value()+ in that +value+ only replaces %ent; entities.
3459
3276
  #
3460
- # source://rexml-3.2.5/lib/rexml/entity.rb:73
3277
+ # source://rexml//lib/rexml/entity.rb#73
3461
3278
  def unnormalized; end
3462
3279
 
3463
3280
  # Returns the value of this entity. At the moment, only internal entities
@@ -3469,7 +3286,7 @@ class REXML::Entity < ::REXML::Child
3469
3286
  # then:
3470
3287
  # doctype.entity('yada').value #-> "nanoo bar nanoo"
3471
3288
  #
3472
- # source://rexml-3.2.5/lib/rexml/entity.rb:134
3289
+ # source://rexml//lib/rexml/entity.rb#134
3473
3290
  def value; end
3474
3291
 
3475
3292
  # Write out a fully formed, correct entity definition (assuming the Entity
@@ -3481,10 +3298,13 @@ class REXML::Entity < ::REXML::Child
3481
3298
  # indent::
3482
3299
  # *DEPRECATED* and ignored
3483
3300
  #
3484
- # source://rexml-3.2.5/lib/rexml/entity.rb:97
3485
- def write(out, indent = T.unsafe(nil))
3486
- ;
3487
- end
3301
+ # source://rexml//lib/rexml/entity.rb#97
3302
+ def write(out, indent = T.unsafe(nil)); end
3303
+
3304
+ private
3305
+
3306
+ # source://rexml//lib/rexml/entity.rb#144
3307
+ def resolve_value; end
3488
3308
 
3489
3309
  class << self
3490
3310
  # Evaluates whether the given string matches an entity definition,
@@ -3492,32 +3312,26 @@ class REXML::Entity < ::REXML::Child
3492
3312
  #
3493
3313
  # @return [Boolean]
3494
3314
  #
3495
- # source://rexml-3.2.5/lib/rexml/entity.rb:66
3496
- def matches?(string)
3497
- ;
3498
- end
3315
+ # source://rexml//lib/rexml/entity.rb#66
3316
+ def matches?(string); end
3499
3317
  end
3500
3318
  end
3501
3319
 
3502
- # source://rexml-3.2.5/lib/rexml/doctype.rb:267
3320
+ # source://rexml//lib/rexml/doctype.rb#267
3503
3321
  class REXML::ExternalEntity < ::REXML::Child
3504
3322
  # @return [ExternalEntity] a new instance of ExternalEntity
3505
3323
  #
3506
- # source://rexml-3.2.5/lib/rexml/doctype.rb:268
3507
- def initialize(src)
3508
- ;
3509
- end
3324
+ # source://rexml//lib/rexml/doctype.rb#268
3325
+ def initialize(src); end
3510
3326
 
3511
- # source://rexml-3.2.5/lib/rexml/doctype.rb:272
3327
+ # source://rexml//lib/rexml/doctype.rb#272
3512
3328
  def to_s; end
3513
3329
 
3514
- # source://rexml-3.2.5/lib/rexml/doctype.rb:275
3515
- def write(output, indent)
3516
- ;
3517
- end
3330
+ # source://rexml//lib/rexml/doctype.rb#275
3331
+ def write(output, indent); end
3518
3332
  end
3519
3333
 
3520
- # source://rexml-3.2.5/lib/rexml/formatters/default.rb:5
3334
+ # source://rexml//lib/rexml/formatters/default.rb#5
3521
3335
  class REXML::Formatters::Default
3522
3336
  # Prints out the XML document with no formatting -- except if ie_hack is
3523
3337
  # set.
@@ -3528,10 +3342,8 @@ class REXML::Formatters::Default
3528
3342
  #
3529
3343
  # @return [Default] a new instance of Default
3530
3344
  #
3531
- # source://rexml-3.2.5/lib/rexml/formatters/default.rb:12
3532
- def initialize(ie_hack = T.unsafe(nil))
3533
- ;
3534
- end
3345
+ # source://rexml//lib/rexml/formatters/default.rb#12
3346
+ def initialize(ie_hack = T.unsafe(nil)); end
3535
3347
 
3536
3348
  # Writes the node to some output.
3537
3349
  #
@@ -3541,42 +3353,28 @@ class REXML::Formatters::Default
3541
3353
  # A class implementing <TT>&lt;&lt;</TT>. Pass in an Output object to
3542
3354
  # change the output encoding.
3543
3355
  #
3544
- # source://rexml-3.2.5/lib/rexml/formatters/default.rb:23
3545
- def write(node, output)
3546
- ;
3547
- end
3356
+ # source://rexml//lib/rexml/formatters/default.rb#23
3357
+ def write(node, output); end
3548
3358
 
3549
3359
  protected
3550
3360
 
3551
- # source://rexml-3.2.5/lib/rexml/formatters/default.rb:98
3552
- def write_cdata(node, output)
3553
- ;
3554
- end
3361
+ # source://rexml//lib/rexml/formatters/default.rb#98
3362
+ def write_cdata(node, output); end
3555
3363
 
3556
- # source://rexml-3.2.5/lib/rexml/formatters/default.rb:92
3557
- def write_comment(node, output)
3558
- ;
3559
- end
3364
+ # source://rexml//lib/rexml/formatters/default.rb#92
3365
+ def write_comment(node, output); end
3560
3366
 
3561
- # source://rexml-3.2.5/lib/rexml/formatters/default.rb:61
3562
- def write_document(node, output)
3563
- ;
3564
- end
3367
+ # source://rexml//lib/rexml/formatters/default.rb#61
3368
+ def write_document(node, output); end
3565
3369
 
3566
- # source://rexml-3.2.5/lib/rexml/formatters/default.rb:65
3567
- def write_element(node, output)
3568
- ;
3569
- end
3370
+ # source://rexml//lib/rexml/formatters/default.rb#65
3371
+ def write_element(node, output); end
3570
3372
 
3571
- # source://rexml-3.2.5/lib/rexml/formatters/default.rb:104
3572
- def write_instruction(node, output)
3573
- ;
3574
- end
3373
+ # source://rexml//lib/rexml/formatters/default.rb#104
3374
+ def write_instruction(node, output); end
3575
3375
 
3576
- # source://rexml-3.2.5/lib/rexml/formatters/default.rb:88
3577
- def write_text(node, output)
3578
- ;
3579
- end
3376
+ # source://rexml//lib/rexml/formatters/default.rb#88
3377
+ def write_text(node, output); end
3580
3378
  end
3581
3379
 
3582
3380
  # Pretty-prints an XML document. This destroys whitespace in text nodes
@@ -3584,7 +3382,7 @@ end
3584
3382
  #
3585
3383
  # TODO: Add an option to print attributes on new lines
3586
3384
  #
3587
- # source://rexml-3.2.5/lib/rexml/formatters/pretty.rb:10
3385
+ # source://rexml//lib/rexml/formatters/pretty.rb#10
3588
3386
  class REXML::Formatters::Pretty < ::REXML::Formatters::Default
3589
3387
  # Create a new pretty printer.
3590
3388
  #
@@ -3601,135 +3399,107 @@ class REXML::Formatters::Pretty < ::REXML::Formatters::Default
3601
3399
  #
3602
3400
  # @return [Pretty] a new instance of Pretty
3603
3401
  #
3604
- # source://rexml-3.2.5/lib/rexml/formatters/pretty.rb:30
3605
- def initialize(indentation = T.unsafe(nil), ie_hack = T.unsafe(nil))
3606
- ;
3607
- end
3402
+ # source://rexml//lib/rexml/formatters/pretty.rb#30
3403
+ def initialize(indentation = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
3608
3404
 
3609
3405
  # If compact is set to true, then the formatter will attempt to use as
3610
3406
  # little space as possible
3611
3407
  #
3612
- # source://rexml-3.2.5/lib/rexml/formatters/pretty.rb:14
3408
+ # source://rexml//lib/rexml/formatters/pretty.rb#14
3613
3409
  def compact; end
3614
3410
 
3615
3411
  # If compact is set to true, then the formatter will attempt to use as
3616
3412
  # little space as possible
3617
3413
  #
3618
- # source://rexml-3.2.5/lib/rexml/formatters/pretty.rb:14
3619
- def compact=(_arg0)
3620
- ;
3621
- end
3414
+ # source://rexml//lib/rexml/formatters/pretty.rb#14
3415
+ def compact=(_arg0); end
3622
3416
 
3623
3417
  # The width of a page. Used for formatting text
3624
3418
  #
3625
- # source://rexml-3.2.5/lib/rexml/formatters/pretty.rb:16
3419
+ # source://rexml//lib/rexml/formatters/pretty.rb#16
3626
3420
  def width; end
3627
3421
 
3628
3422
  # The width of a page. Used for formatting text
3629
3423
  #
3630
- # source://rexml-3.2.5/lib/rexml/formatters/pretty.rb:16
3631
- def width=(_arg0)
3632
- ;
3633
- end
3424
+ # source://rexml//lib/rexml/formatters/pretty.rb#16
3425
+ def width=(_arg0); end
3634
3426
 
3635
3427
  protected
3636
3428
 
3637
- # source://rexml-3.2.5/lib/rexml/formatters/pretty.rb:102
3638
- def write_cdata(node, output)
3639
- ;
3640
- end
3429
+ # source://rexml//lib/rexml/formatters/pretty.rb#102
3430
+ def write_cdata(node, output); end
3641
3431
 
3642
- # source://rexml-3.2.5/lib/rexml/formatters/pretty.rb:97
3643
- def write_comment(node, output)
3644
- ;
3645
- end
3432
+ # source://rexml//lib/rexml/formatters/pretty.rb#97
3433
+ def write_comment(node, output); end
3646
3434
 
3647
- # source://rexml-3.2.5/lib/rexml/formatters/pretty.rb:107
3648
- def write_document(node, output)
3649
- ;
3650
- end
3435
+ # source://rexml//lib/rexml/formatters/pretty.rb#107
3436
+ def write_document(node, output); end
3651
3437
 
3652
- # source://rexml-3.2.5/lib/rexml/formatters/pretty.rb:39
3653
- def write_element(node, output)
3654
- ;
3655
- end
3438
+ # source://rexml//lib/rexml/formatters/pretty.rb#39
3439
+ def write_element(node, output); end
3656
3440
 
3657
- # source://rexml-3.2.5/lib/rexml/formatters/pretty.rb:88
3658
- def write_text(node, output)
3659
- ;
3660
- end
3441
+ # source://rexml//lib/rexml/formatters/pretty.rb#88
3442
+ def write_text(node, output); end
3661
3443
 
3662
3444
  private
3663
3445
 
3664
- # source://rexml-3.2.5/lib/rexml/formatters/pretty.rb:124
3665
- def indent_text(string, level = T.unsafe(nil), style = T.unsafe(nil), indentfirstline = T.unsafe(nil))
3666
- ;
3667
- end
3446
+ # source://rexml//lib/rexml/formatters/pretty.rb#124
3447
+ def indent_text(string, level = T.unsafe(nil), style = T.unsafe(nil), indentfirstline = T.unsafe(nil)); end
3668
3448
 
3669
- # source://rexml-3.2.5/lib/rexml/formatters/pretty.rb:129
3670
- def wrap(string, width)
3671
- ;
3672
- end
3449
+ # source://rexml//lib/rexml/formatters/pretty.rb#129
3450
+ def wrap(string, width); end
3673
3451
  end
3674
3452
 
3675
3453
  # A Source that wraps an IO. See the Source class for method
3676
3454
  # documentation
3677
3455
  #
3678
- # source://rexml-3.2.5/lib/rexml/source.rb:160
3456
+ # source://rexml//lib/rexml/source.rb#160
3679
3457
  class REXML::IOSource < ::REXML::Source
3680
3458
  # block_size has been deprecated
3681
3459
  #
3682
3460
  # @return [IOSource] a new instance of IOSource
3683
3461
  #
3684
- # source://rexml-3.2.5/lib/rexml/source.rb:163
3685
- def initialize(arg, block_size = T.unsafe(nil), encoding = T.unsafe(nil))
3686
- ;
3687
- end
3462
+ # source://rexml//lib/rexml/source.rb#163
3463
+ def initialize(arg, block_size = T.unsafe(nil), encoding = T.unsafe(nil)); end
3688
3464
 
3689
- # source://rexml-3.2.5/lib/rexml/source.rb:215
3690
- def consume(pattern)
3691
- ;
3692
- end
3465
+ # source://rexml//lib/rexml/source.rb#215
3466
+ def consume(pattern); end
3693
3467
 
3694
3468
  # @return the current line in the source
3695
3469
  #
3696
- # source://rexml-3.2.5/lib/rexml/source.rb:244
3470
+ # source://rexml//lib/rexml/source.rb#244
3697
3471
  def current_line; end
3698
3472
 
3699
3473
  # @return [Boolean]
3700
3474
  #
3701
- # source://rexml-3.2.5/lib/rexml/source.rb:235
3475
+ # source://rexml//lib/rexml/source.rb#235
3702
3476
  def empty?; end
3703
3477
 
3704
- # source://rexml-3.2.5/lib/rexml/source.rb:219
3705
- def match(pattern, cons = T.unsafe(nil))
3706
- ;
3707
- end
3478
+ # source://rexml//lib/rexml/source.rb#219
3479
+ def match(pattern, cons = T.unsafe(nil)); end
3708
3480
 
3709
- # source://rexml-3.2.5/lib/rexml/source.rb:239
3481
+ # source://rexml//lib/rexml/source.rb#239
3710
3482
  def position; end
3711
3483
 
3712
- # source://rexml-3.2.5/lib/rexml/source.rb:207
3484
+ # source://rexml//lib/rexml/source.rb#207
3713
3485
  def read; end
3714
3486
 
3715
- # source://rexml-3.2.5/lib/rexml/source.rb:184
3716
- def scan(pattern, cons = T.unsafe(nil))
3717
- ;
3718
- end
3487
+ # source://rexml//lib/rexml/source.rb#184
3488
+ def scan(pattern, cons = T.unsafe(nil)); end
3719
3489
 
3720
3490
  private
3721
3491
 
3722
- # source://rexml-3.2.5/lib/rexml/source.rb:286
3492
+ # source://rexml//lib/rexml/source.rb#286
3723
3493
  def encoding_updated; end
3724
3494
 
3725
- # source://rexml-3.2.5/lib/rexml/source.rb:266
3495
+ # source://rexml//lib/rexml/source.rb#266
3726
3496
  def readline; end
3727
3497
  end
3728
3498
 
3729
3499
  # Represents an XML Instruction; IE, <? ... ?>
3730
3500
  # TODO: Add parent arg (3rd arg) to constructor
3731
3501
  #
3732
- # source://rexml-3.2.5/lib/rexml/instruction.rb:9
3502
+ # source://rexml//lib/rexml/instruction.rb#9
3733
3503
  class REXML::Instruction < ::REXML::Child
3734
3504
  # Constructs a new Instruction
3735
3505
  # the target of this instruction is set to this. If an Instruction,
@@ -3742,141 +3512,167 @@ class REXML::Instruction < ::REXML::Child
3742
3512
  # @param content Must be either a String, or a Parent. Can only
3743
3513
  # @return [Instruction] a new instance of Instruction
3744
3514
  #
3745
- # source://rexml-3.2.5/lib/rexml/instruction.rb:25
3746
- def initialize(target, content = T.unsafe(nil))
3747
- ;
3748
- end
3515
+ # source://rexml//lib/rexml/instruction.rb#25
3516
+ def initialize(target, content = T.unsafe(nil)); end
3749
3517
 
3750
3518
  # of the other matches the target and content of this object.
3751
3519
  #
3752
3520
  # @return true if other is an Instruction, and the content and target
3753
3521
  #
3754
- # source://rexml-3.2.5/lib/rexml/instruction.rb:65
3755
- def ==(other)
3756
- ;
3757
- end
3522
+ # source://rexml//lib/rexml/instruction.rb#65
3523
+ def ==(other); end
3758
3524
 
3759
- # source://rexml-3.2.5/lib/rexml/instruction.rb:44
3525
+ # source://rexml//lib/rexml/instruction.rb#44
3760
3526
  def clone; end
3761
3527
 
3762
3528
  # target is the "name" of the Instruction; IE, the "tag" in <?tag ...?>
3763
3529
  # content is everything else.
3764
3530
  #
3765
- # source://rexml-3.2.5/lib/rexml/instruction.rb:15
3531
+ # source://rexml//lib/rexml/instruction.rb#15
3766
3532
  def content; end
3767
3533
 
3768
3534
  # target is the "name" of the Instruction; IE, the "tag" in <?tag ...?>
3769
3535
  # content is everything else.
3770
3536
  #
3771
- # source://rexml-3.2.5/lib/rexml/instruction.rb:15
3772
- def content=(_arg0)
3773
- ;
3774
- end
3537
+ # source://rexml//lib/rexml/instruction.rb#15
3538
+ def content=(_arg0); end
3775
3539
 
3776
- # source://rexml-3.2.5/lib/rexml/instruction.rb:75
3540
+ # source://rexml//lib/rexml/instruction.rb#75
3777
3541
  def inspect; end
3778
3542
 
3779
- # source://rexml-3.2.5/lib/rexml/instruction.rb:71
3543
+ # source://rexml//lib/rexml/instruction.rb#71
3780
3544
  def node_type; end
3781
3545
 
3782
3546
  # target is the "name" of the Instruction; IE, the "tag" in <?tag ...?>
3783
3547
  # content is everything else.
3784
3548
  #
3785
- # source://rexml-3.2.5/lib/rexml/instruction.rb:15
3549
+ # source://rexml//lib/rexml/instruction.rb#15
3786
3550
  def target; end
3787
3551
 
3788
3552
  # target is the "name" of the Instruction; IE, the "tag" in <?tag ...?>
3789
3553
  # content is everything else.
3790
3554
  #
3791
- # source://rexml-3.2.5/lib/rexml/instruction.rb:15
3792
- def target=(_arg0)
3793
- ;
3794
- end
3555
+ # source://rexml//lib/rexml/instruction.rb#15
3556
+ def target=(_arg0); end
3795
3557
 
3796
3558
  # == DEPRECATED
3797
3559
  # See the rexml/formatters package
3798
3560
  #
3799
- # source://rexml-3.2.5/lib/rexml/instruction.rb:51
3800
- def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil))
3801
- ;
3802
- end
3561
+ # source://rexml//lib/rexml/instruction.rb#51
3562
+ def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
3563
+ end
3564
+
3565
+ # Adds named attributes to an object.
3566
+ #
3567
+ # source://rexml//lib/rexml/namespace.rb#7
3568
+ module REXML::Namespace
3569
+ include ::REXML::XMLTokens
3570
+
3571
+ # The name of the object, valid if set
3572
+ #
3573
+ # source://rexml//lib/rexml/namespace.rb#9
3574
+ def expanded_name; end
3575
+
3576
+ # Fully expand the name, even if the prefix wasn't specified in the
3577
+ # source file.
3578
+ #
3579
+ # source://rexml//lib/rexml/namespace.rb#57
3580
+ def fully_expanded_name; end
3581
+
3582
+ # Compares names optionally WITH namespaces
3583
+ #
3584
+ # @return [Boolean]
3585
+ #
3586
+ # source://rexml//lib/rexml/namespace.rb#43
3587
+ def has_name?(other, ns = T.unsafe(nil)); end
3588
+
3589
+ # The name of the object, valid if set
3590
+ #
3591
+ # source://rexml//lib/rexml/namespace.rb#9
3592
+ def name; end
3593
+
3594
+ # Sets the name and the expanded name
3595
+ #
3596
+ # source://rexml//lib/rexml/namespace.rb#17
3597
+ def name=(name); end
3598
+
3599
+ # The expanded name of the object, valid if name is set
3600
+ #
3601
+ # source://rexml//lib/rexml/namespace.rb#11
3602
+ def prefix; end
3603
+
3604
+ # The expanded name of the object, valid if name is set
3605
+ #
3606
+ # source://rexml//lib/rexml/namespace.rb#11
3607
+ def prefix=(_arg0); end
3803
3608
  end
3804
3609
 
3805
- # source://rexml-3.2.5/lib/rexml/doctype.rb:280
3610
+ # source://rexml//lib/rexml/namespace.rb#13
3611
+ REXML::Namespace::NAME_WITHOUT_NAMESPACE = T.let(T.unsafe(nil), Regexp)
3612
+
3613
+ # source://rexml//lib/rexml/doctype.rb#280
3806
3614
  class REXML::NotationDecl < ::REXML::Child
3807
3615
  # @return [NotationDecl] a new instance of NotationDecl
3808
3616
  #
3809
- # source://rexml-3.2.5/lib/rexml/doctype.rb:282
3810
- def initialize(name, middle, pub, sys)
3811
- ;
3812
- end
3617
+ # source://rexml//lib/rexml/doctype.rb#282
3618
+ def initialize(name, middle, pub, sys); end
3813
3619
 
3814
3620
  # This method retrieves the name of the notation.
3815
3621
  #
3816
3622
  # Method contributed by Henrik Martensson
3817
3623
  #
3818
- # source://rexml-3.2.5/lib/rexml/doctype.rb:307
3624
+ # source://rexml//lib/rexml/doctype.rb#307
3819
3625
  def name; end
3820
3626
 
3821
3627
  # Returns the value of attribute public.
3822
3628
  #
3823
- # source://rexml-3.2.5/lib/rexml/doctype.rb:281
3629
+ # source://rexml//lib/rexml/doctype.rb#281
3824
3630
  def public; end
3825
3631
 
3826
3632
  # Sets the attribute public
3827
3633
  #
3828
3634
  # @param value the value to set the attribute public to.
3829
3635
  #
3830
- # source://rexml-3.2.5/lib/rexml/doctype.rb:281
3831
- def public=(_arg0)
3832
- ;
3833
- end
3636
+ # source://rexml//lib/rexml/doctype.rb#281
3637
+ def public=(_arg0); end
3834
3638
 
3835
3639
  # Returns the value of attribute system.
3836
3640
  #
3837
- # source://rexml-3.2.5/lib/rexml/doctype.rb:281
3641
+ # source://rexml//lib/rexml/doctype.rb#281
3838
3642
  def system; end
3839
3643
 
3840
3644
  # Sets the attribute system
3841
3645
  #
3842
3646
  # @param value the value to set the attribute system to.
3843
3647
  #
3844
- # source://rexml-3.2.5/lib/rexml/doctype.rb:281
3845
- def system=(_arg0)
3846
- ;
3847
- end
3648
+ # source://rexml//lib/rexml/doctype.rb#281
3649
+ def system=(_arg0); end
3848
3650
 
3849
- # source://rexml-3.2.5/lib/rexml/doctype.rb:290
3651
+ # source://rexml//lib/rexml/doctype.rb#290
3850
3652
  def to_s; end
3851
3653
 
3852
- # source://rexml-3.2.5/lib/rexml/doctype.rb:300
3853
- def write(output, indent = T.unsafe(nil))
3854
- ;
3855
- end
3654
+ # source://rexml//lib/rexml/doctype.rb#300
3655
+ def write(output, indent = T.unsafe(nil)); end
3856
3656
  end
3857
3657
 
3858
- # source://rexml-3.2.5/lib/rexml/output.rb:5
3658
+ # source://rexml//lib/rexml/output.rb#5
3859
3659
  class REXML::Output
3860
3660
  include ::REXML::Encoding
3861
3661
 
3862
3662
  # @return [Output] a new instance of Output
3863
3663
  #
3864
- # source://rexml-3.2.5/lib/rexml/output.rb:10
3865
- def initialize(real_IO, encd = T.unsafe(nil))
3866
- ;
3867
- end
3664
+ # source://rexml//lib/rexml/output.rb#10
3665
+ def initialize(real_IO, encd = T.unsafe(nil)); end
3868
3666
 
3869
- # source://rexml-3.2.5/lib/rexml/output.rb:22
3870
- def <<(content)
3871
- ;
3872
- end
3667
+ # source://rexml//lib/rexml/output.rb#22
3668
+ def <<(content); end
3873
3669
 
3874
3670
  # Returns the value of attribute encoding.
3875
3671
  #
3876
- # source://rexml-3.2.5/lib/rexml/output.rb:8
3672
+ # source://rexml//lib/rexml/output.rb#8
3877
3673
  def encoding; end
3878
3674
 
3879
- # source://rexml-3.2.5/lib/rexml/output.rb:26
3675
+ # source://rexml//lib/rexml/output.rb#26
3880
3676
  def to_s; end
3881
3677
  end
3882
3678
 
@@ -3884,7 +3680,7 @@ end
3884
3680
  # class is never encountered except as the superclass for some other
3885
3681
  # object.
3886
3682
  #
3887
- # source://rexml-3.2.5/lib/rexml/parent.rb:8
3683
+ # source://rexml//lib/rexml/parent.rb#8
3888
3684
  class REXML::Parent < ::REXML::Child
3889
3685
  include ::Enumerable
3890
3686
 
@@ -3893,24 +3689,18 @@ class REXML::Parent < ::REXML::Child
3893
3689
  # @param parent if supplied, will be set as the parent of this object
3894
3690
  # @return [Parent] a new instance of Parent
3895
3691
  #
3896
- # source://rexml-3.2.5/lib/rexml/parent.rb:13
3897
- def initialize(parent = T.unsafe(nil))
3898
- ;
3899
- end
3692
+ # source://rexml//lib/rexml/parent.rb#13
3693
+ def initialize(parent = T.unsafe(nil)); end
3900
3694
 
3901
- # source://rexml-3.2.5/lib/rexml/parent.rb:18
3902
- def <<(object)
3903
- ;
3904
- end
3695
+ # source://rexml//lib/rexml/parent.rb#18
3696
+ def <<(object); end
3905
3697
 
3906
3698
  # Fetches a child at a given index
3907
3699
  #
3908
3700
  # @param index the Integer index of the child to fetch
3909
3701
  #
3910
- # source://rexml-3.2.5/lib/rexml/parent.rb:57
3911
- def [](index)
3912
- ;
3913
- end
3702
+ # source://rexml//lib/rexml/parent.rb#57
3703
+ def [](index); end
3914
3704
 
3915
3705
  # Set an index entry. See Array.[]=
3916
3706
  #
@@ -3919,54 +3709,38 @@ class REXML::Parent < ::REXML::Child
3919
3709
  # @param child if opt is an Integer, this is the child to set
3920
3710
  # @return the parent (self)
3921
3711
  #
3922
- # source://rexml-3.2.5/lib/rexml/parent.rb:70
3923
- def []=(*args)
3924
- ;
3925
- end
3712
+ # source://rexml//lib/rexml/parent.rb#70
3713
+ def []=(*args); end
3926
3714
 
3927
- # source://rexml-3.2.5/lib/rexml/parent.rb:18
3928
- def add(object)
3929
- ;
3930
- end
3715
+ # source://rexml//lib/rexml/parent.rb#18
3716
+ def add(object); end
3931
3717
 
3932
- # source://rexml-3.2.5/lib/rexml/parent.rb:115
3718
+ # source://rexml//lib/rexml/parent.rb#115
3933
3719
  def children; end
3934
3720
 
3935
3721
  # Deeply clones this object. This creates a complete duplicate of this
3936
3722
  # Parent, including all descendants.
3937
3723
  #
3938
- # source://rexml-3.2.5/lib/rexml/parent.rb:148
3724
+ # source://rexml//lib/rexml/parent.rb#148
3939
3725
  def deep_clone; end
3940
3726
 
3941
- # source://rexml-3.2.5/lib/rexml/parent.rb:32
3942
- def delete(object)
3943
- ;
3944
- end
3727
+ # source://rexml//lib/rexml/parent.rb#32
3728
+ def delete(object); end
3945
3729
 
3946
- # source://rexml-3.2.5/lib/rexml/parent.rb:47
3947
- def delete_at(index)
3948
- ;
3949
- end
3730
+ # source://rexml//lib/rexml/parent.rb#47
3731
+ def delete_at(index); end
3950
3732
 
3951
- # source://rexml-3.2.5/lib/rexml/parent.rb:43
3952
- def delete_if(&block)
3953
- ;
3954
- end
3733
+ # source://rexml//lib/rexml/parent.rb#43
3734
+ def delete_if(&block); end
3955
3735
 
3956
- # source://rexml-3.2.5/lib/rexml/parent.rb:39
3957
- def each(&block)
3958
- ;
3959
- end
3736
+ # source://rexml//lib/rexml/parent.rb#39
3737
+ def each(&block); end
3960
3738
 
3961
- # source://rexml-3.2.5/lib/rexml/parent.rb:39
3962
- def each_child(&block)
3963
- ;
3964
- end
3739
+ # source://rexml//lib/rexml/parent.rb#39
3740
+ def each_child(&block); end
3965
3741
 
3966
- # source://rexml-3.2.5/lib/rexml/parent.rb:51
3967
- def each_index(&block)
3968
- ;
3969
- end
3742
+ # source://rexml//lib/rexml/parent.rb#51
3743
+ def each_index(&block); end
3970
3744
 
3971
3745
  # Fetches the index of a given child
3972
3746
  # of this parent.
@@ -3974,10 +3748,8 @@ class REXML::Parent < ::REXML::Child
3974
3748
  # @param child the child to get the index of
3975
3749
  # @return the index of the child, or nil if the object is not a child
3976
3750
  #
3977
- # source://rexml-3.2.5/lib/rexml/parent.rb:123
3978
- def index(child)
3979
- ;
3980
- end
3751
+ # source://rexml//lib/rexml/parent.rb#123
3752
+ def index(child); end
3981
3753
 
3982
3754
  # Inserts an child after another child
3983
3755
  # child2 will be inserted after child1 in the child list of the parent.
@@ -3988,10 +3760,8 @@ class REXML::Parent < ::REXML::Child
3988
3760
  # @param child2 the child to insert
3989
3761
  # @return the parent (self)
3990
3762
  #
3991
- # source://rexml-3.2.5/lib/rexml/parent.rb:102
3992
- def insert_after(child1, child2)
3993
- ;
3994
- end
3763
+ # source://rexml//lib/rexml/parent.rb#102
3764
+ def insert_after(child1, child2); end
3995
3765
 
3996
3766
  # Inserts an child before another child
3997
3767
  # child2 will be inserted before child1 in the child list of the parent.
@@ -4002,25 +3772,21 @@ class REXML::Parent < ::REXML::Child
4002
3772
  # @param child2 the child to insert
4003
3773
  # @return the parent (self)
4004
3774
  #
4005
- # source://rexml-3.2.5/lib/rexml/parent.rb:82
4006
- def insert_before(child1, child2)
4007
- ;
4008
- end
3775
+ # source://rexml//lib/rexml/parent.rb#82
3776
+ def insert_before(child1, child2); end
4009
3777
 
4010
3778
  # @return the number of children of this parent
4011
3779
  #
4012
- # source://rexml-3.2.5/lib/rexml/parent.rb:130
3780
+ # source://rexml//lib/rexml/parent.rb#130
4013
3781
  def length; end
4014
3782
 
4015
3783
  # @return [Boolean]
4016
3784
  #
4017
- # source://rexml-3.2.5/lib/rexml/parent.rb:162
3785
+ # source://rexml//lib/rexml/parent.rb#162
4018
3786
  def parent?; end
4019
3787
 
4020
- # source://rexml-3.2.5/lib/rexml/parent.rb:18
4021
- def push(object)
4022
- ;
4023
- end
3788
+ # source://rexml//lib/rexml/parent.rb#18
3789
+ def push(object); end
4024
3790
 
4025
3791
  # Replaces one child with another, making sure the nodelist is correct
4026
3792
  # Child)
@@ -4028,86 +3794,74 @@ class REXML::Parent < ::REXML::Child
4028
3794
  # @param to_replace the child to replace (must be a Child)
4029
3795
  # @param replacement the child to insert into the nodelist (must be a
4030
3796
  #
4031
- # source://rexml-3.2.5/lib/rexml/parent.rb:140
4032
- def replace_child(to_replace, replacement)
4033
- ;
4034
- end
3797
+ # source://rexml//lib/rexml/parent.rb#140
3798
+ def replace_child(to_replace, replacement); end
4035
3799
 
4036
3800
  # @return the number of children of this parent
4037
3801
  #
4038
- # source://rexml-3.2.5/lib/rexml/parent.rb:130
3802
+ # source://rexml//lib/rexml/parent.rb#130
4039
3803
  def size; end
4040
3804
 
4041
- # source://rexml-3.2.5/lib/rexml/parent.rb:115
3805
+ # source://rexml//lib/rexml/parent.rb#115
4042
3806
  def to_a; end
4043
3807
 
4044
- # source://rexml-3.2.5/lib/rexml/parent.rb:27
4045
- def unshift(object)
4046
- ;
4047
- end
3808
+ # source://rexml//lib/rexml/parent.rb#27
3809
+ def unshift(object); end
4048
3810
  end
4049
3811
 
4050
- # source://rexml-3.2.5/lib/rexml/parseexception.rb:3
3812
+ # source://rexml//lib/rexml/parseexception.rb#3
4051
3813
  class REXML::ParseException < ::RuntimeError
4052
3814
  # @return [ParseException] a new instance of ParseException
4053
3815
  #
4054
- # source://rexml-3.2.5/lib/rexml/parseexception.rb:6
4055
- def initialize(message, source = T.unsafe(nil), parser = T.unsafe(nil), exception = T.unsafe(nil))
4056
- ;
4057
- end
3816
+ # source://rexml//lib/rexml/parseexception.rb#6
3817
+ def initialize(message, source = T.unsafe(nil), parser = T.unsafe(nil), exception = T.unsafe(nil)); end
4058
3818
 
4059
- # source://rexml-3.2.5/lib/rexml/parseexception.rb:48
3819
+ # source://rexml//lib/rexml/parseexception.rb#48
4060
3820
  def context; end
4061
3821
 
4062
3822
  # Returns the value of attribute continued_exception.
4063
3823
  #
4064
- # source://rexml-3.2.5/lib/rexml/parseexception.rb:4
3824
+ # source://rexml//lib/rexml/parseexception.rb#4
4065
3825
  def continued_exception; end
4066
3826
 
4067
3827
  # Sets the attribute continued_exception
4068
3828
  #
4069
3829
  # @param value the value to set the attribute continued_exception to.
4070
3830
  #
4071
- # source://rexml-3.2.5/lib/rexml/parseexception.rb:4
4072
- def continued_exception=(_arg0)
4073
- ;
4074
- end
3831
+ # source://rexml//lib/rexml/parseexception.rb#4
3832
+ def continued_exception=(_arg0); end
4075
3833
 
4076
- # source://rexml-3.2.5/lib/rexml/parseexception.rb:43
3834
+ # source://rexml//lib/rexml/parseexception.rb#43
4077
3835
  def line; end
4078
3836
 
4079
3837
  # Returns the value of attribute parser.
4080
3838
  #
4081
- # source://rexml-3.2.5/lib/rexml/parseexception.rb:4
3839
+ # source://rexml//lib/rexml/parseexception.rb#4
4082
3840
  def parser; end
4083
3841
 
4084
3842
  # Sets the attribute parser
4085
3843
  #
4086
3844
  # @param value the value to set the attribute parser to.
4087
3845
  #
4088
- # source://rexml-3.2.5/lib/rexml/parseexception.rb:4
4089
- def parser=(_arg0)
4090
- ;
4091
- end
3846
+ # source://rexml//lib/rexml/parseexception.rb#4
3847
+ def parser=(_arg0); end
4092
3848
 
4093
- # source://rexml-3.2.5/lib/rexml/parseexception.rb:38
3849
+ # source://rexml//lib/rexml/parseexception.rb#38
4094
3850
  def position; end
4095
3851
 
4096
3852
  # Returns the value of attribute source.
4097
3853
  #
4098
- # source://rexml-3.2.5/lib/rexml/parseexception.rb:4
3854
+ # source://rexml//lib/rexml/parseexception.rb#4
4099
3855
  def source; end
4100
3856
 
4101
3857
  # Sets the attribute source
4102
3858
  #
4103
3859
  # @param value the value to set the attribute source to.
4104
3860
  #
4105
- # source://rexml-3.2.5/lib/rexml/parseexception.rb:4
4106
- def source=(_arg0)
4107
- ;
4108
- end
3861
+ # source://rexml//lib/rexml/parseexception.rb#4
3862
+ def source=(_arg0); end
4109
3863
 
4110
- # source://rexml-3.2.5/lib/rexml/parseexception.rb:13
3864
+ # source://rexml//lib/rexml/parseexception.rb#13
4111
3865
  def to_s; end
4112
3866
  end
4113
3867
 
@@ -4131,45 +3885,37 @@ end
4131
3885
  #
4132
3886
  # Nat Price gave me some good ideas for the API.
4133
3887
  #
4134
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:29
3888
+ # source://rexml//lib/rexml/parsers/baseparser.rb#29
4135
3889
  class REXML::Parsers::BaseParser
4136
3890
  # @return [BaseParser] a new instance of BaseParser
4137
3891
  #
4138
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:115
4139
- def initialize(source)
4140
- ;
4141
- end
3892
+ # source://rexml//lib/rexml/parsers/baseparser.rb#115
3893
+ def initialize(source); end
4142
3894
 
4143
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:120
4144
- def add_listener(listener)
4145
- ;
4146
- end
3895
+ # source://rexml//lib/rexml/parsers/baseparser.rb#120
3896
+ def add_listener(listener); end
4147
3897
 
4148
3898
  # Returns true if there are no more events
4149
3899
  #
4150
3900
  # @return [Boolean]
4151
3901
  #
4152
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:146
3902
+ # source://rexml//lib/rexml/parsers/baseparser.rb#146
4153
3903
  def empty?; end
4154
3904
 
4155
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:438
4156
- def entity(reference, entities)
4157
- ;
4158
- end
3905
+ # source://rexml//lib/rexml/parsers/baseparser.rb#438
3906
+ def entity(reference, entities); end
4159
3907
 
4160
3908
  # Returns true if there are more events. Synonymous with !empty?
4161
3909
  #
4162
3910
  # @return [Boolean]
4163
3911
  #
4164
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:151
3912
+ # source://rexml//lib/rexml/parsers/baseparser.rb#151
4165
3913
  def has_next?; end
4166
3914
 
4167
3915
  # Escapes all possible entities
4168
3916
  #
4169
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:449
4170
- def normalize(input, entities = T.unsafe(nil), entity_filter = T.unsafe(nil))
4171
- ;
4172
- end
3917
+ # source://rexml//lib/rexml/parsers/baseparser.rb#449
3918
+ def normalize(input, entities = T.unsafe(nil), entity_filter = T.unsafe(nil)); end
4173
3919
 
4174
3920
  # Peek at the +depth+ event in the stack. The first element on the stack
4175
3921
  # is at depth 0. If +depth+ is -1, will parse to the end of the input
@@ -4178,128 +3924,102 @@ class REXML::Parsers::BaseParser
4178
3924
  # event, so you can effectively pre-parse the entire document (pull the
4179
3925
  # entire thing into memory) using this method.
4180
3926
  #
4181
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:167
4182
- def peek(depth = T.unsafe(nil))
4183
- ;
4184
- end
3927
+ # source://rexml//lib/rexml/parsers/baseparser.rb#167
3928
+ def peek(depth = T.unsafe(nil)); end
4185
3929
 
4186
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:136
3930
+ # source://rexml//lib/rexml/parsers/baseparser.rb#136
4187
3931
  def position; end
4188
3932
 
4189
3933
  # Returns the next event. This is a +PullEvent+ object.
4190
3934
  #
4191
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:182
3935
+ # source://rexml//lib/rexml/parsers/baseparser.rb#182
4192
3936
  def pull; end
4193
3937
 
4194
3938
  # Returns the value of attribute source.
4195
3939
  #
4196
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:124
3940
+ # source://rexml//lib/rexml/parsers/baseparser.rb#124
4197
3941
  def source; end
4198
3942
 
4199
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:126
4200
- def stream=(source)
4201
- ;
4202
- end
3943
+ # source://rexml//lib/rexml/parsers/baseparser.rb#126
3944
+ def stream=(source); end
4203
3945
 
4204
3946
  # Unescapes all possible entities
4205
3947
  #
4206
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:465
4207
- def unnormalize(string, entities = T.unsafe(nil), filter = T.unsafe(nil))
4208
- ;
4209
- end
3948
+ # source://rexml//lib/rexml/parsers/baseparser.rb#465
3949
+ def unnormalize(string, entities = T.unsafe(nil), filter = T.unsafe(nil)); end
4210
3950
 
4211
3951
  # Push an event back on the head of the stream. This method
4212
3952
  # has (theoretically) infinite depth.
4213
3953
  #
4214
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:157
4215
- def unshift(token)
4216
- ;
4217
- end
3954
+ # source://rexml//lib/rexml/parsers/baseparser.rb#157
3955
+ def unshift(token); end
4218
3956
 
4219
3957
  private
4220
3958
 
4221
3959
  # @return [Boolean]
4222
3960
  #
4223
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:495
4224
- def need_source_encoding_update?(xml_declaration_encoding)
4225
- ;
4226
- end
3961
+ # source://rexml//lib/rexml/parsers/baseparser.rb#495
3962
+ def need_source_encoding_update?(xml_declaration_encoding); end
4227
3963
 
4228
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:589
4229
- def parse_attributes(prefixes, curr_ns)
4230
- ;
4231
- end
3964
+ # source://rexml//lib/rexml/parsers/baseparser.rb#589
3965
+ def parse_attributes(prefixes, curr_ns); end
4232
3966
 
4233
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:514
4234
- def parse_id(base_error_message, accept_external_id:, accept_public_id:)
4235
- ;
4236
- end
3967
+ # source://rexml//lib/rexml/parsers/baseparser.rb#514
3968
+ def parse_id(base_error_message, accept_external_id:, accept_public_id:); end
4237
3969
 
4238
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:542
4239
- def parse_id_invalid_details(accept_external_id:, accept_public_id:)
4240
- ;
4241
- end
3970
+ # source://rexml//lib/rexml/parsers/baseparser.rb#542
3971
+ def parse_id_invalid_details(accept_external_id:, accept_public_id:); end
4242
3972
 
4243
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:501
4244
- def parse_name(base_error_message)
4245
- ;
4246
- end
3973
+ # source://rexml//lib/rexml/parsers/baseparser.rb#501
3974
+ def parse_name(base_error_message); end
4247
3975
 
4248
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:580
3976
+ # source://rexml//lib/rexml/parsers/baseparser.rb#580
4249
3977
  def process_instruction; end
4250
3978
 
4251
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:190
3979
+ # source://rexml//lib/rexml/parsers/baseparser.rb#190
4252
3980
  def pull_event; end
4253
3981
  end
4254
3982
 
4255
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:102
3983
+ # source://rexml//lib/rexml/parsers/baseparser.rb#102
4256
3984
  REXML::Parsers::BaseParser::EXTERNAL_ID_PUBLIC = T.let(T.unsafe(nil), Regexp)
4257
3985
 
4258
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:103
3986
+ # source://rexml//lib/rexml/parsers/baseparser.rb#103
4259
3987
  REXML::Parsers::BaseParser::EXTERNAL_ID_SYSTEM = T.let(T.unsafe(nil), Regexp)
4260
3988
 
4261
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:104
3989
+ # source://rexml//lib/rexml/parsers/baseparser.rb#104
4262
3990
  REXML::Parsers::BaseParser::PUBLIC_ID = T.let(T.unsafe(nil), Regexp)
4263
3991
 
4264
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:38
3992
+ # source://rexml//lib/rexml/parsers/baseparser.rb#38
4265
3993
  REXML::Parsers::BaseParser::QNAME = T.let(T.unsafe(nil), Regexp)
4266
3994
 
4267
- # source://rexml-3.2.5/lib/rexml/parsers/baseparser.rb:37
3995
+ # source://rexml//lib/rexml/parsers/baseparser.rb#37
4268
3996
  REXML::Parsers::BaseParser::QNAME_STR = T.let(T.unsafe(nil), String)
4269
3997
 
4270
- # source://rexml-3.2.5/lib/rexml/parsers/streamparser.rb:6
3998
+ # source://rexml//lib/rexml/parsers/streamparser.rb#6
4271
3999
  class REXML::Parsers::StreamParser
4272
4000
  # @return [StreamParser] a new instance of StreamParser
4273
4001
  #
4274
- # source://rexml-3.2.5/lib/rexml/parsers/streamparser.rb:7
4275
- def initialize(source, listener)
4276
- ;
4277
- end
4002
+ # source://rexml//lib/rexml/parsers/streamparser.rb#7
4003
+ def initialize(source, listener); end
4278
4004
 
4279
- # source://rexml-3.2.5/lib/rexml/parsers/streamparser.rb:13
4280
- def add_listener(listener)
4281
- ;
4282
- end
4005
+ # source://rexml//lib/rexml/parsers/streamparser.rb#13
4006
+ def add_listener(listener); end
4283
4007
 
4284
- # source://rexml-3.2.5/lib/rexml/parsers/streamparser.rb:17
4008
+ # source://rexml//lib/rexml/parsers/streamparser.rb#17
4285
4009
  def parse; end
4286
4010
  end
4287
4011
 
4288
- # source://rexml-3.2.5/lib/rexml/parsers/treeparser.rb:7
4012
+ # source://rexml//lib/rexml/parsers/treeparser.rb#7
4289
4013
  class REXML::Parsers::TreeParser
4290
4014
  # @return [TreeParser] a new instance of TreeParser
4291
4015
  #
4292
- # source://rexml-3.2.5/lib/rexml/parsers/treeparser.rb:8
4293
- def initialize(source, build_context = T.unsafe(nil))
4294
- ;
4295
- end
4016
+ # source://rexml//lib/rexml/parsers/treeparser.rb#8
4017
+ def initialize(source, build_context = T.unsafe(nil)); end
4296
4018
 
4297
- # source://rexml-3.2.5/lib/rexml/parsers/treeparser.rb:13
4298
- def add_listener(listener)
4299
- ;
4300
- end
4019
+ # source://rexml//lib/rexml/parsers/treeparser.rb#13
4020
+ def add_listener(listener); end
4301
4021
 
4302
- # source://rexml-3.2.5/lib/rexml/parsers/treeparser.rb:17
4022
+ # source://rexml//lib/rexml/parsers/treeparser.rb#17
4303
4023
  def parse; end
4304
4024
  end
4305
4025
 
@@ -4308,175 +4028,135 @@ end
4308
4028
  # There is strange, dark magic at work in this code. Beware. Go back! Go
4309
4029
  # back while you still can!
4310
4030
  #
4311
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:11
4031
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#12
4312
4032
  class REXML::Parsers::XPathParser
4313
4033
  include ::REXML::XMLTokens
4314
4034
 
4315
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:41
4316
- def abbreviate(path)
4317
- ;
4318
- end
4035
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#42
4036
+ def abbreviate(path_or_parsed); end
4319
4037
 
4320
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:99
4321
- def expand(path)
4322
- ;
4323
- end
4038
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#132
4039
+ def expand(path_or_parsed); end
4324
4040
 
4325
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:15
4326
- def namespaces=(namespaces)
4327
- ;
4328
- end
4041
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#16
4042
+ def namespaces=(namespaces); end
4329
4043
 
4330
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:20
4331
- def parse(path)
4332
- ;
4333
- end
4044
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#21
4045
+ def parse(path); end
4334
4046
 
4335
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:35
4336
- def predicate(path)
4337
- ;
4338
- end
4047
+ # For backward compatibility
4048
+ #
4049
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#174
4050
+ def preciate_to_string(parsed, &block); end
4339
4051
 
4340
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:138
4341
- def predicate_to_string(path, &block)
4342
- ;
4343
- end
4052
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#36
4053
+ def predicate(path); end
4054
+
4055
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#174
4056
+ def predicate_to_path(parsed, &block); end
4344
4057
 
4345
4058
  private
4346
4059
 
4347
4060
  # | AdditiveExpr ('+' | '-') MultiplicativeExpr
4348
4061
  # | MultiplicativeExpr
4349
4062
  #
4350
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:455
4351
- def AdditiveExpr(path, parsed)
4352
- ;
4353
- end
4063
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#505
4064
+ def AdditiveExpr(path, parsed); end
4354
4065
 
4355
4066
  # | AndExpr S 'and' S EqualityExpr
4356
4067
  # | EqualityExpr
4357
4068
  #
4358
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:388
4359
- def AndExpr(path, parsed)
4360
- ;
4361
- end
4069
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#438
4070
+ def AndExpr(path, parsed); end
4362
4071
 
4363
4072
  # | EqualityExpr ('=' | '!=') RelationalExpr
4364
4073
  # | RelationalExpr
4365
4074
  #
4366
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:407
4367
- def EqualityExpr(path, parsed)
4368
- ;
4369
- end
4075
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#457
4076
+ def EqualityExpr(path, parsed); end
4370
4077
 
4371
4078
  # | FilterExpr Predicate
4372
4079
  # | PrimaryExpr
4373
4080
  #
4374
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:558
4375
- def FilterExpr(path, parsed)
4376
- ;
4377
- end
4081
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#608
4082
+ def FilterExpr(path, parsed); end
4378
4083
 
4379
4084
  # | FUNCTION_NAME '(' ( expr ( ',' expr )* )? ')'
4380
4085
  #
4381
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:613
4382
- def FunctionCall(rest, parsed)
4383
- ;
4384
- end
4086
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#663
4087
+ def FunctionCall(rest, parsed); end
4385
4088
 
4386
4089
  # LocationPath
4387
4090
  # | RelativeLocationPath
4388
4091
  # | '/' RelativeLocationPath?
4389
4092
  # | '//' RelativeLocationPath
4390
4093
  #
4391
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:193
4392
- def LocationPath(path, parsed)
4393
- ;
4394
- end
4094
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#243
4095
+ def LocationPath(path, parsed); end
4395
4096
 
4396
4097
  # | MultiplicativeExpr ('*' | S ('div' | 'mod') S) UnaryExpr
4397
4098
  # | UnaryExpr
4398
4099
  #
4399
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:478
4400
- def MultiplicativeExpr(path, parsed)
4401
- ;
4402
- end
4100
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#528
4101
+ def MultiplicativeExpr(path, parsed); end
4403
4102
 
4404
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:293
4405
- def NodeTest(path, parsed)
4406
- ;
4407
- end
4103
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#343
4104
+ def NodeTest(path, parsed); end
4408
4105
 
4409
4106
  # | OrExpr S 'or' S AndExpr
4410
4107
  # | AndExpr
4411
4108
  #
4412
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:369
4413
- def OrExpr(path, parsed)
4414
- ;
4415
- end
4109
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#419
4110
+ def OrExpr(path, parsed); end
4416
4111
 
4417
4112
  # | LocationPath
4418
4113
  # | FilterExpr ('/' | '//') RelativeLocationPath
4419
4114
  #
4420
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:540
4421
- def PathExpr(path, parsed)
4422
- ;
4423
- end
4115
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#590
4116
+ def PathExpr(path, parsed); end
4424
4117
 
4425
4118
  # Filters the supplied nodeset on the predicate(s)
4426
4119
  #
4427
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:345
4428
- def Predicate(path, parsed)
4429
- ;
4430
- end
4120
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#395
4121
+ def Predicate(path, parsed); end
4431
4122
 
4432
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:576
4433
- def PrimaryExpr(path, parsed)
4434
- ;
4435
- end
4123
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#626
4124
+ def PrimaryExpr(path, parsed); end
4436
4125
 
4437
4126
  # | RelationalExpr ('<' | '>' | '<=' | '>=') AdditiveExpr
4438
4127
  # | AdditiveExpr
4439
4128
  #
4440
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:430
4441
- def RelationalExpr(path, parsed)
4442
- ;
4443
- end
4129
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#480
4130
+ def RelationalExpr(path, parsed); end
4444
4131
 
4445
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:217
4446
- def RelativeLocationPath(path, parsed)
4447
- ;
4448
- end
4132
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#267
4133
+ def RelativeLocationPath(path, parsed); end
4449
4134
 
4450
4135
  # | '-' UnaryExpr
4451
4136
  # | UnionExpr
4452
4137
  #
4453
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:503
4454
- def UnaryExpr(path, parsed)
4455
- ;
4456
- end
4138
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#553
4139
+ def UnaryExpr(path, parsed); end
4457
4140
 
4458
4141
  # | UnionExpr '|' PathExpr
4459
4142
  # | PathExpr
4460
4143
  #
4461
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:521
4462
- def UnionExpr(path, parsed)
4463
- ;
4464
- end
4144
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#571
4145
+ def UnionExpr(path, parsed); end
4465
4146
 
4466
4147
  # get_group( '[foo]bar' ) -> ['bar', '[foo]']
4467
4148
  #
4468
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:626
4469
- def get_group(string)
4470
- ;
4471
- end
4149
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#676
4150
+ def get_group(string); end
4472
4151
 
4473
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:644
4474
- def parse_args(string)
4475
- ;
4476
- end
4152
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#694
4153
+ def parse_args(string); end
4154
+
4155
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#224
4156
+ def quote_literal(literal); end
4477
4157
  end
4478
4158
 
4479
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:289
4159
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#339
4480
4160
  REXML::Parsers::XPathParser::LOCAL_NAME_WILDCARD = T.let(T.unsafe(nil), Regexp)
4481
4161
 
4482
4162
  # Returns a 1-1 map of the nodeset
@@ -4490,28 +4170,24 @@ REXML::Parsers::XPathParser::LOCAL_NAME_WILDCARD = T.let(T.unsafe(nil), Regexp)
4490
4170
  # | PI '(' LITERAL ')' PI
4491
4171
  # | '[' expr ']' Predicate
4492
4172
  #
4493
- # source://rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:288
4173
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#338
4494
4174
  REXML::Parsers::XPathParser::PREFIX_WILDCARD = T.let(T.unsafe(nil), Regexp)
4495
4175
 
4496
- # source://rexml-3.2.5/lib/rexml/doctype.rb:10
4176
+ # source://rexml//lib/rexml/doctype.rb#10
4497
4177
  class REXML::ReferenceWriter
4498
4178
  # @return [ReferenceWriter] a new instance of ReferenceWriter
4499
4179
  #
4500
- # source://rexml-3.2.5/lib/rexml/doctype.rb:11
4501
- def initialize(id_type, public_id_literal, system_literal, context = T.unsafe(nil))
4502
- ;
4503
- end
4180
+ # source://rexml//lib/rexml/doctype.rb#11
4181
+ def initialize(id_type, public_id_literal, system_literal, context = T.unsafe(nil)); end
4504
4182
 
4505
- # source://rexml-3.2.5/lib/rexml/doctype.rb:25
4506
- def write(output)
4507
- ;
4508
- end
4183
+ # source://rexml//lib/rexml/doctype.rb#25
4184
+ def write(output); end
4509
4185
  end
4510
4186
 
4511
4187
  # A Source can be searched for patterns, and wraps buffers and other
4512
4188
  # objects and provides consumption of text
4513
4189
  #
4514
- # source://rexml-3.2.5/lib/rexml/source.rb:31
4190
+ # source://rexml//lib/rexml/source.rb#31
4515
4191
  class REXML::Source
4516
4192
  include ::REXML::Encoding
4517
4193
 
@@ -4522,68 +4198,56 @@ class REXML::Source
4522
4198
  # @param encoding if non-null, sets the encoding of the source to this
4523
4199
  # @return [Source] a new instance of Source
4524
4200
  #
4525
- # source://rexml-3.2.5/lib/rexml/source.rb:43
4526
- def initialize(arg, encoding = T.unsafe(nil))
4527
- ;
4528
- end
4201
+ # source://rexml//lib/rexml/source.rb#43
4202
+ def initialize(arg, encoding = T.unsafe(nil)); end
4529
4203
 
4530
4204
  # The current buffer (what we're going to read next)
4531
4205
  #
4532
- # source://rexml-3.2.5/lib/rexml/source.rb:34
4206
+ # source://rexml//lib/rexml/source.rb#34
4533
4207
  def buffer; end
4534
4208
 
4535
- # source://rexml-3.2.5/lib/rexml/source.rb:87
4536
- def consume(pattern)
4537
- ;
4538
- end
4209
+ # source://rexml//lib/rexml/source.rb#87
4210
+ def consume(pattern); end
4539
4211
 
4540
4212
  # @return the current line in the source
4541
4213
  #
4542
- # source://rexml-3.2.5/lib/rexml/source.rb:117
4214
+ # source://rexml//lib/rexml/source.rb#117
4543
4215
  def current_line; end
4544
4216
 
4545
4217
  # @return [Boolean] true if the Source is exhausted
4546
4218
  #
4547
- # source://rexml-3.2.5/lib/rexml/source.rb:108
4219
+ # source://rexml//lib/rexml/source.rb#108
4548
4220
  def empty?; end
4549
4221
 
4550
4222
  # Returns the value of attribute encoding.
4551
4223
  #
4552
- # source://rexml-3.2.5/lib/rexml/source.rb:37
4224
+ # source://rexml//lib/rexml/source.rb#37
4553
4225
  def encoding; end
4554
4226
 
4555
4227
  # Inherited from Encoding
4556
4228
  # Overridden to support optimized en/decoding
4557
4229
  #
4558
- # source://rexml-3.2.5/lib/rexml/source.rb:56
4559
- def encoding=(enc)
4560
- ;
4561
- end
4230
+ # source://rexml//lib/rexml/source.rb#56
4231
+ def encoding=(enc); end
4562
4232
 
4563
4233
  # The line number of the last consumed text
4564
4234
  #
4565
- # source://rexml-3.2.5/lib/rexml/source.rb:36
4235
+ # source://rexml//lib/rexml/source.rb#36
4566
4236
  def line; end
4567
4237
 
4568
- # source://rexml-3.2.5/lib/rexml/source.rb:101
4569
- def match(pattern, cons = T.unsafe(nil))
4570
- ;
4571
- end
4238
+ # source://rexml//lib/rexml/source.rb#101
4239
+ def match(pattern, cons = T.unsafe(nil)); end
4572
4240
 
4573
- # source://rexml-3.2.5/lib/rexml/source.rb:91
4574
- def match_to(char, pattern)
4575
- ;
4576
- end
4241
+ # source://rexml//lib/rexml/source.rb#91
4242
+ def match_to(char, pattern); end
4577
4243
 
4578
- # source://rexml-3.2.5/lib/rexml/source.rb:95
4579
- def match_to_consume(char, pattern)
4580
- ;
4581
- end
4244
+ # source://rexml//lib/rexml/source.rb#95
4245
+ def match_to_consume(char, pattern); end
4582
4246
 
4583
- # source://rexml-3.2.5/lib/rexml/source.rb:112
4247
+ # source://rexml//lib/rexml/source.rb#112
4584
4248
  def position; end
4585
4249
 
4586
- # source://rexml-3.2.5/lib/rexml/source.rb:84
4250
+ # source://rexml//lib/rexml/source.rb#84
4587
4251
  def read; end
4588
4252
 
4589
4253
  # Scans the source for a given pattern. Note, that this is not your
@@ -4604,23 +4268,21 @@ class REXML::Source
4604
4268
  # @param consume if true, the pattern returned will be consumed, leaving
4605
4269
  # @return the pattern, if found, or nil if the Source is empty or the
4606
4270
  #
4607
- # source://rexml-3.2.5/lib/rexml/source.rb:77
4608
- def scan(pattern, cons = T.unsafe(nil))
4609
- ;
4610
- end
4271
+ # source://rexml//lib/rexml/source.rb#77
4272
+ def scan(pattern, cons = T.unsafe(nil)); end
4611
4273
 
4612
4274
  private
4613
4275
 
4614
- # source://rexml-3.2.5/lib/rexml/source.rb:125
4276
+ # source://rexml//lib/rexml/source.rb#125
4615
4277
  def detect_encoding; end
4616
4278
 
4617
- # source://rexml-3.2.5/lib/rexml/source.rb:146
4279
+ # source://rexml//lib/rexml/source.rb#146
4618
4280
  def encoding_updated; end
4619
4281
  end
4620
4282
 
4621
4283
  # Represents text nodes in an XML document
4622
4284
  #
4623
- # source://rexml-3.2.5/lib/rexml/text.rb:11
4285
+ # source://rexml//lib/rexml/text.rb#11
4624
4286
  class REXML::Text < ::REXML::Child
4625
4287
  include ::Comparable
4626
4288
 
@@ -4663,10 +4325,8 @@ class REXML::Text < ::REXML::Child
4663
4325
  #
4664
4326
  # @return [Text] a new instance of Text
4665
4327
  #
4666
- # source://rexml-3.2.5/lib/rexml/text.rb:94
4667
- 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))
4668
- ;
4669
- end
4328
+ # source://rexml//lib/rexml/text.rb#94
4329
+ 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
4670
4330
 
4671
4331
  # Appends text to this text node. The text is appended in the +raw+ mode
4672
4332
  # of this text node.
@@ -4674,57 +4334,47 @@ class REXML::Text < ::REXML::Child
4674
4334
  # +returns+ the text itself to enable method chain like
4675
4335
  # 'text << "XXX" << "YYY"'.
4676
4336
  #
4677
- # source://rexml-3.2.5/lib/rexml/text.rb:194
4678
- def <<(to_append)
4679
- ;
4680
- end
4337
+ # source://rexml//lib/rexml/text.rb#194
4338
+ def <<(to_append); end
4681
4339
 
4682
4340
  # +other+ a String or a Text
4683
4341
  # +returns+ the result of (to_s <=> arg.to_s)
4684
4342
  #
4685
- # source://rexml-3.2.5/lib/rexml/text.rb:203
4686
- def <=>(other)
4687
- ;
4688
- end
4343
+ # source://rexml//lib/rexml/text.rb#203
4344
+ def <=>(other); end
4689
4345
 
4690
- # source://rexml-3.2.5/lib/rexml/text.rb:184
4346
+ # source://rexml//lib/rexml/text.rb#184
4691
4347
  def clone; end
4692
4348
 
4693
- # source://rexml-3.2.5/lib/rexml/text.rb:207
4349
+ # source://rexml//lib/rexml/text.rb#207
4694
4350
  def doctype; end
4695
4351
 
4696
4352
  # @return [Boolean]
4697
4353
  #
4698
- # source://rexml-3.2.5/lib/rexml/text.rb:179
4354
+ # source://rexml//lib/rexml/text.rb#179
4699
4355
  def empty?; end
4700
4356
 
4701
- # source://rexml-3.2.5/lib/rexml/text.rb:278
4702
- def indent_text(string, level = T.unsafe(nil), style = T.unsafe(nil), indentfirstline = T.unsafe(nil))
4703
- ;
4704
- end
4357
+ # source://rexml//lib/rexml/text.rb#278
4358
+ def indent_text(string, level = T.unsafe(nil), style = T.unsafe(nil), indentfirstline = T.unsafe(nil)); end
4705
4359
 
4706
- # source://rexml-3.2.5/lib/rexml/text.rb:233
4360
+ # source://rexml//lib/rexml/text.rb#233
4707
4361
  def inspect; end
4708
4362
 
4709
- # source://rexml-3.2.5/lib/rexml/text.rb:175
4363
+ # source://rexml//lib/rexml/text.rb#175
4710
4364
  def node_type; end
4711
4365
 
4712
- # source://rexml-3.2.5/lib/rexml/text.rb:125
4713
- def parent=(parent)
4714
- ;
4715
- end
4366
+ # source://rexml//lib/rexml/text.rb#125
4367
+ def parent=(parent); end
4716
4368
 
4717
4369
  # If +raw+ is true, then REXML leaves the value alone
4718
4370
  #
4719
- # source://rexml-3.2.5/lib/rexml/text.rb:21
4371
+ # source://rexml//lib/rexml/text.rb#21
4720
4372
  def raw; end
4721
4373
 
4722
4374
  # If +raw+ is true, then REXML leaves the value alone
4723
4375
  #
4724
- # source://rexml-3.2.5/lib/rexml/text.rb:21
4725
- def raw=(_arg0)
4726
- ;
4727
- end
4376
+ # source://rexml//lib/rexml/text.rb#21
4377
+ def raw=(_arg0); end
4728
4378
 
4729
4379
  # Returns the string value of this text node. This string is always
4730
4380
  # escaped, meaning that it is a valid XML text node string, and all
@@ -4740,7 +4390,7 @@ class REXML::Text < ::REXML::Child
4740
4390
  # u = Text.new( "sean russell", false, nil, true )
4741
4391
  # u.to_s #-> "sean russell"
4742
4392
  #
4743
- # source://rexml-3.2.5/lib/rexml/text.rb:228
4393
+ # source://rexml//lib/rexml/text.rb#228
4744
4394
  def to_s; end
4745
4395
 
4746
4396
  # Returns the string value of this text. This is the text without
@@ -4757,7 +4407,7 @@ class REXML::Text < ::REXML::Child
4757
4407
  # u = Text.new( "sean russell", false, nil, true )
4758
4408
  # u.value #-> "sean russell"
4759
4409
  #
4760
- # source://rexml-3.2.5/lib/rexml/text.rb:250
4410
+ # source://rexml//lib/rexml/text.rb#250
4761
4411
  def value; end
4762
4412
 
4763
4413
  # Sets the contents of this text node. This expects the text to be
@@ -4768,23 +4418,17 @@ class REXML::Text < ::REXML::Child
4768
4418
  # e[0].value = "bar" # <a>bar</a>
4769
4419
  # e[0].value = "<a>" # <a>&lt;a&gt;</a>
4770
4420
  #
4771
- # source://rexml-3.2.5/lib/rexml/text.rb:261
4772
- def value=(val)
4773
- ;
4774
- end
4421
+ # source://rexml//lib/rexml/text.rb#261
4422
+ def value=(val); end
4775
4423
 
4776
- # source://rexml-3.2.5/lib/rexml/text.rb:267
4777
- def wrap(string, width, addnewline = T.unsafe(nil))
4778
- ;
4779
- end
4424
+ # source://rexml//lib/rexml/text.rb#267
4425
+ def wrap(string, width, addnewline = T.unsafe(nil)); end
4780
4426
 
4781
4427
  # == DEPRECATED
4782
4428
  # See REXML::Formatters
4783
4429
  #
4784
- # source://rexml-3.2.5/lib/rexml/text.rb:293
4785
- def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil))
4786
- ;
4787
- end
4430
+ # source://rexml//lib/rexml/text.rb#293
4431
+ def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
4788
4432
 
4789
4433
  # Writes out text, substituting special characters beforehand.
4790
4434
  # +out+ A String, IO, or any other object supporting <<( String )
@@ -4801,153 +4445,125 @@ class REXML::Text < ::REXML::Child
4801
4445
  # }
4802
4446
  # puts ascOut
4803
4447
  #
4804
- # source://rexml-3.2.5/lib/rexml/text.rb:325
4805
- def write_with_substitution(out, input)
4806
- ;
4807
- end
4448
+ # source://rexml//lib/rexml/text.rb#325
4449
+ def write_with_substitution(out, input); end
4808
4450
 
4809
4451
  # FIXME
4810
4452
  # This probably won't work properly
4811
4453
  #
4812
- # source://rexml-3.2.5/lib/rexml/text.rb:305
4454
+ # source://rexml//lib/rexml/text.rb#305
4813
4455
  def xpath; end
4814
4456
 
4815
4457
  private
4816
4458
 
4817
- # source://rexml-3.2.5/lib/rexml/text.rb:338
4459
+ # source://rexml//lib/rexml/text.rb#338
4818
4460
  def clear_cache; end
4819
4461
 
4820
4462
  class << self
4821
4463
  # check for illegal characters
4822
4464
  #
4823
- # source://rexml-3.2.5/lib/rexml/text.rb:131
4824
- def check(string, pattern, doctype)
4825
- ;
4826
- end
4465
+ # source://rexml//lib/rexml/text.rb#131
4466
+ def check(string, pattern, doctype); end
4827
4467
 
4828
- # source://rexml-3.2.5/lib/rexml/text.rb:405
4829
- def expand(ref, doctype, filter)
4830
- ;
4831
- end
4468
+ # source://rexml//lib/rexml/text.rb#407
4469
+ def expand(ref, doctype, filter); end
4832
4470
 
4833
4471
  # Escapes all possible entities
4834
4472
  #
4835
- # source://rexml-3.2.5/lib/rexml/text.rb:370
4836
- def normalize(input, doctype = T.unsafe(nil), entity_filter = T.unsafe(nil))
4837
- ;
4838
- end
4473
+ # source://rexml//lib/rexml/text.rb#370
4474
+ def normalize(input, doctype = T.unsafe(nil), entity_filter = T.unsafe(nil)); end
4839
4475
 
4840
4476
  # Reads text, substituting entities
4841
4477
  #
4842
- # source://rexml-3.2.5/lib/rexml/text.rb:344
4843
- def read_with_substitution(input, illegal = T.unsafe(nil))
4844
- ;
4845
- end
4478
+ # source://rexml//lib/rexml/text.rb#344
4479
+ def read_with_substitution(input, illegal = T.unsafe(nil)); end
4846
4480
 
4847
4481
  # Unescapes all possible entities
4848
4482
  #
4849
- # source://rexml-3.2.5/lib/rexml/text.rb:392
4850
- def unnormalize(string, doctype = T.unsafe(nil), filter = T.unsafe(nil), illegal = T.unsafe(nil))
4851
- ;
4852
- end
4483
+ # source://rexml//lib/rexml/text.rb#394
4484
+ def unnormalize(string, doctype = T.unsafe(nil), filter = T.unsafe(nil), illegal = T.unsafe(nil)); end
4853
4485
  end
4854
4486
  end
4855
4487
 
4856
- # source://rexml-3.2.5/lib/rexml/undefinednamespaceexception.rb:4
4488
+ # source://rexml//lib/rexml/undefinednamespaceexception.rb#4
4857
4489
  class REXML::UndefinedNamespaceException < ::REXML::ParseException
4858
4490
  # @return [UndefinedNamespaceException] a new instance of UndefinedNamespaceException
4859
4491
  #
4860
- # source://rexml-3.2.5/lib/rexml/undefinednamespaceexception.rb:5
4861
- def initialize(prefix, source, parser)
4862
- ;
4863
- end
4492
+ # source://rexml//lib/rexml/undefinednamespaceexception.rb#5
4493
+ def initialize(prefix, source, parser); end
4864
4494
  end
4865
4495
 
4866
- # source://rexml-3.2.5/lib/rexml/validation/validationexception.rb:4
4496
+ # source://rexml//lib/rexml/validation/validationexception.rb#4
4867
4497
  class REXML::Validation::ValidationException < ::RuntimeError
4868
4498
  # @return [ValidationException] a new instance of ValidationException
4869
4499
  #
4870
- # source://rexml-3.2.5/lib/rexml/validation/validationexception.rb:5
4871
- def initialize(msg)
4872
- ;
4873
- end
4500
+ # source://rexml//lib/rexml/validation/validationexception.rb#5
4501
+ def initialize(msg); end
4874
4502
  end
4875
4503
 
4876
4504
  # NEEDS DOCUMENTATION
4877
4505
  #
4878
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:8
4506
+ # source://rexml//lib/rexml/xmldecl.rb#8
4879
4507
  class REXML::XMLDecl < ::REXML::Child
4880
4508
  include ::REXML::Encoding
4881
4509
 
4882
4510
  # @return [XMLDecl] a new instance of XMLDecl
4883
4511
  #
4884
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:20
4885
- def initialize(version = T.unsafe(nil), encoding = T.unsafe(nil), standalone = T.unsafe(nil))
4886
- ;
4887
- end
4512
+ # source://rexml//lib/rexml/xmldecl.rb#20
4513
+ def initialize(version = T.unsafe(nil), encoding = T.unsafe(nil), standalone = T.unsafe(nil)); end
4888
4514
 
4889
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:56
4890
- def ==(other)
4891
- ;
4892
- end
4515
+ # source://rexml//lib/rexml/xmldecl.rb#56
4516
+ def ==(other); end
4893
4517
 
4894
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:39
4518
+ # source://rexml//lib/rexml/xmldecl.rb#39
4895
4519
  def clone; end
4896
4520
 
4897
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:102
4521
+ # source://rexml//lib/rexml/xmldecl.rb#102
4898
4522
  def dowrite; end
4899
4523
 
4900
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:76
4901
- def encoding=(enc)
4902
- ;
4903
- end
4524
+ # source://rexml//lib/rexml/xmldecl.rb#76
4525
+ def encoding=(enc); end
4904
4526
 
4905
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:106
4527
+ # source://rexml//lib/rexml/xmldecl.rb#106
4906
4528
  def inspect; end
4907
4529
 
4908
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:69
4530
+ # source://rexml//lib/rexml/xmldecl.rb#69
4909
4531
  def node_type; end
4910
4532
 
4911
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:98
4533
+ # source://rexml//lib/rexml/xmldecl.rb#98
4912
4534
  def nowrite; end
4913
4535
 
4914
- # source://rexml-3.2.5/lib/rexml/encoding.rb:7
4915
- def old_enc=(encoding)
4916
- ;
4917
- end
4536
+ # source://rexml//lib/rexml/encoding.rb#7
4537
+ def old_enc=(encoding); end
4918
4538
 
4919
4539
  # Returns the value of attribute standalone.
4920
4540
  #
4921
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:17
4541
+ # source://rexml//lib/rexml/xmldecl.rb#17
4922
4542
  def stand_alone?; end
4923
4543
 
4924
4544
  # Returns the value of attribute standalone.
4925
4545
  #
4926
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:17
4546
+ # source://rexml//lib/rexml/xmldecl.rb#17
4927
4547
  def standalone; end
4928
4548
 
4929
4549
  # Sets the attribute standalone
4930
4550
  #
4931
4551
  # @param value the value to set the attribute standalone to.
4932
4552
  #
4933
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:17
4934
- def standalone=(_arg0)
4935
- ;
4936
- end
4553
+ # source://rexml//lib/rexml/xmldecl.rb#17
4554
+ def standalone=(_arg0); end
4937
4555
 
4938
4556
  # Returns the value of attribute version.
4939
4557
  #
4940
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:17
4558
+ # source://rexml//lib/rexml/xmldecl.rb#17
4941
4559
  def version; end
4942
4560
 
4943
4561
  # Sets the attribute version
4944
4562
  #
4945
4563
  # @param value the value to set the attribute version to.
4946
4564
  #
4947
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:17
4948
- def version=(_arg0)
4949
- ;
4950
- end
4565
+ # source://rexml//lib/rexml/xmldecl.rb#17
4566
+ def version=(_arg0); end
4951
4567
 
4952
4568
  # indent::
4953
4569
  # Ignored. There must be no whitespace before an XML declaration
@@ -4956,32 +4572,26 @@ class REXML::XMLDecl < ::REXML::Child
4956
4572
  # ie_hack::
4957
4573
  # Ignored
4958
4574
  #
4959
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:49
4960
- def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil))
4961
- ;
4962
- end
4575
+ # source://rexml//lib/rexml/xmldecl.rb#49
4576
+ def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
4963
4577
 
4964
4578
  # Returns the value of attribute writeencoding.
4965
4579
  #
4966
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:18
4580
+ # source://rexml//lib/rexml/xmldecl.rb#18
4967
4581
  def writeencoding; end
4968
4582
 
4969
4583
  # Returns the value of attribute writethis.
4970
4584
  #
4971
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:18
4585
+ # source://rexml//lib/rexml/xmldecl.rb#18
4972
4586
  def writethis; end
4973
4587
 
4974
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:63
4975
- def xmldecl(version, encoding, standalone)
4976
- ;
4977
- end
4588
+ # source://rexml//lib/rexml/xmldecl.rb#63
4589
+ def xmldecl(version, encoding, standalone); end
4978
4590
 
4979
4591
  private
4980
4592
 
4981
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:111
4982
- def content(enc)
4983
- ;
4984
- end
4593
+ # source://rexml//lib/rexml/xmldecl.rb#111
4594
+ def content(enc); end
4985
4595
 
4986
4596
  class << self
4987
4597
  # Only use this if you do not want the XML declaration to be written;
@@ -4990,33 +4600,31 @@ class REXML::XMLDecl < ::REXML::Child
4990
4600
  #
4991
4601
  # Note that XML 1.1 documents *must* include an XML declaration
4992
4602
  #
4993
- # source://rexml-3.2.5/lib/rexml/xmldecl.rb:92
4603
+ # source://rexml//lib/rexml/xmldecl.rb#92
4994
4604
  def default; end
4995
4605
  end
4996
4606
  end
4997
4607
 
4998
4608
  # @private
4999
4609
  #
5000
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:959
4610
+ # source://rexml//lib/rexml/xpath_parser.rb#959
5001
4611
  class REXML::XPathNode
5002
4612
  # @return [XPathNode] a new instance of XPathNode
5003
4613
  #
5004
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:961
5005
- def initialize(node, context = T.unsafe(nil))
5006
- ;
5007
- end
4614
+ # source://rexml//lib/rexml/xpath_parser.rb#961
4615
+ def initialize(node, context = T.unsafe(nil)); end
5008
4616
 
5009
4617
  # Returns the value of attribute context.
5010
4618
  #
5011
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:960
4619
+ # source://rexml//lib/rexml/xpath_parser.rb#960
5012
4620
  def context; end
5013
4621
 
5014
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:970
4622
+ # source://rexml//lib/rexml/xpath_parser.rb#970
5015
4623
  def position; end
5016
4624
 
5017
4625
  # Returns the value of attribute raw_node.
5018
4626
  #
5019
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:960
4627
+ # source://rexml//lib/rexml/xpath_parser.rb#960
5020
4628
  def raw_node; end
5021
4629
  end
5022
4630
 
@@ -5025,126 +4633,84 @@ end
5025
4633
  # There is strange, dark magic at work in this code. Beware. Go back! Go
5026
4634
  # back while you still can!
5027
4635
  #
5028
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:54
4636
+ # source://rexml//lib/rexml/xpath_parser.rb#54
5029
4637
  class REXML::XPathParser
5030
4638
  include ::REXML::XMLTokens
5031
4639
 
5032
4640
  # @return [XPathParser] a new instance of XPathParser
5033
4641
  #
5034
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:60
5035
- def initialize(strict: T.unsafe(nil))
5036
- ;
5037
- end
4642
+ # source://rexml//lib/rexml/xpath_parser.rb#60
4643
+ def initialize(strict: T.unsafe(nil)); end
5038
4644
 
5039
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:94
5040
- def []=(variable_name, value)
5041
- ;
5042
- end
4645
+ # source://rexml//lib/rexml/xpath_parser.rb#94
4646
+ def []=(variable_name, value); end
5043
4647
 
5044
4648
  # Performs a depth-first (document order) XPath search, and returns the
5045
4649
  # first match. This is the fastest, lightest way to return a single result.
5046
4650
  #
5047
4651
  # FIXME: This method is incomplete!
5048
4652
  #
5049
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:103
5050
- def first(path_stack, node)
5051
- ;
5052
- end
4653
+ # source://rexml//lib/rexml/xpath_parser.rb#103
4654
+ def first(path_stack, node); end
5053
4655
 
5054
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:84
5055
- def get_first(path, nodeset)
5056
- ;
5057
- end
4656
+ # source://rexml//lib/rexml/xpath_parser.rb#84
4657
+ def get_first(path, nodeset); end
5058
4658
 
5059
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:139
5060
- def match(path_stack, nodeset)
5061
- ;
5062
- end
4659
+ # source://rexml//lib/rexml/xpath_parser.rb#139
4660
+ def match(path_stack, nodeset); end
5063
4661
 
5064
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:69
5065
- def namespaces=(namespaces = T.unsafe(nil))
5066
- ;
5067
- end
4662
+ # source://rexml//lib/rexml/xpath_parser.rb#69
4663
+ def namespaces=(namespaces = T.unsafe(nil)); end
5068
4664
 
5069
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:79
5070
- def parse(path, nodeset)
5071
- ;
5072
- end
4665
+ # source://rexml//lib/rexml/xpath_parser.rb#79
4666
+ def parse(path, nodeset); end
5073
4667
 
5074
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:89
5075
- def predicate(path, nodeset)
5076
- ;
5077
- end
4668
+ # source://rexml//lib/rexml/xpath_parser.rb#89
4669
+ def predicate(path, nodeset); end
5078
4670
 
5079
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:74
5080
- def variables=(vars = T.unsafe(nil))
5081
- ;
5082
- end
4671
+ # source://rexml//lib/rexml/xpath_parser.rb#74
4672
+ def variables=(vars = T.unsafe(nil)); end
5083
4673
 
5084
4674
  private
5085
4675
 
5086
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:775
5087
- def child(nodeset)
5088
- ;
5089
- end
4676
+ # source://rexml//lib/rexml/xpath_parser.rb#775
4677
+ def child(nodeset); end
5090
4678
 
5091
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:916
5092
- def compare(a, operator, b)
5093
- ;
5094
- end
4679
+ # source://rexml//lib/rexml/xpath_parser.rb#916
4680
+ def compare(a, operator, b); end
5095
4681
 
5096
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:678
5097
- def descendant(nodeset, include_self)
5098
- ;
5099
- end
4682
+ # source://rexml//lib/rexml/xpath_parser.rb#678
4683
+ def descendant(nodeset, include_self); end
5100
4684
 
5101
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:689
5102
- def descendant_recursive(raw_node, new_nodeset, new_nodes, include_self)
5103
- ;
5104
- end
4685
+ # source://rexml//lib/rexml/xpath_parser.rb#689
4686
+ def descendant_recursive(raw_node, new_nodeset, new_nodes, include_self); end
5105
4687
 
5106
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:938
5107
- def each_unnode(nodeset)
5108
- ;
5109
- end
4688
+ # source://rexml//lib/rexml/xpath_parser.rb#938
4689
+ def each_unnode(nodeset); end
5110
4690
 
5111
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:637
5112
- def enter(tag, *args)
5113
- ;
5114
- end
4691
+ # source://rexml//lib/rexml/xpath_parser.rb#637
4692
+ def enter(tag, *args); end
5115
4693
 
5116
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:815
5117
- def equality_relational_compare(set1, op, set2)
5118
- ;
5119
- end
4694
+ # source://rexml//lib/rexml/xpath_parser.rb#815
4695
+ def equality_relational_compare(set1, op, set2); end
5120
4696
 
5121
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:591
5122
- def evaluate_predicate(expression, nodesets)
5123
- ;
5124
- end
4697
+ # source://rexml//lib/rexml/xpath_parser.rb#591
4698
+ def evaluate_predicate(expression, nodesets); end
5125
4699
 
5126
4700
  # Expr takes a stack of path elements and a set of nodes (either a Parent
5127
4701
  # or an Array and returns an Array of matching nodes
5128
4702
  #
5129
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:175
5130
- def expr(path_stack, nodeset, context = T.unsafe(nil))
5131
- ;
5132
- end
4703
+ # source://rexml//lib/rexml/xpath_parser.rb#175
4704
+ def expr(path_stack, nodeset, context = T.unsafe(nil)); end
5133
4705
 
5134
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:582
5135
- def filter_nodeset(nodeset)
5136
- ;
5137
- end
4706
+ # source://rexml//lib/rexml/xpath_parser.rb#582
4707
+ def filter_nodeset(nodeset); end
5138
4708
 
5139
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:745
5140
- def following(node)
5141
- ;
5142
- end
4709
+ # source://rexml//lib/rexml/xpath_parser.rb#745
4710
+ def following(node); end
5143
4711
 
5144
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:756
5145
- def following_node_of(node)
5146
- ;
5147
- end
4712
+ # source://rexml//lib/rexml/xpath_parser.rb#756
4713
+ def following_node_of(node); end
5148
4714
 
5149
4715
  # Returns a String namespace for a node, given a prefix
5150
4716
  # The rules are:
@@ -5152,50 +4718,34 @@ class REXML::XPathParser
5152
4718
  # 1. Use the supplied namespace mapping first.
5153
4719
  # 2. If no mapping was supplied, use the context node to look up the namespace
5154
4720
  #
5155
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:163
5156
- def get_namespace(node, prefix)
5157
- ;
5158
- end
4721
+ # source://rexml//lib/rexml/xpath_parser.rb#163
4722
+ def get_namespace(node, prefix); end
5159
4723
 
5160
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:642
5161
- def leave(tag, *args)
5162
- ;
5163
- end
4724
+ # source://rexml//lib/rexml/xpath_parser.rb#642
4725
+ def leave(tag, *args); end
5164
4726
 
5165
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:763
5166
- def next_sibling_node(node)
5167
- ;
5168
- end
4727
+ # source://rexml//lib/rexml/xpath_parser.rb#763
4728
+ def next_sibling_node(node); end
5169
4729
 
5170
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:477
5171
- def node_test(path_stack, nodesets, any_type: T.unsafe(nil))
5172
- ;
5173
- end
4730
+ # source://rexml//lib/rexml/xpath_parser.rb#477
4731
+ def node_test(path_stack, nodesets, any_type: T.unsafe(nil)); end
5174
4732
 
5175
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:802
5176
- def norm(b)
5177
- ;
5178
- end
4733
+ # source://rexml//lib/rexml/xpath_parser.rb#802
4734
+ def norm(b); end
5179
4735
 
5180
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:890
5181
- def normalize_compare_values(a, operator, b)
5182
- ;
5183
- end
4736
+ # source://rexml//lib/rexml/xpath_parser.rb#890
4737
+ def normalize_compare_values(a, operator, b); end
5184
4738
 
5185
4739
  # Builds a nodeset of all of the preceding nodes of the supplied node,
5186
4740
  # in reverse document order
5187
4741
  # preceding:: includes every element in the document that precedes this node,
5188
4742
  # except for ancestors
5189
4743
  #
5190
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:708
5191
- def preceding(node)
5192
- ;
5193
- end
4744
+ # source://rexml//lib/rexml/xpath_parser.rb#708
4745
+ def preceding(node); end
5194
4746
 
5195
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:730
5196
- def preceding_node_of(node)
5197
- ;
5198
- end
4747
+ # source://rexml//lib/rexml/xpath_parser.rb#730
4748
+ def preceding_node_of(node); end
5199
4749
 
5200
4750
  # Reorders an array of nodes so that they are in document order
5201
4751
  # It tries to do this efficiently.
@@ -5206,33 +4756,26 @@ class REXML::XPathParser
5206
4756
  # I wouldn't have to do this. Maybe add a document IDX for each node?
5207
4757
  # Problems with mutable documents. Or, rewrite everything.
5208
4758
  #
5209
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:655
5210
- def sort(array_of_nodes, order)
5211
- ;
5212
- end
4759
+ # source://rexml//lib/rexml/xpath_parser.rb#655
4760
+ def sort(array_of_nodes, order); end
5213
4761
 
5214
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:441
5215
- def step(path_stack, any_type: T.unsafe(nil), order: T.unsafe(nil))
5216
- ;
5217
- end
4762
+ # source://rexml//lib/rexml/xpath_parser.rb#441
4763
+ def step(path_stack, any_type: T.unsafe(nil), order: T.unsafe(nil)); end
5218
4764
 
5219
4765
  # @return [Boolean]
5220
4766
  #
5221
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:154
4767
+ # source://rexml//lib/rexml/xpath_parser.rb#154
5222
4768
  def strict?; end
5223
4769
 
5224
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:630
5225
- def trace(*args)
5226
- ;
5227
- end
4770
+ # source://rexml//lib/rexml/xpath_parser.rb#630
4771
+ def trace(*args); end
5228
4772
 
5229
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:950
5230
- def unnode(nodeset)
5231
- ;
5232
- end
4773
+ # source://rexml//lib/rexml/xpath_parser.rb#950
4774
+ def unnode(nodeset); end
5233
4775
 
5234
- # source://rexml-3.2.5/lib/rexml/xpath_parser.rb:877
5235
- def value_type(value)
5236
- ;
5237
- end
4776
+ # source://rexml//lib/rexml/xpath_parser.rb#877
4777
+ def value_type(value); end
5238
4778
  end
4779
+
4780
+ # source://rexml//lib/rexml/xpath_parser.rb#58
4781
+ REXML::XPathParser::DEBUG = T.let(T.unsafe(nil), FalseClass)