lunchmoney 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +1 -1
  3. data/.simplecov +1 -2
  4. data/Gemfile +2 -3
  5. data/Gemfile.lock +66 -68
  6. data/lib/lunchmoney/objects/transaction.rb +9 -1
  7. data/lib/lunchmoney/version.rb +1 -1
  8. data/sorbet/rbi/annotations/activesupport.rbi +31 -0
  9. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  10. data/sorbet/rbi/gems/{activesupport@7.1.3.2.rbi → activesupport@7.2.1.rbi} +1345 -1253
  11. data/sorbet/rbi/gems/{addressable@2.8.6.rbi → addressable@2.8.7.rbi} +2 -1
  12. data/sorbet/rbi/gems/{bigdecimal@3.1.7.rbi → bigdecimal@3.1.8.rbi} +1 -0
  13. data/sorbet/rbi/gems/{chef-utils@18.4.2.rbi → chef-utils@18.5.0.rbi} +1 -0
  14. data/sorbet/rbi/gems/{concurrent-ruby@1.2.3.rbi → concurrent-ruby@1.3.4.rbi} +64 -9
  15. data/sorbet/rbi/gems/{docile@1.4.0.rbi → docile@1.4.1.rbi} +1 -0
  16. data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.0.rbi} +20 -15
  17. data/sorbet/rbi/gems/{faraday-net_http@3.1.0.rbi → faraday-net_http@3.1.1.rbi} +36 -35
  18. data/sorbet/rbi/gems/{faraday@2.9.0.rbi → faraday@2.10.1.rbi} +79 -33
  19. data/sorbet/rbi/gems/{hashdiff@1.1.0.rbi → hashdiff@1.1.1.rbi} +3 -2
  20. data/sorbet/rbi/gems/{i18n@1.14.4.rbi → i18n@1.14.5.rbi} +43 -14
  21. data/sorbet/rbi/gems/logger@1.6.0.rbi +903 -0
  22. data/sorbet/rbi/gems/{minitest@5.22.3.rbi → minitest@5.25.1.rbi} +245 -235
  23. data/sorbet/rbi/gems/{mixlib-shellout@3.2.7.rbi → mixlib-shellout@3.2.8.rbi} +1 -0
  24. data/sorbet/rbi/gems/{mocha@2.2.0.rbi → mocha@2.4.5.rbi} +36 -47
  25. data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.26.3.rbi} +32 -21
  26. data/sorbet/rbi/gems/{parser@3.3.1.0.rbi → parser@3.3.4.2.rbi} +233 -186
  27. data/sorbet/rbi/gems/{prism@0.29.0.rbi → prism@0.30.0.rbi} +5670 -4445
  28. data/sorbet/rbi/gems/{public_suffix@5.0.4.rbi → public_suffix@6.0.1.rbi} +1 -0
  29. data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.1.rbi} +34 -33
  30. data/sorbet/rbi/gems/{rack@3.0.10.rbi → rack@3.1.7.rbi} +694 -987
  31. data/sorbet/rbi/gems/{rake@13.1.0.rbi → rake@13.2.1.rbi} +56 -55
  32. data/sorbet/rbi/gems/{rbi@0.1.13.rbi → rbi@0.1.14.rbi} +865 -638
  33. data/sorbet/rbi/gems/{regexp_parser@2.9.1.rbi → regexp_parser@2.9.2.rbi} +2 -2
  34. data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.3.6.rbi} +383 -245
  35. data/sorbet/rbi/gems/{rubocop-ast@1.31.3.rbi → rubocop-ast@1.32.1.rbi} +383 -337
  36. data/sorbet/rbi/gems/{rubocop-minitest@0.35.0.rbi → rubocop-minitest@0.35.1.rbi} +11 -8
  37. data/sorbet/rbi/gems/{rubocop-rails@2.24.1.rbi → rubocop-rails@2.26.0.rbi} +604 -275
  38. data/sorbet/rbi/gems/{rubocop-sorbet@0.8.3.rbi → rubocop-sorbet@0.8.5.rbi} +125 -67
  39. data/sorbet/rbi/gems/{rubocop@1.63.5.rbi → rubocop@1.65.1.rbi} +1722 -1408
  40. data/sorbet/rbi/gems/securerandom@0.3.1.rbi +73 -0
  41. data/sorbet/rbi/gems/{spoom@1.3.2.rbi → spoom@1.4.2.rbi} +2377 -1866
  42. data/sorbet/rbi/gems/strscan@3.1.0.rbi +9 -0
  43. data/sorbet/rbi/gems/{tapioca@0.14.1.rbi → tapioca@0.16.1.rbi} +274 -253
  44. data/sorbet/rbi/gems/{toys-core@0.15.5.rbi → toys-core@0.15.6.rbi} +1 -0
  45. data/sorbet/rbi/gems/{toys@0.15.5.rbi → toys@0.15.6.rbi} +4 -3
  46. data/sorbet/rbi/gems/{vcr@6.2.0.rbi → vcr@6.3.1.rbi} +72 -68
  47. data/sorbet/rbi/gems/{webmock@3.23.0.rbi → webmock@3.23.1.rbi} +1 -0
  48. data/sorbet/rbi/gems/{yard-sorbet@0.8.1.rbi → yard-sorbet@0.9.0.rbi} +36 -29
  49. metadata +43 -44
  50. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3426
  51. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -272
  52. data/sorbet/rbi/gems/mutex_m@0.2.0.rbi +0 -93
  53. data/sorbet/rbi/gems/pry-sorbet@0.2.1.rbi +0 -966
  54. data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10077
@@ -1,9 +1,10 @@
1
- # typed: true
1
+ # typed: false
2
2
 
3
3
  # DO NOT EDIT MANUALLY
4
4
  # This is an autogenerated file for types exported from the `rexml` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem rexml`.
6
6
 
7
+
7
8
  # This class needs:
8
9
  # * Documentation
9
10
  # * Work! Not all types of attlists are intelligently parsed, so we just
@@ -226,7 +227,7 @@ end
226
227
  # A class that defines the set of Attributes of an Element and provides
227
228
  # operations for accessing elements in that set.
228
229
  #
229
- # source://rexml//lib/rexml/element.rb#2141
230
+ # source://rexml//lib/rexml/element.rb#2137
230
231
  class REXML::Attributes < ::Hash
231
232
  # :call-seq:
232
233
  # new(element)
@@ -247,7 +248,7 @@ class REXML::Attributes < ::Hash
247
248
  #
248
249
  # @return [Attributes] a new instance of Attributes
249
250
  #
250
- # source://rexml//lib/rexml/element.rb#2160
251
+ # source://rexml//lib/rexml/element.rb#2156
251
252
  def initialize(element); end
252
253
 
253
254
  # :call-seq:
@@ -270,7 +271,7 @@ class REXML::Attributes < ::Hash
270
271
  # attrs.add(REXML::Attribute.new('baz', '3')) # => baz='3'
271
272
  # attrs.include?('baz') # => true
272
273
  #
273
- # source://rexml//lib/rexml/element.rb#2537
274
+ # source://rexml//lib/rexml/element.rb#2522
274
275
  def <<(attribute); end
275
276
 
276
277
  # :call-seq:
@@ -294,7 +295,7 @@ class REXML::Attributes < ::Hash
294
295
  #
295
296
  # Related: get_attribute (returns an \Attribute object).
296
297
  #
297
- # source://rexml//lib/rexml/element.rb#2185
298
+ # source://rexml//lib/rexml/element.rb#2181
298
299
  def [](name); end
299
300
 
300
301
  # :call-seq:
@@ -320,7 +321,7 @@ class REXML::Attributes < ::Hash
320
321
  # attrs['baz:att'] = nil
321
322
  # attrs.include?('baz:att') # => false
322
323
  #
323
- # source://rexml//lib/rexml/element.rb#2369
324
+ # source://rexml//lib/rexml/element.rb#2365
324
325
  def []=(name, value); end
325
326
 
326
327
  # :call-seq:
@@ -343,7 +344,7 @@ class REXML::Attributes < ::Hash
343
344
  # attrs.add(REXML::Attribute.new('baz', '3')) # => baz='3'
344
345
  # attrs.include?('baz') # => true
345
346
  #
346
- # source://rexml//lib/rexml/element.rb#2537
347
+ # source://rexml//lib/rexml/element.rb#2522
347
348
  def add(attribute); end
348
349
 
349
350
  # :call-seq:
@@ -374,7 +375,7 @@ class REXML::Attributes < ::Hash
374
375
  # attrs.delete(attr) # => <ele att='&lt;'/> # => <ele att='&lt;'/>
375
376
  # attrs.delete(attr) # => <ele att='&lt;'/> # => <ele/>
376
377
  #
377
- # source://rexml//lib/rexml/element.rb#2490
378
+ # source://rexml//lib/rexml/element.rb#2475
378
379
  def delete(attribute); end
379
380
 
380
381
  # :call-seq:
@@ -393,7 +394,7 @@ class REXML::Attributes < ::Hash
393
394
  # attrs = ele.attributes
394
395
  # attrs.delete_all('att') # => [att='&lt;']
395
396
  #
396
- # source://rexml//lib/rexml/element.rb#2559
397
+ # source://rexml//lib/rexml/element.rb#2544
397
398
  def delete_all(name); end
398
399
 
399
400
  # :call-seq:
@@ -418,7 +419,7 @@ class REXML::Attributes < ::Hash
418
419
  # ["bar:att", "2"]
419
420
  # ["att", "<"]
420
421
  #
421
- # source://rexml//lib/rexml/element.rb#2287
422
+ # source://rexml//lib/rexml/element.rb#2283
422
423
  def each; end
423
424
 
424
425
  # :call-seq:
@@ -443,7 +444,7 @@ class REXML::Attributes < ::Hash
443
444
  # [REXML::Attribute, bar:att='2']
444
445
  # [REXML::Attribute, att='&lt;']
445
446
  #
446
- # source://rexml//lib/rexml/element.rb#2254
447
+ # source://rexml//lib/rexml/element.rb#2250
447
448
  def each_attribute; end
448
449
 
449
450
  # :call-seq:
@@ -465,7 +466,7 @@ class REXML::Attributes < ::Hash
465
466
  # attrs.get_attribute('att') # => att='&lt;'
466
467
  # attrs.get_attribute('nosuch') # => nil
467
468
  #
468
- # source://rexml//lib/rexml/element.rb#2313
469
+ # source://rexml//lib/rexml/element.rb#2309
469
470
  def get_attribute(name); end
470
471
 
471
472
  # :call-seq:
@@ -485,7 +486,7 @@ class REXML::Attributes < ::Hash
485
486
  # attrs.get_attribute_ns('http://foo', 'att') # => foo:att='1'
486
487
  # attrs.get_attribute_ns('http://foo', 'nosuch') # => nil
487
488
  #
488
- # source://rexml//lib/rexml/element.rb#2585
489
+ # source://rexml//lib/rexml/element.rb#2570
489
490
  def get_attribute_ns(namespace, name); end
490
491
 
