stripe 10.13.0.pre.beta.1 → 10.13.0

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