expo_notifier 0.1.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 (113) hide show
  1. checksums.yaml +7 -0
  2. data/.ruby-version +1 -0
  3. data/CHANGELOG.md +3 -0
  4. data/LICENSE.txt +21 -0
  5. data/README.md +172 -0
  6. data/Rakefile +17 -0
  7. data/lib/expo_notifier/mapper/base.rb +30 -0
  8. data/lib/expo_notifier/mapper/error.rb +24 -0
  9. data/lib/expo_notifier/mapper/push_message.rb +132 -0
  10. data/lib/expo_notifier/mapper/push_messages.rb +15 -0
  11. data/lib/expo_notifier/mapper/push_receipt.rb +23 -0
  12. data/lib/expo_notifier/mapper/push_receipt_error_details.rb +23 -0
  13. data/lib/expo_notifier/mapper/push_receipt_ids.rb +16 -0
  14. data/lib/expo_notifier/mapper/push_receipts.rb +38 -0
  15. data/lib/expo_notifier/mapper/push_ticket.rb +30 -0
  16. data/lib/expo_notifier/mapper/push_ticket_error_details.rb +19 -0
  17. data/lib/expo_notifier/mapper/push_tickets.rb +26 -0
  18. data/lib/expo_notifier/mapper/rich_content.rb +17 -0
  19. data/lib/expo_notifier/request/base.rb +162 -0
  20. data/lib/expo_notifier/request/get_push_notification_receipts.rb +18 -0
  21. data/lib/expo_notifier/request/send_push_notifications.rb +26 -0
  22. data/lib/expo_notifier/response.rb +93 -0
  23. data/lib/expo_notifier/sorbet_shim.rb +18 -0
  24. data/lib/expo_notifier/version.rb +6 -0
  25. data/lib/expo_notifier.rb +19 -0
  26. data/sorbet/config +6 -0
  27. data/sorbet/rbi/annotations/.gitattributes +1 -0
  28. data/sorbet/rbi/annotations/activesupport.rbi +495 -0
  29. data/sorbet/rbi/annotations/faraday.rbi +17 -0
  30. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  31. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  32. data/sorbet/rbi/annotations/webmock.rbi +9 -0
  33. data/sorbet/rbi/dsl/.gitattributes +1 -0
  34. data/sorbet/rbi/dsl/active_support/callbacks.rbi +21 -0
  35. data/sorbet/rbi/dsl/expo_notifier/mapper/base.rbi +12 -0
  36. data/sorbet/rbi/dsl/expo_notifier/mapper/error.rbi +42 -0
  37. data/sorbet/rbi/dsl/expo_notifier/mapper/push_message.rbi +263 -0
  38. data/sorbet/rbi/dsl/expo_notifier/mapper/push_messages.rbi +29 -0
  39. data/sorbet/rbi/dsl/expo_notifier/mapper/push_receipt.rbi +45 -0
  40. data/sorbet/rbi/dsl/expo_notifier/mapper/push_receipt_error_details.rbi +38 -0
  41. data/sorbet/rbi/dsl/expo_notifier/mapper/push_receipt_ids.rbi +20 -0
  42. data/sorbet/rbi/dsl/expo_notifier/mapper/push_receipts.rbi +25 -0
  43. data/sorbet/rbi/dsl/expo_notifier/mapper/push_ticket.rbi +59 -0
  44. data/sorbet/rbi/dsl/expo_notifier/mapper/push_ticket_error_details.rbi +32 -0
  45. data/sorbet/rbi/dsl/expo_notifier/mapper/push_tickets.rbi +54 -0
  46. data/sorbet/rbi/dsl/expo_notifier/mapper/rich_content.rbi +26 -0
  47. data/sorbet/rbi/dsl/time.rbi +13 -0
  48. data/sorbet/rbi/gems/.gitattributes +1 -0
  49. data/sorbet/rbi/gems/activesupport@8.1.1.rbi +22456 -0
  50. data/sorbet/rbi/gems/addressable@2.8.8.rbi +2005 -0
  51. data/sorbet/rbi/gems/ast@2.4.3.rbi +586 -0
  52. data/sorbet/rbi/gems/base64@0.3.0.rbi +545 -0
  53. data/sorbet/rbi/gems/benchmark@0.5.0.rbi +637 -0
  54. data/sorbet/rbi/gems/bigdecimal@4.0.1.rbi +409 -0
  55. data/sorbet/rbi/gems/booleans@0.1.3.rbi +31 -0
  56. data/sorbet/rbi/gems/concurrent-ruby@1.3.6.rbi +11729 -0
  57. data/sorbet/rbi/gems/connection_pool@3.0.2.rbi +9 -0
  58. data/sorbet/rbi/gems/crack@1.0.1.rbi +145 -0
  59. data/sorbet/rbi/gems/date@3.5.1.rbi +403 -0
  60. data/sorbet/rbi/gems/drb@2.2.3.rbi +1661 -0
  61. data/sorbet/rbi/gems/erb@6.0.1.rbi +815 -0
  62. data/sorbet/rbi/gems/erubi@1.13.1.rbi +157 -0
  63. data/sorbet/rbi/gems/faraday-net_http@3.4.2.rbi +72 -0
  64. data/sorbet/rbi/gems/faraday@2.14.0.rbi +3301 -0
  65. data/sorbet/rbi/gems/hashdiff@1.2.1.rbi +355 -0
  66. data/sorbet/rbi/gems/i18n@1.14.8.rbi +2383 -0
  67. data/sorbet/rbi/gems/io-console@0.8.2.rbi +9 -0
  68. data/sorbet/rbi/gems/json@2.18.0.rbi +2278 -0
  69. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +323 -0
  70. data/sorbet/rbi/gems/logger@1.7.0.rbi +963 -0
  71. data/sorbet/rbi/gems/minitest@6.0.1.rbi +1524 -0
  72. data/sorbet/rbi/gems/net-http@0.9.1.rbi +4304 -0
  73. data/sorbet/rbi/gems/netrc@0.11.0.rbi +177 -0
  74. data/sorbet/rbi/gems/parallel@1.27.0.rbi +291 -0
  75. data/sorbet/rbi/gems/parser@3.3.10.0.rbi +5537 -0
  76. data/sorbet/rbi/gems/pp@0.6.3.rbi +390 -0
  77. data/sorbet/rbi/gems/prettyprint@0.2.0.rbi +477 -0
  78. data/sorbet/rbi/gems/prism@1.6.0.rbi +42126 -0
  79. data/sorbet/rbi/gems/psych@5.3.1.rbi +2556 -0
  80. data/sorbet/rbi/gems/public_suffix@7.0.2.rbi +957 -0
  81. data/sorbet/rbi/gems/racc@1.8.1.rbi +168 -0
  82. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +404 -0
  83. data/sorbet/rbi/gems/rake@13.3.1.rbi +3038 -0
  84. data/sorbet/rbi/gems/rbi@0.3.8.rbi +5238 -0
  85. data/sorbet/rbi/gems/rbs@4.0.0.dev.4.rbi +7805 -0
  86. data/sorbet/rbi/gems/regexp_parser@2.11.3.rbi +3849 -0
  87. data/sorbet/rbi/gems/reline@0.6.3.rbi +2995 -0
  88. data/sorbet/rbi/gems/require-hooks@0.2.2.rbi +110 -0
  89. data/sorbet/rbi/gems/rexml@3.4.4.rbi +5258 -0
  90. data/sorbet/rbi/gems/rubocop-espago@1.2.0.rbi +9 -0
  91. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  92. data/sorbet/rbi/gems/securerandom@0.4.1.rbi +75 -0
  93. data/sorbet/rbi/gems/shale-builder@0.8.5.rbi +267 -0
  94. data/sorbet/rbi/gems/shale@1.2.2.rbi +2323 -0
  95. data/sorbet/rbi/gems/shoulda-context@2.0.0.rbi +563 -0
  96. data/sorbet/rbi/gems/spoom@1.7.11.rbi +5878 -0
  97. data/sorbet/rbi/gems/stringio@3.2.0.rbi +9 -0
  98. data/sorbet/rbi/gems/tapioca@0.17.4.rbi +3507 -0
  99. data/sorbet/rbi/gems/thor@1.4.0.rbi +4399 -0
  100. data/sorbet/rbi/gems/tsort@0.2.0.rbi +393 -0
  101. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5919 -0
  102. data/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi +132 -0
  103. data/sorbet/rbi/gems/unicode-emoji@4.2.0.rbi +254 -0
  104. data/sorbet/rbi/gems/uri@1.1.1.rbi +2407 -0
  105. data/sorbet/rbi/gems/vcr@6.4.0.rbi +3055 -0
  106. data/sorbet/rbi/gems/webmock@3.26.1.rbi +1816 -0
  107. data/sorbet/rbi/shims/gems/set.rbi +2 -0
  108. data/sorbet/rbi/shims/gems/shale.rbi +27 -0
  109. data/sorbet/rbi/shims/gems/shoulda-context.rbi +20 -0
  110. data/sorbet/tapioca/config.yml +21 -0
  111. data/sorbet/tapioca/extensions/load_gem.rb +1 -0
  112. data/sorbet/tapioca/require.rb +15 -0
  113. metadata +228 -0
