lunchmoney 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/.github/dependabot.yml +7 -0
  3. data/.github/workflows/build_and_publish_yard_docs.yml +2 -2
  4. data/.github/workflows/ci.yml +1 -1
  5. data/.ruby-version +1 -1
  6. data/.simplecov +1 -0
  7. data/Gemfile +2 -2
  8. data/Gemfile.lock +65 -57
  9. data/lib/lunchmoney/api.rb +1 -0
  10. data/lib/lunchmoney/calls/categories.rb +0 -2
  11. data/lib/lunchmoney/calls/transactions.rb +0 -1
  12. data/lib/lunchmoney/deprecate.rb +35 -0
  13. data/lib/lunchmoney/objects/asset.rb +6 -1
  14. data/lib/lunchmoney/objects/plaid_account.rb +6 -1
  15. data/lib/lunchmoney/version.rb +1 -1
  16. data/sorbet/rbi/annotations/activesupport.rbi +5 -0
  17. data/sorbet/rbi/gems/{activesupport@7.2.1.rbi → activesupport@7.2.2.1.rbi} +109 -86
  18. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
  19. data/sorbet/rbi/gems/{concurrent-ruby@1.3.4.rbi → concurrent-ruby@1.3.5.rbi} +44 -32
  20. data/sorbet/rbi/gems/{connection_pool@2.4.1.rbi → connection_pool@2.5.0.rbi} +1 -0
  21. data/sorbet/rbi/gems/{dotenv@3.1.2.rbi → dotenv@3.1.7.rbi} +21 -29
  22. data/sorbet/rbi/gems/{erubi@1.13.0.rbi → erubi@1.13.1.rbi} +14 -9
  23. data/sorbet/rbi/gems/{faraday-net_http@3.1.1.rbi → faraday-net_http@3.4.0.rbi} +34 -34
  24. data/sorbet/rbi/gems/{faraday@2.10.1.rbi → faraday@2.12.2.rbi} +43 -34
  25. data/sorbet/rbi/gems/{i18n@1.14.5.rbi → i18n@1.14.7.rbi} +80 -80
  26. data/sorbet/rbi/gems/{json@2.7.2.rbi → json@2.10.2.rbi} +697 -146
  27. data/sorbet/rbi/gems/language_server-protocol@3.17.0.4.rbi +9 -0
  28. data/sorbet/rbi/gems/{logger@1.6.0.rbi → logger@1.6.6.rbi} +109 -72
  29. data/sorbet/rbi/gems/{minitest@5.25.1.rbi → minitest@5.25.5.rbi} +227 -220
  30. data/sorbet/rbi/gems/{mocha@2.4.5.rbi → mocha@2.7.1.rbi} +154 -118
  31. data/sorbet/rbi/gems/{net-http@0.4.1.rbi → net-http@0.6.0.rbi} +360 -181
  32. data/sorbet/rbi/gems/{parser@3.3.4.2.rbi → parser@3.3.7.1.rbi} +23 -17
  33. data/sorbet/rbi/gems/{prism@0.30.0.rbi → prism@1.4.0.rbi} +12440 -9920
  34. data/sorbet/rbi/gems/{rack@3.1.7.rbi → rack@3.1.9.rbi} +91 -83
  35. data/sorbet/rbi/gems/rbi@0.3.1.rbi +6599 -0
  36. data/sorbet/rbi/gems/rbs@3.9.0.rbi +6978 -0
  37. data/sorbet/rbi/gems/{regexp_parser@2.9.2.rbi → regexp_parser@2.10.0.rbi} +193 -170
  38. data/sorbet/rbi/gems/{rexml@3.3.6.rbi → rexml@3.4.1.rbi} +541 -114
  39. data/sorbet/rbi/gems/{rubocop-ast@1.32.1.rbi → rubocop-ast@1.38.0.rbi} +1224 -622
  40. data/sorbet/rbi/gems/{rubocop-minitest@0.35.1.rbi → rubocop-minitest@0.36.0.rbi} +5 -5
  41. data/sorbet/rbi/gems/{rubocop-rails@2.26.0.rbi → rubocop-rails@2.29.1.rbi} +9412 -6480
  42. data/sorbet/rbi/gems/{rubocop-sorbet@0.8.5.rbi → rubocop-sorbet@0.8.7.rbi} +44 -1
  43. data/sorbet/rbi/gems/{rubocop@1.65.1.rbi → rubocop@1.71.2.rbi} +5606 -3467
  44. data/sorbet/rbi/gems/{securerandom@0.3.1.rbi → securerandom@0.4.1.rbi} +7 -5
  45. data/sorbet/rbi/gems/{spoom@1.4.2.rbi → spoom@1.6.1.rbi} +3315 -973
  46. data/sorbet/rbi/gems/{tapioca@0.16.1.rbi → tapioca@0.16.11.rbi} +300 -234
  47. data/sorbet/rbi/gems/{thor@1.3.1.rbi → thor@1.3.2.rbi} +58 -31
  48. data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +132 -0
  49. data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
  50. data/sorbet/rbi/gems/{uri@0.13.0.rbi → uri@1.0.3.rbi} +278 -256
  51. data/sorbet/rbi/gems/{webmock@3.23.1.rbi → webmock@3.25.1.rbi} +101 -78
  52. data/sorbet/rbi/gems/{yard@0.9.36.rbi → yard@0.9.37.rbi} +394 -235
  53. metadata +42 -44
  54. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14237
  55. data/sorbet/rbi/gems/rbi@0.1.14.rbi +0 -3305
  56. data/sorbet/rbi/gems/strscan@3.1.0.rbi +0 -9
  57. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -65
  58. /data/sorbet/rbi/gems/{bigdecimal@3.1.8.rbi → bigdecimal@3.1.9.rbi} +0 -0
  59. /data/sorbet/rbi/gems/{hashdiff@1.1.1.rbi → hashdiff@1.1.2.rbi} +0 -0