491
492
  # :call-seq:
@@ -502,7 +503,7 @@ class REXML::Attributes < ::Hash
502
503
  # ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='&lt;'/>
503
504
  # ele.attributes.length # => 3
504
505
  #
505
- # source://rexml//lib/rexml/element.rb#2225
506
+ # source://rexml//lib/rexml/element.rb#2221
506
507
  def length; end
507
508
 
508
509
  # :call-seq:
@@ -514,7 +515,7 @@ class REXML::Attributes < ::Hash
514
515
  # d = REXML::Document.new(xml_string)
515
516
  # d.root.attributes.namespaces # => {"xmlns"=>"foo", "x"=>"bar", "y"=>"twee"}
516
517
  #
517
- # source://rexml//lib/rexml/element.rb#2446
518
+ # source://rexml//lib/rexml/element.rb#2431
518
519
  def namespaces; end
519
520
 
520
521
  # :call-seq:
@@ -528,7 +529,7 @@ class REXML::Attributes < ::Hash
528
529
  # d = REXML::Document.new(xml_string)
529
530
  # d.root.attributes.prefixes # => ["x", "y"]
530
531
  #
531
- # source://rexml//lib/rexml/element.rb#2421
532
+ # source://rexml//lib/rexml/element.rb#2406
532
533
  def prefixes; end
533
534
 
534
535
  # :call-seq:
@@ -545,7 +546,7 @@ class REXML::Attributes < ::Hash
545
546
  # ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='&lt;'/>
546
547
  # ele.attributes.length # => 3
547
548
  #
548
- # source://rexml//lib/rexml/element.rb#2225
549
+ # source://rexml//lib/rexml/element.rb#2221
549
550
  def size; end
550
551
 
551
552
  # :call-seq:
@@ -564,7 +565,7 @@ class REXML::Attributes < ::Hash
564
565
  # attrs = ele.attributes.to_a # => [foo:att='1', bar:att='2', att='&lt;']
565
566
  # attrs.first.class # => REXML::Attribute
566
567
  #
567
- # source://rexml//lib/rexml/element.rb#2207
568
+ # source://rexml//lib/rexml/element.rb#2203
568
569
  def to_a; end
569
570
  end
570
571
 
@@ -1577,7 +1578,7 @@ end
1577
1578
  # #attributes:: Returns the REXML::Attributes object for the element.
1578
1579
  # #context:: Returns or sets the context hash for the element.
1579
1580
  #
1580
- # source://rexml//lib/rexml/element.rb#279
1581
+ # source://rexml//lib/rexml/element.rb#271
1581
1582
  class REXML::Element < ::REXML::Parent
1582
1583
  include ::REXML::XMLTokens
1583
1584
  include ::REXML::Namespace
@@ -1620,7 +1621,7 @@ class REXML::Element < ::REXML::Parent
1620
1621
  #
1621
1622
  # @return [Element] a new instance of Element
1622
1623
  #
1623
- # source://rexml//lib/rexml/element.rb#327
1624
+ # source://rexml//lib/rexml/element.rb#319
1624
1625
  def initialize(arg = T.unsafe(nil), parent = T.unsafe(nil), context = T.unsafe(nil)); end
1625
1626
 
1626
1627
  # :call-seq:
@@ -1662,7 +1663,7 @@ class REXML::Element < ::REXML::Parent
1662
1663
  # root[:attr] # => "value"
1663
1664
  # root[:nosuch] # => nil
1664
1665
  #
1665
- # source://rexml//lib/rexml/element.rb#1245
1666
+ # source://rexml//lib/rexml/element.rb#1246
1666
1667
  def [](name_or_index); end
1667
1668
 
1668
1669
  # :call-seq:
@@ -1691,7 +1692,7 @@ class REXML::Element < ::REXML::Parent
1691
1692
  # e.add_attribute(a) # => attr='VALUE'
1692
1693
  # e['attr'] # => "VALUE"
1693
1694
  #
1694
- # source://rexml//lib/rexml/element.rb#1349
1695
+ # source://rexml//lib/rexml/element.rb#1345
1695
1696
  def add_attribute(key, value = T.unsafe(nil)); end
1696
1697
 
1697
1698
  # :call-seq:
@@ -1717,7 +1718,7 @@ class REXML::Element < ::REXML::Parent
1717
1718
  # a = [['foo' => 'bar'], ['baz' => 'bat']]
1718
1719
  # e.add_attributes(a)
1719
1720
  #
1720
- # source://rexml//lib/rexml/element.rb#1380
1721
+ # source://rexml//lib/rexml/element.rb#1376
1721
1722
  def add_attributes(hash); end
1722
1723
 
1723
1724
  # :call-seq:
@@ -1754,7 +1755,7 @@ class REXML::Element < ::REXML::Parent
1754
1755
  # e0.add_element(e1, {'bat' => '0', 'bam' => '1'})
1755
1756
  # e0[1] # => <bar bat='0' bam='1'/>
1756
1757
  #
1757
- # source://rexml//lib/rexml/element.rb#731
1758
+ # source://rexml//lib/rexml/element.rb#732
1758
1759
  def add_element(element, attrs = T.unsafe(nil)); end
1759
1760
 
1760
1761
  # :call-seq:
@@ -1775,7 +1776,7 @@ class REXML::Element < ::REXML::Parent
1775
1776
  # e.add_namespace('baz', 'bat')
1776
1777
  # e.namespaces # => {"xmlns"=>"bar", "baz"=>"bat"}
1777
1778
  #
1778
- # source://rexml//lib/rexml/element.rb#654
1779
+ # source://rexml//lib/rexml/element.rb#655
1779
1780
  def add_namespace(prefix, uri = T.unsafe(nil)); end
1780
1781
 
1781
1782
  # :call-seq:
@@ -1817,7 +1818,7 @@ class REXML::Element < ::REXML::Parent
1817
1818
  # a.add_text(REXML::Text.new('baz'))
1818
1819
  # a.to_a # => ["foo", <b/>, "bar", "baz", "baz"]
1819
1820
  #
1820
- # source://rexml//lib/rexml/element.rb#1146
1821
+ # source://rexml//lib/rexml/element.rb#1147
1821
1822
  def add_text(text); end
1822
1823
 
1823
1824
  # :call-seq:
@@ -1849,13 +1850,13 @@ class REXML::Element < ::REXML::Parent
1849
1850
  # document.root.attribute("x") # => x='x'
1850
1851
  # document.root.attribute("x", "a") # => a:x='a:x'
1851
1852
  #
1852
- # source://rexml//lib/rexml/element.rb#1286
1853
+ # source://rexml//lib/rexml/element.rb#1287
1853
1854
  def attribute(name, namespace = T.unsafe(nil)); end
1854
1855
 
1855
1856
  # Mechanisms for accessing attributes and child elements of this
1856
1857
  # element.
1857
1858
  #
1858
- # source://rexml//lib/rexml/element.rb#286
1859
+ # source://rexml//lib/rexml/element.rb#278
1859
1860
  def attributes; end
1860
1861
 
1861
1862
  # :call-seq:
@@ -1874,7 +1875,7 @@ class REXML::Element < ::REXML::Parent
1874
1875
  # cds.frozen? # => true
1875
1876
  # cds.map {|cd| cd.class } # => [REXML::CData, REXML::CData]
1876
1877
  #
1877
- # source://rexml//lib/rexml/element.rb#1424
1878
+ # source://rexml//lib/rexml/element.rb#1420
1878
1879
  def cdatas; end
1879
1880
 
1880
1881
  # :call-seq:
@@ -1887,7 +1888,7 @@ class REXML::Element < ::REXML::Parent
1887
1888
  # e.add_attributes({'bar' => 0, 'baz' => 1})
1888
1889
  # e.clone # => <foo bar='0' baz='1'/>
1889
1890
  #
1890
- # source://rexml//lib/rexml/element.rb#391
1891
+ # source://rexml//lib/rexml/element.rb#383
1891
1892
  def clone; end
1892
1893
 
1893
1894
  # :call-seq:
@@ -1907,19 +1908,19 @@ class REXML::Element < ::REXML::Parent
1907
1908
  # cs.map {|c| c.class } # => [REXML::Comment, REXML::Comment]
1908
1909
  # cs.map {|c| c.to_s } # => ["foo", "bar"]
1909
1910
  #
1910
- # source://rexml//lib/rexml/element.rb#1445
1911
+ # source://rexml//lib/rexml/element.rb#1441
1911
1912
  def comments; end
1912
1913
 
1913
1914
  # The context holds information about the processing environment, such as
1914
1915
  # whitespace handling.
1915
1916
  #
1916
- # source://rexml//lib/rexml/element.rb#289
1917
+ # source://rexml//lib/rexml/element.rb#281
1917
1918
  def context; end
1918
1919
 
1919
1920
  # The context holds information about the processing environment, such as
1920
1921
  # whitespace handling.
1921
1922
  #
1922
- # source://rexml//lib/rexml/element.rb#289
1923
+ # source://rexml//lib/rexml/element.rb#281
1923
1924
  def context=(_arg0); end
1924
1925
 
1925
1926
  # :call-seq:
@@ -1933,7 +1934,7 @@ class REXML::Element < ::REXML::Parent
1933
1934
  # e.delete_attribute('bar') # => <bar/>
1934
1935
  # e.delete_attribute('bar') # => nil
1935
1936
  #
1936
- # source://rexml//lib/rexml/element.rb#1399
1937
+ # source://rexml//lib/rexml/element.rb#1395
1937
1938
  def delete_attribute(key); end
1938
1939
 
1939
1940
  # :call-seq:
@@ -1973,7 +1974,7 @@ class REXML::Element < ::REXML::Parent
1973
1974
  # a.delete_element('//c') # => <c/>
1974
1975
  # a.delete_element('//c') # => nil
1975
1976
  #
1976
- # source://rexml//lib/rexml/element.rb#777
1977
+ # source://rexml//lib/rexml/element.rb#778
1977
1978
  def delete_element(element); end
1978
1979
 
1979
1980
  # :call-seq:
@@ -1998,7 +1999,7 @@ class REXML::Element < ::REXML::Parent
1998
1999
  # d.root.delete_namespace('nosuch')
1999
2000
  # d.to_s # => "<a/>"
2000
2001
  #
2001
- # source://rexml//lib/rexml/element.rb#686
2002
+ # source://rexml//lib/rexml/element.rb#687
2002
2003
  def delete_namespace(namespace = T.unsafe(nil)); end
2003
2004
 
2004
2005
  # :call-seq:
@@ -2022,7 +2023,7 @@ class REXML::Element < ::REXML::Parent
2022
2023
  #
2023
2024
  # Related: #root, #root_node.
2024
2025
  #
2025
- # source://rexml//lib/rexml/element.rb#478
2026
+ # source://rexml//lib/rexml/element.rb#475
2026
2027
  def document; end
2027
2028
 
2028
2029
  # :call-seq:
@@ -2041,7 +2042,7 @@ class REXML::Element < ::REXML::Parent
2041
2042
  # <d> ... </>