@@ -0,0 +1,3849 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `regexp_parser` gem.
5
+ # Please instead update this file by running `bin/tapioca gem regexp_parser`.
6
+
7
+
8
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#3
9
+ module Regexp::Expression; end
10
+
11
+ # source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#7
12
+ class Regexp::Expression::Alternation < ::Regexp::Expression::SequenceOperation
13
+ # source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#10
14
+ def alternatives; end
15
+
16
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#11
17
+ def human_name; end
18
+
19
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#132
20
+ def match_length; end
21
+ end
22
+
23
+ # source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#8
24
+ Regexp::Expression::Alternation::OPERAND = Regexp::Expression::Alternative
25
+
26
+ # A sequence of expressions, used by Alternation as one of its alternatives.
27
+ #
28
+ # source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#5
29
+ class Regexp::Expression::Alternative < ::Regexp::Expression::Sequence
30
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#12
31
+ def human_name; end
32
+ end
33
+
34
+ # source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#4
35
+ module Regexp::Expression::Anchor; end
36
+
37
+ # source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#20
38
+ Regexp::Expression::Anchor::BOL = Regexp::Expression::Anchor::BeginningOfLine
39
+
40
+ # source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#22
41
+ Regexp::Expression::Anchor::BOS = Regexp::Expression::Anchor::BeginningOfString
42
+
43
+ # source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#5
44
+ class Regexp::Expression::Anchor::Base < ::Regexp::Expression::Base
45
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#149
46
+ def match_length; end
47
+ end
48
+
49
+ # source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#7
50
+ class Regexp::Expression::Anchor::BeginningOfLine < ::Regexp::Expression::Anchor::Base
51
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#13
52
+ def human_name; end
53
+ end
54
+
55
+ # source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#10
56
+ class Regexp::Expression::Anchor::BeginningOfString < ::Regexp::Expression::Anchor::Base
57
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#14
58
+ def human_name; end
59
+ end
60
+
61
+ # source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#21
62
+ Regexp::Expression::Anchor::EOL = Regexp::Expression::Anchor::EndOfLine
63
+
64
+ # source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#23
65
+ Regexp::Expression::Anchor::EOS = Regexp::Expression::Anchor::EndOfString
66
+
67
+ # source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#24
68
+ Regexp::Expression::Anchor::EOSobEOL = Regexp::Expression::Anchor::EndOfStringOrBeforeEndOfLine
69
+
70
+ # source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#8
71
+ class Regexp::Expression::Anchor::EndOfLine < ::Regexp::Expression::Anchor::Base
72
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#15
73
+ def human_name; end
74
+ end
75
+
76
+ # source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#11
77
+ class Regexp::Expression::Anchor::EndOfString < ::Regexp::Expression::Anchor::Base
78
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#16
79
+ def human_name; end
80
+ end
81
+
82
+ # source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#13
83
+ class Regexp::Expression::Anchor::EndOfStringOrBeforeEndOfLine < ::Regexp::Expression::Anchor::Base
84
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#17
85
+ def human_name; end
86
+ end
87
+
88
+ # source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#18
89
+ class Regexp::Expression::Anchor::MatchStart < ::Regexp::Expression::Anchor::Base
90
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#18
91
+ def human_name; end
92
+ end
93
+
94
+ # source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#16
95
+ class Regexp::Expression::Anchor::NonWordBoundary < ::Regexp::Expression::Anchor::Base
96
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#19
97
+ def human_name; end
98
+
99
+ # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#15
100
+ def negative?; end
101
+ end
102
+
103
+ # source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#15
104
+ class Regexp::Expression::Anchor::WordBoundary < ::Regexp::Expression::Anchor::Base
105
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#20
106
+ def human_name; end
107
+ end
108
+
109
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#66
110
+ module Regexp::Expression::Assertion; end
111
+
112
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#67
113
+ class Regexp::Expression::Assertion::Base < ::Regexp::Expression::Group::Base
114
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#149
115
+ def match_length; end
116
+ end
117
+
118
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#69
119
+ class Regexp::Expression::Assertion::Lookahead < ::Regexp::Expression::Assertion::Base
120
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#21
121
+ def human_name; end
122
+ end
123
+
124
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#72
125
+ class Regexp::Expression::Assertion::Lookbehind < ::Regexp::Expression::Assertion::Base
126
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#22
127
+ def human_name; end
128
+ end
129
+
130
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#70
131
+ class Regexp::Expression::Assertion::NegativeLookahead < ::Regexp::Expression::Assertion::Base
132
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#23
133
+ def human_name; end
134
+
135
+ # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#16
136
+ def negative?; end
137
+ end
138
+
139
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#73
140
+ class Regexp::Expression::Assertion::NegativeLookbehind < ::Regexp::Expression::Assertion::Base
141
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#24
142
+ def human_name; end
143
+
144
+ # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#17
145
+ def negative?; end
146
+ end
147
+
148
+ # alias for symmetry between token symbol and Expression class name
149
+ #
150
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#57
151
+ Regexp::Expression::Backref = Regexp::Expression::Backreference
152
+
153
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#4
154
+ module Regexp::Expression::Backreference; end
155
+
156
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#5
157
+ class Regexp::Expression::Backreference::Base < ::Regexp::Expression::Base
158
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#157
159
+ def match_length; end
160
+
161
+ class << self
162
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#142
163
+ def referential?; end
164
+ end
165
+ end
166
+
167
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#17
168
+ class Regexp::Expression::Backreference::Name < ::Regexp::Expression::Backreference::Base
169
+ # @return [Name] a new instance of Name
170
+ #
171
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#21
172
+ def initialize(token, options = T.unsafe(nil)); end
173
+
174
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#25
175
+ def human_name; end
176
+
177
+ # Returns the value of attribute name.
178
+ #
179
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#18
180
+ def name; end
181
+
182
+ # Returns the value of attribute name.
183
+ #
184
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#19
185
+ def reference; end
186
+ end
187
+
188
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#33
189
+ class Regexp::Expression::Backreference::NameCall < ::Regexp::Expression::Backreference::Name
190
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#26
191
+ def human_name; end
192
+ end
193
+
194
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#45
195
+ class Regexp::Expression::Backreference::NameRecursionLevel < ::Regexp::Expression::Backreference::Name
196
+ # @return [NameRecursionLevel] a new instance of NameRecursionLevel
197
+ #
198
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#48
199
+ def initialize(token, options = T.unsafe(nil)); end
200
+
201
+ # Returns the value of attribute recursion_level.
202
+ #
203
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#46
204
+ def recursion_level; end
205
+ end
206
+
207
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#7
208
+ class Regexp::Expression::Backreference::Number < ::Regexp::Expression::Backreference::Base
209
+ # @return [Number] a new instance of Number
210
+ #
211
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#11
212
+ def initialize(token, options = T.unsafe(nil)); end
213
+
214
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#27
215
+ def human_name; end
216
+
217
+ # Returns the value of attribute number.
218
+ #
219
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#8
220
+ def number; end
221
+
222
+ # Returns the value of attribute number.
223
+ #
224
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#9
225
+ def reference; end
226
+ end
227
+
228
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#32
229
+ class Regexp::Expression::Backreference::NumberCall < ::Regexp::Expression::Backreference::Number
230
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#29
231
+ def human_name; end
232
+ end
233
+
234
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#34
235
+ class Regexp::Expression::Backreference::NumberCallRelative < ::Regexp::Expression::Backreference::NumberRelative
236
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#30
237
+ def human_name; end
238
+ end
239
+
240
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#36
241
+ class Regexp::Expression::Backreference::NumberRecursionLevel < ::Regexp::Expression::Backreference::NumberRelative
242
+ # @return [NumberRecursionLevel] a new instance of NumberRecursionLevel
243
+ #
244
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#39
245
+ def initialize(token, options = T.unsafe(nil)); end
246
+
247
+ # Returns the value of attribute recursion_level.
248
+ #
249
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#37
250
+ def recursion_level; end
251
+ end
252
+
253
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#27
254
+ class Regexp::Expression::Backreference::NumberRelative < ::Regexp::Expression::Backreference::Number
255
+ # Returns the value of attribute effective_number.
256
+ #
257
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#28
258
+ def effective_number; end
259
+
260
+ # Sets the attribute effective_number
261
+ #
262
+ # @param value the value to set the attribute effective_number to.
263
+ #
264
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#28
265
+ def effective_number=(_arg0); end
266
+
267
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#28
268
+ def human_name; end
269
+
270
+ # Returns the value of attribute effective_number.
271
+ #
272
+ # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#29
273
+ def reference; end
274
+ end
275
+
276
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#4
277
+ class Regexp::Expression::Base
278
+ include ::Regexp::Expression::Shared
279
+ include ::Regexp::Expression::ReferencedExpressions
280
+ extend ::Regexp::Expression::Shared::ClassMethods
281
+
282
+ # @return [Base] a new instance of Base
283
+ #
284
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#7
285
+ def initialize(token, options = T.unsafe(nil)); end
286
+
287
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#13
288
+ def =~(string, offset = T.unsafe(nil)); end
289
+
290
+ # @return [Boolean]
291
+ #
292
+ # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#30
293
+ def a?; end
294
+
295
+ # @return [Boolean]
296
+ #
297
+ # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#27
298
+ def ascii_classes?; end
299
+
300
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#76
301
+ def attributes; end
302
+
303
+ # @return [Boolean]
304
+ #
305
+ # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#10
306
+ def case_insensitive?; end
307
+
308
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
309
+ def conditional_level; end
310
+
311
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
312
+ def conditional_level=(_arg0); end
313
+
314
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
315
+ def custom_to_s_handling; end
316
+
317
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
318
+ def custom_to_s_handling=(_arg0); end
319
+
320
+ # @return [Boolean]
321
+ #
322
+ # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#25
323
+ def d?; end
324
+
325
+ # @return [Boolean]
326
+ #
327
+ # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#22
328
+ def default_classes?; end
329
+
330
+ # @return [Boolean]
331
+ #
332
+ # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#20
333
+ def extended?; end
334
+
335
+ # @return [Boolean]
336
+ #
337
+ # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#16
338
+ def free_spacing?; end
339
+
340
+ # @return [Boolean]
341
+ #
342
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#49
343
+ def greedy?; end
344
+
345
+ # @return [Boolean]
346
+ #
347
+ # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#13
348
+ def i?; end
349
+
350
+ # @return [Boolean]
351
+ #
352
+ # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#14
353
+ def ignore_case?; end
354
+
355
+ # @return [Boolean]
356
+ #
357
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#56
358
+ def lazy?; end
359
+
360
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
361
+ def level; end
362
+
363
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
364
+ def level=(_arg0); end
365
+
366
+ # @return [Boolean]
367
+ #
368
+ # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#8
369
+ def m?; end
370
+
371
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#10
372
+ def match(string, offset = T.unsafe(nil)); end
373
+
374
+ # @return [Boolean]
375
+ #
376
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#5
377
+ def match?(string); end
378
+
379
+ # @return [Boolean]
380
+ #
381
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#8
382
+ def matches?(string); end
383
+
384
+ # @return [Boolean]
385
+ #
386
+ # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#5
387
+ def multiline?; end
388
+
389
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
390
+ def nesting_level; end
391
+
392
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
393
+ def options; end
394
+
395
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
396
+ def options=(_arg0); end
397
+
398
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
399
+ def parent; end
400
+
401
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
402
+ def parent=(_arg0); end
403
+
404
+ # @return [Boolean]
405
+ #
406
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#58
407
+ def possessive?; end
408
+
409
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
410
+ def pre_quantifier_decorations; end
411
+
412
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
413
+ def pre_quantifier_decorations=(_arg0); end
414
+
415
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
416
+ def quantifier; end
417
+
418
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#19
419
+ def quantify(*args); end
420
+
421
+ # Deprecated. Prefer `#repetitions` which has a more uniform interface.
422
+ #
423
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#28
424
+ def quantity; end
425
+
426
+ # @return [Boolean]
427
+ #
428
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#53
429
+ def reluctant?; end
430
+
431
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#33
432
+ def repetitions; end
433
+
434
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
435
+ def set_level; end
436
+
437
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
438
+ def set_level=(_arg0); end
439
+
440
+ # %l Level (depth) of the expression. Returns 'root' for the root
441
+ # expression, returns zero or higher for all others.
442
+ #
443
+ # %> Indentation at expression's level.
444
+ #
445
+ # %x Index of the expression at its depth. Available when using
446
+ # the sprintf_tree method only.
447
+ #
448
+ # %s Start offset within the whole expression.
449
+ # %e End offset within the whole expression.
450
+ # %S Length of expression.
451
+ #
452
+ # %o Coded offset and length, same as '@%s+%S'
453
+ #
454
+ # %y Type of expression.
455
+ # %k Token of expression.
456
+ # %i ID, same as '%y:%k'
457
+ # %c Class name
458
+ #
459
+ # %q Quantifier info, as {m[,M]}
460
+ # %Q Quantifier text
461
+ #
462
+ # %z Quantifier min
463
+ # %Z Quantifier max
464
+ #
465
+ # %t Base text of the expression (excludes quantifier, if any)
466
+ # %~t Full text if the expression is terminal, otherwise %i
467
+ # %T Full text of the expression (includes quantifier, if any)
468
+ #
469
+ # %b Basic info, same as '%o %i'
470
+ # %m Most info, same as '%b %q'
471
+ # %a All info, same as '%m %t'
472
+ #
473
+ # source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#100
474
+ def strfre(format = T.unsafe(nil), indent_offset = T.unsafe(nil), index = T.unsafe(nil)); end
475
+
476
+ # %l Level (depth) of the expression. Returns 'root' for the root
477
+ # expression, returns zero or higher for all others.
478
+ #
479
+ # %> Indentation at expression's level.
480
+ #
481
+ # %x Index of the expression at its depth. Available when using
482
+ # the sprintf_tree method only.
483
+ #
484
+ # %s Start offset within the whole expression.
485
+ # %e End offset within the whole expression.
486
+ # %S Length of expression.
487
+ #
488
+ # %o Coded offset and length, same as '@%s+%S'
489
+ #
490
+ # %y Type of expression.
491
+ # %k Token of expression.
492
+ # %i ID, same as '%y:%k'
493
+ # %c Class name
494
+ #
495
+ # %q Quantifier info, as {m[,M]}
496
+ # %Q Quantifier text
497
+ #
498
+ # %z Quantifier min
499
+ # %Z Quantifier max
500
+ #
501
+ # %t Base text of the expression (excludes quantifier, if any)
502
+ # %~t Full text if the expression is terminal, otherwise %i
503
+ # %T Full text of the expression (includes quantifier, if any)
504
+ #
505
+ # %b Basic info, same as '%o %i'
506
+ # %m Most info, same as '%b %q'
507
+ # %a All info, same as '%m %t'
508
+ #
509
+ # source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#39
510
+ def strfregexp(format = T.unsafe(nil), indent_offset = T.unsafe(nil), index = T.unsafe(nil)); end
511
+
512
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
513
+ def te; end
514
+
515
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
516
+ def te=(_arg0); end
517
+
518
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
519
+ def text; end
520
+
521
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
522
+ def text=(_arg0); end
523
+
524
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#62
525
+ def to_h; end
526
+
527
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#11
528
+ def to_re(format = T.unsafe(nil)); end
529
+
530
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
531
+ def token; end
532
+
533
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
534
+ def token=(_arg0); end
535
+
536
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
537
+ def ts; end
538
+
539
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
540
+ def ts=(_arg0); end
541
+
542
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
543
+ def type; end
544
+
545
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#5
546
+ def type=(_arg0); end
547
+
548
+ # @return [Boolean]
549
+ #
550
+ # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#35
551
+ def u?; end
552
+
553
+ # @return [Boolean]
554
+ #
555
+ # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#32
556
+ def unicode_classes?; end
557
+
558
+ # source://regexp_parser//lib/regexp_parser/expression/base.rb#23
559
+ def unquantified_clone; end
560
+
561
+ # @return [Boolean]
562
+ #
563
+ # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#19
564
+ def x?; end
565
+ end
566
+
567
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#4
568
+ class Regexp::Expression::CharacterSet < ::Regexp::Expression::Subexpression
569
+ # @return [CharacterSet] a new instance of CharacterSet
570
+ #
571
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#8
572
+ def initialize(token, options = T.unsafe(nil)); end
573
+
574
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#18
575
+ def close; end
576
+
577
+ # Returns the value of attribute closed.
578
+ #
579
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#5
580
+ def closed; end
581
+
582
+ # Sets the attribute closed
583
+ #
584
+ # @param value the value to set the attribute closed to.
585
+ #
586
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#5
587
+ def closed=(_arg0); end
588
+
589
+ # Returns the value of attribute closed.
590
+ #
591
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#6
592
+ def closed?; end
593
+
594
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#99
595
+ def match_length; end
596
+
597
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#14
598
+ def negate; end
599
+
600
+ # Returns the value of attribute negative.
601
+ #
602
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#5
603
+ def negative; end
604
+
605
+ # Sets the attribute negative
606
+ #
607
+ # @param value the value to set the attribute negative to.
608
+ #
609
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#5
610
+ def negative=(_arg0); end
611
+
612
+ # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#18
613
+ def negative?; end
614
+
615
+ # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#17
616
+ def parts; end
617
+ end
618
+
619
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set/intersection.rb#5
620
+ class Regexp::Expression::CharacterSet::IntersectedSequence < ::Regexp::Expression::Sequence
621
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#31
622
+ def human_name; end
623
+
624
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#99
625
+ def match_length; end
626
+ end
627
+
628
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set/intersection.rb#7
629
+ class Regexp::Expression::CharacterSet::Intersection < ::Regexp::Expression::SequenceOperation
630
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#32
631
+ def human_name; end
632
+
633
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#99
634
+ def match_length; end
635
+ end
636
+
637
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set/intersection.rb#8
638
+ Regexp::Expression::CharacterSet::Intersection::OPERAND = Regexp::Expression::CharacterSet::IntersectedSequence
639
+
640
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#5
641
+ class Regexp::Expression::CharacterSet::Range < ::Regexp::Expression::Subexpression
642
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#10
643
+ def <<(exp); end
644
+
645
+ # @return [Boolean]
646
+ #
647
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#16
648
+ def complete?; end
649
+
650
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#33
651
+ def human_name; end
652
+
653
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#99
654
+ def match_length; end
655
+
656
+ # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#18
657
+ def parts; end
658
+
659
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#6
660
+ def ts; end
661
+ end
662
+
663
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#4
664
+ module Regexp::Expression::CharacterType; end
665
+
666
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#7
667
+ class Regexp::Expression::CharacterType::Any < ::Regexp::Expression::CharacterType::Base
668
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#34
669
+ def human_name; end
670
+ end
671
+
672
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#5
673
+ class Regexp::Expression::CharacterType::Base < ::Regexp::Expression::Base
674
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#99
675
+ def match_length; end
676
+
677
+ # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#19
678
+ def negative?; end
679
+ end
680
+
681
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#8
682
+ class Regexp::Expression::CharacterType::Digit < ::Regexp::Expression::CharacterType::Base; end
683
+
684
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#17
685
+ class Regexp::Expression::CharacterType::ExtendedGrapheme < ::Regexp::Expression::CharacterType::Base; end
686
+
687
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#10
688
+ class Regexp::Expression::CharacterType::Hex < ::Regexp::Expression::CharacterType::Base; end
689
+
690
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#16
691
+ class Regexp::Expression::CharacterType::Linebreak < ::Regexp::Expression::CharacterType::Base; end
692
+
693
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#9
694
+ class Regexp::Expression::CharacterType::NonDigit < ::Regexp::Expression::CharacterType::Base; end
695
+
696
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#11
697
+ class Regexp::Expression::CharacterType::NonHex < ::Regexp::Expression::CharacterType::Base; end
698
+
699
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#15
700
+ class Regexp::Expression::CharacterType::NonSpace < ::Regexp::Expression::CharacterType::Base; end
701
+
702
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#13
703
+ class Regexp::Expression::CharacterType::NonWord < ::Regexp::Expression::CharacterType::Base; end
704
+
705
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#14
706
+ class Regexp::Expression::CharacterType::Space < ::Regexp::Expression::CharacterType::Base; end
707
+
708
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#12
709
+ class Regexp::Expression::CharacterType::Word < ::Regexp::Expression::CharacterType::Base; end
710
+
711
+ # source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#10
712
+ class Regexp::Expression::Comment < ::Regexp::Expression::FreeSpace
713
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#35
714
+ def human_name; end
715
+
716
+ class << self
717
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#132
718
+ def comment?; end
719
+ end
720
+ end
721
+
722
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#4
723
+ module Regexp::Expression::Conditional; end
724
+
725
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#20
726
+ class Regexp::Expression::Conditional::Branch < ::Regexp::Expression::Sequence
727
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#36
728
+ def human_name; end
729
+ end
730
+
731
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#11
732
+ class Regexp::Expression::Conditional::Condition < ::Regexp::Expression::Base
733
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#37
734
+ def human_name; end
735
+
736
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#149
737
+ def match_length; end
738
+
739
+ # Name or number of the referenced capturing group that determines state.
740
+ # Returns a String if reference is by name, Integer if by number.
741
+ #
742
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#14
743
+ def reference; end
744
+
745
+ class << self
746
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#143
747
+ def referential?; end
748
+ end
749
+ end
750
+
751
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#22
752
+ class Regexp::Expression::Conditional::Expression < ::Regexp::Expression::Subexpression
753
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#23
754
+ def <<(exp); end
755
+
756
+ # @raise [TooManyBranches]
757
+ #
758
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#27
759
+ def add_sequence(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end
760
+
761
+ # @raise [TooManyBranches]
762
+ #
763
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#32
764
+ def branch(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end
765
+
766
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#43
767
+ def branches; end
768
+
769
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#39
770
+ def condition; end
771
+
772
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#34
773
+ def condition=(exp); end
774
+
775
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#38
776
+ def human_name; end
777
+
778
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#132
779
+ def match_length; end
780
+
781
+ # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#19
782
+ def parts; end
783
+
784
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#47
785
+ def reference; end
786
+
787
+ class << self
788
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#144
789
+ def referential?; end
790
+ end
791
+ end
792
+
793
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#5
794
+ class Regexp::Expression::Conditional::TooManyBranches < ::Regexp::Parser::Error
795
+ # @return [TooManyBranches] a new instance of TooManyBranches
796
+ #
797
+ # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#6
798
+ def initialize; end
799
+ end
800
+
801
+ # alias for symmetry between Token::* and Expression::*
802
+ #
803
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#32
804
+ Regexp::Expression::Escape = Regexp::Expression::EscapeSequence
805
+
806
+ # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#4
807
+ module Regexp::Expression::EscapeSequence; end
808
+
809
+ class Regexp::Expression::EscapeSequence::AbstractMetaControlSequence < ::Regexp::Expression::EscapeSequence::Base
810
+ private
811
+
812
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#48
813
+ def control_sequence_to_s(control_sequence); end
814
+
815
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#53
816
+ def meta_char_to_codepoint(meta_char); end
817
+ end
818
+
819
+ # \e
820
+ class Regexp::Expression::EscapeSequence::AsciiEscape < ::Regexp::Expression::EscapeSequence::Base
821
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#4
822
+ def codepoint; end
823
+ end
824
+
825
+ # \b
826
+ class Regexp::Expression::EscapeSequence::Backspace < ::Regexp::Expression::EscapeSequence::Base
827
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#5
828
+ def codepoint; end
829
+ end
830
+
831
+ class Regexp::Expression::EscapeSequence::Base < ::Regexp::Expression::Base
832
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_char.rb#4
833
+ def char; end
834
+
835
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#99
836
+ def match_length; end
837
+ end
838
+
839
+ # \a
840
+ class Regexp::Expression::EscapeSequence::Bell < ::Regexp::Expression::EscapeSequence::Base
841
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#6
842
+ def codepoint; end
843
+ end
844
+
845
+ # e.g. \u000A
846
+ class Regexp::Expression::EscapeSequence::Codepoint < ::Regexp::Expression::EscapeSequence::Base
847
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#18
848
+ def codepoint; end
849
+ end
850
+
851
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#165
852
+ class Regexp::Expression::EscapeSequence::CodepointList < ::Regexp::Expression::EscapeSequence::Base
853
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#28
854
+ def char; end
855
+
856
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#36
857
+ def chars; end
858
+
859
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#32
860
+ def codepoint; end
861
+
862
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#40
863
+ def codepoints; end
864
+
865
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#166
866
+ def match_length; end
867
+ end
868
+
869
+ # e.g. \cB
870
+ class Regexp::Expression::EscapeSequence::Control < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
871
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#60
872
+ def codepoint; end
873
+ end
874
+
875
+ # \f
876
+ class Regexp::Expression::EscapeSequence::FormFeed < ::Regexp::Expression::EscapeSequence::Base
877
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#7
878
+ def codepoint; end
879
+ end
880
+
881
+ # e.g. \x0A
882
+ class Regexp::Expression::EscapeSequence::Hex < ::Regexp::Expression::EscapeSequence::Base
883
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#17
884
+ def codepoint; end
885
+ end
886
+
887
+ # e.g. \j, \@, \😀 (ineffectual escapes)
888
+ class Regexp::Expression::EscapeSequence::Literal < ::Regexp::Expression::EscapeSequence::Base
889
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#13
890
+ def codepoint; end
891
+ end
892
+
893
+ # e.g. \M-Z
894
+ class Regexp::Expression::EscapeSequence::Meta < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
895
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#66
896
+ def codepoint; end
897
+ end
898
+
899
+ # e.g. \M-\cX
900
+ class Regexp::Expression::EscapeSequence::MetaControl < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
901
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#72
902
+ def codepoint; end
903
+ end
904
+
905
+ # \n
906
+ class Regexp::Expression::EscapeSequence::Newline < ::Regexp::Expression::EscapeSequence::Base
907
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#8
908
+ def codepoint; end
909
+ end
910
+
911
+ # e.g. \012
912
+ class Regexp::Expression::EscapeSequence::Octal < ::Regexp::Expression::EscapeSequence::Base
913
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#15
914
+ def codepoint; end
915
+ end
916
+
917
+ # \r
918
+ class Regexp::Expression::EscapeSequence::Return < ::Regexp::Expression::EscapeSequence::Base
919
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#9
920
+ def codepoint; end
921
+ end
922
+
923
+ # \t
924
+ class Regexp::Expression::EscapeSequence::Tab < ::Regexp::Expression::EscapeSequence::Base
925
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#10
926
+ def codepoint; end
927
+ end
928
+
929
+ # e.g. \xE2\x82\xAC
930
+ class Regexp::Expression::EscapeSequence::UTF8Hex < ::Regexp::Expression::EscapeSequence::Base
931
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#21
932
+ def codepoint; end
933
+ end
934
+
935
+ # \v
936
+ class Regexp::Expression::EscapeSequence::VerticalTab < ::Regexp::Expression::EscapeSequence::Base
937
+ # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#11
938
+ def codepoint; end
939
+ end
940
+
941
+ # source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#4
942
+ class Regexp::Expression::FreeSpace < ::Regexp::Expression::Base
943
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#149
944
+ def match_length; end
945
+
946
+ # @raise [Regexp::Parser::Error]
947
+ #
948
+ # source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#5
949
+ def quantify(*_args); end
950
+
951
+ class << self
952
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#137
953
+ def decorative?; end
954
+ end
955
+ end
956
+
957
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#4
958
+ module Regexp::Expression::Group; end
959
+
960
+ # Special case. Absence group can match 0.. chars, irrespective of content.
961
+ # TODO: in theory, they *can* exclude match lengths with `.`: `(?~.{3})`
962
+ #
963
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#21
964
+ class Regexp::Expression::Group::Absence < ::Regexp::Expression::Group::Base
965
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#174
966
+ def match_length; end
967
+ end
968
+
969
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#22
970
+ class Regexp::Expression::Group::Atomic < ::Regexp::Expression::Group::Base; end
971
+
972
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#5
973
+ class Regexp::Expression::Group::Base < ::Regexp::Expression::Subexpression
974
+ # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#20
975
+ def parts; end
976
+ end
977
+
978
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#42
979
+ class Regexp::Expression::Group::Capture < ::Regexp::Expression::Group::Base
980
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#39
981
+ def human_name; end
982
+
983
+ # Returns the value of attribute number.
984
+ #
985
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#44
986
+ def identifier; end
987
+
988
+ # Returns the value of attribute number.
989
+ #
990
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#43
991
+ def number; end
992
+
993
+ # Sets the attribute number
994
+ #
995
+ # @param value the value to set the attribute number to.
996
+ #
997
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#43
998
+ def number=(_arg0); end
999
+
1000
+ # Returns the value of attribute number_at_level.
1001
+ #
1002
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#43
1003
+ def number_at_level; end
1004
+
1005
+ # Sets the attribute number_at_level
1006
+ #
1007
+ # @param value the value to set the attribute number_at_level to.
1008
+ #
1009
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#43
1010
+ def number_at_level=(_arg0); end
1011
+
1012
+ class << self
1013
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#128
1014
+ def capturing?; end
1015
+ end
1016
+ end
1017
+
1018
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#62
1019
+ class Regexp::Expression::Group::Comment < ::Regexp::Expression::Group::Base
1020
+ # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#22
1021
+ def parts; end
1022
+
1023
+ class << self
1024
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#133
1025
+ def comment?; end
1026
+
1027
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#138
1028
+ def decorative?; end
1029
+ end
1030
+ end
1031
+
1032
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#47
1033
+ class Regexp::Expression::Group::Named < ::Regexp::Expression::Group::Capture
1034
+ # @return [Named] a new instance of Named
1035
+ #
1036
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#51
1037
+ def initialize(token, options = T.unsafe(nil)); end
1038
+
1039
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#40
1040
+ def human_name; end
1041
+
1042
+ # Returns the value of attribute name.
1043
+ #
1044
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#49
1045
+ def identifier; end
1046
+
1047
+ # Returns the value of attribute name.
1048
+ #
1049
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#48
1050
+ def name; end
1051
+
1052
+ private
1053
+
1054
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#56
1055
+ def initialize_copy(orig); end
1056
+ end
1057
+
1058
+ # TODO: should split off OptionsSwitch in v3.0.0. Maybe even make it no
1059
+ # longer inherit from Group because it is effectively a terminal expression.
1060
+ #
1061
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#25
1062
+ class Regexp::Expression::Group::Options < ::Regexp::Expression::Group::Base
1063
+ # Returns the value of attribute option_changes.
1064
+ #
1065
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#26
1066
+ def option_changes; end
1067
+
1068
+ # Sets the attribute option_changes
1069
+ #
1070
+ # @param value the value to set the attribute option_changes to.
1071
+ #
1072
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#26
1073
+ def option_changes=(_arg0); end
1074
+
1075
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#33
1076
+ def quantify(*args); end
1077
+
1078
+ private
1079
+
1080
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#28
1081
+ def initialize_copy(orig); end
1082
+ end
1083
+
1084
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#8
1085
+ class Regexp::Expression::Group::Passive < ::Regexp::Expression::Group::Base
1086
+ # @return [Passive] a new instance of Passive
1087
+ #
1088
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#11
1089
+ def initialize(*_arg0); end
1090
+
1091
+ # Sets the attribute implicit
1092
+ #
1093
+ # @param value the value to set the attribute implicit to.
1094
+ #
1095
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#9
1096
+ def implicit=(_arg0); end
1097
+
1098
+ # @return [Boolean]
1099
+ #
1100
+ # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#16
1101
+ def implicit?; end
1102
+
1103
+ # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#21
1104
+ def parts; end
1105
+ end
1106
+
1107
+ # source://regexp_parser//lib/regexp_parser/expression/classes/keep.rb#4
1108
+ module Regexp::Expression::Keep; end
1109
+
1110
+ # TODO: in regexp_parser v3.0.0 this should possibly be a Subexpression
1111
+ # that contains all expressions to its left.
1112
+ #
1113
+ # source://regexp_parser//lib/regexp_parser/expression/classes/keep.rb#7
1114
+ class Regexp::Expression::Keep::Mark < ::Regexp::Expression::Base
1115
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#41
1116
+ def human_name; end
1117
+
1118
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#149
1119
+ def match_length; end
1120
+ end
1121
+
1122
+ # source://regexp_parser//lib/regexp_parser/expression/classes/literal.rb#4
1123
+ class Regexp::Expression::Literal < ::Regexp::Expression::Base
1124
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#42
1125
+ def human_name; end
1126
+
1127
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#107
1128
+ def match_length; end
1129
+ end
1130
+
1131
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#87
1132
+ Regexp::Expression::MatchLength = Regexp::MatchLength
1133
+
1134
+ # source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#12
1135
+ Regexp::Expression::Nonposixclass = Regexp::Expression::PosixClass
1136
+
1137
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#120
1138
+ Regexp::Expression::Nonproperty = Regexp::Expression::UnicodeProperty
1139
+
1140
+ # source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#4
1141
+ class Regexp::Expression::PosixClass < ::Regexp::Expression::Base
1142
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#99
1143
+ def match_length; end
1144
+
1145
+ # source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#5
1146
+ def name; end
1147
+
1148
+ # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#20
1149
+ def negative?; end
1150
+ end
1151
+
1152
+ # alias for symmetry between token symbol and Expression class name
1153
+ #
1154
+ # source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#11
1155
+ Regexp::Expression::Posixclass = Regexp::Expression::PosixClass
1156
+
1157
+ # alias for symmetry between token symbol and Expression class name
1158
+ #
1159
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#119
1160
+ Regexp::Expression::Property = Regexp::Expression::UnicodeProperty
1161
+
1162
+ # TODO: in v3.0.0, maybe put Shared back into Base, and inherit from Base and
1163
+ # call super in #initialize, but raise in #quantifier= and #quantify,
1164
+ # or introduce an Expression::Quantifiable intermediate class.
1165
+ # Or actually allow chaining as a more concise but tricky solution than PR#69.
1166
+ #
1167
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#8
1168
+ class Regexp::Expression::Quantifier
1169
+ include ::Regexp::Expression::Shared
1170
+ extend ::Regexp::Expression::Shared::ClassMethods
1171
+
1172
+ # @return [Quantifier] a new instance of Quantifier
1173
+ #
1174
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#13
1175
+ def initialize(*args); end
1176
+
1177
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1178
+ def conditional_level; end
1179
+
1180
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1181
+ def conditional_level=(_arg0); end
1182
+
1183
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1184
+ def custom_to_s_handling; end
1185
+
1186
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1187
+ def custom_to_s_handling=(_arg0); end
1188
+
1189
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#32
1190
+ def greedy?; end
1191
+
1192
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#38
1193
+ def lazy?; end
1194
+
1195
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1196
+ def level; end
1197
+
1198
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1199
+ def level=(_arg0); end
1200
+
1201
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#44
1202
+ def max; end
1203
+
1204
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#40
1205
+ def min; end
1206
+
1207
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#48
1208
+ def mode; end
1209
+
1210
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1211
+ def nesting_level; end
1212
+
1213
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1214
+ def options; end
1215
+
1216
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1217
+ def options=(_arg0); end
1218
+
1219
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1220
+ def parent; end
1221
+
1222
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1223
+ def parent=(_arg0); end
1224
+
1225
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#32
1226
+ def possessive?; end
1227
+
1228
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1229
+ def pre_quantifier_decorations; end
1230
+
1231
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1232
+ def pre_quantifier_decorations=(_arg0); end
1233
+
1234
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1235
+ def quantifier; end
1236
+
1237
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#32
1238
+ def reluctant?; end
1239
+
1240
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1241
+ def set_level; end
1242
+
1243
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1244
+ def set_level=(_arg0); end
1245
+
1246
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1247
+ def te; end
1248
+
1249
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1250
+ def te=(_arg0); end
1251
+
1252
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1253
+ def text; end
1254
+
1255
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1256
+ def text=(_arg0); end
1257
+
1258
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#21
1259
+ def to_h; end
1260
+
1261
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1262
+ def token; end
1263
+
1264
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1265
+ def token=(_arg0); end
1266
+
1267
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1268
+ def ts; end
1269
+
1270
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1271
+ def ts=(_arg0); end
1272
+
1273
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1274
+ def type; end
1275
+
1276
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
1277
+ def type=(_arg0); end
1278
+
1279
+ private
1280
+
1281
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#54
1282
+ def deprecated_old_init(token, text, _min, _max, _mode = T.unsafe(nil)); end
1283
+
1284
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#66
1285
+ def derived_data; end
1286
+ end
1287
+
1288
+ # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#11
1289
+ Regexp::Expression::Quantifier::MODES = T.let(T.unsafe(nil), Array)
1290
+
1291
+ # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#4
1292
+ module Regexp::Expression::ReferencedExpressions
1293
+ # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#7
1294
+ def referenced_expression; end
1295
+
1296
+ # Returns the value of attribute referenced_expressions.
1297
+ #
1298
+ # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#5
1299
+ def referenced_expressions; end
1300
+
1301
+ # Sets the attribute referenced_expressions
1302
+ #
1303
+ # @param value the value to set the attribute referenced_expressions to.
1304
+ #
1305
+ # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#5
1306
+ def referenced_expressions=(_arg0); end
1307
+
1308
+ private
1309
+
1310
+ # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#11
1311
+ def initialize_copy(orig); end
1312
+ end
1313
+
1314
+ # source://regexp_parser//lib/regexp_parser/expression/classes/root.rb#4
1315
+ class Regexp::Expression::Root < ::Regexp::Expression::Subexpression
1316
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#43
1317
+ def human_name; end
1318
+
1319
+ class << self
1320
+ # source://regexp_parser//lib/regexp_parser/expression/classes/root.rb#5
1321
+ def build(options = T.unsafe(nil)); end
1322
+ end
1323
+ end
1324
+
1325
+ # A sequence of expressions. Differs from a Subexpressions by how it handles
1326
+ # quantifiers, as it applies them to its last element instead of itself as
1327
+ # a whole subexpression.
1328
+ #
1329
+ # Used as the base class for the Alternation alternatives, Conditional
1330
+ # branches, and CharacterSet::Intersection intersected sequences.
1331
+ #
1332
+ # source://regexp_parser//lib/regexp_parser/expression/sequence.rb#10
1333
+ class Regexp::Expression::Sequence < ::Regexp::Expression::Subexpression
1334
+ # source://regexp_parser//lib/regexp_parser/expression/sequence.rb#29
1335
+ def quantify(token, *args); end
1336
+
1337
+ # source://regexp_parser//lib/regexp_parser/expression/sequence.rb#25
1338
+ def ts; end
1339
+
1340
+ class << self
1341
+ # source://regexp_parser//lib/regexp_parser/expression/sequence.rb#12
1342
+ def add_to(exp, params = T.unsafe(nil), active_opts = T.unsafe(nil)); end
1343
+ end
1344
+ end
1345
+
1346
+ # abstract class
1347
+ #
1348
+ # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#5
1349
+ class Regexp::Expression::SequenceOperation < ::Regexp::Expression::Subexpression
1350
+ # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#14
1351
+ def <<(exp); end
1352
+
1353
+ # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#18
1354
+ def add_sequence(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end
1355
+
1356
+ # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#7
1357
+ def operands; end
1358
+
1359
+ # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#8
1360
+ def operator; end
1361
+
1362
+ # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#24
1363
+ def parts; end
1364
+
1365
+ # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#6
1366
+ def sequences; end
1367
+
1368
+ # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#10
1369
+ def ts; end
1370
+ end
1371
+
1372
+ # alias for symmetry between token symbol and Expression class name
1373
+ #
1374
+ # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#24
1375
+ Regexp::Expression::Set = Regexp::Expression::CharacterSet
1376
+
1377
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#4
1378
+ module Regexp::Expression::Shared
1379
+ mixes_in_class_methods ::Regexp::Expression::Shared::ClassMethods
1380
+
1381
+ # Deep-compare two expressions for equality.
1382
+ #
1383
+ # When changing the conditions, please make sure to update
1384
+ # #pretty_print_instance_variables so that it includes all relevant values.
1385
+ #
1386
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#103
1387
+ def ==(other); end
1388
+
1389
+ # Deep-compare two expressions for equality.
1390
+ #
1391
+ # When changing the conditions, please make sure to update
1392
+ # #pretty_print_instance_variables so that it includes all relevant values.
1393
+ #
1394
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#110
1395
+ def ===(other); end
1396
+
1397
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#53
1398
+ def base_length; end
1399
+
1400
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#126
1401
+ def capturing?; end
1402
+
1403
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#99
1404
+ def coded_offset; end
1405
+
1406
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#130
1407
+ def comment?; end
1408
+
1409
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#135
1410
+ def decorative?; end
1411
+
1412
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#49
1413
+ def ends_at(include_quantifier = T.unsafe(nil)); end
1414
+
1415
+ # Deep-compare two expressions for equality.
1416
+ #
1417
+ # When changing the conditions, please make sure to update
1418
+ # #pretty_print_instance_variables so that it includes all relevant values.
1419
+ #
1420
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#111
1421
+ def eql?(other); end
1422
+
1423
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#57
1424
+ def full_length; end
1425
+
1426
+ # default implementation, e.g. "atomic group", "hex escape", "word type", ..
1427
+ #
1428
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#6
1429
+ def human_name; end
1430
+
1431
+ # source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#5
1432
+ def inspect; end
1433
+
1434
+ # Test if this expression has the given test_token, and optionally a given
1435
+ # test_type.
1436
+ #
1437
+ # # Any expressions
1438
+ # exp.is? :* # always returns true
1439
+ #
1440
+ # # is it a :capture
1441
+ # exp.is? :capture
1442
+ #
1443
+ # # is it a :character and a :set
1444
+ # exp.is? :character, :set
1445
+ #
1446
+ # # is it a :meta :dot
1447
+ # exp.is? :dot, :meta
1448
+ #
1449
+ # # is it a :meta or :escape :dot
1450
+ # exp.is? :dot, [:meta, :escape]
1451
+ #
1452
+ # @return [Boolean]
1453
+ #
1454
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#38
1455
+ def is?(test_token, test_type = T.unsafe(nil)); end
1456
+
1457
+ # not an alias so as to respect overrides of #negative?
1458
+ #
1459
+ # @return [Boolean]
1460
+ #
1461
+ # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#10
1462
+ def negated?; end
1463
+
1464
+ # @return [Boolean]
1465
+ #
1466
+ # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#5
1467
+ def negative?; end
1468
+
1469
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#103
1470
+ def nesting_level=(lvl); end
1471
+
1472
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#95
1473
+ def offset; end
1474
+
1475
+ # Test if this expression matches an entry in the given scope spec.
1476
+ #
1477
+ # A scope spec can be one of:
1478
+ #
1479
+ # . An array: Interpreted as a set of tokens, tested for inclusion
1480
+ # of the expression's token.
1481
+ #
1482
+ # . A hash: Where the key is interpreted as the expression type
1483
+ # and the value is either a symbol or an array. In this
1484
+ # case, when the scope is a hash, one_of? calls itself to
1485
+ # evaluate the key's value.
1486
+ #
1487
+ # . A symbol: matches the expression's token or type, depending on
1488
+ # the level of the call. If one_of? is called directly with
1489
+ # a symbol then it will always be checked against the
1490
+ # type of the expression. If it's being called for a value
1491
+ # from a hash, it will be checked against the token of the
1492
+ # expression.
1493
+ #
1494
+ # # any expression
1495
+ # exp.one_of?(:*) # always true
1496
+ #
1497
+ # # like exp.type?(:group)
1498
+ # exp.one_of?(:group)
1499
+ #
1500
+ # # any expression of type meta
1501
+ # exp.one_of?(:meta => :*)
1502
+ #
1503
+ # # meta dots and alternations
1504
+ # exp.one_of?(:meta => [:dot, :alternation])
1505
+ #
1506
+ # # meta dots and any set tokens
1507
+ # exp.one_of?({meta: [:dot], set: :*})
1508
+ #
1509
+ # @return [Boolean]
1510
+ #
1511
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#77
1512
+ def one_of?(scope, top = T.unsafe(nil)); end
1513
+
1514
+ # @return [Boolean]
1515
+ #
1516
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#113
1517
+ def optional?; end
1518
+
1519
+ # default implementation
1520
+ #
1521
+ # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#6
1522
+ def parts; end
1523
+
1524
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#87
1525
+ def pre_quantifier_decoration(expression_format = T.unsafe(nil)); end
1526
+
1527
+ # Make pretty-print work despite #inspect implementation.
1528
+ #
1529
+ # source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#14
1530
+ def pretty_print(q); end
1531
+
1532
+ # Called by pretty_print (ruby/pp) and #inspect.
1533
+ #
1534
+ # source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#19
1535
+ def pretty_print_instance_variables; end
1536
+
1537
+ # @return [Boolean]
1538
+ #
1539
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#117
1540
+ def quantified?; end
1541
+
1542
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#109
1543
+ def quantifier=(qtf); end
1544
+
1545
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#91
1546
+ def quantifier_affix(expression_format = T.unsafe(nil)); end
1547
+
1548
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#140
1549
+ def referential?; end
1550
+
1551
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#45
1552
+ def starts_at; end
1553
+
1554
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#122
1555
+ def terminal?; end
1556
+
1557
+ # #to_s reproduces the original source, as an unparser would.
1558
+ #
1559
+ # It takes an optional format argument.
1560
+ #
1561
+ # Example:
1562
+ #
1563
+ # lit = Regexp::Parser.parse(/a +/x)[0]
1564
+ #
1565
+ # lit.to_s # => 'a+' # default; with quantifier
1566
+ # lit.to_s(:full) # => 'a+' # default; with quantifier
1567
+ # lit.to_s(:base) # => 'a' # without quantifier
1568
+ # lit.to_s(:original) # => 'a +' # with quantifier AND intermittent decorations
1569
+ #
1570
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#74
1571
+ def to_s(format = T.unsafe(nil)); end
1572
+
1573
+ # #to_s reproduces the original source, as an unparser would.
1574
+ #
1575
+ # It takes an optional format argument.
1576
+ #
1577
+ # Example:
1578
+ #
1579
+ # lit = Regexp::Parser.parse(/a +/x)[0]
1580
+ #
1581
+ # lit.to_s # => 'a+' # default; with quantifier
1582
+ # lit.to_s(:full) # => 'a+' # default; with quantifier
1583
+ # lit.to_s(:base) # => 'a' # without quantifier
1584
+ # lit.to_s(:original) # => 'a +' # with quantifier AND intermittent decorations
1585
+ #
1586
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#85
1587
+ def to_str(format = T.unsafe(nil)); end
1588
+
1589
+ # source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#39
1590
+ def token_class; end
1591
+
1592
+ # Test if this expression has the given test_type, which can be either
1593
+ # a symbol or an array of symbols to check against the expression's type.
1594
+ #
1595
+ # # is it a :group expression
1596
+ # exp.type? :group
1597
+ #
1598
+ # # is it a :set, or :meta
1599
+ # exp.type? [:set, :meta]
1600
+ #
1601
+ # @return [Boolean]
1602
+ #
1603
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#15
1604
+ def type?(test_type); end
1605
+
1606
+ private
1607
+
1608
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#20
1609
+ def init_from_token_and_options(token, options = T.unsafe(nil)); end
1610
+
1611
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#34
1612
+ def initialize_copy(orig); end
1613
+
1614
+ # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#12
1615
+ def intersperse(expressions, separator); end
1616
+
1617
+ class << self
1618
+ # @private
1619
+ #
1620
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#7
1621
+ def included(mod); end
1622
+ end
1623
+ end
1624
+
1625
+ # filled in ./methods/*.rb
1626
+ #
1627
+ # source://regexp_parser//lib/regexp_parser/expression/shared.rb#5
1628
+ module Regexp::Expression::Shared::ClassMethods
1629
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#127
1630
+ def capturing?; end
1631
+
1632
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#131
1633
+ def comment?; end
1634
+
1635
+ # Convenience method to init a valid Expression without a Regexp::Token
1636
+ #
1637
+ # @raise [ArgumentError]
1638
+ #
1639
+ # source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#7
1640
+ def construct(params = T.unsafe(nil)); end
1641
+
1642
+ # source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#17
1643
+ def construct_defaults; end
1644
+
1645
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#136
1646
+ def decorative?; end
1647
+
1648
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#141
1649
+ def referential?; end
1650
+
1651
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#123
1652
+ def terminal?; end
1653
+
1654
+ # source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#27
1655
+ def token_class; end
1656
+ end
1657
+
1658
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#4
1659
+ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base
1660
+ include ::Enumerable
1661
+
1662
+ # @return [Subexpression] a new instance of Subexpression
1663
+ #
1664
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#9
1665
+ def initialize(token, options = T.unsafe(nil)); end
1666
+
1667
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#22
1668
+ def <<(exp); end
1669
+
1670
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28
1671
+ def [](*args, &block); end
1672
+
1673
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28
1674
+ def at(*args, &block); end
1675
+
1676
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#35
1677
+ def dig(*indices); end
1678
+
1679
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28
1680
+ def each(*args, &block); end
1681
+
1682
+ # Traverses the expression, passing each recursive child to the
1683
+ # given block.
1684
+ # If the block takes two arguments, the indices of the children within
1685
+ # their parents are also passed to it.
1686
+ #
1687
+ # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#10
1688
+ def each_expression(include_self = T.unsafe(nil), &block); end
1689
+
1690
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28
1691
+ def empty?(*args, &block); end
1692
+
1693
+ # Returns the value of attribute expressions.
1694
+ #
1695
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#7
1696
+ def expressions; end
1697
+
1698
+ # Sets the attribute expressions
1699
+ #
1700
+ # @param value the value to set the attribute expressions to.
1701
+ #
1702
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#7
1703
+ def expressions=(_arg0); end
1704
+
1705
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#52
1706
+ def extract_quantifier_target(quantifier_description); end
1707
+
1708
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28
1709
+ def fetch(*args, &block); end
1710
+
1711
+ # Returns a new array with the results of calling the given block once
1712
+ # for every expression. If a block is not given, returns an array with
1713
+ # each expression and its level index as an array.
1714
+ #
1715
+ # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#58
1716
+ def flat_map(include_self = T.unsafe(nil), &block); end
1717
+
1718
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28
1719
+ def index(*args, &block); end
1720
+
1721
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#120
1722
+ def inner_match_length; end
1723
+
1724
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28
1725
+ def join(*args, &block); end
1726
+
1727
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28
1728
+ def last(*args, &block); end
1729
+
1730
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28
1731
+ def length(*args, &block); end
1732
+
1733
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#113
1734
+ def match_length; end
1735
+
1736
+ # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#23
1737
+ def parts; end
1738
+
1739
+ # source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#114
1740
+ def strfre_tree(format = T.unsafe(nil), include_self = T.unsafe(nil), separator = T.unsafe(nil)); end
1741
+
1742
+ # source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#104
1743
+ def strfregexp_tree(format = T.unsafe(nil), include_self = T.unsafe(nil), separator = T.unsafe(nil)); end
1744
+
1745
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#41
1746
+ def te; end
1747
+
1748
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#45
1749
+ def to_h; end
1750
+
1751
+ # Traverses the subexpression (depth-first, pre-order) and calls the given
1752
+ # block for each expression with three arguments; the traversal event,
1753
+ # the expression, and the index of the expression within its parent.
1754
+ #
1755
+ # The event argument is passed as follows:
1756
+ #
1757
+ # - For subexpressions, :enter upon entering the subexpression, and
1758
+ # :exit upon exiting it.
1759
+ #
1760
+ # - For terminal expressions, :visit is called once.
1761
+ #
1762
+ # Returns self.
1763
+ #
1764
+ # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#34
1765
+ def traverse(include_self = T.unsafe(nil), &block); end
1766
+
1767
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28
1768
+ def values_at(*args, &block); end
1769
+
1770
+ # Traverses the subexpression (depth-first, pre-order) and calls the given
1771
+ # block for each expression with three arguments; the traversal event,
1772
+ # the expression, and the index of the expression within its parent.
1773
+ #
1774
+ # The event argument is passed as follows:
1775
+ #
1776
+ # - For subexpressions, :enter upon entering the subexpression, and
1777
+ # :exit upon exiting it.
1778
+ #
1779
+ # - For terminal expressions, :visit is called once.
1780
+ #
1781
+ # Returns self.
1782
+ #
1783
+ # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#53
1784
+ def walk(include_self = T.unsafe(nil), &block); end
1785
+
1786
+ protected
1787
+
1788
+ # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#68
1789
+ def each_expression_with_index(&block); end
1790
+
1791
+ # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#75
1792
+ def each_expression_without_index(&block); end
1793
+
1794
+ private
1795
+
1796
+ # Override base method to clone the expressions as well.
1797
+ #
1798
+ # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#15
1799
+ def initialize_copy(orig); end
1800
+
1801
+ class << self
1802
+ # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#124
1803
+ def terminal?; end
1804
+ end
1805
+ end
1806
+
1807
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#4
1808
+ module Regexp::Expression::UnicodeProperty; end
1809
+
1810
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#110
1811
+ class Regexp::Expression::UnicodeProperty::Age < ::Regexp::Expression::UnicodeProperty::Base; end
1812
+
1813
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#15
1814
+ class Regexp::Expression::UnicodeProperty::Alnum < ::Regexp::Expression::UnicodeProperty::Base; end
1815
+
1816
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#16
1817
+ class Regexp::Expression::UnicodeProperty::Alpha < ::Regexp::Expression::UnicodeProperty::Base; end
1818
+
1819
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#33
1820
+ class Regexp::Expression::UnicodeProperty::Any < ::Regexp::Expression::UnicodeProperty::Base; end
1821
+
1822
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#17
1823
+ class Regexp::Expression::UnicodeProperty::Ascii < ::Regexp::Expression::UnicodeProperty::Base; end
1824
+
1825
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#34
1826
+ class Regexp::Expression::UnicodeProperty::Assigned < ::Regexp::Expression::UnicodeProperty::Base; end
1827
+
1828
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#5
1829
+ class Regexp::Expression::UnicodeProperty::Base < ::Regexp::Expression::Base
1830
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#99
1831
+ def match_length; end
1832
+
1833
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#6
1834
+ def name; end
1835
+
1836
+ # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#21
1837
+ def negative?; end
1838
+
1839
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#10
1840
+ def shortcut; end
1841
+ end
1842
+
1843
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#18
1844
+ class Regexp::Expression::UnicodeProperty::Blank < ::Regexp::Expression::UnicodeProperty::Base; end
1845
+
1846
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#111
1847
+ class Regexp::Expression::UnicodeProperty::Block < ::Regexp::Expression::UnicodeProperty::Base; end
1848
+
1849
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#19
1850
+ class Regexp::Expression::UnicodeProperty::Cntrl < ::Regexp::Expression::UnicodeProperty::Base; end
1851
+
1852
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#99
1853
+ module Regexp::Expression::UnicodeProperty::Codepoint; end
1854
+
1855
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#102
1856
+ class Regexp::Expression::UnicodeProperty::Codepoint::Any < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
1857
+
1858
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#100
1859
+ class Regexp::Expression::UnicodeProperty::Codepoint::Base < ::Regexp::Expression::UnicodeProperty::Base; end
1860
+
1861
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#103
1862
+ class Regexp::Expression::UnicodeProperty::Codepoint::Control < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
1863
+
1864
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#104
1865
+ class Regexp::Expression::UnicodeProperty::Codepoint::Format < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
1866
+
1867
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#106
1868
+ class Regexp::Expression::UnicodeProperty::Codepoint::PrivateUse < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
1869
+
1870
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#105
1871
+ class Regexp::Expression::UnicodeProperty::Codepoint::Surrogate < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
1872
+
1873
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#107
1874
+ class Regexp::Expression::UnicodeProperty::Codepoint::Unassigned < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
1875
+
1876
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#112
1877
+ class Regexp::Expression::UnicodeProperty::Derived < ::Regexp::Expression::UnicodeProperty::Base; end
1878
+
1879
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#20
1880
+ class Regexp::Expression::UnicodeProperty::Digit < ::Regexp::Expression::UnicodeProperty::Base; end
1881
+
1882
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#113
1883
+ class Regexp::Expression::UnicodeProperty::Emoji < ::Regexp::Expression::UnicodeProperty::Base; end
1884
+
1885
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#114
1886
+ class Regexp::Expression::UnicodeProperty::Enumerated < ::Regexp::Expression::UnicodeProperty::Base; end
1887
+
1888
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#21
1889
+ class Regexp::Expression::UnicodeProperty::Graph < ::Regexp::Expression::UnicodeProperty::Base; end
1890
+
1891
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#36
1892
+ module Regexp::Expression::UnicodeProperty::Letter; end
1893
+
1894
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#39
1895
+ class Regexp::Expression::UnicodeProperty::Letter::Any < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
1896
+
1897
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#37
1898
+ class Regexp::Expression::UnicodeProperty::Letter::Base < ::Regexp::Expression::UnicodeProperty::Base; end
1899
+
1900
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#40
1901
+ class Regexp::Expression::UnicodeProperty::Letter::Cased < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
1902
+
1903
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#42
1904
+ class Regexp::Expression::UnicodeProperty::Letter::Lowercase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
1905
+
1906
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#44
1907
+ class Regexp::Expression::UnicodeProperty::Letter::Modifier < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
1908
+
1909
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#45
1910
+ class Regexp::Expression::UnicodeProperty::Letter::Other < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
1911
+
1912
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#43
1913
+ class Regexp::Expression::UnicodeProperty::Letter::Titlecase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
1914
+
1915
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#41
1916
+ class Regexp::Expression::UnicodeProperty::Letter::Uppercase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
1917
+
1918
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#22
1919
+ class Regexp::Expression::UnicodeProperty::Lower < ::Regexp::Expression::UnicodeProperty::Base; end
1920
+
1921
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#48
1922
+ module Regexp::Expression::UnicodeProperty::Mark; end
1923
+
1924
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#51
1925
+ class Regexp::Expression::UnicodeProperty::Mark::Any < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
1926
+
1927
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#49
1928
+ class Regexp::Expression::UnicodeProperty::Mark::Base < ::Regexp::Expression::UnicodeProperty::Base; end
1929
+
1930
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#52
1931
+ class Regexp::Expression::UnicodeProperty::Mark::Combining < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
1932
+
1933
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#55
1934
+ class Regexp::Expression::UnicodeProperty::Mark::Enclosing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
1935
+
1936
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#53
1937
+ class Regexp::Expression::UnicodeProperty::Mark::Nonspacing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
1938
+
1939
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#54
1940
+ class Regexp::Expression::UnicodeProperty::Mark::Spacing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
1941
+
1942
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#31
1943
+ class Regexp::Expression::UnicodeProperty::Newline < ::Regexp::Expression::UnicodeProperty::Base; end
1944
+
1945
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#58
1946
+ module Regexp::Expression::UnicodeProperty::Number; end
1947
+
1948
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#61
1949
+ class Regexp::Expression::UnicodeProperty::Number::Any < ::Regexp::Expression::UnicodeProperty::Number::Base; end
1950
+
1951
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#59
1952
+ class Regexp::Expression::UnicodeProperty::Number::Base < ::Regexp::Expression::UnicodeProperty::Base; end
1953
+
1954
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#62
1955
+ class Regexp::Expression::UnicodeProperty::Number::Decimal < ::Regexp::Expression::UnicodeProperty::Number::Base; end
1956
+
1957
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#63
1958
+ class Regexp::Expression::UnicodeProperty::Number::Letter < ::Regexp::Expression::UnicodeProperty::Number::Base; end
1959
+
1960
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#64
1961
+ class Regexp::Expression::UnicodeProperty::Number::Other < ::Regexp::Expression::UnicodeProperty::Number::Base; end
1962
+
1963
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#23
1964
+ class Regexp::Expression::UnicodeProperty::Print < ::Regexp::Expression::UnicodeProperty::Base; end
1965
+
1966
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#24
1967
+ class Regexp::Expression::UnicodeProperty::Punct < ::Regexp::Expression::UnicodeProperty::Base; end
1968
+
1969
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#67
1970
+ module Regexp::Expression::UnicodeProperty::Punctuation; end
1971
+
1972
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#70
1973
+ class Regexp::Expression::UnicodeProperty::Punctuation::Any < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
1974
+
1975
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#68
1976
+ class Regexp::Expression::UnicodeProperty::Punctuation::Base < ::Regexp::Expression::UnicodeProperty::Base; end
1977
+
1978
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#74
1979
+ class Regexp::Expression::UnicodeProperty::Punctuation::Close < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
1980
+
1981
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#71
1982
+ class Regexp::Expression::UnicodeProperty::Punctuation::Connector < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
1983
+
1984
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#72
1985
+ class Regexp::Expression::UnicodeProperty::Punctuation::Dash < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
1986
+
1987
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#76
1988
+ class Regexp::Expression::UnicodeProperty::Punctuation::Final < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
1989
+
1990
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#75
1991
+ class Regexp::Expression::UnicodeProperty::Punctuation::Initial < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
1992
+
1993
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#73
1994
+ class Regexp::Expression::UnicodeProperty::Punctuation::Open < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
1995
+
1996
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#77
1997
+ class Regexp::Expression::UnicodeProperty::Punctuation::Other < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
1998
+
1999
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#115
2000
+ class Regexp::Expression::UnicodeProperty::Script < ::Regexp::Expression::UnicodeProperty::Base; end
2001
+
2002
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#80
2003
+ module Regexp::Expression::UnicodeProperty::Separator; end
2004
+
2005
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#83
2006
+ class Regexp::Expression::UnicodeProperty::Separator::Any < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
2007
+
2008
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#81
2009
+ class Regexp::Expression::UnicodeProperty::Separator::Base < ::Regexp::Expression::UnicodeProperty::Base; end
2010
+
2011
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#85
2012
+ class Regexp::Expression::UnicodeProperty::Separator::Line < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
2013
+
2014
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#86
2015
+ class Regexp::Expression::UnicodeProperty::Separator::Paragraph < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
2016
+
2017
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#84
2018
+ class Regexp::Expression::UnicodeProperty::Separator::Space < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
2019
+
2020
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#25
2021
+ class Regexp::Expression::UnicodeProperty::Space < ::Regexp::Expression::UnicodeProperty::Base; end
2022
+
2023
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#89
2024
+ module Regexp::Expression::UnicodeProperty::Symbol; end
2025
+
2026
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#92
2027
+ class Regexp::Expression::UnicodeProperty::Symbol::Any < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
2028
+
2029
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#90
2030
+ class Regexp::Expression::UnicodeProperty::Symbol::Base < ::Regexp::Expression::UnicodeProperty::Base; end
2031
+
2032
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#94
2033
+ class Regexp::Expression::UnicodeProperty::Symbol::Currency < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
2034
+
2035
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#93
2036
+ class Regexp::Expression::UnicodeProperty::Symbol::Math < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
2037
+
2038
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#95
2039
+ class Regexp::Expression::UnicodeProperty::Symbol::Modifier < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
2040
+
2041
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#96
2042
+ class Regexp::Expression::UnicodeProperty::Symbol::Other < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
2043
+
2044
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#26
2045
+ class Regexp::Expression::UnicodeProperty::Upper < ::Regexp::Expression::UnicodeProperty::Base; end
2046
+
2047
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#27
2048
+ class Regexp::Expression::UnicodeProperty::Word < ::Regexp::Expression::UnicodeProperty::Base; end
2049
+
2050
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#29
2051
+ class Regexp::Expression::UnicodeProperty::XPosixPunct < ::Regexp::Expression::UnicodeProperty::Base; end
2052
+
2053
+ # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#28
2054
+ class Regexp::Expression::UnicodeProperty::Xdigit < ::Regexp::Expression::UnicodeProperty::Base; end
2055
+
2056
+ # source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#13
2057
+ class Regexp::Expression::WhiteSpace < ::Regexp::Expression::FreeSpace
2058
+ # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#44
2059
+ def human_name; end
2060
+
2061
+ # source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#14
2062
+ def merge(exp); end
2063
+ end
2064
+
2065
+ # A very thin wrapper around the scanner that breaks quantified literal runs,
2066
+ # collects emitted tokens into an array, calculates their nesting depth, and
2067
+ # normalizes tokens for the parser, and checks if they are implemented by the
2068
+ # given syntax flavor.
2069
+ #
2070
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#7
2071
+ class Regexp::Lexer
2072
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#73
2073
+ def emit(token); end
2074
+
2075
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#22
2076
+ def lex(input, syntax = T.unsafe(nil), options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
2077
+
2078
+ private
2079
+
2080
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#93
2081
+ def ascend(type, token); end
2082
+
2083
+ # Returns the value of attribute block.
2084
+ #
2085
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2086
+ def block; end
2087
+
2088
+ # Sets the attribute block
2089
+ #
2090
+ # @param value the value to set the attribute block to.
2091
+ #
2092
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2093
+ def block=(_arg0); end
2094
+
2095
+ # if a codepoint list is followed by a quantifier, that quantifier applies
2096
+ # to the last codepoint, e.g. /\u{61 62 63}{3}/ =~ 'abccc'
2097
+ # c.f. #break_literal.
2098
+ #
2099
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#145
2100
+ def break_codepoint_list(token); end
2101
+
2102
+ # called by scan to break a literal run that is longer than one character
2103
+ # into two separate tokens when it is followed by a quantifier
2104
+ #
2105
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#125
2106
+ def break_literal(token); end
2107
+
2108
+ # Returns the value of attribute collect_tokens.
2109
+ #
2110
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2111
+ def collect_tokens; end
2112
+
2113
+ # Sets the attribute collect_tokens
2114
+ #
2115
+ # @param value the value to set the attribute collect_tokens to.
2116
+ #
2117
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2118
+ def collect_tokens=(_arg0); end
2119
+
2120
+ # Returns the value of attribute conditional_nesting.
2121
+ #
2122
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2123
+ def conditional_nesting; end
2124
+
2125
+ # Sets the attribute conditional_nesting
2126
+ #
2127
+ # @param value the value to set the attribute conditional_nesting to.
2128
+ #
2129
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2130
+ def conditional_nesting=(_arg0); end
2131
+
2132
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#108
2133
+ def descend(type, token); end
2134
+
2135
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#164
2136
+ def merge_condition(current, last); end
2137
+
2138
+ # Returns the value of attribute nesting.
2139
+ #
2140
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2141
+ def nesting; end
2142
+
2143
+ # Sets the attribute nesting
2144
+ #
2145
+ # @param value the value to set the attribute nesting to.
2146
+ #
2147
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2148
+ def nesting=(_arg0); end
2149
+
2150
+ # Returns the value of attribute preprev_token.
2151
+ #
2152
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2153
+ def preprev_token; end
2154
+
2155
+ # Sets the attribute preprev_token
2156
+ #
2157
+ # @param value the value to set the attribute preprev_token to.
2158
+ #
2159
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2160
+ def preprev_token=(_arg0); end
2161
+
2162
+ # Returns the value of attribute prev_token.
2163
+ #
2164
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2165
+ def prev_token; end
2166
+
2167
+ # Sets the attribute prev_token
2168
+ #
2169
+ # @param value the value to set the attribute prev_token to.
2170
+ #
2171
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2172
+ def prev_token=(_arg0); end
2173
+
2174
+ # Returns the value of attribute set_nesting.
2175
+ #
2176
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2177
+ def set_nesting; end
2178
+
2179
+ # Sets the attribute set_nesting
2180
+ #
2181
+ # @param value the value to set the attribute set_nesting to.
2182
+ #
2183
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2184
+ def set_nesting=(_arg0); end
2185
+
2186
+ # Returns the value of attribute shift.
2187
+ #
2188
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2189
+ def shift; end
2190
+
2191
+ # Sets the attribute shift
2192
+ #
2193
+ # @param value the value to set the attribute shift to.
2194
+ #
2195
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2196
+ def shift=(_arg0); end
2197
+
2198
+ # Returns the value of attribute tokens.
2199
+ #
2200
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2201
+ def tokens; end
2202
+
2203
+ # Sets the attribute tokens
2204
+ #
2205
+ # @param value the value to set the attribute tokens to.
2206
+ #
2207
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#89
2208
+ def tokens=(_arg0); end
2209
+
2210
+ class << self
2211
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#18
2212
+ def lex(input, syntax = T.unsafe(nil), options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
2213
+
2214
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#84
2215
+ def scan(input, syntax = T.unsafe(nil), options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
2216
+ end
2217
+ end
2218
+
2219
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#14
2220
+ Regexp::Lexer::CLOSING_TOKENS = T.let(T.unsafe(nil), Array)
2221
+
2222
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#16
2223
+ Regexp::Lexer::CONDITION_TOKENS = T.let(T.unsafe(nil), Array)
2224
+
2225
+ # source://regexp_parser//lib/regexp_parser/lexer.rb#9
2226
+ Regexp::Lexer::OPENING_TOKENS = T.let(T.unsafe(nil), Array)
2227
+
2228
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#3
2229
+ class Regexp::MatchLength
2230
+ include ::Enumerable
2231
+
2232
+ # @return [MatchLength] a new instance of MatchLength
2233
+ #
2234
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#11
2235
+ def initialize(exp, opts = T.unsafe(nil)); end
2236
+
2237
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#26
2238
+ def each(opts = T.unsafe(nil)); end
2239
+
2240
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#37
2241
+ def endless_each; end
2242
+
2243
+ # @return [Boolean]
2244
+ #
2245
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#46
2246
+ def fixed?; end
2247
+
2248
+ # @return [Boolean]
2249
+ #
2250
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#42
2251
+ def include?(length); end
2252
+
2253
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#62
2254
+ def inspect; end
2255
+
2256
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#54
2257
+ def max; end
2258
+
2259
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#50
2260
+ def min; end
2261
+
2262
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#58
2263
+ def minmax; end
2264
+
2265
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#67
2266
+ def to_re; end
2267
+
2268
+ private
2269
+
2270
+ # Returns the value of attribute base_max.
2271
+ #
2272
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73
2273
+ def base_max; end
2274
+
2275
+ # Sets the attribute base_max
2276
+ #
2277
+ # @param value the value to set the attribute base_max to.
2278
+ #
2279
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73
2280
+ def base_max=(_arg0); end
2281
+
2282
+ # Returns the value of attribute base_min.
2283
+ #
2284
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73
2285
+ def base_min; end
2286
+
2287
+ # Sets the attribute base_min
2288
+ #
2289
+ # @param value the value to set the attribute base_min to.
2290
+ #
2291
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73
2292
+ def base_min=(_arg0); end
2293
+
2294
+ # Returns the value of attribute exp_class.
2295
+ #
2296
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73
2297
+ def exp_class; end
2298
+
2299
+ # Sets the attribute exp_class
2300
+ #
2301
+ # @param value the value to set the attribute exp_class to.
2302
+ #
2303
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73
2304
+ def exp_class=(_arg0); end
2305
+
2306
+ # Returns the value of attribute max_rep.
2307
+ #
2308
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73
2309
+ def max_rep; end
2310
+
2311
+ # Sets the attribute max_rep
2312
+ #
2313
+ # @param value the value to set the attribute max_rep to.
2314
+ #
2315
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73
2316
+ def max_rep=(_arg0); end
2317
+
2318
+ # Returns the value of attribute min_rep.
2319
+ #
2320
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73
2321
+ def min_rep; end
2322
+
2323
+ # Sets the attribute min_rep
2324
+ #
2325
+ # @param value the value to set the attribute min_rep to.
2326
+ #
2327
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73
2328
+ def min_rep=(_arg0); end
2329
+
2330
+ # Returns the value of attribute reify.
2331
+ #
2332
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73
2333
+ def reify; end
2334
+
2335
+ # Sets the attribute reify
2336
+ #
2337
+ # @param value the value to set the attribute reify to.
2338
+ #
2339
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73
2340
+ def reify=(_arg0); end
2341
+
2342
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#76
2343
+ def test_regexp; end
2344
+
2345
+ class << self
2346
+ # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#6
2347
+ def of(obj); end
2348
+ end
2349
+ end
2350
+
2351
+ # source://regexp_parser//lib/regexp_parser/version.rb#4
2352
+ class Regexp::Parser
2353
+ include ::Regexp::Expression
2354
+
2355
+ # source://regexp_parser//lib/regexp_parser/parser.rb#27
2356
+ def parse(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
2357
+
2358
+ private
2359
+
2360
+ # source://regexp_parser//lib/regexp_parser/parser.rb#577
2361
+ def active_opts; end
2362
+
2363
+ # source://regexp_parser//lib/regexp_parser/parser.rb#101
2364
+ def anchor(token); end
2365
+
2366
+ # source://regexp_parser//lib/regexp_parser/parser.rb#264
2367
+ def assign_effective_number(exp); end
2368
+
2369
+ # Assigns referenced expressions to referring expressions, e.g. if there is
2370
+ # an instance of Backreference::Number, its #referenced_expression is set to
2371
+ # the instance of Group::Capture that it refers to via its number.
2372
+ #
2373
+ # source://regexp_parser//lib/regexp_parser/parser.rb#584
2374
+ def assign_referenced_expressions; end
2375
+
2376
+ # source://regexp_parser//lib/regexp_parser/parser.rb#229
2377
+ def backref(token); end
2378
+
2379
+ # source://regexp_parser//lib/regexp_parser/parser.rb#204
2380
+ def captured_group_count_at_level; end
2381
+
2382
+ # Returns the value of attribute captured_group_counts.
2383
+ #
2384
+ # source://regexp_parser//lib/regexp_parser/parser.rb#58
2385
+ def captured_group_counts; end
2386
+
2387
+ # Sets the attribute captured_group_counts
2388
+ #
2389
+ # @param value the value to set the attribute captured_group_counts to.
2390
+ #
2391
+ # source://regexp_parser//lib/regexp_parser/parser.rb#58
2392
+ def captured_group_counts=(_arg0); end
2393
+
2394
+ # source://regexp_parser//lib/regexp_parser/parser.rb#573
2395
+ def close_completed_character_set_range; end
2396
+
2397
+ # source://regexp_parser//lib/regexp_parser/parser.rb#212
2398
+ def close_group; end
2399
+
2400
+ # source://regexp_parser//lib/regexp_parser/parser.rb#541
2401
+ def close_set; end
2402
+
2403
+ # source://regexp_parser//lib/regexp_parser/parser.rb#271
2404
+ def conditional(token); end
2405
+
2406
+ # Returns the value of attribute conditional_nesting.
2407
+ #
2408
+ # source://regexp_parser//lib/regexp_parser/parser.rb#58
2409
+ def conditional_nesting; end
2410
+
2411
+ # Sets the attribute conditional_nesting
2412
+ #
2413
+ # @param value the value to set the attribute conditional_nesting to.
2414
+ #
2415
+ # source://regexp_parser//lib/regexp_parser/parser.rb#58
2416
+ def conditional_nesting=(_arg0); end
2417
+
2418
+ # source://regexp_parser//lib/regexp_parser/parser.rb#208
2419
+ def count_captured_group; end
2420
+
2421
+ # @yield [node]
2422
+ #
2423
+ # source://regexp_parser//lib/regexp_parser/parser.rb#218
2424
+ def decrease_nesting; end
2425
+
2426
+ # source://regexp_parser//lib/regexp_parser/parser.rb#307
2427
+ def escape(token); end
2428
+
2429
+ # source://regexp_parser//lib/regexp_parser/parser.rb#62
2430
+ def extract_options(input, options); end
2431
+
2432
+ # source://regexp_parser//lib/regexp_parser/parser.rb#352
2433
+ def free_space(token); end
2434
+
2435
+ # source://regexp_parser//lib/regexp_parser/parser.rb#116
2436
+ def group(token); end
2437
+
2438
+ # source://regexp_parser//lib/regexp_parser/parser.rb#512
2439
+ def increase_group_level(exp); end
2440
+
2441
+ # source://regexp_parser//lib/regexp_parser/parser.rb#552
2442
+ def intersection(token); end
2443
+
2444
+ # source://regexp_parser//lib/regexp_parser/parser.rb#363
2445
+ def keep(token); end
2446
+
2447
+ # source://regexp_parser//lib/regexp_parser/parser.rb#367
2448
+ def literal(token); end
2449
+
2450
+ # source://regexp_parser//lib/regexp_parser/parser.rb#371
2451
+ def meta(token); end
2452
+
2453
+ # source://regexp_parser//lib/regexp_parser/parser.rb#537
2454
+ def negate_set; end
2455
+
2456
+ # source://regexp_parser//lib/regexp_parser/parser.rb#301
2457
+ def nest(exp); end
2458
+
2459
+ # source://regexp_parser//lib/regexp_parser/parser.rb#296
2460
+ def nest_conditional(exp); end
2461
+
2462
+ # Returns the value of attribute nesting.
2463
+ #
2464
+ # source://regexp_parser//lib/regexp_parser/parser.rb#58
2465
+ def nesting; end
2466
+
2467
+ # Sets the attribute nesting
2468
+ #
2469
+ # @param value the value to set the attribute nesting to.
2470
+ #
2471
+ # source://regexp_parser//lib/regexp_parser/parser.rb#58
2472
+ def nesting=(_arg0); end
2473
+
2474
+ # Returns the value of attribute node.
2475
+ #
2476
+ # source://regexp_parser//lib/regexp_parser/parser.rb#58
2477
+ def node; end
2478
+
2479
+ # Sets the attribute node
2480
+ #
2481
+ # @param value the value to set the attribute node to.
2482
+ #
2483
+ # source://regexp_parser//lib/regexp_parser/parser.rb#58
2484
+ def node=(_arg0); end
2485
+
2486
+ # source://regexp_parser//lib/regexp_parser/parser.rb#167
2487
+ def open_group(token); end
2488
+
2489
+ # source://regexp_parser//lib/regexp_parser/parser.rb#530
2490
+ def open_set(token); end
2491
+
2492
+ # source://regexp_parser//lib/regexp_parser/parser.rb#132
2493
+ def options_group(token); end
2494
+
2495
+ # Returns the value of attribute options_stack.
2496
+ #
2497
+ # source://regexp_parser//lib/regexp_parser/parser.rb#58
2498
+ def options_stack; end
2499
+
2500
+ # Sets the attribute options_stack
2501
+ #
2502
+ # @param value the value to set the attribute options_stack to.
2503
+ #
2504
+ # source://regexp_parser//lib/regexp_parser/parser.rb#58
2505
+ def options_stack=(_arg0); end
2506
+
2507
+ # source://regexp_parser//lib/regexp_parser/parser.rb#78
2508
+ def parse_token(token); end
2509
+
2510
+ # source://regexp_parser//lib/regexp_parser/parser.rb#393
2511
+ def posixclass(token); end
2512
+
2513
+ # source://regexp_parser//lib/regexp_parser/parser.rb#400
2514
+ def property(token); end
2515
+
2516
+ # source://regexp_parser//lib/regexp_parser/parser.rb#482
2517
+ def quantifier(token); end
2518
+
2519
+ # source://regexp_parser//lib/regexp_parser/parser.rb#545
2520
+ def range(token); end
2521
+
2522
+ # Returns the value of attribute root.
2523
+ #
2524
+ # source://regexp_parser//lib/regexp_parser/parser.rb#58
2525
+ def root; end
2526
+
2527
+ # Sets the attribute root
2528
+ #
2529
+ # @param value the value to set the attribute root to.
2530
+ #
2531
+ # source://regexp_parser//lib/regexp_parser/parser.rb#58
2532
+ def root=(_arg0); end
2533
+
2534
+ # source://regexp_parser//lib/regexp_parser/parser.rb#382
2535
+ def sequence_operation(klass, token); end
2536
+
2537
+ # source://regexp_parser//lib/regexp_parser/parser.rb#518
2538
+ def set(token); end
2539
+
2540
+ # Returns the value of attribute switching_options.
2541
+ #
2542
+ # source://regexp_parser//lib/regexp_parser/parser.rb#58
2543
+ def switching_options; end
2544
+
2545
+ # Sets the attribute switching_options
2546
+ #
2547
+ # @param value the value to set the attribute switching_options to.
2548
+ #
2549
+ # source://regexp_parser//lib/regexp_parser/parser.rb#58
2550
+ def switching_options=(_arg0); end
2551
+
2552
+ # source://regexp_parser//lib/regexp_parser/parser.rb#200
2553
+ def total_captured_group_count; end
2554
+
2555
+ # source://regexp_parser//lib/regexp_parser/parser.rb#556
2556
+ def type(token); end
2557
+
2558
+ class << self
2559
+ # source://regexp_parser//lib/regexp_parser/parser.rb#23
2560
+ def parse(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
2561
+ end
2562
+ end
2563
+
2564
+ # source://regexp_parser//lib/regexp_parser/parser.rb#130
2565
+ Regexp::Parser::ENC_FLAGS = T.let(T.unsafe(nil), Array)
2566
+
2567
+ # base class for all gem-specific errors
2568
+ #
2569
+ # source://regexp_parser//lib/regexp_parser/error.rb#5
2570
+ class Regexp::Parser::Error < ::StandardError; end
2571
+
2572
+ # source://regexp_parser//lib/regexp_parser/parser.rb#129
2573
+ Regexp::Parser::MOD_FLAGS = T.let(T.unsafe(nil), Array)
2574
+
2575
+ # source://regexp_parser//lib/regexp_parser/parser.rb#9
2576
+ class Regexp::Parser::ParserError < ::Regexp::Parser::Error; end
2577
+
2578
+ # source://regexp_parser//lib/regexp_parser/parser.rb#397
2579
+ Regexp::Parser::UP = Regexp::Expression::UnicodeProperty
2580
+
2581
+ # source://regexp_parser//lib/regexp_parser/parser.rb#398
2582
+ Regexp::Parser::UPTokens = Regexp::Syntax::Token::UnicodeProperty
2583
+
2584
+ # source://regexp_parser//lib/regexp_parser/parser.rb#17
2585
+ class Regexp::Parser::UnknownTokenError < ::Regexp::Parser::ParserError
2586
+ # @return [UnknownTokenError] a new instance of UnknownTokenError
2587
+ #
2588
+ # source://regexp_parser//lib/regexp_parser/parser.rb#18
2589
+ def initialize(type, token); end
2590
+ end
2591
+
2592
+ # source://regexp_parser//lib/regexp_parser/parser.rb#11
2593
+ class Regexp::Parser::UnknownTokenTypeError < ::Regexp::Parser::ParserError
2594
+ # @return [UnknownTokenTypeError] a new instance of UnknownTokenTypeError
2595
+ #
2596
+ # source://regexp_parser//lib/regexp_parser/parser.rb#12
2597
+ def initialize(type, token); end
2598
+ end
2599
+
2600
+ # source://regexp_parser//lib/regexp_parser/version.rb#5
2601
+ Regexp::Parser::VERSION = T.let(T.unsafe(nil), String)
2602
+
2603
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/scanner_error.rb#5
2604
+ class Regexp::Scanner
2605
+ # only public for #||= to work on ruby <= 2.5
2606
+ #
2607
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2509
2608
+ def capturing_group_count; end
2609
+
2610
+ # only public for #||= to work on ruby <= 2.5
2611
+ #
2612
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2509
2613
+ def capturing_group_count=(_arg0); end
2614
+
2615
+ # Emits an array with the details of the scanned pattern
2616
+ #
2617
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2484
2618
+ def emit(type, token, text); end
2619
+
2620
+ # only public for #||= to work on ruby <= 2.5
2621
+ #
2622
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2509
2623
+ def literal_run; end
2624
+
2625
+ # only public for #||= to work on ruby <= 2.5
2626
+ #
2627
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2509
2628
+ def literal_run=(_arg0); end
2629
+
2630
+ # @raise [PrematureEndError]
2631
+ #
2632
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#24
2633
+ def scan(input_object, options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
2634
+
2635
+ private
2636
+
2637
+ # Appends one or more characters to the literal buffer, to be emitted later
2638
+ # by a call to emit_literal.
2639
+ #
2640
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2555
2641
+ def append_literal(data, ts, te); end
2642
+
2643
+ # Returns the value of attribute block.
2644
+ #
2645
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2646
+ def block; end
2647
+
2648
+ # Sets the attribute block
2649
+ #
2650
+ # @param value the value to set the attribute block to.
2651
+ #
2652
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2653
+ def block=(_arg0); end
2654
+
2655
+ # Returns the value of attribute char_pos.
2656
+ #
2657
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2658
+ def char_pos; end
2659
+
2660
+ # Sets the attribute char_pos
2661
+ #
2662
+ # @param value the value to set the attribute char_pos to.
2663
+ #
2664
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2665
+ def char_pos=(_arg0); end
2666
+
2667
+ # Returns the value of attribute collect_tokens.
2668
+ #
2669
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2670
+ def collect_tokens; end
2671
+
2672
+ # Sets the attribute collect_tokens
2673
+ #
2674
+ # @param value the value to set the attribute collect_tokens to.
2675
+ #
2676
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2677
+ def collect_tokens=(_arg0); end
2678
+
2679
+ # Returns the value of attribute conditional_stack.
2680
+ #
2681
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2682
+ def conditional_stack; end
2683
+
2684
+ # Sets the attribute conditional_stack
2685
+ #
2686
+ # @param value the value to set the attribute conditional_stack to.
2687
+ #
2688
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2689
+ def conditional_stack=(_arg0); end
2690
+
2691
+ # Copy from ts to te from data as text
2692
+ #
2693
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2549
2694
+ def copy(data, ts, te); end
2695
+
2696
+ # Emits the literal run collected by calls to the append_literal method.
2697
+ #
2698
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2560
2699
+ def emit_literal; end
2700
+
2701
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2595
2702
+ def emit_meta_control_sequence(data, ts, te, token); end
2703
+
2704
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2566
2705
+ def emit_options(text); end
2706
+
2707
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2520
2708
+ def extract_encoding(input_object, options); end
2709
+
2710
+ # Returns the value of attribute free_spacing.
2711
+ #
2712
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2713
+ def free_spacing; end
2714
+
2715
+ # Sets the attribute free_spacing
2716
+ #
2717
+ # @param value the value to set the attribute free_spacing to.
2718
+ #
2719
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2720
+ def free_spacing=(_arg0); end
2721
+
2722
+ # @return [Boolean]
2723
+ #
2724
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2528
2725
+ def free_spacing?(input_object, options); end
2726
+
2727
+ # Returns the value of attribute group_depth.
2728
+ #
2729
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2730
+ def group_depth; end
2731
+
2732
+ # Sets the attribute group_depth
2733
+ #
2734
+ # @param value the value to set the attribute group_depth to.
2735
+ #
2736
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2737
+ def group_depth=(_arg0); end
2738
+
2739
+ # @return [Boolean]
2740
+ #
2741
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2540
2742
+ def in_group?; end
2743
+
2744
+ # @return [Boolean]
2745
+ #
2746
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2544
2747
+ def in_set?; end
2748
+
2749
+ # Returns the value of attribute prev_token.
2750
+ #
2751
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2752
+ def prev_token; end
2753
+
2754
+ # Sets the attribute prev_token
2755
+ #
2756
+ # @param value the value to set the attribute prev_token to.
2757
+ #
2758
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2759
+ def prev_token=(_arg0); end
2760
+
2761
+ # Returns the value of attribute regexp_encoding.
2762
+ #
2763
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2764
+ def regexp_encoding; end
2765
+
2766
+ # Sets the attribute regexp_encoding
2767
+ #
2768
+ # @param value the value to set the attribute regexp_encoding to.
2769
+ #
2770
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2771
+ def regexp_encoding=(_arg0); end
2772
+
2773
+ # Returns the value of attribute set_depth.
2774
+ #
2775
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2776
+ def set_depth; end
2777
+
2778
+ # Sets the attribute set_depth
2779
+ #
2780
+ # @param value the value to set the attribute set_depth to.
2781
+ #
2782
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2783
+ def set_depth=(_arg0); end
2784
+
2785
+ # Returns the value of attribute spacing_stack.
2786
+ #
2787
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2788
+ def spacing_stack; end
2789
+
2790
+ # Sets the attribute spacing_stack
2791
+ #
2792
+ # @param value the value to set the attribute spacing_stack to.
2793
+ #
2794
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2795
+ def spacing_stack=(_arg0); end
2796
+
2797
+ # Returns the value of attribute tokens.
2798
+ #
2799
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2800
+ def tokens; end
2801
+
2802
+ # Sets the attribute tokens
2803
+ #
2804
+ # @param value the value to set the attribute tokens to.
2805
+ #
2806
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2513
2807
+ def tokens=(_arg0); end
2808
+
2809
+ class << self
2810
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2469
2811
+ def long_prop_map; end
2812
+
2813
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2473
2814
+ def parse_prop_map(name); end
2815
+
2816
+ # Scans the given regular expression text, or Regexp object and collects the
2817
+ # emitted token into an array that gets returned at the end. If a block is
2818
+ # given, it gets called for each emitted token.
2819
+ #
2820
+ # This method may raise errors if a syntax error is encountered.
2821
+ # --------------------------------------------------------------------------
2822
+ #
2823
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#20
2824
+ def scan(input_object, options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
2825
+
2826
+ # lazy-load property maps when first needed
2827
+ #
2828
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2465
2829
+ def short_prop_map; end
2830
+ end
2831
+ end
2832
+
2833
+ # Invalid back reference. Used for name a number refs/calls.
2834
+ #
2835
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#46
2836
+ class Regexp::Scanner::InvalidBackrefError < ::Regexp::Scanner::ValidationError
2837
+ # @return [InvalidBackrefError] a new instance of InvalidBackrefError
2838
+ #
2839
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#47
2840
+ def initialize(what, reason); end
2841
+ end
2842
+
2843
+ # Invalid group. Used for named groups.
2844
+ #
2845
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#31
2846
+ class Regexp::Scanner::InvalidGroupError < ::Regexp::Scanner::ValidationError
2847
+ # @return [InvalidGroupError] a new instance of InvalidGroupError
2848
+ #
2849
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#32
2850
+ def initialize(what, reason); end
2851
+ end
2852
+
2853
+ # Invalid groupOption. Used for inline options.
2854
+ # TODO: should become InvalidGroupOptionError in v3.0.0 for consistency
2855
+ #
2856
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#39
2857
+ class Regexp::Scanner::InvalidGroupOption < ::Regexp::Scanner::ValidationError
2858
+ # @return [InvalidGroupOption] a new instance of InvalidGroupOption
2859
+ #
2860
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#40
2861
+ def initialize(option, text); end
2862
+ end
2863
+
2864
+ # Invalid sequence format. Used for escape sequences, mainly.
2865
+ #
2866
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#24
2867
+ class Regexp::Scanner::InvalidSequenceError < ::Regexp::Scanner::ValidationError
2868
+ # @return [InvalidSequenceError] a new instance of InvalidSequenceError
2869
+ #
2870
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#25
2871
+ def initialize(what = T.unsafe(nil), where = T.unsafe(nil)); end
2872
+ end
2873
+
2874
+ # Use each_with_object for required_ruby_version >= 2.2,or #to_h for >= 2.6
2875
+ #
2876
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2478
2877
+ Regexp::Scanner::POSIX_CLASSES = T.let(T.unsafe(nil), Hash)
2878
+
2879
+ # Unexpected end of pattern
2880
+ #
2881
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/premature_end_error.rb#5
2882
+ class Regexp::Scanner::PrematureEndError < ::Regexp::Scanner::ScannerError
2883
+ # @return [PrematureEndError] a new instance of PrematureEndError
2884
+ #
2885
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/premature_end_error.rb#6
2886
+ def initialize(where = T.unsafe(nil)); end
2887
+ end
2888
+
2889
+ # General scanner error (catch all)
2890
+ #
2891
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/scanner_error.rb#7
2892
+ class Regexp::Scanner::ScannerError < ::Regexp::Parser::Error; end
2893
+
2894
+ # The POSIX class name was not recognized by the scanner.
2895
+ #
2896
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#60
2897
+ class Regexp::Scanner::UnknownPosixClassError < ::Regexp::Scanner::ValidationError
2898
+ # @return [UnknownPosixClassError] a new instance of UnknownPosixClassError
2899
+ #
2900
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#61
2901
+ def initialize(text, _); end
2902
+ end
2903
+
2904
+ # The property name was not recognized by the scanner.
2905
+ #
2906
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#53
2907
+ class Regexp::Scanner::UnknownUnicodePropertyError < ::Regexp::Scanner::ValidationError
2908
+ # @return [UnknownUnicodePropertyError] a new instance of UnknownUnicodePropertyError
2909
+ #
2910
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#54
2911
+ def initialize(name, _); end
2912
+ end
2913
+
2914
+ # Base for all scanner validation errors
2915
+ #
2916
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#5
2917
+ class Regexp::Scanner::ValidationError < ::Regexp::Scanner::ScannerError
2918
+ class << self
2919
+ # Centralizes and unifies the handling of validation related errors.
2920
+ #
2921
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#7
2922
+ def for(type, problem, reason = T.unsafe(nil)); end
2923
+
2924
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#11
2925
+ def types; end
2926
+ end
2927
+ end
2928
+
2929
+ # After loading all the tokens the map is full. Extract all tokens and types
2930
+ # into the All and Types constants.
2931
+ #
2932
+ # source://regexp_parser//lib/regexp_parser/syntax.rb#5
2933
+ module Regexp::Syntax
2934
+ private
2935
+
2936
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#63
2937
+ def comparable(name); end
2938
+
2939
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#46
2940
+ def const_missing(const_name); end
2941
+
2942
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#53
2943
+ def fallback_version_class(version); end
2944
+
2945
+ # Returns the syntax specification class for the given syntax
2946
+ # version name. The special names 'any' and '*' return Syntax::Any.
2947
+ #
2948
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#24
2949
+ def for(name); end
2950
+
2951
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#28
2952
+ def new(name); end
2953
+
2954
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#59
2955
+ def specified_versions; end
2956
+
2957
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#34
2958
+ def supported?(name); end
2959
+
2960
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#38
2961
+ def version_class(version); end
2962
+
2963
+ class << self
2964
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#63
2965
+ def comparable(name); end
2966
+
2967
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#46
2968
+ def const_missing(const_name); end
2969
+
2970
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#53
2971
+ def fallback_version_class(version); end
2972
+
2973
+ # Returns the syntax specification class for the given syntax
2974
+ # version name. The special names 'any' and '*' return Syntax::Any.
2975
+ #
2976
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#24
2977
+ def for(name); end
2978
+
2979
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#28
2980
+ def new(name); end
2981
+
2982
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#59
2983
+ def specified_versions; end
2984
+
2985
+ # @return [Boolean]
2986
+ #
2987
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#34
2988
+ def supported?(name); end
2989
+
2990
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#38
2991
+ def version_class(version); end
2992
+ end
2993
+ end
2994
+
2995
+ # A syntax that always returns true, passing all tokens as implemented. This
2996
+ # is useful during development, testing, and should be useful for some types
2997
+ # of transformations as well.
2998
+ #
2999
+ # source://regexp_parser//lib/regexp_parser/syntax/any.rb#7
3000
+ class Regexp::Syntax::Any < ::Regexp::Syntax::Base
3001
+ class << self
3002
+ # @return [Boolean]
3003
+ #
3004
+ # source://regexp_parser//lib/regexp_parser/syntax/any.rb#10
3005
+ def implements?(_type, _token); end
3006
+ end
3007
+ end
3008
+
3009
+ # A lookup map of supported types and tokens in a given syntax
3010
+ #
3011
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#11
3012
+ class Regexp::Syntax::Base
3013
+ include ::Regexp::Syntax::Token
3014
+
3015
+ # TODO: drop this backwards compatibility code in v3.0.0, do `private :new`
3016
+ #
3017
+ # @return [Base] a new instance of Base
3018
+ #
3019
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#101
3020
+ def initialize; end
3021
+
3022
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#106
3023
+ def method_missing(name, *args); end
3024
+
3025
+ private
3026
+
3027
+ # @return [Boolean]
3028
+ #
3029
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#117
3030
+ def respond_to_missing?(name, include_private = T.unsafe(nil)); end
3031
+
3032
+ class << self
3033
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#48
3034
+ def added_features; end
3035
+
3036
+ # @raise [NotImplementedError]
3037
+ #
3038
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#46
3039
+ def check!(type, token); end
3040
+
3041
+ # @return [Boolean]
3042
+ #
3043
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#36
3044
+ def check?(type, token); end
3045
+
3046
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#28
3047
+ def excludes(type, tokens); end
3048
+
3049
+ # Returns the value of attribute features.
3050
+ #
3051
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#15
3052
+ def features; end
3053
+
3054
+ # Sets the attribute features
3055
+ #
3056
+ # @param value the value to set the attribute features to.
3057
+ #
3058
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#15
3059
+ def features=(_arg0); end
3060
+
3061
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#38
3062
+ def implementations(type); end
3063
+
3064
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#23
3065
+ def implements(type, tokens); end
3066
+
3067
+ # @raise [NotImplementedError]
3068
+ #
3069
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#42
3070
+ def implements!(type, token); end
3071
+
3072
+ # @return [Boolean]
3073
+ #
3074
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#33
3075
+ def implements?(type, token); end
3076
+
3077
+ # automatically inherit features through the syntax class hierarchy
3078
+ #
3079
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#18
3080
+ def inherited(subclass); end
3081
+
3082
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#56
3083
+ def normalize(type, token); end
3084
+
3085
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#76
3086
+ def normalize_backref(type, token); end
3087
+
3088
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#67
3089
+ def normalize_group(type, token); end
3090
+
3091
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#52
3092
+ def removed_features; end
3093
+ end
3094
+ end
3095
+
3096
+ # source://regexp_parser//lib/regexp_parser/syntax/versions.rb#10
3097
+ Regexp::Syntax::CURRENT = Regexp::Syntax::V3_5_0
3098
+
3099
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#8
3100
+ class Regexp::Syntax::InvalidVersionNameError < ::Regexp::Syntax::SyntaxError
3101
+ # @return [InvalidVersionNameError] a new instance of InvalidVersionNameError
3102
+ #
3103
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#9
3104
+ def initialize(name); end
3105
+ end
3106
+
3107
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#4
3108
+ class Regexp::Syntax::NotImplementedError < ::Regexp::Syntax::SyntaxError
3109
+ # @return [NotImplementedError] a new instance of NotImplementedError
3110
+ #
3111
+ # source://regexp_parser//lib/regexp_parser/syntax/base.rb#5
3112
+ def initialize(syntax, type, token); end
3113
+ end
3114
+
3115
+ # source://regexp_parser//lib/regexp_parser/syntax.rb#6
3116
+ class Regexp::Syntax::SyntaxError < ::Regexp::Parser::Error; end
3117
+
3118
+ # source://regexp_parser//lib/regexp_parser/syntax/token.rb#5
3119
+ module Regexp::Syntax::Token; end
3120
+
3121
+ # source://regexp_parser//lib/regexp_parser/syntax/token.rb#44
3122
+ Regexp::Syntax::Token::All = T.let(T.unsafe(nil), Array)
3123
+
3124
+ # alias for symmetry between Token::* and Expression::*
3125
+ #
3126
+ # source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#17
3127
+ module Regexp::Syntax::Token::Alternation; end
3128
+
3129
+ # source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#18
3130
+ Regexp::Syntax::Token::Alternation::All = T.let(T.unsafe(nil), Array)
3131
+
3132
+ # source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#19
3133
+ Regexp::Syntax::Token::Alternation::Type = T.let(T.unsafe(nil), Symbol)
3134
+
3135
+ # source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#5
3136
+ module Regexp::Syntax::Token::Anchor; end
3137
+
3138
+ # source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#11
3139
+ Regexp::Syntax::Token::Anchor::All = T.let(T.unsafe(nil), Array)
3140
+
3141
+ # source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#6
3142
+ Regexp::Syntax::Token::Anchor::Basic = T.let(T.unsafe(nil), Array)
3143
+
3144
+ # source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#7
3145
+ Regexp::Syntax::Token::Anchor::Extended = T.let(T.unsafe(nil), Array)
3146
+
3147
+ # source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#9
3148
+ Regexp::Syntax::Token::Anchor::MatchStart = T.let(T.unsafe(nil), Array)
3149
+
3150
+ # source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#8
3151
+ Regexp::Syntax::Token::Anchor::String = T.let(T.unsafe(nil), Array)
3152
+
3153
+ # source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#12
3154
+ Regexp::Syntax::Token::Anchor::Type = T.let(T.unsafe(nil), Symbol)
3155
+
3156
+ # source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#5
3157
+ module Regexp::Syntax::Token::Assertion; end
3158
+
3159
+ # source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#9
3160
+ Regexp::Syntax::Token::Assertion::All = T.let(T.unsafe(nil), Array)
3161
+
3162
+ # source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#6
3163
+ Regexp::Syntax::Token::Assertion::Lookahead = T.let(T.unsafe(nil), Array)
3164
+
3165
+ # source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#7
3166
+ Regexp::Syntax::Token::Assertion::Lookbehind = T.let(T.unsafe(nil), Array)
3167
+
3168
+ # source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#10
3169
+ Regexp::Syntax::Token::Assertion::Type = T.let(T.unsafe(nil), Symbol)
3170
+
3171
+ # alias for symmetry between token symbol and Expression class name
3172
+ #
3173
+ # source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#33
3174
+ Regexp::Syntax::Token::Backref = Regexp::Syntax::Token::Backreference
3175
+
3176
+ # source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#5
3177
+ module Regexp::Syntax::Token::Backreference; end
3178
+
3179
+ # source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#17
3180
+ Regexp::Syntax::Token::Backreference::All = T.let(T.unsafe(nil), Array)
3181
+
3182
+ # source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#9
3183
+ Regexp::Syntax::Token::Backreference::Name = T.let(T.unsafe(nil), Array)
3184
+
3185
+ # source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#8
3186
+ Regexp::Syntax::Token::Backreference::Number = T.let(T.unsafe(nil), Array)
3187
+
3188
+ # source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#7
3189
+ Regexp::Syntax::Token::Backreference::NumberRef = T.let(T.unsafe(nil), Array)
3190
+
3191
+ # source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#6
3192
+ Regexp::Syntax::Token::Backreference::Plain = T.let(T.unsafe(nil), Array)
3193
+
3194
+ # source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#11
3195
+ Regexp::Syntax::Token::Backreference::RecursionLevel = T.let(T.unsafe(nil), Array)
3196
+
3197
+ # source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#18
3198
+ Regexp::Syntax::Token::Backreference::Type = T.let(T.unsafe(nil), Symbol)
3199
+
3200
+ # source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#13
3201
+ Regexp::Syntax::Token::Backreference::V1_8_6 = T.let(T.unsafe(nil), Array)
3202
+
3203
+ # source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#15
3204
+ Regexp::Syntax::Token::Backreference::V1_9_1 = T.let(T.unsafe(nil), Array)
3205
+
3206
+ # source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#5
3207
+ module Regexp::Syntax::Token::CharacterSet; end
3208
+
3209
+ # source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#9
3210
+ Regexp::Syntax::Token::CharacterSet::All = T.let(T.unsafe(nil), Array)
3211
+
3212
+ # source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#6
3213
+ Regexp::Syntax::Token::CharacterSet::Basic = T.let(T.unsafe(nil), Array)
3214
+
3215
+ # source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#7
3216
+ Regexp::Syntax::Token::CharacterSet::Extended = T.let(T.unsafe(nil), Array)
3217
+
3218
+ # source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#10
3219
+ Regexp::Syntax::Token::CharacterSet::Type = T.let(T.unsafe(nil), Symbol)
3220
+
3221
+ # source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#5
3222
+ module Regexp::Syntax::Token::CharacterType; end
3223
+
3224
+ # source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#12
3225
+ Regexp::Syntax::Token::CharacterType::All = T.let(T.unsafe(nil), Array)
3226
+
3227
+ # source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#6
3228
+ Regexp::Syntax::Token::CharacterType::Basic = T.let(T.unsafe(nil), Array)
3229
+
3230
+ # source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#10
3231
+ Regexp::Syntax::Token::CharacterType::Clustered = T.let(T.unsafe(nil), Array)
3232
+
3233
+ # source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#7
3234
+ Regexp::Syntax::Token::CharacterType::Extended = T.let(T.unsafe(nil), Array)
3235
+
3236
+ # source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#8
3237
+ Regexp::Syntax::Token::CharacterType::Hex = T.let(T.unsafe(nil), Array)
3238
+
3239
+ # source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#13
3240
+ Regexp::Syntax::Token::CharacterType::Type = T.let(T.unsafe(nil), Symbol)
3241
+
3242
+ # source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#5
3243
+ module Regexp::Syntax::Token::Conditional; end
3244
+
3245
+ # source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#11
3246
+ Regexp::Syntax::Token::Conditional::All = T.let(T.unsafe(nil), Array)
3247
+
3248
+ # source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#8
3249
+ Regexp::Syntax::Token::Conditional::Condition = T.let(T.unsafe(nil), Array)
3250
+
3251
+ # source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#6
3252
+ Regexp::Syntax::Token::Conditional::Delimiters = T.let(T.unsafe(nil), Array)
3253
+
3254
+ # source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#9
3255
+ Regexp::Syntax::Token::Conditional::Separator = T.let(T.unsafe(nil), Array)
3256
+
3257
+ # source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#13
3258
+ Regexp::Syntax::Token::Conditional::Type = T.let(T.unsafe(nil), Symbol)
3259
+
3260
+ # source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#5
3261
+ module Regexp::Syntax::Token::Escape; end
3262
+
3263
+ # source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#10
3264
+ Regexp::Syntax::Token::Escape::ASCII = T.let(T.unsafe(nil), Array)
3265
+
3266
+ # source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#26
3267
+ Regexp::Syntax::Token::Escape::All = T.let(T.unsafe(nil), Array)
3268
+
3269
+ # source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#6
3270
+ Regexp::Syntax::Token::Escape::Basic = T.let(T.unsafe(nil), Array)
3271
+
3272
+ # source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#8
3273
+ Regexp::Syntax::Token::Escape::Control = T.let(T.unsafe(nil), Array)
3274
+
3275
+ # source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#22
3276
+ Regexp::Syntax::Token::Escape::Hex = T.let(T.unsafe(nil), Array)
3277
+
3278
+ # source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#15
3279
+ Regexp::Syntax::Token::Escape::Meta = T.let(T.unsafe(nil), Array)
3280
+
3281
+ # source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#24
3282
+ Regexp::Syntax::Token::Escape::Octal = T.let(T.unsafe(nil), Array)
3283
+
3284
+ # source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#27
3285
+ Regexp::Syntax::Token::Escape::Type = T.let(T.unsafe(nil), Symbol)
3286
+
3287
+ # source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#13
3288
+ Regexp::Syntax::Token::Escape::Unicode = T.let(T.unsafe(nil), Array)
3289
+
3290
+ # alias for symmetry between Token::* and Expression::*
3291
+ #
3292
+ # source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#33
3293
+ Regexp::Syntax::Token::EscapeSequence = Regexp::Syntax::Token::Escape
3294
+
3295
+ # source://regexp_parser//lib/regexp_parser/syntax/token.rb#13
3296
+ module Regexp::Syntax::Token::FreeSpace; end
3297
+
3298
+ # source://regexp_parser//lib/regexp_parser/syntax/token.rb#14
3299
+ Regexp::Syntax::Token::FreeSpace::All = T.let(T.unsafe(nil), Array)
3300
+
3301
+ # source://regexp_parser//lib/regexp_parser/syntax/token.rb#15
3302
+ Regexp::Syntax::Token::FreeSpace::Type = T.let(T.unsafe(nil), Symbol)
3303
+
3304
+ # source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#5
3305
+ module Regexp::Syntax::Token::Group; end
3306
+
3307
+ # source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#19
3308
+ Regexp::Syntax::Token::Group::All = T.let(T.unsafe(nil), Array)
3309
+
3310
+ # source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#10
3311
+ Regexp::Syntax::Token::Group::Atomic = T.let(T.unsafe(nil), Array)
3312
+
3313
+ # source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#6
3314
+ Regexp::Syntax::Token::Group::Basic = T.let(T.unsafe(nil), Array)
3315
+
3316
+ # source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#12
3317
+ Regexp::Syntax::Token::Group::Comment = T.let(T.unsafe(nil), Array)
3318
+
3319
+ # source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#7
3320
+ Regexp::Syntax::Token::Group::Extended = T.let(T.unsafe(nil), Array)
3321
+
3322
+ # source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#9
3323
+ Regexp::Syntax::Token::Group::Named = T.let(T.unsafe(nil), Array)
3324
+
3325
+ # source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#11
3326
+ Regexp::Syntax::Token::Group::Passive = T.let(T.unsafe(nil), Array)
3327
+
3328
+ # source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#20
3329
+ Regexp::Syntax::Token::Group::Type = T.let(T.unsafe(nil), Symbol)
3330
+
3331
+ # source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#14
3332
+ Regexp::Syntax::Token::Group::V1_8_6 = T.let(T.unsafe(nil), Array)
3333
+
3334
+ # source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#17
3335
+ Regexp::Syntax::Token::Group::V2_4_1 = T.let(T.unsafe(nil), Array)
3336
+
3337
+ # source://regexp_parser//lib/regexp_parser/syntax/token/keep.rb#5
3338
+ module Regexp::Syntax::Token::Keep; end
3339
+
3340
+ # source://regexp_parser//lib/regexp_parser/syntax/token/keep.rb#8
3341
+ Regexp::Syntax::Token::Keep::All = T.let(T.unsafe(nil), Array)
3342
+
3343
+ # source://regexp_parser//lib/regexp_parser/syntax/token/keep.rb#6
3344
+ Regexp::Syntax::Token::Keep::Mark = T.let(T.unsafe(nil), Array)
3345
+
3346
+ # source://regexp_parser//lib/regexp_parser/syntax/token/keep.rb#9
3347
+ Regexp::Syntax::Token::Keep::Type = T.let(T.unsafe(nil), Symbol)
3348
+
3349
+ # source://regexp_parser//lib/regexp_parser/syntax/token.rb#8
3350
+ module Regexp::Syntax::Token::Literal; end
3351
+
3352
+ # source://regexp_parser//lib/regexp_parser/syntax/token.rb#9
3353
+ Regexp::Syntax::Token::Literal::All = T.let(T.unsafe(nil), Array)
3354
+
3355
+ # source://regexp_parser//lib/regexp_parser/syntax/token.rb#10
3356
+ Regexp::Syntax::Token::Literal::Type = T.let(T.unsafe(nil), Symbol)
3357
+
3358
+ # source://regexp_parser//lib/regexp_parser/syntax/token.rb#6
3359
+ Regexp::Syntax::Token::Map = T.let(T.unsafe(nil), Hash)
3360
+
3361
+ # source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#5
3362
+ module Regexp::Syntax::Token::Meta; end
3363
+
3364
+ # source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#10
3365
+ Regexp::Syntax::Token::Meta::All = T.let(T.unsafe(nil), Array)
3366
+
3367
+ # source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#7
3368
+ Regexp::Syntax::Token::Meta::Alternation = T.let(T.unsafe(nil), Array)
3369
+
3370
+ # source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#6
3371
+ Regexp::Syntax::Token::Meta::Basic = T.let(T.unsafe(nil), Array)
3372
+
3373
+ # source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#8
3374
+ Regexp::Syntax::Token::Meta::Extended = T.let(T.unsafe(nil), Array)
3375
+
3376
+ # source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#11
3377
+ Regexp::Syntax::Token::Meta::Type = T.let(T.unsafe(nil), Symbol)
3378
+
3379
+ # source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#5
3380
+ module Regexp::Syntax::Token::PosixClass; end
3381
+
3382
+ # source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#11
3383
+ Regexp::Syntax::Token::PosixClass::All = T.let(T.unsafe(nil), Array)
3384
+
3385
+ # source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#9
3386
+ Regexp::Syntax::Token::PosixClass::Extensions = T.let(T.unsafe(nil), Array)
3387
+
3388
+ # source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#13
3389
+ Regexp::Syntax::Token::PosixClass::NonType = T.let(T.unsafe(nil), Symbol)
3390
+
3391
+ # source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#6
3392
+ Regexp::Syntax::Token::PosixClass::Standard = T.let(T.unsafe(nil), Array)
3393
+
3394
+ # source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#12
3395
+ Regexp::Syntax::Token::PosixClass::Type = T.let(T.unsafe(nil), Symbol)
3396
+
3397
+ # alias for symmetry between token symbol and Token module name
3398
+ #
3399
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#764
3400
+ Regexp::Syntax::Token::Property = Regexp::Syntax::Token::UnicodeProperty
3401
+
3402
+ # source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#5
3403
+ module Regexp::Syntax::Token::Quantifier; end
3404
+
3405
+ # source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#31
3406
+ Regexp::Syntax::Token::Quantifier::All = T.let(T.unsafe(nil), Array)
3407
+
3408
+ # source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#6
3409
+ Regexp::Syntax::Token::Quantifier::Greedy = T.let(T.unsafe(nil), Array)
3410
+
3411
+ # source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#24
3412
+ Regexp::Syntax::Token::Quantifier::Interval = T.let(T.unsafe(nil), Array)
3413
+
3414
+ # source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#28
3415
+ Regexp::Syntax::Token::Quantifier::IntervalAll = T.let(T.unsafe(nil), Array)
3416
+
3417
+ # source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#26
3418
+ Regexp::Syntax::Token::Quantifier::IntervalPossessive = T.let(T.unsafe(nil), Array)
3419
+
3420
+ # source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#25
3421
+ Regexp::Syntax::Token::Quantifier::IntervalReluctant = T.let(T.unsafe(nil), Array)
3422
+
3423
+ # source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#18
3424
+ Regexp::Syntax::Token::Quantifier::Possessive = T.let(T.unsafe(nil), Array)
3425
+
3426
+ # source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#12
3427
+ Regexp::Syntax::Token::Quantifier::Reluctant = T.let(T.unsafe(nil), Array)
3428
+
3429
+ # source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#32
3430
+ Regexp::Syntax::Token::Quantifier::Type = T.let(T.unsafe(nil), Symbol)
3431
+
3432
+ # source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#30
3433
+ Regexp::Syntax::Token::Quantifier::V1_8_6 = T.let(T.unsafe(nil), Array)
3434
+
3435
+ # alias for symmetry between token symbol and Token module name
3436
+ #
3437
+ # source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#16
3438
+ Regexp::Syntax::Token::Set = Regexp::Syntax::Token::CharacterSet
3439
+
3440
+ # Type is the same as Backreference so keeping it here, for now.
3441
+ #
3442
+ # source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#22
3443
+ module Regexp::Syntax::Token::SubexpressionCall; end
3444
+
3445
+ # source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#26
3446
+ Regexp::Syntax::Token::SubexpressionCall::All = T.let(T.unsafe(nil), Array)
3447
+
3448
+ # source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#23
3449
+ Regexp::Syntax::Token::SubexpressionCall::Name = T.let(T.unsafe(nil), Array)
3450
+
3451
+ # source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#24
3452
+ Regexp::Syntax::Token::SubexpressionCall::Number = T.let(T.unsafe(nil), Array)
3453
+
3454
+ # source://regexp_parser//lib/regexp_parser/syntax/token.rb#45
3455
+ Regexp::Syntax::Token::Types = T.let(T.unsafe(nil), Array)
3456
+
3457
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#5
3458
+ module Regexp::Syntax::Token::UnicodeProperty; end
3459
+
3460
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#68
3461
+ Regexp::Syntax::Token::UnicodeProperty::Age = T.let(T.unsafe(nil), Array)
3462
+
3463
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#42
3464
+ Regexp::Syntax::Token::UnicodeProperty::Age_V1_9_3 = T.let(T.unsafe(nil), Array)
3465
+
3466
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#46
3467
+ Regexp::Syntax::Token::UnicodeProperty::Age_V2_0_0 = T.let(T.unsafe(nil), Array)
3468
+
3469
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#48
3470
+ Regexp::Syntax::Token::UnicodeProperty::Age_V2_2_0 = T.let(T.unsafe(nil), Array)
3471
+
3472
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#50
3473
+ Regexp::Syntax::Token::UnicodeProperty::Age_V2_3_0 = T.let(T.unsafe(nil), Array)
3474
+
3475
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#52
3476
+ Regexp::Syntax::Token::UnicodeProperty::Age_V2_4_0 = T.let(T.unsafe(nil), Array)
3477
+
3478
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#54
3479
+ Regexp::Syntax::Token::UnicodeProperty::Age_V2_5_0 = T.let(T.unsafe(nil), Array)
3480
+
3481
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#56
3482
+ Regexp::Syntax::Token::UnicodeProperty::Age_V2_6_0 = T.let(T.unsafe(nil), Array)
3483
+
3484
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#58
3485
+ Regexp::Syntax::Token::UnicodeProperty::Age_V2_6_2 = T.let(T.unsafe(nil), Array)
3486
+
3487
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#60
3488
+ Regexp::Syntax::Token::UnicodeProperty::Age_V2_6_3 = T.let(T.unsafe(nil), Array)
3489
+
3490
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#62
3491
+ Regexp::Syntax::Token::UnicodeProperty::Age_V3_1_0 = T.let(T.unsafe(nil), Array)
3492
+
3493
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#64
3494
+ Regexp::Syntax::Token::UnicodeProperty::Age_V3_2_0 = T.let(T.unsafe(nil), Array)
3495
+
3496
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#66
3497
+ Regexp::Syntax::Token::UnicodeProperty::Age_V3_5_0 = T.let(T.unsafe(nil), Array)
3498
+
3499
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#754
3500
+ Regexp::Syntax::Token::UnicodeProperty::All = T.let(T.unsafe(nil), Array)
3501
+
3502
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#15
3503
+ module Regexp::Syntax::Token::UnicodeProperty::Category; end
3504
+
3505
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#38
3506
+ Regexp::Syntax::Token::UnicodeProperty::Category::All = T.let(T.unsafe(nil), Array)
3507
+
3508
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#35
3509
+ Regexp::Syntax::Token::UnicodeProperty::Category::Codepoint = T.let(T.unsafe(nil), Array)
3510
+
3511
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#16
3512
+ Regexp::Syntax::Token::UnicodeProperty::Category::Letter = T.let(T.unsafe(nil), Array)
3513
+
3514
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#19
3515
+ Regexp::Syntax::Token::UnicodeProperty::Category::Mark = T.let(T.unsafe(nil), Array)
3516
+
3517
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#22
3518
+ Regexp::Syntax::Token::UnicodeProperty::Category::Number = T.let(T.unsafe(nil), Array)
3519
+
3520
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#25
3521
+ Regexp::Syntax::Token::UnicodeProperty::Category::Punctuation = T.let(T.unsafe(nil), Array)
3522
+
3523
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#32
3524
+ Regexp::Syntax::Token::UnicodeProperty::Category::Separator = T.let(T.unsafe(nil), Array)
3525
+
3526
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#29
3527
+ Regexp::Syntax::Token::UnicodeProperty::Category::Symbol = T.let(T.unsafe(nil), Array)
3528
+
3529
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#8
3530
+ Regexp::Syntax::Token::UnicodeProperty::CharType_V1_9_0 = T.let(T.unsafe(nil), Array)
3531
+
3532
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#11
3533
+ Regexp::Syntax::Token::UnicodeProperty::CharType_V2_5_0 = T.let(T.unsafe(nil), Array)
3534
+
3535
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#143
3536
+ Regexp::Syntax::Token::UnicodeProperty::Derived = T.let(T.unsafe(nil), Array)
3537
+
3538
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#70
3539
+ Regexp::Syntax::Token::UnicodeProperty::Derived_V1_9_0 = T.let(T.unsafe(nil), Array)
3540
+
3541
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#124
3542
+ Regexp::Syntax::Token::UnicodeProperty::Derived_V2_0_0 = T.let(T.unsafe(nil), Array)
3543
+
3544
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#129
3545
+ Regexp::Syntax::Token::UnicodeProperty::Derived_V2_4_0 = T.let(T.unsafe(nil), Array)
3546
+
3547
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#133
3548
+ Regexp::Syntax::Token::UnicodeProperty::Derived_V2_5_0 = T.let(T.unsafe(nil), Array)
3549
+
3550
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#137
3551
+ Regexp::Syntax::Token::UnicodeProperty::Derived_V3_5_0 = T.let(T.unsafe(nil), Array)
3552
+
3553
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#738
3554
+ Regexp::Syntax::Token::UnicodeProperty::Emoji = T.let(T.unsafe(nil), Array)
3555
+
3556
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#708
3557
+ Regexp::Syntax::Token::UnicodeProperty::Emoji_V2_5_0 = T.let(T.unsafe(nil), Array)
3558
+
3559
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#716
3560
+ Regexp::Syntax::Token::UnicodeProperty::Emoji_V2_6_0 = T.let(T.unsafe(nil), Array)
3561
+
3562
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#736
3563
+ Regexp::Syntax::Token::UnicodeProperty::Enumerated = T.let(T.unsafe(nil), Array)
3564
+
3565
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#720
3566
+ Regexp::Syntax::Token::UnicodeProperty::Enumerated_V2_4_0 = T.let(T.unsafe(nil), Array)
3567
+
3568
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#757
3569
+ Regexp::Syntax::Token::UnicodeProperty::NonType = T.let(T.unsafe(nil), Symbol)
3570
+
3571
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#13
3572
+ Regexp::Syntax::Token::UnicodeProperty::POSIX = T.let(T.unsafe(nil), Array)
3573
+
3574
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#342
3575
+ Regexp::Syntax::Token::UnicodeProperty::Script = T.let(T.unsafe(nil), Array)
3576
+
3577
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#145
3578
+ Regexp::Syntax::Token::UnicodeProperty::Script_V1_9_0 = T.let(T.unsafe(nil), Array)
3579
+
3580
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#241
3581
+ Regexp::Syntax::Token::UnicodeProperty::Script_V1_9_3 = T.let(T.unsafe(nil), Array)
3582
+
3583
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#247
3584
+ Regexp::Syntax::Token::UnicodeProperty::Script_V2_0_0 = T.let(T.unsafe(nil), Array)
3585
+
3586
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#257
3587
+ Regexp::Syntax::Token::UnicodeProperty::Script_V2_2_0 = T.let(T.unsafe(nil), Array)
3588
+
3589
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#283
3590
+ Regexp::Syntax::Token::UnicodeProperty::Script_V2_3_0 = T.let(T.unsafe(nil), Array)
3591
+
3592
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#292
3593
+ Regexp::Syntax::Token::UnicodeProperty::Script_V2_4_0 = T.let(T.unsafe(nil), Array)
3594
+
3595
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#301
3596
+ Regexp::Syntax::Token::UnicodeProperty::Script_V2_5_0 = T.let(T.unsafe(nil), Array)
3597
+
3598
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#308
3599
+ Regexp::Syntax::Token::UnicodeProperty::Script_V2_6_0 = T.let(T.unsafe(nil), Array)
3600
+
3601
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#318
3602
+ Regexp::Syntax::Token::UnicodeProperty::Script_V2_6_2 = T.let(T.unsafe(nil), Array)
3603
+
3604
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#325
3605
+ Regexp::Syntax::Token::UnicodeProperty::Script_V3_1_0 = T.let(T.unsafe(nil), Array)
3606
+
3607
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#332
3608
+ Regexp::Syntax::Token::UnicodeProperty::Script_V3_2_0 = T.let(T.unsafe(nil), Array)
3609
+
3610
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#756
3611
+ Regexp::Syntax::Token::UnicodeProperty::Type = T.let(T.unsafe(nil), Symbol)
3612
+
3613
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#706
3614
+ Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock = T.let(T.unsafe(nil), Array)
3615
+
3616
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#344
3617
+ Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V1_9_0 = T.let(T.unsafe(nil), Array)
3618
+
3619
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#443
3620
+ Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_0_0 = T.let(T.unsafe(nil), Array)
3621
+
3622
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#571
3623
+ Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_2_0 = T.let(T.unsafe(nil), Array)
3624
+
3625
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#606
3626
+ Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_3_0 = T.let(T.unsafe(nil), Array)
3627
+
3628
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#619
3629
+ Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_4_0 = T.let(T.unsafe(nil), Array)
3630
+
3631
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#633
3632
+ Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_5_0 = T.let(T.unsafe(nil), Array)
3633
+
3634
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#643
3635
+ Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_6_0 = T.let(T.unsafe(nil), Array)
3636
+
3637
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#657
3638
+ Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_6_2 = T.let(T.unsafe(nil), Array)
3639
+
3640
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#669
3641
+ Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V3_1_0 = T.let(T.unsafe(nil), Array)
3642
+
3643
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#680
3644
+ Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V3_2_0 = T.let(T.unsafe(nil), Array)
3645
+
3646
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#702
3647
+ Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V3_5_0 = T.let(T.unsafe(nil), Array)
3648
+
3649
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#740
3650
+ Regexp::Syntax::Token::UnicodeProperty::V1_9_0 = T.let(T.unsafe(nil), Array)
3651
+
3652
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#741
3653
+ Regexp::Syntax::Token::UnicodeProperty::V1_9_3 = T.let(T.unsafe(nil), Array)
3654
+
3655
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#742
3656
+ Regexp::Syntax::Token::UnicodeProperty::V2_0_0 = T.let(T.unsafe(nil), Array)
3657
+
3658
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#743
3659
+ Regexp::Syntax::Token::UnicodeProperty::V2_2_0 = T.let(T.unsafe(nil), Array)
3660
+
3661
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#744
3662
+ Regexp::Syntax::Token::UnicodeProperty::V2_3_0 = T.let(T.unsafe(nil), Array)
3663
+
3664
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#745
3665
+ Regexp::Syntax::Token::UnicodeProperty::V2_4_0 = T.let(T.unsafe(nil), Array)
3666
+
3667
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#746
3668
+ Regexp::Syntax::Token::UnicodeProperty::V2_5_0 = T.let(T.unsafe(nil), Array)
3669
+
3670
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#747
3671
+ Regexp::Syntax::Token::UnicodeProperty::V2_6_0 = T.let(T.unsafe(nil), Array)
3672
+
3673
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#748
3674
+ Regexp::Syntax::Token::UnicodeProperty::V2_6_2 = T.let(T.unsafe(nil), Array)
3675
+
3676
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#749
3677
+ Regexp::Syntax::Token::UnicodeProperty::V2_6_3 = T.let(T.unsafe(nil), Array)
3678
+
3679
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#750
3680
+ Regexp::Syntax::Token::UnicodeProperty::V3_1_0 = T.let(T.unsafe(nil), Array)
3681
+
3682
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#751
3683
+ Regexp::Syntax::Token::UnicodeProperty::V3_2_0 = T.let(T.unsafe(nil), Array)
3684
+
3685
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#752
3686
+ Regexp::Syntax::Token::UnicodeProperty::V3_5_0 = T.let(T.unsafe(nil), Array)
3687
+
3688
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#14
3689
+ class Regexp::Syntax::UnknownSyntaxNameError < ::Regexp::Syntax::SyntaxError
3690
+ # @return [UnknownSyntaxNameError] a new instance of UnknownSyntaxNameError
3691
+ #
3692
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#15
3693
+ def initialize(name); end
3694
+ end
3695
+
3696
+ # source://regexp_parser//lib/regexp_parser/syntax/versions/1.8.6.rb#3
3697
+ class Regexp::Syntax::V1_8_6 < ::Regexp::Syntax::Base; end
3698
+
3699
+ # source://regexp_parser//lib/regexp_parser/syntax/versions/1.9.1.rb#3
3700
+ class Regexp::Syntax::V1_9_1 < ::Regexp::Syntax::V1_8_6; end
3701
+
3702
+ # source://regexp_parser//lib/regexp_parser/syntax/versions/1.9.3.rb#3
3703
+ class Regexp::Syntax::V1_9_3 < ::Regexp::Syntax::V1_9_1; end
3704
+
3705
+ # source://regexp_parser//lib/regexp_parser/syntax/versions/2.0.0.rb#3
3706
+ class Regexp::Syntax::V2_0_0 < ::Regexp::Syntax::V1_9_3; end
3707
+
3708
+ # source://regexp_parser//lib/regexp_parser/syntax/versions/2.2.0.rb#3
3709
+ class Regexp::Syntax::V2_2_0 < ::Regexp::Syntax::V2_0_0; end
3710
+
3711
+ # source://regexp_parser//lib/regexp_parser/syntax/versions/2.3.0.rb#3
3712
+ class Regexp::Syntax::V2_3_0 < ::Regexp::Syntax::V2_2_0; end
3713
+
3714
+ # source://regexp_parser//lib/regexp_parser/syntax/versions/2.4.0.rb#3
3715
+ class Regexp::Syntax::V2_4_0 < ::Regexp::Syntax::V2_3_0; end
3716
+
3717
+ # source://regexp_parser//lib/regexp_parser/syntax/versions/2.4.1.rb#3
3718
+ class Regexp::Syntax::V2_4_1 < ::Regexp::Syntax::V2_4_0; end
3719
+
3720
+ # source://regexp_parser//lib/regexp_parser/syntax/versions/2.5.0.rb#3
3721
+ class Regexp::Syntax::V2_5_0 < ::Regexp::Syntax::V2_4_1; end
3722
+
3723
+ # source://regexp_parser//lib/regexp_parser/syntax/versions/2.6.0.rb#3
3724
+ class Regexp::Syntax::V2_6_0 < ::Regexp::Syntax::V2_5_0; end
3725
+
3726
+ # source://regexp_parser//lib/regexp_parser/syntax/versions/2.6.2.rb#3
3727
+ class Regexp::Syntax::V2_6_2 < ::Regexp::Syntax::V2_6_0; end
3728
+
3729
+ # source://regexp_parser//lib/regexp_parser/syntax/versions/2.6.3.rb#3
3730
+ class Regexp::Syntax::V2_6_3 < ::Regexp::Syntax::V2_6_2; end
3731
+
3732
+ # source://regexp_parser//lib/regexp_parser/syntax/versions/3.1.0.rb#3
3733
+ class Regexp::Syntax::V3_1_0 < ::Regexp::Syntax::V2_6_3; end
3734
+
3735
+ # source://regexp_parser//lib/regexp_parser/syntax/versions/3.2.0.rb#3
3736
+ class Regexp::Syntax::V3_2_0 < ::Regexp::Syntax::V3_1_0; end
3737
+
3738
+ # source://regexp_parser//lib/regexp_parser/syntax/versions/3.5.0.rb#1
3739
+ class Regexp::Syntax::V3_5_0 < ::Regexp::Syntax::V3_2_0; end
3740
+
3741
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#6
3742
+ Regexp::Syntax::VERSION_CONST_REGEXP = T.let(T.unsafe(nil), Regexp)
3743
+
3744
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#4
3745
+ Regexp::Syntax::VERSION_FORMAT = T.let(T.unsafe(nil), String)
3746
+
3747
+ # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#5
3748
+ Regexp::Syntax::VERSION_REGEXP = T.let(T.unsafe(nil), Regexp)
3749
+
3750
+ # source://regexp_parser//lib/regexp_parser/token.rb#4
3751
+ Regexp::TOKEN_KEYS = T.let(T.unsafe(nil), Array)
3752
+
3753
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3754
+ class Regexp::Token < ::Struct
3755
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3756
+ def conditional_level; end
3757
+
3758
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3759
+ def conditional_level=(_); end
3760
+
3761
+ # source://regexp_parser//lib/regexp_parser/token.rb#22
3762
+ def length; end
3763
+
3764
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3765
+ def level; end
3766
+
3767
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3768
+ def level=(_); end
3769
+
3770
+ # Returns the value of attribute next.
3771
+ #
3772
+ # source://regexp_parser//lib/regexp_parser/token.rb#16
3773
+ def next; end
3774
+
3775
+ # Sets the attribute next
3776
+ #
3777
+ # @param value the value to set the attribute next to.
3778
+ #
3779
+ # source://regexp_parser//lib/regexp_parser/token.rb#16
3780
+ def next=(_arg0); end
3781
+
3782
+ # source://regexp_parser//lib/regexp_parser/token.rb#18
3783
+ def offset; end
3784
+
3785
+ # Returns the value of attribute previous.
3786
+ #
3787
+ # source://regexp_parser//lib/regexp_parser/token.rb#16
3788
+ def previous; end
3789
+
3790
+ # Sets the attribute previous
3791
+ #
3792
+ # @param value the value to set the attribute previous to.
3793
+ #
3794
+ # source://regexp_parser//lib/regexp_parser/token.rb#16
3795
+ def previous=(_arg0); end
3796
+
3797
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3798
+ def set_level; end
3799
+
3800
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3801
+ def set_level=(_); end
3802
+
3803
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3804
+ def te; end
3805
+
3806
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3807
+ def te=(_); end
3808
+
3809
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3810
+ def text; end
3811
+
3812
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3813
+ def text=(_); end
3814
+
3815
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3816
+ def token; end
3817
+
3818
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3819
+ def token=(_); end
3820
+
3821
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3822
+ def ts; end
3823
+
3824
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3825
+ def ts=(_); end
3826
+
3827
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3828
+ def type; end
3829
+
3830
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3831
+ def type=(_); end
3832
+
3833
+ class << self
3834
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3835
+ def [](*_arg0); end
3836
+
3837
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3838
+ def inspect; end
3839
+
3840
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3841
+ def keyword_init?; end
3842
+
3843
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3844
+ def members; end
3845
+
3846
+ # source://regexp_parser//lib/regexp_parser/token.rb#15
3847
+ def new(*_arg0); end
3848
+ end
3849
+ end