@@ -147,7 +147,7 @@ end
147
147
 
148
148
  # alias for symmetry between token symbol and Expression class name
149
149
  #
150
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#74
150
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#55
151
151
  Regexp::Expression::Backref = Regexp::Expression::Backreference
152
152
 
153
153
  # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#2
@@ -158,34 +158,17 @@ class Regexp::Expression::Backreference::Base < ::Regexp::Expression::Base
158
158
  # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#155
159
159
  def match_length; end
160
160
 
161
- # Returns the value of attribute referenced_expression.
162
- #
163
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#4
164
- def referenced_expression; end
165
-
166
- # Sets the attribute referenced_expression
167
- #
168
- # @param value the value to set the attribute referenced_expression to.
169
- #
170
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#4
171
- def referenced_expression=(_arg0); end
172
-
173
- private
174
-
175
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#6
176
- def initialize_copy(orig); end
177
-
178
161
  class << self
179
162
  # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#140
180
163
  def referential?; end
181
164
  end
182
165
  end
183
166
 
184
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#34
167
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#15
185
168
  class Regexp::Expression::Backreference::Name < ::Regexp::Expression::Backreference::Base
186
169
  # @return [Name] a new instance of Name
187
170
  #
188
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#38
171
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#19
189
172
  def initialize(token, options = T.unsafe(nil)); end
190
173
 
191
174
  # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#23
@@ -193,39 +176,39 @@ class Regexp::Expression::Backreference::Name < ::Regexp::Expression::Backrefere
193
176
 
194
177
  # Returns the value of attribute name.
195
178
  #
196
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#35
179
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#16
197
180
  def name; end
198
181
 
199
182
  # Returns the value of attribute name.
200
183
  #
201
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#35
184
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#16
202
185
  def reference; end
203
186
  end
204
187
 
205
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#50
188
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#31
206
189
  class Regexp::Expression::Backreference::NameCall < ::Regexp::Expression::Backreference::Name
207
190
  # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#24
208
191
  def human_name; end
209
192
  end
210
193
 
211
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#62
194
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#43
212
195
  class Regexp::Expression::Backreference::NameRecursionLevel < ::Regexp::Expression::Backreference::Name
213
196
  # @return [NameRecursionLevel] a new instance of NameRecursionLevel
214
197
  #
215
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#65
198
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#46
216
199
  def initialize(token, options = T.unsafe(nil)); end
217
200
 
218
201
  # Returns the value of attribute recursion_level.
219
202
  #
220
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#63
203
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#44
221
204
  def recursion_level; end
222
205
  end
223
206
 