2042
2043
  # <e/>
2043
2044
  #
2044
- # source://rexml//lib/rexml/element.rb#929
2045
+ # source://rexml//lib/rexml/element.rb#930
2045
2046
  def each_element(xpath = T.unsafe(nil), &block); end
2046
2047
 
2047
2048
  # :call-seq:
@@ -2093,7 +2094,7 @@ class REXML::Element < ::REXML::Parent
2093
2094
  #
2094
2095
  # <d id='1'/>
2095
2096
  #
2096
- # source://rexml//lib/rexml/element.rb#846
2097
+ # source://rexml//lib/rexml/element.rb#847
2097
2098
  def each_element_with_attribute(key, value = T.unsafe(nil), max = T.unsafe(nil), name = T.unsafe(nil), &block); end
2098
2099
 
2099
2100
  # :call-seq:
@@ -2143,13 +2144,13 @@ class REXML::Element < ::REXML::Parent
2143
2144
  #
2144
2145
  # <c> ... </>
2145
2146
  #
2146
- # source://rexml//lib/rexml/element.rb#903
2147
+ # source://rexml//lib/rexml/element.rb#904
2147
2148
  def each_element_with_text(text = T.unsafe(nil), max = T.unsafe(nil), name = T.unsafe(nil), &block); end
2148
2149
 
2149
2150
  # Mechanisms for accessing attributes and child elements of this
2150
2151
  # element.
2151
2152
  #
2152
- # source://rexml//lib/rexml/element.rb#286
2153
+ # source://rexml//lib/rexml/element.rb#278
2153
2154
  def elements; end
2154
2155
 
2155
2156
  # :call-seq:
@@ -2167,7 +2168,7 @@ class REXML::Element < ::REXML::Parent
2167
2168
  # d = REXML::Document.new(xml_string)
2168
2169
  # d.root.get_elements('//a') # => [<a level='1'> ... </>, <a level='2'/>]
2169
2170
  #
2170
- # source://rexml//lib/rexml/element.rb#948
2171
+ # source://rexml//lib/rexml/element.rb#949
2171
2172
  def get_elements(xpath); end
2172
2173
 
2173
2174
  # :call-seq:
@@ -2187,7 +2188,7 @@ class REXML::Element < ::REXML::Parent
2187
2188
  #
2188
2189
  # d.root.get_text(1) # => "this is bold!"
2189
2190
  #
2190
- # source://rexml//lib/rexml/element.rb#1052
2191
+ # source://rexml//lib/rexml/element.rb#1053
2191
2192
  def get_text(path = T.unsafe(nil)); end
2192
2193
 
2193
2194
  # :call-seq:
@@ -2202,7 +2203,7 @@ class REXML::Element < ::REXML::Parent
2202
2203
  #
2203
2204
  # @return [Boolean]
2204
2205
  #
2205
- # source://rexml//lib/rexml/element.rb#1319
2206
+ # source://rexml//lib/rexml/element.rb#1315
2206
2207
  def has_attributes?; end
2207
2208
 
2208
2209
  # :call-seq:
@@ -2219,7 +2220,7 @@ class REXML::Element < ::REXML::Parent
2219
2220
  #
2220
2221
  # @return [Boolean]
2221
2222
  #
2222
- # source://rexml//lib/rexml/element.rb#793
2223
+ # source://rexml//lib/rexml/element.rb#794
2223
2224
  def has_elements?; end
2224
2225
 
2225
2226
  # :call-seq:
@@ -2236,7 +2237,7 @@ class REXML::Element < ::REXML::Parent
2236
2237
  #
2237
2238
  # @return [Boolean]
2238
2239
  #
2239
- # source://rexml//lib/rexml/element.rb#1001
2240
+ # source://rexml//lib/rexml/element.rb#1002
2240
2241
  def has_text?; end
2241
2242
 
2242
2243
  # :call-seq:
@@ -2246,7 +2247,7 @@ class REXML::Element < ::REXML::Parent
2246
2247
  #
2247
2248
  # See {Element Context}[../doc/rexml/context_rdoc.html].
2248
2249
  #
2249
- # source://rexml//lib/rexml/element.rb#516
2250
+ # source://rexml//lib/rexml/element.rb#513
2250
2251
  def ignore_whitespace_nodes; end
2251
2252
 
2252
2253
  # :call-seq:
@@ -2270,7 +2271,7 @@ class REXML::Element < ::REXML::Parent
2270
2271
  # e.add_element(REXML::Element.new('baz'))
2271
2272
  # e.inspect # => "<foo bar='0' baz='1'> ... </>"
2272
2273
  #
2273
- # source://rexml//lib/rexml/element.rb#366
2274
+ # source://rexml//lib/rexml/element.rb#358
2274
2275
  def inspect; end
2275
2276
 
2276
2277
  # :call-seq:
@@ -2290,7 +2291,7 @@ class REXML::Element < ::REXML::Parent
2290
2291
  # is.map {|i| i.class } # => [REXML::Instruction, REXML::Instruction]
2291
2292
  # is.map {|i| i.to_s } # => ["<?target0 foo?>", "<?target1 bar?>"]
2292
2293
  #
2293
- # source://rexml//lib/rexml/element.rb#1466
2294
+ # source://rexml//lib/rexml/element.rb#1462
2294
2295
  def instructions; end
2295
2296
 
2296
2297
  # :call-seq:
@@ -2313,7 +2314,7 @@ class REXML::Element < ::REXML::Parent
2313
2314
  # b.namespace('y') # => "2"
2314
2315
  # b.namespace('nosuch') # => nil
2315
2316
  #
2316
- # source://rexml//lib/rexml/element.rb#621
2317
+ # source://rexml//lib/rexml/element.rb#618
2317
2318
  def namespace(prefix = T.unsafe(nil)); end
2318
2319
 
2319
2320
  # :call-seq:
@@ -2335,7 +2336,7 @@ class REXML::Element < ::REXML::Parent
2335
2336
  # d.elements['//b'].namespaces # => {"x"=>"1", "y"=>"2"}
2336
2337
  # d.elements['//c'].namespaces # => {"x"=>"1", "y"=>"2", "z"=>"3"}
2337
2338
  #
2338
- # source://rexml//lib/rexml/element.rb#594
2339
+ # source://rexml//lib/rexml/element.rb#591
2339
2340
  def namespaces; end
2340
2341
 
2341
2342
  # :call-seq:
@@ -2348,7 +2349,7 @@ class REXML::Element < ::REXML::Parent
2348
2349
  # d.root.elements['b'].next_element #-> <c/>
2349
2350
  # d.root.elements['c'].next_element #-> nil
2350
2351
  #
2351
- # source://rexml//lib/rexml/element.rb#962
2352
+ # source://rexml//lib/rexml/element.rb#963
2352
2353
  def next_element; end
2353
2354
 
2354
2355
  # :call-seq:
@@ -2360,7 +2361,7 @@ class REXML::Element < ::REXML::Parent
2360
2361
  # a = d.root # => <a/>
2361
2362
  # a.node_type # => :element
2362
2363
  #
2363
- # source://rexml//lib/rexml/element.rb#1167
2364
+ # source://rexml//lib/rexml/element.rb#1168
2364
2365
  def node_type; end
2365
2366
 
2366
2367
  # :call-seq:
@@ -2382,7 +2383,7 @@ class REXML::Element < ::REXML::Parent
2382
2383
  # d.elements['//b'].prefixes # => ["x", "y"]
2383
2384
  # d.elements['//c'].prefixes # => ["x", "y", "z"]
2384
2385
  #
2385
- # source://rexml//lib/rexml/element.rb#568
2386
+ # source://rexml//lib/rexml/element.rb#565
2386
2387
  def prefixes; end
2387
2388
 
2388
2389
  # :call-seq:
@@ -2395,7 +2396,7 @@ class REXML::Element < ::REXML::Parent
2395
2396
  # d.root.elements['c'].previous_element #-> <b/>
2396
2397
  # d.root.elements['b'].previous_element #-> nil
2397
2398
  #
2398
- # source://rexml//lib/rexml/element.rb#978
2399
+ # source://rexml//lib/rexml/element.rb#979
2399
2400
  def previous_element; end
2400
2401
 
2401
2402
  # :call-seq:
@@ -2408,7 +2409,7 @@ class REXML::Element < ::REXML::Parent
2408
2409
  # The evaluation is tested against +expanded_name+, and so is namespace
2409
2410
  # sensitive.
2410
2411
  #
2411
- # source://rexml//lib/rexml/element.rb#536
2412
+ # source://rexml//lib/rexml/element.rb#533
2412
2413
  def raw; end
2413
2414
 
2414
2415
  # :call-seq:
@@ -2428,7 +2429,7 @@ class REXML::Element < ::REXML::Parent
2428
2429
  #
2429
2430
  # Related: #root_node, #document.
2430
2431
  #
2431
- # source://rexml//lib/rexml/element.rb#451
2432
+ # source://rexml//lib/rexml/element.rb#443
2432
2433
  def root; end
2433
2434
 
2434
2435
  # :call-seq:
@@ -2466,7 +2467,7 @@ class REXML::Element < ::REXML::Parent
2466
2467
  #
2467
2468
  # Related: #root, #document.
2468
2469
  #
2469
- # source://rexml//lib/rexml/element.rb#430
2470
+ # source://rexml//lib/rexml/element.rb#422
2470
2471
  def root_node; end
2471
2472
 
2472
2473
  # :call-seq:
@@ -2493,7 +2494,7 @@ class REXML::Element < ::REXML::Parent
2493
2494
  # Note also that the text note is retrieved by method get_text,
2494
2495
  # and so is always normalized text.
2495
2496
  #
2496
- # source://rexml//lib/rexml/element.rb#1029
2497
+ # source://rexml//lib/rexml/element.rb#1030
2497
2498
  def text(path = T.unsafe(nil)); end
2498
2499
 
2499
2500
  # :call-seq:
@@ -2521,7 +2522,7 @@ class REXML::Element < ::REXML::Parent
2521
2522
  #
2522
2523
  # d.root.text = nil #-> '<a><b/><c/></a>'
2523
2524
  #
2524
- # source://rexml//lib/rexml/element.rb#1088
2525
+ # source://rexml//lib/rexml/element.rb#1089
2525
2526
  def text=(text); end
2526
2527
 
2527
2528
  # :call-seq:
@@ -2536,7 +2537,7 @@ class REXML::Element < ::REXML::Parent
2536
2537
  # ts.map {|t| t.class } # => [REXML::Text, REXML::Text]
2537
2538
  # ts.map {|t| t.to_s } # => ["text", "more"]
2538
2539
  #
2539
- # source://rexml//lib/rexml/element.rb#1482
2540
+ # source://rexml//lib/rexml/element.rb#1478
2540
2541
  def texts; end
2541
2542
 
2542
2543
  # :call-seq:
@@ -2550,7 +2551,7 @@ class REXML::Element < ::REXML::Parent
2550
2551
  # The evaluation is tested against the element's +expanded_name+,
2551
2552
  # and so is namespace-sensitive.
2552
2553
  #
2553
- # source://rexml//lib/rexml/element.rb#493
2554
+ # source://rexml//lib/rexml/element.rb#490
2554
2555
  def whitespace; end
2555
2556
 
2556
2557
  # == DEPRECATED
@@ -2576,7 +2577,7 @@ class REXML::Element < ::REXML::Parent
2576
2577
  # doc.write( out ) #-> doc is written to the string 'out'
2577
2578
  # doc.write( $stdout ) #-> doc written to the console
2578
2579
  #
2579
- # source://rexml//lib/rexml/element.rb#1508
2580
+ # source://rexml//lib/rexml/element.rb#1504
2580
2581
  def write(output = T.unsafe(nil), indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
2581
2582
 
2582
2583
  # :call-seq:
@@ -2599,17 +2600,17 @@ class REXML::Element < ::REXML::Parent
2599
2600
  # e = REXML::Element.new('foo')
2600
2601
  # e.xpath # => "foo"
2601
2602
  #
2602
- # source://rexml//lib/rexml/element.rb#1191
2603
+ # source://rexml//lib/rexml/element.rb#1192
2603
2604
  def xpath; end
2604
2605
 
2605
2606
  private
2606
2607
 
2607
- # source://rexml//lib/rexml/element.rb#1525
2608
+ # source://rexml//lib/rexml/element.rb#1521
2608
2609
  def __to_xpath_helper(node); end
2609
2610
 
2610
2611
  # A private helper method
2611
2612
  #
2612
- # source://rexml//lib/rexml/element.rb#1540
2613
+ # source://rexml//lib/rexml/element.rb#1536
2613
2614
  def each_with_something(test, max = T.unsafe(nil), name = T.unsafe(nil)); end
2614
2615
  end
2615
2616
 
@@ -2663,7 +2664,7 @@ end
2663
2664
  # elements = d.root.elements
2664
2665
  # elements # => #<REXML::Elements @element=<bookstore> ... </>>
2665
2666
  #
2666
- # source://rexml//lib/rexml/element.rb#1595
2667
+ # source://rexml//lib/rexml/element.rb#1591
2667
2668
  class REXML::Elements
2668
2669
  include ::Enumerable
2669
2670
 
@@ -2680,7 +2681,7 @@ class REXML::Elements
2680
2681
  #
2681
2682
  # @return [Elements] a new instance of Elements
2682
2683
  #
2683
- # source://rexml//lib/rexml/element.rb#1608
2684
+ # source://rexml//lib/rexml/element.rb#1604
2684
2685
  def initialize(parent); end
2685
2686
 
2686
2687
  # :call-seq:
@@ -2745,7 +2746,7 @@ class REXML::Elements
2745
2746
  # element.parent # => <bookstore> ... </>
2746
2747
  # element.context # => {:raw=>:all}
2747
2748
  #
2748
- # source://rexml//lib/rexml/element.rb#1925
2749
+ # source://rexml//lib/rexml/element.rb#1921
2749
2750
  def <<(element = T.unsafe(nil)); end
2750
2751
 
2751
2752
  # :call-seq:
@@ -2801,7 +2802,7 @@ class REXML::Elements
2801
2802
  # eles[4, 'book'] # => <book category='web' cover='paperback'> ... </>
2802
2803
  # eles[5, 'book'] # => nil
2803
2804
  #
2804
- # source://rexml//lib/rexml/element.rb#1680
2805
+ # source://rexml//lib/rexml/element.rb#1676
2805
2806
  def [](index, name = T.unsafe(nil)); end
2806
2807
 
2807
2808
  # :call-seq:
@@ -2840,7 +2841,7 @@ class REXML::Elements
2840
2841
  # eles[50] = REXML::Text.new('bar') # => "bar"
2841
2842
  # eles.size # => 5
2842
2843
  #
2843
- # source://rexml//lib/rexml/element.rb#1735
2844
+ # source://rexml//lib/rexml/element.rb#1731
2844
2845
  def []=(index, element); end
2845
2846
 
2846
2847
  # :call-seq:
@@ -2905,7 +2906,7 @@ class REXML::Elements
2905
2906
  # element.parent # => <bookstore> ... </>
2906
2907
  # element.context # => {:raw=>:all}
2907
2908
  #
2908
- # source://rexml//lib/rexml/element.rb#1925
2909
+ # source://rexml//lib/rexml/element.rb#1921
2909
2910
  def add(element = T.unsafe(nil)); end
2910
2911
 
2911
2912
  # :call-seq:
@@ -2925,7 +2926,7 @@ class REXML::Elements
2925
2926
  # xpath = '//book [@category="web"]'
2926
2927
  # elements.collect(xpath) {|element| element.size } # => [17, 9]
2927
2928
  #
2928
- # source://rexml//lib/rexml/element.rb#1988
2929
+ # source://rexml//lib/rexml/element.rb#1984
2929
2930
  def collect(xpath = T.unsafe(nil)); end
2930
2931
 
2931
2932
  # :call-seq:
@@ -2969,7 +2970,7 @@ class REXML::Elements
2969
2970
  # elements.delete('//book [@category="children"]') # => <book category='children'> ... </>
2970
2971
  # elements.delete('//nosuch') # => nil
2971
2972
  #
2972
- # source://rexml//lib/rexml/element.rb#1825
2973
+ # source://rexml//lib/rexml/element.rb#1821
2973
2974
  def delete(element); end
2974
2975
 
2975
2976
  # :call-seq:
@@ -2989,7 +2990,7 @@ class REXML::Elements
2989
2990
  # elements.size # => 0
2990
2991
  # elements.delete_all('//book') # => []
2991
2992
  #
2992
- # source://rexml//lib/rexml/element.rb#1851
2993
+ # source://rexml//lib/rexml/element.rb#1847
2993
2994
  def delete_all(xpath); end
2994
2995
 
2995
2996
  # :call-seq:
@@ -3020,7 +3021,7 @@ class REXML::Elements
3020
3021
  # <book category='web'> ... </>
3021
3022
  # <book category='web' cover='paperback'> ... </>
3022
3023
  #
3023
- # source://rexml//lib/rexml/element.rb#1967
3024
+ # source://rexml//lib/rexml/element.rb#1963
3024
3025
  def each(xpath = T.unsafe(nil)); end
3025
3026
 
3026
3027
  # :call-seq:
@@ -3035,7 +3036,7 @@ class REXML::Elements
3035
3036
  #
3036
3037
  # @return [Boolean]
3037
3038
  #
3038
- # source://rexml//lib/rexml/element.rb#1755
3039
+ # source://rexml//lib/rexml/element.rb#1751
3039
3040
  def empty?; end
3040
3041
 
3041
3042
  # :call-seq:
@@ -3052,7 +3053,7 @@ class REXML::Elements
3052
3053
  # elements.index(ele_4) # => 3
3053
3054
  # elements.index(ele_3) # => -1
3054
3055
  #
3055
- # source://rexml//lib/rexml/element.rb#1773
3056
+ # source://rexml//lib/rexml/element.rb#1769
3056
3057
  def index(element); end
3057
3058
 
3058
3059
  # :call-seq:
@@ -3132,7 +3133,7 @@ class REXML::Elements
3132
3133
  # total += element.size
3133
3134
  # end # => 26
3134
3135
  #
3135
- # source://rexml//lib/rexml/element.rb#2073
3136
+ # source://rexml//lib/rexml/element.rb#2069
3136
3137
  def inject(xpath = T.unsafe(nil), initial = T.unsafe(nil)); end
3137
3138
 
3138
3139
  # :call-seq:
@@ -3146,7 +3147,7 @@ class REXML::Elements
3146
3147
  # elements = REXML::Elements.new(d.root)
3147
3148
  # elements.parent == d.root # => true
3148
3149
  #
3149
- # source://rexml//lib/rexml/element.rb#1623
3150
+ # source://rexml//lib/rexml/element.rb#1619
3150
3151
  def parent; end
3151
3152
 
3152
3153
  # :call-seq:
@@ -3158,7 +3159,7 @@ class REXML::Elements
3158
3159
  # d.root.elements.size # => 3 # Three elements.
3159
3160
  # d.root.size # => 6 # Three elements plus three text nodes..
3160
3161
  #
3161
- # source://rexml//lib/rexml/element.rb#2097
3162
+ # source://rexml//lib/rexml/element.rb#2093
3162
3163
  def size; end
3163
3164
 
3164
3165
  # :call-seq:
@@ -3179,14 +3180,14 @@ class REXML::Elements
3179
3180
  #
3180
3181
  # elements.to_a('//c') # => [<c/>]
3181
3182
  #
3182
- # source://rexml//lib/rexml/element.rb#2121
3183
+ # source://rexml//lib/rexml/element.rb#2117
3183
3184
  def to_a(xpath = T.unsafe(nil)); end
3184
3185
 
3185
3186
  private
3186
3187
 
3187
3188
  # Private helper class. Removes quotes from quoted strings
3188
3189
  #
3189
- # source://rexml//lib/rexml/element.rb#2129
3190
+ # source://rexml//lib/rexml/element.rb#2125
3190
3191
  def literalize(name); end
3191
3192
  end
3192
3193
 
@@ -3228,65 +3229,54 @@ class REXML::Entity < ::REXML::Child
3228
3229
  #
3229
3230
  # @return [Entity] a new instance of Entity
3230
3231
  #
3231
- # source://rexml//lib/rexml/entity.rb#33
3232
+ # source://rexml//lib/rexml/entity.rb#34
3232
3233
  def initialize(stream, value = T.unsafe(nil), parent = T.unsafe(nil), reference = T.unsafe(nil)); end
3233
3234
 
3234
3235
  # Returns the value of attribute external.
3235
3236
  #
3236
- # source://rexml//lib/rexml/entity.rb#22
3237
+ # source://rexml//lib/rexml/entity.rb#23
3237
3238
  def external; end
3238
3239
 
3239
3240
  # Returns the value of attribute name.
3240
3241
  #
3241
- # source://rexml//lib/rexml/entity.rb#22
3242
+ # source://rexml//lib/rexml/entity.rb#23
3242
3243
  def name; end
3243
3244
 
3244
3245
  # Returns the value of attribute ndata.
3245
3246
  #
3246
- # source://rexml//lib/rexml/entity.rb#22
3247
+ # source://rexml//lib/rexml/entity.rb#23
3247
3248
  def ndata; end
3248
3249
 
3249
3250
  # Returns the value of this entity unprocessed -- raw. This is the
3250
3251
  # normalized value; that is, with all %ent; and &ent; entities intact
3251
3252
  #
3252
- # source://rexml//lib/rexml/entity.rb#85
3253
+ # source://rexml//lib/rexml/entity.rb#83
3253
3254
  def normalized; end
3254
3255
 
3255
- # source://rexml//lib/rexml/entity.rb#138
3256
- def parent=(other); end
3257
-
3258
3256
  # Returns the value of attribute pubid.
3259
3257
  #
3260
- # source://rexml//lib/rexml/entity.rb#22
3258
+ # source://rexml//lib/rexml/entity.rb#23
3261
3259
  def pubid; end
3262
3260
 
3263
3261
  # Returns the value of attribute ref.
3264
3262
  #
3265
- # source://rexml//lib/rexml/entity.rb#22
3263
+ # source://rexml//lib/rexml/entity.rb#23
3266
3264
  def ref; end
3267
3265
 
3268
3266
  # Returns this entity as a string. See write().
3269
3267
  #
3270
- # source://rexml//lib/rexml/entity.rb#119
3268
+ # source://rexml//lib/rexml/entity.rb#117
3271
3269
  def to_s; end
3272
3270
 
3273
3271
  # Evaluates to the unnormalized value of this entity; that is, replacing
3274
- # all entities -- both %ent; and &ent; entities. This differs from
3275
- # +value()+ in that +value+ only replaces %ent; entities.
3272
+ # &ent; entities.
3276
3273
  #
3277
3274
  # source://rexml//lib/rexml/entity.rb#73
3278
3275
  def unnormalized; end
3279
3276
 
3280
- # Returns the value of this entity. At the moment, only internal entities
3281
- # are processed. If the value contains internal references (IE,
3282
- # %blah;), those are replaced with their values. IE, if the doctype
3283
- # contains:
3284
- # <!ENTITY % foo "bar">
3285
- # <!ENTITY yada "nanoo %foo; nanoo>
3286
- # then:
3287
- # doctype.entity('yada').value #-> "nanoo bar nanoo"
3277
+ # Returns the value of attribute value.
3288
3278
  #
3289
- # source://rexml//lib/rexml/entity.rb#134
3279
+ # source://rexml//lib/rexml/entity.rb#23
3290
3280
  def value; end
3291
3281
 
3292
3282
  # Write out a fully formed, correct entity definition (assuming the Entity
@@ -3298,21 +3288,16 @@ class REXML::Entity < ::REXML::Child
3298
3288
  # indent::
3299
3289
  # *DEPRECATED* and ignored
3300
3290
  #
3301
- # source://rexml//lib/rexml/entity.rb#97
3291
+ # source://rexml//lib/rexml/entity.rb#95
3302
3292
  def write(out, indent = T.unsafe(nil)); end
3303
3293
 
3304
- private
3305
-
3306
- # source://rexml//lib/rexml/entity.rb#144
3307
- def resolve_value; end
3308
-
3309
3294
  class << self
3310
3295
  # Evaluates whether the given string matches an entity definition,
3311
3296
  # returning true if so, and false otherwise.
3312
3297
  #
3313
3298
  # @return [Boolean]
3314
3299
  #
3315
- # source://rexml//lib/rexml/entity.rb#66
3300
+ # source://rexml//lib/rexml/entity.rb#67
3316
3301
  def matches?(string); end
3317
3302
  end
3318
3303
  end
@@ -3453,47 +3438,44 @@ end
3453
3438
  # A Source that wraps an IO. See the Source class for method
3454
3439
  # documentation
3455
3440
  #
3456
- # source://rexml//lib/rexml/source.rb#159
3441
+ # source://rexml//lib/rexml/source.rb#182
3457
3442
  class REXML::IOSource < ::REXML::Source
3458
3443
  # block_size has been deprecated
3459
3444
  #
3460
3445
  # @return [IOSource] a new instance of IOSource
3461
3446
  #
3462
- # source://rexml//lib/rexml/source.rb#163
3447
+ # source://rexml//lib/rexml/source.rb#186
3463
3448
  def initialize(arg, block_size = T.unsafe(nil), encoding = T.unsafe(nil)); end
3464
3449
 
3465
- # source://rexml//lib/rexml/source.rb#215
3466
- def consume(pattern); end
3467
-
3468
3450
  # @return the current line in the source
3469
3451
  #
3470
- # source://rexml//lib/rexml/source.rb#244
3452
+ # source://rexml//lib/rexml/source.rb#274
3471
3453
  def current_line; end
3472
3454
 
3473
3455
  # @return [Boolean]
3474
3456
  #
3475
- # source://rexml//lib/rexml/source.rb#235
3457
+ # source://rexml//lib/rexml/source.rb#269
3476
3458
  def empty?; end
3477
3459
 
3478
- # source://rexml//lib/rexml/source.rb#219
3479
- def match(pattern, cons = T.unsafe(nil)); end
3460
+ # source://rexml//lib/rexml/source.rb#246
3461
+ def ensure_buffer; end
3480
3462
 
3481
- # source://rexml//lib/rexml/source.rb#239
3482
- def position; end
3463
+ # source://rexml//lib/rexml/source.rb#250
3464
+ def match(pattern, cons = T.unsafe(nil)); end
3483
3465
 
3484
3466
  # source://rexml//lib/rexml/source.rb#207
3485
- def read; end
3467
+ def read(term = T.unsafe(nil), min_bytes = T.unsafe(nil)); end
3486
3468
 
3487
- # source://rexml//lib/rexml/source.rb#184
3488
- def scan(pattern, cons = T.unsafe(nil)); end
3469
+ # source://rexml//lib/rexml/source.rb#228
3470
+ def read_until(term); end
3489
3471
 
3490
3472
  private
3491
3473
 
3492
- # source://rexml//lib/rexml/source.rb#286
3474
+ # source://rexml//lib/rexml/source.rb#316
3493
3475
  def encoding_updated; end
3494
3476
 
3495
- # source://rexml//lib/rexml/source.rb#266
3496
- def readline; end
3477
+ # source://rexml//lib/rexml/source.rb#296
3478
+ def readline(term = T.unsafe(nil)); end
3497
3479
  end
3498
3480
 
3499
3481
  # Represents an XML Instruction; IE, <? ... ?>
@@ -3562,6 +3544,112 @@ class REXML::Instruction < ::REXML::Child
3562
3544
  def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
3563
3545
  end
3564
3546
 
3547
+ # source://rexml//lib/rexml/light/node.rb#5
3548
+ module REXML::Light; end
3549
+
3550
+ # Represents a tagged XML element. Elements are characterized by
3551
+ # having children, attributes, and names, and can themselves be
3552
+ # children.
3553
+ #
3554
+ # source://rexml//lib/rexml/light/node.rb#9
3555
+ class REXML::Light::Node
3556
+ # Create a new element.
3557
+ #
3558
+ # @return [Node] a new instance of Node
3559
+ #
3560
+ # source://rexml//lib/rexml/light/node.rb#13
3561
+ def initialize(node = T.unsafe(nil)); end
3562
+
3563
+ # Append a child to this element, optionally under a provided namespace.
3564
+ # The namespace argument is ignored if the element argument is an Element
3565
+ # object. Otherwise, the element argument is a string, the namespace (if
3566
+ # provided) is the namespace the element is created in.
3567
+ #
3568
+ # source://rexml//lib/rexml/light/node.rb#114
3569
+ def <<(element); end
3570
+
3571
+ # source://rexml//lib/rexml/light/node.rb#90
3572
+ def =~(path); end
3573
+
3574
+ # source://rexml//lib/rexml/light/node.rb#78
3575
+ def [](reference, ns = T.unsafe(nil)); end
3576
+
3577
+ # Doesn't handle namespaces yet
3578
+ #
3579
+ # source://rexml//lib/rexml/light/node.rb#95
3580
+ def []=(reference, ns, value = T.unsafe(nil)); end
3581
+
3582
+ # source://rexml//lib/rexml/light/node.rb#143
3583
+ def children; end
3584
+
3585
+ # source://rexml//lib/rexml/light/node.rb#36
3586
+ def each; end
3587
+
3588
+ # @return [Boolean]
3589
+ #
3590
+ # source://rexml//lib/rexml/light/node.rb#139
3591
+ def has_name?(name, namespace = T.unsafe(nil)); end
3592
+
3593
+ # source://rexml//lib/rexml/light/node.rb#54
3594
+ def local_name; end
3595
+
3596
+ # source://rexml//lib/rexml/light/node.rb#59
3597
+ def local_name=(name_str); end
3598
+
3599
+ # source://rexml//lib/rexml/light/node.rb#40
3600
+ def name; end
3601
+
3602
+ # source://rexml//lib/rexml/light/node.rb#44
3603
+ def name=(name_str, ns = T.unsafe(nil)); end
3604
+
3605
+ # source://rexml//lib/rexml/light/node.rb#67
3606
+ def namespace(prefix = T.unsafe(nil)); end
3607
+
3608
+ # source://rexml//lib/rexml/light/node.rb#71
3609
+ def namespace=(namespace); end
3610
+
3611
+ # source://rexml//lib/rexml/light/node.rb#125
3612
+ def node_type; end
3613
+
3614
+ # source://rexml//lib/rexml/light/node.rb#147
3615
+ def parent; end
3616
+
3617
+ # source://rexml//lib/rexml/light/node.rb#50
3618
+ def parent=(node); end
3619
+
3620
+ # source://rexml//lib/rexml/light/node.rb#63
3621
+ def prefix(namespace = T.unsafe(nil)); end
3622
+
3623
+ # source://rexml//lib/rexml/light/node.rb#134
3624
+ def root; end
3625
+
3626
+ # source://rexml//lib/rexml/light/node.rb#28
3627
+ def size; end
3628
+
3629
+ # source://rexml//lib/rexml/light/node.rb#129
3630
+ def text=(foo); end
3631
+
3632
+ # source://rexml//lib/rexml/light/node.rb#151
3633
+ def to_s; end
3634
+
3635
+ private
3636
+
3637
+ # source://rexml//lib/rexml/light/node.rb#164
3638
+ def namespace_of(node, prefix = T.unsafe(nil)); end
3639
+
3640
+ # source://rexml//lib/rexml/light/node.rb#157
3641
+ def namesplit; end
3642
+
3643
+ # source://rexml//lib/rexml/light/node.rb#176
3644
+ def prefix_of(node, namespace = T.unsafe(nil)); end
3645
+ end
3646
+
3647
+ # source://rexml//lib/rexml/light/node.rb#10
3648
+ REXML::Light::Node::NAMESPLIT = T.let(T.unsafe(nil), Regexp)
3649
+
3650
+ # source://rexml//lib/rexml/light/node.rb#11
3651
+ REXML::Light::Node::PARENTS = T.let(T.unsafe(nil), Array)
3652
+
3565
3653
  # Adds named attributes to an object.
3566
3654
  #
3567
3655
  # source://rexml//lib/rexml/namespace.rb#7
@@ -3816,7 +3904,7 @@ class REXML::ParseException < ::RuntimeError
3816
3904
  # source://rexml//lib/rexml/parseexception.rb#6
3817
3905
  def initialize(message, source = T.unsafe(nil), parser = T.unsafe(nil), exception = T.unsafe(nil)); end
3818
3906
 
3819
- # source://rexml//lib/rexml/parseexception.rb#48
3907
+ # source://rexml//lib/rexml/parseexception.rb#49
3820
3908
  def context; end
3821
3909
 
3822
3910
  # Returns the value of attribute continued_exception.
@@ -3831,7 +3919,7 @@ class REXML::ParseException < ::RuntimeError
3831
3919
  # source://rexml//lib/rexml/parseexception.rb#4
3832
3920
  def continued_exception=(_arg0); end
3833
3921
 
3834
- # source://rexml//lib/rexml/parseexception.rb#43
3922
+ # source://rexml//lib/rexml/parseexception.rb#44
3835
3923
  def line; end
3836
3924
 
3837
3925
  # Returns the value of attribute parser.
@@ -3846,7 +3934,7 @@ class REXML::ParseException < ::RuntimeError
3846
3934
  # source://rexml//lib/rexml/parseexception.rb#4
3847
3935
  def parser=(_arg0); end
3848
3936
 
3849
- # source://rexml//lib/rexml/parseexception.rb#38
3937
+ # source://rexml//lib/rexml/parseexception.rb#39
3850
3938
  def position; end
3851
3939
 
3852
3940
  # Returns the value of attribute source.
@@ -3885,36 +3973,41 @@ end
3885
3973
  #
3886
3974
  # Nat Price gave me some good ideas for the API.
3887
3975
  #
3888
- # source://rexml//lib/rexml/parsers/baseparser.rb#29
3976
+ # source://rexml//lib/rexml/parsers/baseparser.rb#57
3889
3977
  class REXML::Parsers::BaseParser
3890
3978
  # @return [BaseParser] a new instance of BaseParser
3891
3979
  #
3892
- # source://rexml//lib/rexml/parsers/baseparser.rb#115
3980
+ # source://rexml//lib/rexml/parsers/baseparser.rb#162
3893
3981
  def initialize(source); end
3894
3982
 
3895
- # source://rexml//lib/rexml/parsers/baseparser.rb#120
3983
+ # source://rexml//lib/rexml/parsers/baseparser.rb#169
3896
3984
  def add_listener(listener); end
3897
3985
 
3898
3986
  # Returns true if there are no more events
3899
3987
  #
3900
3988
  # @return [Boolean]
3901
3989
  #
3902
- # source://rexml//lib/rexml/parsers/baseparser.rb#146
3990
+ # source://rexml//lib/rexml/parsers/baseparser.rb#198
3903
3991
  def empty?; end
3904
3992
 
3905
- # source://rexml//lib/rexml/parsers/baseparser.rb#438
3993
+ # source://rexml//lib/rexml/parsers/baseparser.rb#530
3906
3994
  def entity(reference, entities); end
3907
3995
 
3996
+ # Returns the value of attribute entity_expansion_count.
3997
+ #
3998
+ # source://rexml//lib/rexml/parsers/baseparser.rb#174
3999
+ def entity_expansion_count; end
4000
+
3908
4001
  # Returns true if there are more events. Synonymous with !empty?
3909
4002
  #
3910
4003
  # @return [Boolean]
3911
4004
  #
3912
- # source://rexml//lib/rexml/parsers/baseparser.rb#151
4005
+ # source://rexml//lib/rexml/parsers/baseparser.rb#203
3913
4006
  def has_next?; end
3914
4007
 
3915
4008
  # Escapes all possible entities
3916
4009
  #
3917
- # source://rexml//lib/rexml/parsers/baseparser.rb#449
4010
+ # source://rexml//lib/rexml/parsers/baseparser.rb#541
3918
4011
  def normalize(input, entities = T.unsafe(nil), entity_filter = T.unsafe(nil)); end
3919
4012
 
3920
4013
  # Peek at the +depth+ event in the stack. The first element on the stack
@@ -3924,75 +4017,123 @@ class REXML::Parsers::BaseParser
3924
4017
  # event, so you can effectively pre-parse the entire document (pull the
3925
4018
  # entire thing into memory) using this method.
3926
4019
  #
3927
- # source://rexml//lib/rexml/parsers/baseparser.rb#167
4020
+ # source://rexml//lib/rexml/parsers/baseparser.rb#219
3928
4021
  def peek(depth = T.unsafe(nil)); end
3929
4022
 
3930
- # source://rexml//lib/rexml/parsers/baseparser.rb#136
4023
+ # source://rexml//lib/rexml/parsers/baseparser.rb#188
3931
4024
  def position; end
3932
4025
 
3933
4026
  # Returns the next event. This is a +PullEvent+ object.
3934
4027
  #
3935
- # source://rexml//lib/rexml/parsers/baseparser.rb#182
4028
+ # source://rexml//lib/rexml/parsers/baseparser.rb#234
3936
4029
  def pull; end
3937
4030
 
3938
4031
  # Returns the value of attribute source.
3939
4032
  #
3940
- # source://rexml//lib/rexml/parsers/baseparser.rb#124
4033
+ # source://rexml//lib/rexml/parsers/baseparser.rb#173
3941
4034
  def source; end
3942
4035
 
3943
- # source://rexml//lib/rexml/parsers/baseparser.rb#126
4036
+ # source://rexml//lib/rexml/parsers/baseparser.rb#176
3944
4037
  def stream=(source); end
3945
4038
 
3946
4039
  # Unescapes all possible entities
3947
4040
  #
3948
- # source://rexml//lib/rexml/parsers/baseparser.rb#465
4041
+ # source://rexml//lib/rexml/parsers/baseparser.rb#557
3949
4042
  def unnormalize(string, entities = T.unsafe(nil), filter = T.unsafe(nil)); end
3950
4043
 
3951
4044
  # Push an event back on the head of the stream. This method
3952
4045
  # has (theoretically) infinite depth.
3953
4046
  #
3954
- # source://rexml//lib/rexml/parsers/baseparser.rb#157
4047
+ # source://rexml//lib/rexml/parsers/baseparser.rb#209
3955
4048
  def unshift(token); end
3956
4049
 
3957
4050
  private
3958
4051
 
4052
+ # source://rexml//lib/rexml/parsers/baseparser.rb#602
4053
+ def add_namespace(prefix, uri); end
4054
+
3959
4055
  # @return [Boolean]
3960
4056
  #
3961
- # source://rexml//lib/rexml/parsers/baseparser.rb#495
4057
+ # source://rexml//lib/rexml/parsers/baseparser.rb#635
3962
4058
  def need_source_encoding_update?(xml_declaration_encoding); end
3963
4059
 
3964
- # source://rexml//lib/rexml/parsers/baseparser.rb#589
3965
- def parse_attributes(prefixes, curr_ns); end
4060
+ # source://rexml//lib/rexml/parsers/baseparser.rb#755
4061
+ def parse_attributes(prefixes); end
3966
4062
 
3967
- # source://rexml//lib/rexml/parsers/baseparser.rb#514
4063
+ # source://rexml//lib/rexml/parsers/baseparser.rb#654
3968
4064
  def parse_id(base_error_message, accept_external_id:, accept_public_id:); end
3969
4065
 
3970
- # source://rexml//lib/rexml/parsers/baseparser.rb#542
4066
+ # source://rexml//lib/rexml/parsers/baseparser.rb#682
3971
4067
  def parse_id_invalid_details(accept_external_id:, accept_public_id:); end
3972
4068
 
3973
- # source://rexml//lib/rexml/parsers/baseparser.rb#501
4069
+ # source://rexml//lib/rexml/parsers/baseparser.rb#641
3974
4070
  def parse_name(base_error_message); end
3975
4071
 
3976
- # source://rexml//lib/rexml/parsers/baseparser.rb#580
4072
+ # source://rexml//lib/rexml/parsers/baseparser.rb#617
4073
+ def pop_namespaces_restore; end
4074
+
4075
+ # source://rexml//lib/rexml/parsers/baseparser.rb#720
3977
4076
  def process_instruction; end
3978
4077
 
3979
- # source://rexml//lib/rexml/parsers/baseparser.rb#190
4078
+ # source://rexml//lib/rexml/parsers/baseparser.rb#244
3980
4079
  def pull_event; end
4080
+
4081
+ # source://rexml//lib/rexml/parsers/baseparser.rb#611
4082
+ def push_namespaces_restore; end
4083
+
4084
+ # source://rexml//lib/rexml/parsers/baseparser.rb#628
4085
+ def record_entity_expansion(delta = T.unsafe(nil)); end
3981
4086
  end
3982
4087
 
3983
- # source://rexml//lib/rexml/parsers/baseparser.rb#102
4088
+ # source://rexml//lib/rexml/parsers/baseparser.rb#130
3984
4089
  REXML::Parsers::BaseParser::EXTERNAL_ID_PUBLIC = T.let(T.unsafe(nil), Regexp)
3985
4090
 
3986
- # source://rexml//lib/rexml/parsers/baseparser.rb#103
4091
+ # source://rexml//lib/rexml/parsers/baseparser.rb#131
3987
4092
  REXML::Parsers::BaseParser::EXTERNAL_ID_SYSTEM = T.let(T.unsafe(nil), Regexp)
3988
4093
 
3989
- # source://rexml//lib/rexml/parsers/baseparser.rb#104
4094
+ # source://rexml//lib/rexml/parsers/baseparser.rb#132
3990
4095
  REXML::Parsers::BaseParser::PUBLIC_ID = T.let(T.unsafe(nil), Regexp)
3991
4096
 
3992
- # source://rexml//lib/rexml/parsers/baseparser.rb#38
4097
+ # source://rexml//lib/rexml/parsers/baseparser.rb#143
4098
+ module REXML::Parsers::BaseParser::Private; end
4099
+
4100
+ # source://rexml//lib/rexml/parsers/baseparser.rb#147
4101
+ REXML::Parsers::BaseParser::Private::ATTLISTDECL_END = T.let(T.unsafe(nil), Regexp)
4102
+
4103
+ # source://rexml//lib/rexml/parsers/baseparser.rb#152
4104
+ REXML::Parsers::BaseParser::Private::CARRIAGE_RETURN_NEWLINE_PATTERN = T.let(T.unsafe(nil), Regexp)
4105
+
4106
+ # source://rexml//lib/rexml/parsers/baseparser.rb#153
4107
+ REXML::Parsers::BaseParser::Private::CHARACTER_REFERENCES = T.let(T.unsafe(nil), Regexp)
4108
+
4109
+ # source://rexml//lib/rexml/parsers/baseparser.rb#146
4110
+ REXML::Parsers::BaseParser::Private::CLOSE_PATTERN = T.let(T.unsafe(nil), Regexp)
4111
+
4112
+ # source://rexml//lib/rexml/parsers/baseparser.rb#154
4113
+ REXML::Parsers::BaseParser::Private::DEFAULT_ENTITIES_PATTERNS = T.let(T.unsafe(nil), Hash)
4114
+
4115
+ # source://rexml//lib/rexml/parsers/baseparser.rb#151
4116
+ REXML::Parsers::BaseParser::Private::ENTITYDECL_PATTERN = T.let(T.unsafe(nil), Regexp)
4117
+
4118
+ # source://rexml//lib/rexml/parsers/baseparser.rb#149
4119
+ REXML::Parsers::BaseParser::Private::GEDECL_PATTERN = T.let(T.unsafe(nil), String)
4120
+
4121
+ # source://rexml//lib/rexml/parsers/baseparser.rb#148
4122
+ REXML::Parsers::BaseParser::Private::NAME_PATTERN = T.let(T.unsafe(nil), Regexp)
4123
+
4124
+ # source://rexml//lib/rexml/parsers/baseparser.rb#150
4125
+ REXML::Parsers::BaseParser::Private::PEDECL_PATTERN = T.let(T.unsafe(nil), String)
4126
+
4127
+ # source://rexml//lib/rexml/parsers/baseparser.rb#144
4128
+ REXML::Parsers::BaseParser::Private::PEREFERENCE_PATTERN = T.let(T.unsafe(nil), Regexp)
4129
+
4130
+ # source://rexml//lib/rexml/parsers/baseparser.rb#145
4131
+ REXML::Parsers::BaseParser::Private::TAG_PATTERN = T.let(T.unsafe(nil), Regexp)
4132
+
4133
+ # source://rexml//lib/rexml/parsers/baseparser.rb#66
3993
4134
  REXML::Parsers::BaseParser::QNAME = T.let(T.unsafe(nil), Regexp)
3994
4135
 
3995
- # source://rexml//lib/rexml/parsers/baseparser.rb#37
4136
+ # source://rexml//lib/rexml/parsers/baseparser.rb#65
3996
4137
  REXML::Parsers::BaseParser::QNAME_STR = T.let(T.unsafe(nil), String)
3997
4138
 
3998
4139
  # source://rexml//lib/rexml/parsers/streamparser.rb#6
@@ -4006,6 +4147,9 @@ class REXML::Parsers::StreamParser
4006
4147
  def add_listener(listener); end
4007
4148
 
4008
4149
  # source://rexml//lib/rexml/parsers/streamparser.rb#17
4150
+ def entity_expansion_count; end
4151
+
4152
+ # source://rexml//lib/rexml/parsers/streamparser.rb#21
4009
4153
  def parse; end
4010
4154
  end
4011
4155
 
@@ -4187,7 +4331,7 @@ end
4187
4331
  # A Source can be searched for patterns, and wraps buffers and other
4188
4332
  # objects and provides consumption of text
4189
4333
  #
4190
- # source://rexml//lib/rexml/source.rb#31
4334
+ # source://rexml//lib/rexml/source.rb#51
4191
4335
  class REXML::Source
4192
4336
  include ::REXML::Encoding
4193
4337
 
@@ -4198,88 +4342,82 @@ class REXML::Source
4198
4342
  # @param encoding if non-null, sets the encoding of the source to this
4199
4343
  # @return [Source] a new instance of Source
4200
4344
  #
4201
- # source://rexml//lib/rexml/source.rb#43
4345
+ # source://rexml//lib/rexml/source.rb#71
4202
4346
  def initialize(arg, encoding = T.unsafe(nil)); end
4203
4347
 
4204
4348
  # The current buffer (what we're going to read next)
4205
4349
  #
4206
- # source://rexml//lib/rexml/source.rb#34
4350
+ # source://rexml//lib/rexml/source.rb#83
4207
4351
  def buffer; end
4208
4352
 
4209
- # source://rexml//lib/rexml/source.rb#87
4210
- def consume(pattern); end
4353
+ # source://rexml//lib/rexml/source.rb#93
4354
+ def buffer_encoding=(encoding); end
4211
4355
 
4212
4356
  # @return the current line in the source
4213
4357
  #
4214
- # source://rexml//lib/rexml/source.rb#117
4358
+ # source://rexml//lib/rexml/source.rb#142
4215
4359
  def current_line; end
4216
4360
 
4361
+ # source://rexml//lib/rexml/source.rb#87
4362
+ def drop_parsed_content; end
4363
+
4217
4364
  # @return [Boolean] true if the Source is exhausted
4218
4365
  #
4219
- # source://rexml//lib/rexml/source.rb#108
4366
+ # source://rexml//lib/rexml/source.rb#137
4220
4367
  def empty?; end
4221
4368
 
4222
4369
  # Returns the value of attribute encoding.
4223
4370
  #
4224
- # source://rexml//lib/rexml/source.rb#37
4371
+ # source://rexml//lib/rexml/source.rb#55
4225
4372
  def encoding; end
4226
4373
 
4227
4374
  # Inherited from Encoding
4228
4375
  # Overridden to support optimized en/decoding
4229
4376
  #
4230
- # source://rexml//lib/rexml/source.rb#56
4377
+ # source://rexml//lib/rexml/source.rb#99
4231
4378
  def encoding=(enc); end
4232
4379
 
4380
+ # source://rexml//lib/rexml/source.rb#117
4381
+ def ensure_buffer; end
4382
+
4233
4383
  # The line number of the last consumed text
4234
4384
  #
4235
- # source://rexml//lib/rexml/source.rb#36
4385
+ # source://rexml//lib/rexml/source.rb#54
4236
4386
  def line; end
4237
4387
 
4238
- # source://rexml//lib/rexml/source.rb#101
4388
+ # source://rexml//lib/rexml/source.rb#120
4239
4389
  def match(pattern, cons = T.unsafe(nil)); end
4240
4390
 
4241
- # source://rexml//lib/rexml/source.rb#91
4242
- def match_to(char, pattern); end
4391
+ # source://rexml//lib/rexml/source.rb#128
4392
+ def position; end
4243
4393
 
4244
- # source://rexml//lib/rexml/source.rb#95
4245
- def match_to_consume(char, pattern); end
4394
+ # source://rexml//lib/rexml/source.rb#132
4395
+ def position=(pos); end
4246
4396
 
4247
- # source://rexml//lib/rexml/source.rb#112
4248
- def position; end
4397
+ # source://rexml//lib/rexml/source.rb#104
4398
+ def read(term = T.unsafe(nil)); end
4249
4399
 
4250
- # source://rexml//lib/rexml/source.rb#84
4251
- def read; end
4252
-
4253
- # Scans the source for a given pattern. Note, that this is not your
4254
- # usual scan() method. For one thing, the pattern argument has some
4255
- # requirements; for another, the source can be consumed. You can easily
4256
- # confuse this method. Originally, the patterns were easier
4257
- # to construct and this method more robust, because this method
4258
- # generated search regexps on the fly; however, this was
4259
- # computationally expensive and slowed down the entire REXML package
4260
- # considerably, since this is by far the most commonly called method.
4261
- # /^\s*(#{your pattern, with no groups})(.*)/. The first group
4262
- # will be returned; the second group is used if the consume flag is
4263
- # set.
4264
- # everything after it in the Source.
4265
- # pattern is not found.
4266
- #
4267
- # @param pattern must be a Regexp, and must be in the form of
4268
- # @param consume if true, the pattern returned will be consumed, leaving
4269
- # @return the pattern, if found, or nil if the Source is empty or the
4270
- #
4271
- # source://rexml//lib/rexml/source.rb#77
4272
- def scan(pattern, cons = T.unsafe(nil)); end
4400
+ # source://rexml//lib/rexml/source.rb#107
4401
+ def read_until(term); end
4273
4402
 
4274
4403
  private
4275
4404
 
4276
- # source://rexml//lib/rexml/source.rb#125
4405
+ # source://rexml//lib/rexml/source.rb#151
4277
4406
  def detect_encoding; end
4278
4407
 
4279
- # source://rexml//lib/rexml/source.rb#146
4408
+ # source://rexml//lib/rexml/source.rb#169
4280
4409
  def encoding_updated; end
4281
4410
  end
4282
4411
 
4412
+ # source://rexml//lib/rexml/source.rb#57
4413
+ module REXML::Source::Private; end
4414
+
4415
+ # source://rexml//lib/rexml/source.rb#59
4416
+ REXML::Source::Private::PRE_DEFINED_TERM_PATTERNS = T.let(T.unsafe(nil), Hash)
4417
+
4418
+ # source://rexml//lib/rexml/source.rb#58
4419
+ REXML::Source::Private::SCANNER_RESET_SIZE = T.let(T.unsafe(nil), Integer)
4420
+
4283
4421
  # Represents text nodes in an XML document
4284
4422
  #
4285
4423
  # source://rexml//lib/rexml/text.rb#11
@@ -4334,33 +4472,33 @@ class REXML::Text < ::REXML::Child
4334
4472
  # +returns+ the text itself to enable method chain like
4335
4473
  # 'text << "XXX" << "YYY"'.
4336
4474
  #
4337
- # source://rexml//lib/rexml/text.rb#194
4475
+ # source://rexml//lib/rexml/text.rb#214
4338
4476
  def <<(to_append); end
4339
4477
 
4340
4478
  # +other+ a String or a Text
4341
4479
  # +returns+ the result of (to_s <=> arg.to_s)
4342
4480
  #
4343
- # source://rexml//lib/rexml/text.rb#203
4481
+ # source://rexml//lib/rexml/text.rb#223
4344
4482
  def <=>(other); end
4345
4483
 
4346
- # source://rexml//lib/rexml/text.rb#184
4484
+ # source://rexml//lib/rexml/text.rb#204
4347
4485
  def clone; end
4348
4486
 
4349
- # source://rexml//lib/rexml/text.rb#207
4487
+ # source://rexml//lib/rexml/text.rb#227
4350
4488
  def doctype; end
4351
4489
 
4352
4490
  # @return [Boolean]
4353
4491
  #
4354
- # source://rexml//lib/rexml/text.rb#179
4492
+ # source://rexml//lib/rexml/text.rb#199
4355
4493
  def empty?; end
4356
4494
 
4357
- # source://rexml//lib/rexml/text.rb#278
4495
+ # source://rexml//lib/rexml/text.rb#298
4358
4496
  def indent_text(string, level = T.unsafe(nil), style = T.unsafe(nil), indentfirstline = T.unsafe(nil)); end
4359
4497
 
4360
- # source://rexml//lib/rexml/text.rb#233
4498
+ # source://rexml//lib/rexml/text.rb#253
4361
4499
  def inspect; end
4362
4500
 
4363
- # source://rexml//lib/rexml/text.rb#175
4501
+ # source://rexml//lib/rexml/text.rb#195
4364
4502
  def node_type; end
4365
4503
 
4366
4504
  # source://rexml//lib/rexml/text.rb#125
@@ -4390,7 +4528,7 @@ class REXML::Text < ::REXML::Child
4390
4528
  # u = Text.new( "sean russell", false, nil, true )
4391
4529
  # u.to_s #-> "sean russell"
4392
4530
  #
4393
- # source://rexml//lib/rexml/text.rb#228
4531
+ # source://rexml//lib/rexml/text.rb#248
4394
4532
  def to_s; end
4395
4533
 
4396
4534
  # Returns the string value of this text. This is the text without
@@ -4407,7 +4545,7 @@ class REXML::Text < ::REXML::Child
4407
4545
  # u = Text.new( "sean russell", false, nil, true )
4408
4546
  # u.value #-> "sean russell"
4409
4547
  #
4410
- # source://rexml//lib/rexml/text.rb#250
4548
+ # source://rexml//lib/rexml/text.rb#270
4411
4549
  def value; end
4412
4550
 
4413
4551
  # Sets the contents of this text node. This expects the text to be
@@ -4418,16 +4556,16 @@ class REXML::Text < ::REXML::Child
4418
4556
  # e[0].value = "bar" # <a>bar</a>
4419
4557
  # e[0].value = "<a>" # <a>&lt;a&gt;</a>
4420
4558
  #
4421
- # source://rexml//lib/rexml/text.rb#261
4559
+ # source://rexml//lib/rexml/text.rb#281
4422
4560
  def value=(val); end
4423
4561
 
4424
- # source://rexml//lib/rexml/text.rb#267
4562
+ # source://rexml//lib/rexml/text.rb#287
4425
4563
  def wrap(string, width, addnewline = T.unsafe(nil)); end
4426
4564
 
4427
4565
  # == DEPRECATED
4428
4566
  # See REXML::Formatters
4429
4567
  #
4430
- # source://rexml//lib/rexml/text.rb#293
4568
+ # source://rexml//lib/rexml/text.rb#313
4431
4569
  def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
4432
4570
 
4433
4571
  # Writes out text, substituting special characters beforehand.
@@ -4445,18 +4583,18 @@ class REXML::Text < ::REXML::Child
4445
4583
  # }
4446
4584
  # puts ascOut
4447
4585
  #
4448
- # source://rexml//lib/rexml/text.rb#325
4586
+ # source://rexml//lib/rexml/text.rb#345
4449
4587
  def write_with_substitution(out, input); end
4450
4588
 
4451
4589
  # FIXME
4452
4590
  # This probably won't work properly
4453
4591
  #
4454
- # source://rexml//lib/rexml/text.rb#305
4592
+ # source://rexml//lib/rexml/text.rb#325
4455
4593
  def xpath; end
4456
4594
 
4457
4595
  private
4458
4596
 
4459
- # source://rexml//lib/rexml/text.rb#338
4597
+ # source://rexml//lib/rexml/text.rb#358
4460
4598
  def clear_cache; end
4461
4599
 
4462
4600
  class << self
@@ -4465,22 +4603,22 @@ class REXML::Text < ::REXML::Child
4465
4603
  # source://rexml//lib/rexml/text.rb#131
4466
4604
  def check(string, pattern, doctype); end
4467
4605
 
4468
- # source://rexml//lib/rexml/text.rb#407
4606
+ # source://rexml//lib/rexml/text.rb#427
4469
4607
  def expand(ref, doctype, filter); end
4470
4608
 
4471
4609
  # Escapes all possible entities
4472
4610
  #
4473
- # source://rexml//lib/rexml/text.rb#370
4611
+ # source://rexml//lib/rexml/text.rb#390
4474
4612
  def normalize(input, doctype = T.unsafe(nil), entity_filter = T.unsafe(nil)); end
4475
4613
 
4476
4614
  # Reads text, substituting entities
4477
4615
  #
4478
- # source://rexml//lib/rexml/text.rb#344
4616
+ # source://rexml//lib/rexml/text.rb#364
4479
4617
  def read_with_substitution(input, illegal = T.unsafe(nil)); end
4480
4618
 
4481
4619
  # Unescapes all possible entities
4482
4620
  #
4483
- # source://rexml//lib/rexml/text.rb#394
4621
+ # source://rexml//lib/rexml/text.rb#414
4484
4622
  def unnormalize(string, doctype = T.unsafe(nil), filter = T.unsafe(nil), illegal = T.unsafe(nil)); end
4485
4623
  end
4486
4624
  end
@@ -4607,24 +4745,24 @@ end
4607
4745
 
4608
4746
  # @private
4609
4747
  #
4610
- # source://rexml//lib/rexml/xpath_parser.rb#959
4748
+ # source://rexml//lib/rexml/xpath_parser.rb#963
4611
4749
  class REXML::XPathNode
4612
4750
  # @return [XPathNode] a new instance of XPathNode
4613
4751
  #
4614
- # source://rexml//lib/rexml/xpath_parser.rb#961
4752
+ # source://rexml//lib/rexml/xpath_parser.rb#965
4615
4753
  def initialize(node, context = T.unsafe(nil)); end
4616
4754
 
4617
4755
  # Returns the value of attribute context.
4618
4756
  #
4619
- # source://rexml//lib/rexml/xpath_parser.rb#960
4757
+ # source://rexml//lib/rexml/xpath_parser.rb#964
4620
4758
  def context; end
4621
4759
 
4622
- # source://rexml//lib/rexml/xpath_parser.rb#970
4760
+ # source://rexml//lib/rexml/xpath_parser.rb#974
4623
4761
  def position; end
4624
4762
 
4625
4763
  # Returns the value of attribute raw_node.
4626
4764
  #
4627
- # source://rexml//lib/rexml/xpath_parser.rb#960
4765
+ # source://rexml//lib/rexml/xpath_parser.rb#964
4628
4766
  def raw_node; end
4629
4767
  end
4630
4768
 
@@ -4673,25 +4811,25 @@ class REXML::XPathParser
4673
4811
 
4674
4812
  private
4675
4813
 
4676
- # source://rexml//lib/rexml/xpath_parser.rb#775
4814
+ # source://rexml//lib/rexml/xpath_parser.rb#779
4677
4815
  def child(nodeset); end
4678
4816
 
4679
- # source://rexml//lib/rexml/xpath_parser.rb#916
4817
+ # source://rexml//lib/rexml/xpath_parser.rb#920
4680
4818
  def compare(a, operator, b); end
4681
4819
 
4682
- # source://rexml//lib/rexml/xpath_parser.rb#678
4820
+ # source://rexml//lib/rexml/xpath_parser.rb#682
4683
4821
  def descendant(nodeset, include_self); end
4684
4822
 
4685
- # source://rexml//lib/rexml/xpath_parser.rb#689
4823
+ # source://rexml//lib/rexml/xpath_parser.rb#693
4686
4824
  def descendant_recursive(raw_node, new_nodeset, new_nodes, include_self); end
4687
4825
 
4688
- # source://rexml//lib/rexml/xpath_parser.rb#938
4826
+ # source://rexml//lib/rexml/xpath_parser.rb#942
4689
4827
  def each_unnode(nodeset); end
4690
4828
 
4691
- # source://rexml//lib/rexml/xpath_parser.rb#637
4829
+ # source://rexml//lib/rexml/xpath_parser.rb#641
4692
4830
  def enter(tag, *args); end
4693
4831
 
4694
- # source://rexml//lib/rexml/xpath_parser.rb#815
4832
+ # source://rexml//lib/rexml/xpath_parser.rb#819
4695
4833
  def equality_relational_compare(set1, op, set2); end
4696
4834
 
4697
4835
  # source://rexml//lib/rexml/xpath_parser.rb#591
@@ -4706,10 +4844,10 @@ class REXML::XPathParser
4706
4844
  # source://rexml//lib/rexml/xpath_parser.rb#582
4707
4845
  def filter_nodeset(nodeset); end
4708
4846
 
4709
- # source://rexml//lib/rexml/xpath_parser.rb#745
4847
+ # source://rexml//lib/rexml/xpath_parser.rb#749
4710
4848
  def following(node); end
4711
4849
 
4712
- # source://rexml//lib/rexml/xpath_parser.rb#756
4850
+ # source://rexml//lib/rexml/xpath_parser.rb#760
4713
4851
  def following_node_of(node); end
4714
4852
 
4715
4853
  # Returns a String namespace for a node, given a prefix
@@ -4721,19 +4859,19 @@ class REXML::XPathParser
4721
4859
  # source://rexml//lib/rexml/xpath_parser.rb#163
4722
4860
  def get_namespace(node, prefix); end
4723
4861
 
4724
- # source://rexml//lib/rexml/xpath_parser.rb#642
4862
+ # source://rexml//lib/rexml/xpath_parser.rb#646
4725
4863
  def leave(tag, *args); end
4726
4864
 
4727
- # source://rexml//lib/rexml/xpath_parser.rb#763
4865
+ # source://rexml//lib/rexml/xpath_parser.rb#767
4728
4866
  def next_sibling_node(node); end
4729
4867
 
4730
4868
  # source://rexml//lib/rexml/xpath_parser.rb#477
4731
4869
  def node_test(path_stack, nodesets, any_type: T.unsafe(nil)); end
4732
4870
 
4733
- # source://rexml//lib/rexml/xpath_parser.rb#802
4871
+ # source://rexml//lib/rexml/xpath_parser.rb#806
4734
4872
  def norm(b); end
4735
4873
 
4736
- # source://rexml//lib/rexml/xpath_parser.rb#890
4874
+ # source://rexml//lib/rexml/xpath_parser.rb#894
4737
4875
  def normalize_compare_values(a, operator, b); end
4738
4876
 
4739
4877
  # Builds a nodeset of all of the preceding nodes of the supplied node,
@@ -4741,10 +4879,10 @@ class REXML::XPathParser
4741
4879
  # preceding:: includes every element in the document that precedes this node,
4742
4880
  # except for ancestors
4743
4881
  #
4744
- # source://rexml//lib/rexml/xpath_parser.rb#708
4882
+ # source://rexml//lib/rexml/xpath_parser.rb#712
4745
4883
  def preceding(node); end
4746
4884
 
4747
- # source://rexml//lib/rexml/xpath_parser.rb#730
4885
+ # source://rexml//lib/rexml/xpath_parser.rb#734
4748
4886
  def preceding_node_of(node); end
4749
4887
 
4750
4888
  # Reorders an array of nodes so that they are in document order
@@ -4756,7 +4894,7 @@ class REXML::XPathParser
4756
4894
  # I wouldn't have to do this. Maybe add a document IDX for each node?
4757
4895
  # Problems with mutable documents. Or, rewrite everything.
4758
4896
  #
4759
- # source://rexml//lib/rexml/xpath_parser.rb#655
4897
+ # source://rexml//lib/rexml/xpath_parser.rb#659
4760
4898
  def sort(array_of_nodes, order); end
4761
4899
 
4762
4900
  # source://rexml//lib/rexml/xpath_parser.rb#441
@@ -4767,13 +4905,13 @@ class REXML::XPathParser
4767
4905
  # source://rexml//lib/rexml/xpath_parser.rb#154
4768
4906
  def strict?; end
4769
4907
 
4770
- # source://rexml//lib/rexml/xpath_parser.rb#630
4908
+ # source://rexml//lib/rexml/xpath_parser.rb#634
4771
4909
  def trace(*args); end
4772
4910
 
4773
- # source://rexml//lib/rexml/xpath_parser.rb#950
4911
+ # source://rexml//lib/rexml/xpath_parser.rb#954
4774
4912
  def unnode(nodeset); end
4775
4913
 
4776
- # source://rexml//lib/rexml/xpath_parser.rb#877
4914
+ # source://rexml//lib/rexml/xpath_parser.rb#881
4777
4915
  def value_type(value); end
4778
4916
  end
4779
4917