224
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#24
207
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#5
225
208
  class Regexp::Expression::Backreference::Number < ::Regexp::Expression::Backreference::Base
226
209
  # @return [Number] a new instance of Number
227
210
  #
228
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#28
211
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#9
229
212
  def initialize(token, options = T.unsafe(nil)); end
230
213
 
231
214
  # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#25
@@ -233,52 +216,52 @@ class Regexp::Expression::Backreference::Number < ::Regexp::Expression::Backrefe
233
216
 
234
217
  # Returns the value of attribute number.
235
218
  #
236
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#25
219
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#6
237
220
  def number; end
238
221
 
239
222
  # Returns the value of attribute number.
240
223
  #
241
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#25
224
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#6
242
225
  def reference; end
243
226
  end
244
227
 
245
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#49
228
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#30
246
229
  class Regexp::Expression::Backreference::NumberCall < ::Regexp::Expression::Backreference::Number
247
230
  # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#27
248
231
  def human_name; end
249
232
  end
250
233
 
251
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#51
234
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#32
252
235
  class Regexp::Expression::Backreference::NumberCallRelative < ::Regexp::Expression::Backreference::NumberRelative
253
236
  # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#28
254
237
  def human_name; end
255
238
  end
256
239
 
257
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#53
240
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#34
258
241
  class Regexp::Expression::Backreference::NumberRecursionLevel < ::Regexp::Expression::Backreference::NumberRelative
259
242
  # @return [NumberRecursionLevel] a new instance of NumberRecursionLevel
260
243
  #
261
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#56
244
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#37
262
245
  def initialize(token, options = T.unsafe(nil)); end
263
246
 
264
247
  # Returns the value of attribute recursion_level.
265
248
  #
266
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#54
249
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#35
267
250
  def recursion_level; end
268
251
  end
269
252
 
270
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#44
253
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#25
271
254
  class Regexp::Expression::Backreference::NumberRelative < ::Regexp::Expression::Backreference::Number
272
255
  # Returns the value of attribute effective_number.
273
256
  #
274
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#45
257
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#26
275
258
  def effective_number; end
276
259
 
277
260
  # Sets the attribute effective_number
278
261
  #
279
262
  # @param value the value to set the attribute effective_number to.
280
263
  #
281
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#45
264
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#26
282
265
  def effective_number=(_arg0); end
283
266
 
284
267
  # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#26
@@ -286,13 +269,14 @@ class Regexp::Expression::Backreference::NumberRelative < ::Regexp::Expression::
286
269
 
287
270
  # Returns the value of attribute effective_number.
288
271
  #
289
- # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#45
272
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#26
290
273
  def reference; end
291
274
  end
292
275
 
293
276
  # source://regexp_parser//lib/regexp_parser/expression/base.rb#2
294
277
  class Regexp::Expression::Base
295
278
  include ::Regexp::Expression::Shared
279
+ include ::Regexp::Expression::ReferencedExpressions
296
280
  extend ::Regexp::Expression::Shared::ClassMethods
297
281
 
298
282
  # @return [Base] a new instance of Base
@@ -738,7 +722,7 @@ end
738
722
  # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#2
739
723
  module Regexp::Expression::Conditional; end
740
724
 
741
- # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#25
725
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#18
742
726
  class Regexp::Expression::Conditional::Branch < ::Regexp::Expression::Sequence
743
727
  # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#34
744
728
  def human_name; end
@@ -755,54 +739,37 @@ class Regexp::Expression::Conditional::Condition < ::Regexp::Expression::Base
755
739
  # Name or number of the referenced capturing group that determines state.
756
740
  # Returns a String if reference is by name, Integer if by number.
757
741
  #
758
- # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#14
742
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#12
759
743
  def reference; end
760
744
 
761
- # Returns the value of attribute referenced_expression.
762
- #
763
- # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#10
764
- def referenced_expression; end
765
-
766
- # Sets the attribute referenced_expression
767
- #
768
- # @param value the value to set the attribute referenced_expression to.
769
- #
770
- # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#10
771
- def referenced_expression=(_arg0); end
772
-
773
- private
774
-
775
- # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#19
776
- def initialize_copy(orig); end
777
-
778
745
  class << self
779
746
  # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#141
780
747
  def referential?; end
781
748
  end
782
749
  end
783
750
 
784
- # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#27
751
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#20
785
752
  class Regexp::Expression::Conditional::Expression < ::Regexp::Expression::Subexpression
786
- # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#30
753
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#21
787
754
  def <<(exp); end
788
755
 
789
756
  # @raise [TooManyBranches]
790
757
  #
791
- # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#34
758
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#25
792
759
  def add_sequence(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end
793
760
 
794
761
  # @raise [TooManyBranches]
795
762
  #
796
- # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#34
763
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#25
797
764
  def branch(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end
798
765
 
799
- # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#50
766
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#41
800
767
  def branches; end
801
768
 
802
- # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#46
769
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#37
803
770
  def condition; end
804
771
 
805
- # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#41
772
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#32
806
773
  def condition=(exp); end
807
774
 
808
775
  # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#36
@@ -814,26 +781,9 @@ class Regexp::Expression::Conditional::Expression < ::Regexp::Expression::Subexp
814
781
  # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#17
815
782
  def parts; end
816
783
 
817
- # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#54
784
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#45
818
785
  def reference; end
819
786
 
820
- # Returns the value of attribute referenced_expression.
821
- #
822
- # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#28
823
- def referenced_expression; end
824
-
825
- # Sets the attribute referenced_expression
826
- #
827
- # @param value the value to set the attribute referenced_expression to.
828
- #
829
- # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#28
830
- def referenced_expression=(_arg0); end
831
-
832
- private
833
-
834
- # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#58
835
- def initialize_copy(orig); end
836
-
837
787
  class << self
838
788
  # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#142
839
789
  def referential?; end
@@ -850,119 +800,169 @@ end
850
800
 
851
801
  # alias for symmetry between Token::* and Expression::*
852
802
  #
853
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#101
803
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#29
854
804
  Regexp::Expression::Escape = Regexp::Expression::EscapeSequence
855
805
 
856
806
  # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#2
857
807
  module Regexp::Expression::EscapeSequence; end
858
808
 
859
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#63
809
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#22
860
810
  class Regexp::Expression::EscapeSequence::AbstractMetaControlSequence < ::Regexp::Expression::EscapeSequence::Base
861
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#64
862
- def char; end
863
-
864
811
  private
865
812
 
866
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#70
813
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#40
867
814
  def control_sequence_to_s(control_sequence); end
868
815
 
869
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#75
816
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#45
870
817
  def meta_char_to_codepoint(meta_char); end
871
818
  end
872
819
 
873
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#27
874
- class Regexp::Expression::EscapeSequence::AsciiEscape < ::Regexp::Expression::EscapeSequence::Base; end
820
+ # \e
821
+ #
822
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#5
823
+ class Regexp::Expression::EscapeSequence::AsciiEscape < ::Regexp::Expression::EscapeSequence::Base
824
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#2
825
+ def codepoint; end
826
+ end
875
827
 
876
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#28
877
- class Regexp::Expression::EscapeSequence::Backspace < ::Regexp::Expression::EscapeSequence::Base; end
828
+ # \b
829
+ #
830
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#6
831
+ class Regexp::Expression::EscapeSequence::Backspace < ::Regexp::Expression::EscapeSequence::Base
832
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#3
833
+ def codepoint; end
834
+ end
878
835
 
879
836
  # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#3
880
837
  class Regexp::Expression::EscapeSequence::Base < ::Regexp::Expression::Base
881
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#9
838
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_char.rb#2
882
839
  def char; end
883
840
 
884
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#4
885
- def codepoint; end
886
-
887
841
  # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
888
842
  def match_length; end
889
843
  end
890
844
 
891
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#29
892
- class Regexp::Expression::EscapeSequence::Bell < ::Regexp::Expression::EscapeSequence::Base; end
845
+ # \a
846
+ #
847
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#7
848
+ class Regexp::Expression::EscapeSequence::Bell < ::Regexp::Expression::EscapeSequence::Base
849
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#4
850
+ def codepoint; end
851
+ end
893
852
 
894
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#37
895
- class Regexp::Expression::EscapeSequence::Codepoint < ::Regexp::Expression::EscapeSequence::Base; end
853
+ # e.g. \u000A
854
+ #
855
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#18
856
+ class Regexp::Expression::EscapeSequence::Codepoint < ::Regexp::Expression::EscapeSequence::Base
857
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#16
858
+ def codepoint; end
859
+ end
896
860
 
897
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#39
861
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#20
898
862
  class Regexp::Expression::EscapeSequence::CodepointList < ::Regexp::Expression::EscapeSequence::Base
899
- # @raise [NoMethodError]
900
- #
901
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#40
863
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#20
902
864
  def char; end
903
865
 
904
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#48
866
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#28
905
867
  def chars; end
906
868
 
907
- # @raise [NoMethodError]
908
- #
909
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#44
869
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#24
910
870
  def codepoint; end
911
871
 
912
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#52
872
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#32
913
873
  def codepoints; end
914
874
 
915
875
  # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#164
916
876
  def match_length; end
917
877
  end
918
878
 
919
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#81
879
+ # e.g. \cB
880
+ #
881
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#23
920
882
  class Regexp::Expression::EscapeSequence::Control < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
921
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#82
883
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#52
922
884
  def codepoint; end
923
885
  end
924
886
 
925
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#30
926
- class Regexp::Expression::EscapeSequence::FormFeed < ::Regexp::Expression::EscapeSequence::Base; end
887
+ # \f
888
+ #
889
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#8
890
+ class Regexp::Expression::EscapeSequence::FormFeed < ::Regexp::Expression::EscapeSequence::Base
891
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#5
892
+ def codepoint; end
893
+ end
927
894
 
928
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#36
929
- class Regexp::Expression::EscapeSequence::Hex < ::Regexp::Expression::EscapeSequence::Base; end
895
+ # e.g. \x0A
896
+ #
897
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#17
898
+ class Regexp::Expression::EscapeSequence::Hex < ::Regexp::Expression::EscapeSequence::Base
899
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#15
900
+ def codepoint; end
901
+ end
930
902
 
931
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#21
903
+ # e.g. \j, \@, \😀 (ineffectual escapes)
904
+ #
905
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#14
932
906
  class Regexp::Expression::EscapeSequence::Literal < ::Regexp::Expression::EscapeSequence::Base
933
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#22
934
- def char; end
907
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#11
908
+ def codepoint; end
935
909
  end
936
910
 
937
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#87
911
+ # e.g. \M-Z
912
+ #
913
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#24
938
914
  class Regexp::Expression::EscapeSequence::Meta < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
939
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#88
915
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#58
940
916
  def codepoint; end
941
917
  end
942
918
 
943
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#93
919
+ # e.g. \M-\cX
920
+ #
921
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#25
944
922
  class Regexp::Expression::EscapeSequence::MetaControl < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
945
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#94
923
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#64
946
924
  def codepoint; end
947
925
  end
948
926
 
949
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#31
950
- class Regexp::Expression::EscapeSequence::Newline < ::Regexp::Expression::EscapeSequence::Base; end
927
+ # \n
928
+ #
929
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#9
930
+ class Regexp::Expression::EscapeSequence::Newline < ::Regexp::Expression::EscapeSequence::Base
931
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#6
932
+ def codepoint; end
933
+ end
951
934
 
952
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#57
935
+ # e.g. \012
936
+ #
937
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#16
953
938
  class Regexp::Expression::EscapeSequence::Octal < ::Regexp::Expression::EscapeSequence::Base
954
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#58
955
- def char; end
939
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#13
940
+ def codepoint; end
956
941
  end
957
942
 
958
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#32
959
- class Regexp::Expression::EscapeSequence::Return < ::Regexp::Expression::EscapeSequence::Base; end
943
+ # \r
944
+ #
945
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#10
946
+ class Regexp::Expression::EscapeSequence::Return < ::Regexp::Expression::EscapeSequence::Base
947
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#7
948
+ def codepoint; end
949
+ end
960
950
 
961
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#33
962
- class Regexp::Expression::EscapeSequence::Tab < ::Regexp::Expression::EscapeSequence::Base; end
951
+ # \t
952
+ #
953
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#11
954
+ class Regexp::Expression::EscapeSequence::Tab < ::Regexp::Expression::EscapeSequence::Base
955
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#8
956
+ def codepoint; end
957
+ end
963
958
 
964
- # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#34
965
- class Regexp::Expression::EscapeSequence::VerticalTab < ::Regexp::Expression::EscapeSequence::Base; end
959
+ # \v
960
+ #
961
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#12
962
+ class Regexp::Expression::EscapeSequence::VerticalTab < ::Regexp::Expression::EscapeSequence::Base
963
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#9
964
+ def codepoint; end
965
+ end
966
966
 
967
967
  # source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#2
968
968
  class Regexp::Expression::FreeSpace < ::Regexp::Expression::Base
@@ -1314,6 +1314,29 @@ end
1314
1314
  # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1315
1315
  Regexp::Expression::Quantifier::MODES = T.let(T.unsafe(nil), Array)
1316
1316
 
1317
+ # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#2
1318
+ module Regexp::Expression::ReferencedExpressions
1319
+ # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#5
1320
+ def referenced_expression; end
1321
+
1322
+ # Returns the value of attribute referenced_expressions.
1323
+ #
1324
+ # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#3
1325
+ def referenced_expressions; end
1326
+
1327
+ # Sets the attribute referenced_expressions
1328
+ #
1329
+ # @param value the value to set the attribute referenced_expressions to.
1330
+ #
1331
+ # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#3
1332
+ def referenced_expressions=(_arg0); end
1333
+
1334
+ private
1335
+
1336
+ # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#9
1337
+ def initialize_copy(orig); end
1338
+ end
1339
+
1317
1340
  # source://regexp_parser//lib/regexp_parser/expression/classes/root.rb#2
1318
1341
  class Regexp::Expression::Root < ::Regexp::Expression::Subexpression
1319
1342
  # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#41
@@ -2607,17 +2630,17 @@ Regexp::Parser::VERSION = T.let(T.unsafe(nil), String)
2607
2630
  class Regexp::Scanner
2608
2631
  # Emits an array with the details of the scanned pattern
2609
2632
  #
2610
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2406
2633
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2363
2611
2634
  def emit(type, token, text); end
2612
2635
 
2613
2636
  # only public for #||= to work on ruby <= 2.5
2614
2637
  #
2615
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2431
2638
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2388
2616
2639
  def literal_run; end
2617
2640
 
2618
2641
  # only public for #||= to work on ruby <= 2.5
2619
2642
  #
2620
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2431
2643
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2388
2621
2644
  def literal_run=(_arg0); end
2622
2645
 
2623
2646
  # @raise [PrematureEndError]
@@ -2630,168 +2653,168 @@ class Regexp::Scanner
2630
2653
  # Appends one or more characters to the literal buffer, to be emitted later
2631
2654
  # by a call to emit_literal.
2632
2655
  #
2633
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2468
2656
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2425
2634
2657
  def append_literal(data, ts, te); end
2635
2658
 
2636
2659
  # Returns the value of attribute block.
2637
2660
  #
2638
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2661
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2639
2662
  def block; end
2640
2663
 
2641
2664
  # Sets the attribute block
2642
2665
  #
2643
2666
  # @param value the value to set the attribute block to.
2644
2667
  #
2645
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2668
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2646
2669
  def block=(_arg0); end
2647
2670
 
2648
2671
  # Returns the value of attribute char_pos.
2649
2672
  #
2650
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2673
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2651
2674
  def char_pos; end
2652
2675
 
2653
2676
  # Sets the attribute char_pos
2654
2677
  #
2655
2678
  # @param value the value to set the attribute char_pos to.
2656
2679
  #
2657
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2680
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2658
2681
  def char_pos=(_arg0); end
2659
2682
 
2660
2683
  # Returns the value of attribute collect_tokens.
2661
2684
  #
2662
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2685
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2663
2686
  def collect_tokens; end
2664
2687
 
2665
2688
  # Sets the attribute collect_tokens
2666
2689
  #
2667
2690
  # @param value the value to set the attribute collect_tokens to.
2668
2691
  #
2669
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2692
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2670
2693
  def collect_tokens=(_arg0); end
2671
2694
 
2672
2695
  # Returns the value of attribute conditional_stack.
2673
2696
  #
2674
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2697
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2675
2698
  def conditional_stack; end
2676
2699
 
2677
2700
  # Sets the attribute conditional_stack
2678
2701
  #
2679
2702
  # @param value the value to set the attribute conditional_stack to.
2680
2703
  #
2681
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2704
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2682
2705
  def conditional_stack=(_arg0); end
2683
2706
 
2684
2707
  # Copy from ts to te from data as text
2685
2708
  #
2686
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2462
2709
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2419
2687
2710
  def copy(data, ts, te); end
2688
2711
 
2689
2712
  # Emits the literal run collected by calls to the append_literal method.
2690
2713
  #
2691
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2473
2714
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2430
2692
2715
  def emit_literal; end
2693
2716
 
2694
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2508
2717
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2465
2695
2718
  def emit_meta_control_sequence(data, ts, te, token); end
2696
2719
 
2697
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2479
2720
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2436
2698
2721
  def emit_options(text); end
2699
2722
 
2700
2723
  # Returns the value of attribute free_spacing.
2701
2724
  #
2702
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2725
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2703
2726
  def free_spacing; end
2704
2727
 
2705
2728
  # Sets the attribute free_spacing
2706
2729
  #
2707
2730
  # @param value the value to set the attribute free_spacing to.
2708
2731
  #
2709
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2732
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2710
2733
  def free_spacing=(_arg0); end
2711
2734
 
2712
2735
  # @return [Boolean]
2713
2736
  #
2714
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2441
2737
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2398
2715
2738
  def free_spacing?(input_object, options); end
2716
2739
 
2717
2740
  # Returns the value of attribute group_depth.
2718
2741
  #
2719
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2742
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2720
2743
  def group_depth; end
2721
2744
 
2722
2745
  # Sets the attribute group_depth
2723
2746
  #
2724
2747
  # @param value the value to set the attribute group_depth to.
2725
2748
  #
2726
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2749
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2727
2750
  def group_depth=(_arg0); end
2728
2751
 
2729
2752
  # @return [Boolean]
2730
2753
  #
2731
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2453
2754
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2410
2732
2755
  def in_group?; end
2733
2756
 
2734
2757
  # @return [Boolean]
2735
2758
  #
2736
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2457
2759
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2414
2737
2760
  def in_set?; end
2738
2761
 
2739
2762
  # Returns the value of attribute prev_token.
2740
2763
  #
2741
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2764
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2742
2765
  def prev_token; end
2743
2766
 
2744
2767
  # Sets the attribute prev_token
2745
2768
  #
2746
2769
  # @param value the value to set the attribute prev_token to.
2747
2770
  #
2748
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2771
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2749
2772
  def prev_token=(_arg0); end
2750
2773
 
2751
2774
  # Returns the value of attribute set_depth.
2752
2775
  #
2753
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2776
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2754
2777
  def set_depth; end
2755
2778
 
2756
2779
  # Sets the attribute set_depth
2757
2780
  #
2758
2781
  # @param value the value to set the attribute set_depth to.
2759
2782
  #
2760
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2783
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2761
2784
  def set_depth=(_arg0); end
2762
2785
 
2763
2786
  # Returns the value of attribute spacing_stack.
2764
2787
  #
2765
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2788
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2766
2789
  def spacing_stack; end
2767
2790
 
2768
2791
  # Sets the attribute spacing_stack
2769
2792
  #
2770
2793
  # @param value the value to set the attribute spacing_stack to.
2771
2794
  #
2772
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2795
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2773
2796
  def spacing_stack=(_arg0); end
2774
2797
 
2775
2798
  # Returns the value of attribute tokens.
2776
2799
  #
2777
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2800
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2778
2801
  def tokens; end
2779
2802
 
2780
2803
  # Sets the attribute tokens
2781
2804
  #
2782
2805
  # @param value the value to set the attribute tokens to.
2783
2806
  #
2784
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2807
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2785
2808
  def tokens=(_arg0); end
2786
2809
 
2787
2810
  class << self
2788
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2811
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2349
2789
2812
  def long_prop_map; end
2790
2813
 
2791
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2396
2814
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2353
2792
2815
  def parse_prop_map(name); end
2793
2816
 
2794
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2400
2817
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2357
2795
2818
  def posix_classes; end
2796
2819
 
2797
2820
  # Scans the given regular expression text, or Regexp object and collects the
@@ -2806,7 +2829,7 @@ class Regexp::Scanner
2806
2829
 
2807
2830
  # lazy-load property maps when first needed
2808
2831
  #
2809
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2388
2832
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2345
2810
2833
  def short_prop_map; end
2811
2834
  end
2812
2835
  end