activerecord-ejection_seat 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.tool-versions +1 -1
- data/CHANGELOG.md +6 -0
- data/Gemfile +0 -2
- data/Gemfile.lock +41 -52
- data/lib/activerecord-ejection_seat/version.rb +1 -1
- data/sorbet/rbi/gems/{activerecord@7.0.4.2.rbi → activerecord@7.0.4.3.rbi} +128 -128
- data/sorbet/rbi/gems/{activesupport@7.0.4.2.rbi → activesupport@7.0.4.3.rbi} +79 -103
- data/sorbet/rbi/gems/{concurrent-ruby@1.2.0.rbi → concurrent-ruby@1.2.2.rbi} +64 -89
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +19 -0
- data/sorbet/rbi/gems/i18n@1.13.0.rbi +2320 -0
- data/sorbet/rbi/gems/{irb@1.6.2.rbi → irb@1.6.4.rbi} +50 -35
- data/sorbet/rbi/gems/json@2.6.3.rbi +65 -73
- data/sorbet/rbi/gems/{minitest@5.17.0.rbi → minitest@5.18.0.rbi} +79 -48
- data/sorbet/rbi/gems/{parallel@1.22.1.rbi → parallel@1.23.0.rbi} +75 -79
- data/sorbet/rbi/gems/{parser@3.2.1.0.rbi → parser@3.2.2.1.rbi} +164 -164
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +11 -6
- data/sorbet/rbi/gems/rake@13.0.6.rbi +141 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +17 -17
- data/sorbet/rbi/gems/{regexp_parser@2.7.0.rbi → regexp_parser@2.8.0.rbi} +617 -449
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +57 -0
- data/sorbet/rbi/gems/{rubocop-ast@1.26.0.rbi → rubocop-ast@1.28.1.rbi} +79 -60
- data/sorbet/rbi/gems/{rubocop-minitest@0.27.0.rbi → rubocop-minitest@0.31.0.rbi} +364 -222
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +24 -50
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi +0 -15
- data/sorbet/rbi/gems/{rubocop@1.45.1.rbi → rubocop@1.51.0.rbi} +2170 -1402
- data/sorbet/rbi/gems/{ruby-progressbar@1.11.0.rbi → ruby-progressbar@1.13.0.rbi} +382 -277
- data/sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi +18 -0
- data/sorbet/rbi/gems/{spoom@1.1.15.rbi → spoom@1.2.1.rbi} +621 -501
- data/sorbet/rbi/gems/{tapioca@0.10.5.rbi → tapioca@0.11.6.rbi} +293 -207
- data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.2.2.rbi} +76 -61
- data/sorbet/rbi/gems/{yard-sorbet@0.8.0.rbi → yard-sorbet@0.8.1.rbi} +13 -26
- data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +1531 -345
- metadata +27 -33
- data/activerecord-ejection_seat.gemspec +0 -40
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +0 -8
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -8
- data/sorbet/rbi/gems/prettier_print@1.2.0.rbi +0 -8
- data/sorbet/rbi/gems/ruby-lsp@0.4.0.rbi +0 -14
- data/sorbet/rbi/gems/syntax_tree@6.0.0.rbi +0 -8
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2498
- /data/sorbet/rbi/gems/{activemodel@7.0.4.2.rbi → activemodel@7.0.4.3.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.3.2.rbi → reline@0.3.3.rbi} +0 -0
- /data/sorbet/rbi/gems/{sqlite3@1.6.0.rbi → sqlite3@1.6.2.rbi} +0 -0
@@ -22,7 +22,7 @@ end
|
|
22
22
|
# source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#6
|
23
23
|
Regexp::Expression::Alternation::OPERAND = Regexp::Expression::Alternative
|
24
24
|
|
25
|
-
# A sequence of expressions, used by Alternation as one of its
|
25
|
+
# A sequence of expressions, used by Alternation as one of its alternatives.
|
26
26
|
#
|
27
27
|
# source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#3
|
28
28
|
class Regexp::Expression::Alternative < ::Regexp::Expression::Sequence
|
@@ -102,77 +102,80 @@ class Regexp::Expression::Anchor::WordBoundary < ::Regexp::Expression::Anchor::B
|
|
102
102
|
def human_name; end
|
103
103
|
end
|
104
104
|
|
105
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
105
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#64
|
106
106
|
module Regexp::Expression::Assertion; end
|
107
107
|
|
108
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
108
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#65
|
109
109
|
class Regexp::Expression::Assertion::Base < ::Regexp::Expression::Group::Base
|
110
110
|
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#148
|
111
111
|
def match_length; end
|
112
112
|
end
|
113
113
|
|
114
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
114
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#67
|
115
115
|
class Regexp::Expression::Assertion::Lookahead < ::Regexp::Expression::Assertion::Base
|
116
116
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#19
|
117
117
|
def human_name; end
|
118
118
|
end
|
119
119
|
|
120
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
120
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#70
|
121
121
|
class Regexp::Expression::Assertion::Lookbehind < ::Regexp::Expression::Assertion::Base
|
122
122
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#20
|
123
123
|
def human_name; end
|
124
124
|
end
|
125
125
|
|
126
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
126
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#68
|
127
127
|
class Regexp::Expression::Assertion::NegativeLookahead < ::Regexp::Expression::Assertion::Base
|
128
128
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#21
|
129
129
|
def human_name; end
|
130
130
|
end
|
131
131
|
|
132
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
132
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#71
|
133
133
|
class Regexp::Expression::Assertion::NegativeLookbehind < ::Regexp::Expression::Assertion::Base
|
134
134
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#22
|
135
135
|
def human_name; end
|
136
136
|
end
|
137
137
|
|
138
|
-
#
|
138
|
+
# alias for symmetry between token symbol and Expression class name
|
139
139
|
#
|
140
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
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
|
141
144
|
module Regexp::Expression::Backreference; end
|
142
145
|
|
143
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
146
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#3
|
144
147
|
class Regexp::Expression::Backreference::Base < ::Regexp::Expression::Base
|
145
148
|
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#155
|
146
149
|
def match_length; end
|
147
150
|
|
148
151
|
# Returns the value of attribute referenced_expression.
|
149
152
|
#
|
150
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
153
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#4
|
151
154
|
def referenced_expression; end
|
152
155
|
|
153
156
|
# Sets the attribute referenced_expression
|
154
157
|
#
|
155
158
|
# @param value the value to set the attribute referenced_expression to.
|
156
159
|
#
|
157
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
160
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#4
|
158
161
|
def referenced_expression=(_arg0); end
|
159
162
|
|
160
|
-
# @return [Boolean]
|
161
|
-
#
|
162
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#24
|
163
|
-
def referential?; end
|
164
|
-
|
165
163
|
private
|
166
164
|
|
167
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
165
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#6
|
168
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
|
169
172
|
end
|
170
173
|
|
171
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
174
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#34
|
172
175
|
class Regexp::Expression::Backreference::Name < ::Regexp::Expression::Backreference::Base
|
173
176
|
# @return [Name] a new instance of Name
|
174
177
|
#
|
175
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
178
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#38
|
176
179
|
def initialize(token, options = T.unsafe(nil)); end
|
177
180
|
|
178
181
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#23
|
@@ -180,39 +183,39 @@ class Regexp::Expression::Backreference::Name < ::Regexp::Expression::Backrefere
|
|
180
183
|
|
181
184
|
# Returns the value of attribute name.
|
182
185
|
#
|
183
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
186
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#35
|
184
187
|
def name; end
|
185
188
|
|
186
189
|
# Returns the value of attribute name.
|
187
190
|
#
|
188
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
191
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#35
|
189
192
|
def reference; end
|
190
193
|
end
|
191
194
|
|
192
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
195
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#50
|
193
196
|
class Regexp::Expression::Backreference::NameCall < ::Regexp::Expression::Backreference::Name
|
194
197
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#24
|
195
198
|
def human_name; end
|
196
199
|
end
|
197
200
|
|
198
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
201
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#62
|
199
202
|
class Regexp::Expression::Backreference::NameRecursionLevel < ::Regexp::Expression::Backreference::Name
|
200
203
|
# @return [NameRecursionLevel] a new instance of NameRecursionLevel
|
201
204
|
#
|
202
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
205
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#65
|
203
206
|
def initialize(token, options = T.unsafe(nil)); end
|
204
207
|
|
205
208
|
# Returns the value of attribute recursion_level.
|
206
209
|
#
|
207
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
210
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#63
|
208
211
|
def recursion_level; end
|
209
212
|
end
|
210
213
|
|
211
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
214
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#24
|
212
215
|
class Regexp::Expression::Backreference::Number < ::Regexp::Expression::Backreference::Base
|
213
216
|
# @return [Number] a new instance of Number
|
214
217
|
#
|
215
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
218
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#28
|
216
219
|
def initialize(token, options = T.unsafe(nil)); end
|
217
220
|
|
218
221
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#25
|
@@ -220,52 +223,52 @@ class Regexp::Expression::Backreference::Number < ::Regexp::Expression::Backrefe
|
|
220
223
|
|
221
224
|
# Returns the value of attribute number.
|
222
225
|
#
|
223
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
226
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#25
|
224
227
|
def number; end
|
225
228
|
|
226
229
|
# Returns the value of attribute number.
|
227
230
|
#
|
228
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
231
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#25
|
229
232
|
def reference; end
|
230
233
|
end
|
231
234
|
|
232
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
235
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#49
|
233
236
|
class Regexp::Expression::Backreference::NumberCall < ::Regexp::Expression::Backreference::Number
|
234
237
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#27
|
235
238
|
def human_name; end
|
236
239
|
end
|
237
240
|
|
238
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
241
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#51
|
239
242
|
class Regexp::Expression::Backreference::NumberCallRelative < ::Regexp::Expression::Backreference::NumberRelative
|
240
243
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#28
|
241
244
|
def human_name; end
|
242
245
|
end
|
243
246
|
|
244
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
247
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#53
|
245
248
|
class Regexp::Expression::Backreference::NumberRecursionLevel < ::Regexp::Expression::Backreference::NumberRelative
|
246
249
|
# @return [NumberRecursionLevel] a new instance of NumberRecursionLevel
|
247
250
|
#
|
248
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
251
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#56
|
249
252
|
def initialize(token, options = T.unsafe(nil)); end
|
250
253
|
|
251
254
|
# Returns the value of attribute recursion_level.
|
252
255
|
#
|
253
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
256
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#54
|
254
257
|
def recursion_level; end
|
255
258
|
end
|
256
259
|
|
257
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
260
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#44
|
258
261
|
class Regexp::Expression::Backreference::NumberRelative < ::Regexp::Expression::Backreference::Number
|
259
262
|
# Returns the value of attribute effective_number.
|
260
263
|
#
|
261
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
264
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#45
|
262
265
|
def effective_number; end
|
263
266
|
|
264
267
|
# Sets the attribute effective_number
|
265
268
|
#
|
266
269
|
# @param value the value to set the attribute effective_number to.
|
267
270
|
#
|
268
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
271
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#45
|
269
272
|
def effective_number=(_arg0); end
|
270
273
|
|
271
274
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#26
|
@@ -273,7 +276,7 @@ class Regexp::Expression::Backreference::NumberRelative < ::Regexp::Expression::
|
|
273
276
|
|
274
277
|
# Returns the value of attribute effective_number.
|
275
278
|
#
|
276
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
279
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#45
|
277
280
|
def reference; end
|
278
281
|
end
|
279
282
|
|
@@ -300,7 +303,7 @@ class Regexp::Expression::Base
|
|
300
303
|
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#25
|
301
304
|
def ascii_classes?; end
|
302
305
|
|
303
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
306
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#60
|
304
307
|
def attributes; end
|
305
308
|
|
306
309
|
# @return [Boolean]
|
@@ -314,6 +317,12 @@ class Regexp::Expression::Base
|
|
314
317
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
315
318
|
def conditional_level=(_arg0); end
|
316
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
|
+
|
317
326
|
# @return [Boolean]
|
318
327
|
#
|
319
328
|
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#20
|
@@ -336,7 +345,7 @@ class Regexp::Expression::Base
|
|
336
345
|
|
337
346
|
# @return [Boolean]
|
338
347
|
#
|
339
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
348
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#47
|
340
349
|
def greedy?; end
|
341
350
|
|
342
351
|
# @return [Boolean]
|
@@ -351,7 +360,7 @@ class Regexp::Expression::Base
|
|
351
360
|
|
352
361
|
# @return [Boolean]
|
353
362
|
#
|
354
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
363
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#51
|
355
364
|
def lazy?; end
|
356
365
|
|
357
366
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -383,7 +392,7 @@ class Regexp::Expression::Base
|
|
383
392
|
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#3
|
384
393
|
def multiline?; end
|
385
394
|
|
386
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
395
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#14
|
387
396
|
def nesting_level; end
|
388
397
|
|
389
398
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -392,28 +401,40 @@ class Regexp::Expression::Base
|
|
392
401
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
393
402
|
def options=(_arg0); end
|
394
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
|
+
|
395
410
|
# @return [Boolean]
|
396
411
|
#
|
397
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
412
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#56
|
398
413
|
def possessive?; end
|
399
414
|
|
400
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
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
|
401
422
|
def quantifier; end
|
402
423
|
|
403
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
424
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#17
|
404
425
|
def quantify(*args); end
|
405
426
|
|
406
427
|
# Deprecated. Prefer `#repetitions` which has a more uniform interface.
|
407
428
|
#
|
408
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
429
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#26
|
409
430
|
def quantity; end
|
410
431
|
|
411
432
|
# @return [Boolean]
|
412
433
|
#
|
413
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
434
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#51
|
414
435
|
def reluctant?; end
|
415
436
|
|
416
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
437
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#31
|
417
438
|
def repetitions; end
|
418
439
|
|
419
440
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -506,10 +527,10 @@ class Regexp::Expression::Base
|
|
506
527
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
507
528
|
def text=(_arg0); end
|
508
529
|
|
509
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
530
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#60
|
510
531
|
def to_h; end
|
511
532
|
|
512
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
533
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#9
|
513
534
|
def to_re(format = T.unsafe(nil)); end
|
514
535
|
|
515
536
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -540,18 +561,13 @@ class Regexp::Expression::Base
|
|
540
561
|
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#30
|
541
562
|
def unicode_classes?; end
|
542
563
|
|
543
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
564
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#21
|
544
565
|
def unquantified_clone; end
|
545
566
|
|
546
567
|
# @return [Boolean]
|
547
568
|
#
|
548
569
|
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#14
|
549
570
|
def x?; end
|
550
|
-
|
551
|
-
private
|
552
|
-
|
553
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#9
|
554
|
-
def initialize_copy(orig); end
|
555
571
|
end
|
556
572
|
|
557
573
|
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#2
|
@@ -609,7 +625,7 @@ class Regexp::Expression::CharacterSet < ::Regexp::Expression::Subexpression
|
|
609
625
|
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#3
|
610
626
|
def negative?; end
|
611
627
|
|
612
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
628
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#15
|
613
629
|
def parts; end
|
614
630
|
end
|
615
631
|
|
@@ -636,12 +652,12 @@ Regexp::Expression::CharacterSet::Intersection::OPERAND = Regexp::Expression::Ch
|
|
636
652
|
|
637
653
|
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#3
|
638
654
|
class Regexp::Expression::CharacterSet::Range < ::Regexp::Expression::Subexpression
|
639
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#
|
655
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#8
|
640
656
|
def <<(exp); end
|
641
657
|
|
642
658
|
# @return [Boolean]
|
643
659
|
#
|
644
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#
|
660
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#14
|
645
661
|
def complete?; end
|
646
662
|
|
647
663
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#31
|
@@ -650,12 +666,9 @@ class Regexp::Expression::CharacterSet::Range < ::Regexp::Expression::Subexpress
|
|
650
666
|
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
|
651
667
|
def match_length; end
|
652
668
|
|
653
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
669
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#16
|
654
670
|
def parts; end
|
655
671
|
|
656
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#4
|
657
|
-
def starts_at; end
|
658
|
-
|
659
672
|
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#4
|
660
673
|
def ts; end
|
661
674
|
end
|
@@ -709,12 +722,17 @@ class Regexp::Expression::CharacterType::Word < ::Regexp::Expression::CharacterT
|
|
709
722
|
class Regexp::Expression::Comment < ::Regexp::Expression::FreeSpace
|
710
723
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#33
|
711
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
|
712
730
|
end
|
713
731
|
|
714
732
|
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#2
|
715
733
|
module Regexp::Expression::Conditional; end
|
716
734
|
|
717
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#
|
735
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#25
|
718
736
|
class Regexp::Expression::Conditional::Branch < ::Regexp::Expression::Sequence
|
719
737
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#34
|
720
738
|
def human_name; end
|
@@ -746,39 +764,39 @@ class Regexp::Expression::Conditional::Condition < ::Regexp::Expression::Base
|
|
746
764
|
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#10
|
747
765
|
def referenced_expression=(_arg0); end
|
748
766
|
|
749
|
-
# @return [Boolean]
|
750
|
-
#
|
751
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#24
|
752
|
-
def referential?; end
|
753
|
-
|
754
767
|
private
|
755
768
|
|
756
769
|
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#19
|
757
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
|
758
776
|
end
|
759
777
|
|
760
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#
|
778
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#27
|
761
779
|
class Regexp::Expression::Conditional::Expression < ::Regexp::Expression::Subexpression
|
762
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#
|
780
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#30
|
763
781
|
def <<(exp); end
|
764
782
|
|
765
783
|
# @raise [TooManyBranches]
|
766
784
|
#
|
767
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#
|
768
|
-
def add_sequence(active_opts = T.unsafe(nil)); end
|
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
|
769
787
|
|
770
788
|
# @raise [TooManyBranches]
|
771
789
|
#
|
772
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#
|
773
|
-
def branch(active_opts = T.unsafe(nil)); end
|
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
|
774
792
|
|
775
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#
|
793
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#50
|
776
794
|
def branches; end
|
777
795
|
|
778
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#
|
796
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#46
|
779
797
|
def condition; end
|
780
798
|
|
781
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#
|
799
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#41
|
782
800
|
def condition=(exp); end
|
783
801
|
|
784
802
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#36
|
@@ -787,33 +805,33 @@ class Regexp::Expression::Conditional::Expression < ::Regexp::Expression::Subexp
|
|
787
805
|
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#131
|
788
806
|
def match_length; end
|
789
807
|
|
790
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
808
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#17
|
791
809
|
def parts; end
|
792
810
|
|
793
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#
|
811
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#54
|
794
812
|
def reference; end
|
795
813
|
|
796
814
|
# Returns the value of attribute referenced_expression.
|
797
815
|
#
|
798
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#
|
816
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#28
|
799
817
|
def referenced_expression; end
|
800
818
|
|
801
819
|
# Sets the attribute referenced_expression
|
802
820
|
#
|
803
821
|
# @param value the value to set the attribute referenced_expression to.
|
804
822
|
#
|
805
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#
|
823
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#28
|
806
824
|
def referenced_expression=(_arg0); end
|
807
825
|
|
808
|
-
# @return [Boolean]
|
809
|
-
#
|
810
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#62
|
811
|
-
def referential?; end
|
812
|
-
|
813
826
|
private
|
814
827
|
|
815
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#
|
828
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#58
|
816
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
|
817
835
|
end
|
818
836
|
|
819
837
|
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#3
|
@@ -824,117 +842,120 @@ class Regexp::Expression::Conditional::TooManyBranches < ::Regexp::Parser::Error
|
|
824
842
|
def initialize; end
|
825
843
|
end
|
826
844
|
|
827
|
-
#
|
845
|
+
# alias for symmetry between Token::* and Expression::*
|
828
846
|
#
|
829
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
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
|
830
851
|
module Regexp::Expression::EscapeSequence; end
|
831
852
|
|
832
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
853
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#63
|
833
854
|
class Regexp::Expression::EscapeSequence::AbstractMetaControlSequence < ::Regexp::Expression::EscapeSequence::Base
|
834
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
855
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#64
|
835
856
|
def char; end
|
836
857
|
|
837
858
|
private
|
838
859
|
|
839
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
860
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#70
|
840
861
|
def control_sequence_to_s(control_sequence); end
|
841
862
|
|
842
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
863
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#75
|
843
864
|
def meta_char_to_codepoint(meta_char); end
|
844
865
|
end
|
845
866
|
|
846
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
867
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#27
|
847
868
|
class Regexp::Expression::EscapeSequence::AsciiEscape < ::Regexp::Expression::EscapeSequence::Base; end
|
848
869
|
|
849
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
870
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#28
|
850
871
|
class Regexp::Expression::EscapeSequence::Backspace < ::Regexp::Expression::EscapeSequence::Base; end
|
851
872
|
|
852
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
873
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#3
|
853
874
|
class Regexp::Expression::EscapeSequence::Base < ::Regexp::Expression::Base
|
854
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
875
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#9
|
855
876
|
def char; end
|
856
877
|
|
857
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
878
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#4
|
858
879
|
def codepoint; end
|
859
880
|
|
860
881
|
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
|
861
882
|
def match_length; end
|
862
883
|
end
|
863
884
|
|
864
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
885
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#29
|
865
886
|
class Regexp::Expression::EscapeSequence::Bell < ::Regexp::Expression::EscapeSequence::Base; end
|
866
887
|
|
867
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
888
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#37
|
868
889
|
class Regexp::Expression::EscapeSequence::Codepoint < ::Regexp::Expression::EscapeSequence::Base; end
|
869
890
|
|
870
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
891
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#39
|
871
892
|
class Regexp::Expression::EscapeSequence::CodepointList < ::Regexp::Expression::EscapeSequence::Base
|
872
893
|
# @raise [NoMethodError]
|
873
894
|
#
|
874
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
895
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#40
|
875
896
|
def char; end
|
876
897
|
|
877
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
898
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#48
|
878
899
|
def chars; end
|
879
900
|
|
880
901
|
# @raise [NoMethodError]
|
881
902
|
#
|
882
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
903
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#44
|
883
904
|
def codepoint; end
|
884
905
|
|
885
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
906
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#52
|
886
907
|
def codepoints; end
|
887
908
|
|
888
909
|
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#164
|
889
910
|
def match_length; end
|
890
911
|
end
|
891
912
|
|
892
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
913
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#81
|
893
914
|
class Regexp::Expression::EscapeSequence::Control < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
|
894
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
915
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#82
|
895
916
|
def codepoint; end
|
896
917
|
end
|
897
918
|
|
898
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
919
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#30
|
899
920
|
class Regexp::Expression::EscapeSequence::FormFeed < ::Regexp::Expression::EscapeSequence::Base; end
|
900
921
|
|
901
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
922
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#36
|
902
923
|
class Regexp::Expression::EscapeSequence::Hex < ::Regexp::Expression::EscapeSequence::Base; end
|
903
924
|
|
904
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
925
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#21
|
905
926
|
class Regexp::Expression::EscapeSequence::Literal < ::Regexp::Expression::EscapeSequence::Base
|
906
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
927
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#22
|
907
928
|
def char; end
|
908
929
|
end
|
909
930
|
|
910
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
931
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#87
|
911
932
|
class Regexp::Expression::EscapeSequence::Meta < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
|
912
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
933
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#88
|
913
934
|
def codepoint; end
|
914
935
|
end
|
915
936
|
|
916
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
937
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#93
|
917
938
|
class Regexp::Expression::EscapeSequence::MetaControl < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
|
918
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
939
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#94
|
919
940
|
def codepoint; end
|
920
941
|
end
|
921
942
|
|
922
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
943
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#31
|
923
944
|
class Regexp::Expression::EscapeSequence::Newline < ::Regexp::Expression::EscapeSequence::Base; end
|
924
945
|
|
925
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
946
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#57
|
926
947
|
class Regexp::Expression::EscapeSequence::Octal < ::Regexp::Expression::EscapeSequence::Base
|
927
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
948
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#58
|
928
949
|
def char; end
|
929
950
|
end
|
930
951
|
|
931
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
952
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#32
|
932
953
|
class Regexp::Expression::EscapeSequence::Return < ::Regexp::Expression::EscapeSequence::Base; end
|
933
954
|
|
934
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
955
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#33
|
935
956
|
class Regexp::Expression::EscapeSequence::Tab < ::Regexp::Expression::EscapeSequence::Base; end
|
936
957
|
|
937
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
958
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#34
|
938
959
|
class Regexp::Expression::EscapeSequence::VerticalTab < ::Regexp::Expression::EscapeSequence::Base; end
|
939
960
|
|
940
961
|
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#2
|
@@ -946,6 +967,11 @@ class Regexp::Expression::FreeSpace < ::Regexp::Expression::Base
|
|
946
967
|
#
|
947
968
|
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#3
|
948
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
|
949
975
|
end
|
950
976
|
|
951
977
|
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#2
|
@@ -954,87 +980,80 @@ module Regexp::Expression::Group; end
|
|
954
980
|
# Special case. Absence group can match 0.. chars, irrespective of content.
|
955
981
|
# TODO: in theory, they *can* exclude match lengths with `.`: `(?~.{3})`
|
956
982
|
#
|
957
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
983
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#19
|
958
984
|
class Regexp::Expression::Group::Absence < ::Regexp::Expression::Group::Base
|
959
985
|
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#172
|
960
986
|
def match_length; end
|
961
987
|
end
|
962
988
|
|
963
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
989
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#20
|
964
990
|
class Regexp::Expression::Group::Atomic < ::Regexp::Expression::Group::Base; end
|
965
991
|
|
966
992
|
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#3
|
967
993
|
class Regexp::Expression::Group::Base < ::Regexp::Expression::Subexpression
|
968
|
-
#
|
969
|
-
#
|
970
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#8
|
971
|
-
def capturing?; end
|
972
|
-
|
973
|
-
# @return [Boolean]
|
974
|
-
#
|
975
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#10
|
976
|
-
def comment?; end
|
977
|
-
|
978
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#4
|
994
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#18
|
979
995
|
def parts; end
|
980
996
|
end
|
981
997
|
|
982
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
998
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#40
|
983
999
|
class Regexp::Expression::Group::Capture < ::Regexp::Expression::Group::Base
|
984
|
-
# @return [Boolean]
|
985
|
-
#
|
986
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#59
|
987
|
-
def capturing?; end
|
988
|
-
|
989
1000
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#37
|
990
1001
|
def human_name; end
|
991
1002
|
|
992
1003
|
# Returns the value of attribute number.
|
993
1004
|
#
|
994
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1005
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41
|
995
1006
|
def identifier; end
|
996
1007
|
|
997
1008
|
# Returns the value of attribute number.
|
998
1009
|
#
|
999
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1010
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41
|
1000
1011
|
def number; end
|
1001
1012
|
|
1002
1013
|
# Sets the attribute number
|
1003
1014
|
#
|
1004
1015
|
# @param value the value to set the attribute number to.
|
1005
1016
|
#
|
1006
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1017
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41
|
1007
1018
|
def number=(_arg0); end
|
1008
1019
|
|
1009
1020
|
# Returns the value of attribute number_at_level.
|
1010
1021
|
#
|
1011
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1022
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41
|
1012
1023
|
def number_at_level; end
|
1013
1024
|
|
1014
1025
|
# Sets the attribute number_at_level
|
1015
1026
|
#
|
1016
1027
|
# @param value the value to set the attribute number_at_level to.
|
1017
1028
|
#
|
1018
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1029
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41
|
1019
1030
|
def number_at_level=(_arg0); end
|
1031
|
+
|
1032
|
+
class << self
|
1033
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#126
|
1034
|
+
def capturing?; end
|
1035
|
+
end
|
1020
1036
|
end
|
1021
1037
|
|
1022
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1038
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#60
|
1023
1039
|
class Regexp::Expression::Group::Comment < ::Regexp::Expression::Group::Base
|
1024
|
-
#
|
1025
|
-
#
|
1026
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#82
|
1027
|
-
def comment?; end
|
1028
|
-
|
1029
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#78
|
1040
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#20
|
1030
1041
|
def parts; end
|
1042
|
+
|
1043
|
+
class << self
|
1044
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#131
|
1045
|
+
def comment?; end
|
1046
|
+
|
1047
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#136
|
1048
|
+
def decorative?; end
|
1049
|
+
end
|
1031
1050
|
end
|
1032
1051
|
|
1033
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1052
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#45
|
1034
1053
|
class Regexp::Expression::Group::Named < ::Regexp::Expression::Group::Capture
|
1035
1054
|
# @return [Named] a new instance of Named
|
1036
1055
|
#
|
1037
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1056
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#49
|
1038
1057
|
def initialize(token, options = T.unsafe(nil)); end
|
1039
1058
|
|
1040
1059
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#38
|
@@ -1042,66 +1061,66 @@ class Regexp::Expression::Group::Named < ::Regexp::Expression::Group::Capture
|
|
1042
1061
|
|
1043
1062
|
# Returns the value of attribute name.
|
1044
1063
|
#
|
1045
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1064
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#46
|
1046
1065
|
def identifier; end
|
1047
1066
|
|
1048
1067
|
# Returns the value of attribute name.
|
1049
1068
|
#
|
1050
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1069
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#46
|
1051
1070
|
def name; end
|
1052
1071
|
|
1053
1072
|
private
|
1054
1073
|
|
1055
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1074
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#54
|
1056
1075
|
def initialize_copy(orig); end
|
1057
1076
|
end
|
1058
1077
|
|
1059
1078
|
# TODO: should split off OptionsSwitch in v3.0.0. Maybe even make it no
|
1060
1079
|
# longer inherit from Group because it is effectively a terminal expression.
|
1061
1080
|
#
|
1062
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1081
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#23
|
1063
1082
|
class Regexp::Expression::Group::Options < ::Regexp::Expression::Group::Base
|
1064
1083
|
# Returns the value of attribute option_changes.
|
1065
1084
|
#
|
1066
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1085
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#24
|
1067
1086
|
def option_changes; end
|
1068
1087
|
|
1069
1088
|
# Sets the attribute option_changes
|
1070
1089
|
#
|
1071
1090
|
# @param value the value to set the attribute option_changes to.
|
1072
1091
|
#
|
1073
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1092
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#24
|
1074
1093
|
def option_changes=(_arg0); end
|
1075
1094
|
|
1076
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1095
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#31
|
1077
1096
|
def quantify(*args); end
|
1078
1097
|
|
1079
1098
|
private
|
1080
1099
|
|
1081
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1100
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#26
|
1082
1101
|
def initialize_copy(orig); end
|
1083
1102
|
end
|
1084
1103
|
|
1085
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1104
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#6
|
1086
1105
|
class Regexp::Expression::Group::Passive < ::Regexp::Expression::Group::Base
|
1087
1106
|
# @return [Passive] a new instance of Passive
|
1088
1107
|
#
|
1089
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1108
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#9
|
1090
1109
|
def initialize(*_arg0); end
|
1091
1110
|
|
1092
1111
|
# Sets the attribute implicit
|
1093
1112
|
#
|
1094
1113
|
# @param value the value to set the attribute implicit to.
|
1095
1114
|
#
|
1096
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1115
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#7
|
1097
1116
|
def implicit=(_arg0); end
|
1098
1117
|
|
1099
1118
|
# @return [Boolean]
|
1100
1119
|
#
|
1101
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1120
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#14
|
1102
1121
|
def implicit?; end
|
1103
1122
|
|
1104
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
1123
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#19
|
1105
1124
|
def parts; end
|
1106
1125
|
end
|
1107
1126
|
|
@@ -1132,6 +1151,12 @@ end
|
|
1132
1151
|
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#85
|
1133
1152
|
Regexp::Expression::MatchLength = Regexp::MatchLength
|
1134
1153
|
|
1154
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#14
|
1155
|
+
Regexp::Expression::Nonposixclass = Regexp::Expression::PosixClass
|
1156
|
+
|
1157
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#121
|
1158
|
+
Regexp::Expression::Nonproperty = Regexp::Expression::UnicodeProperty
|
1159
|
+
|
1135
1160
|
# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#2
|
1136
1161
|
class Regexp::Expression::PosixClass < ::Regexp::Expression::Base
|
1137
1162
|
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
|
@@ -1146,6 +1171,16 @@ class Regexp::Expression::PosixClass < ::Regexp::Expression::Base
|
|
1146
1171
|
def negative?; end
|
1147
1172
|
end
|
1148
1173
|
|
1174
|
+
# alias for symmetry between token symbol and Expression class name
|
1175
|
+
#
|
1176
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#13
|
1177
|
+
Regexp::Expression::Posixclass = Regexp::Expression::PosixClass
|
1178
|
+
|
1179
|
+
# alias for symmetry between token symbol and Expression class name
|
1180
|
+
#
|
1181
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#120
|
1182
|
+
Regexp::Expression::Property = Regexp::Expression::UnicodeProperty
|
1183
|
+
|
1149
1184
|
# TODO: in v3.0.0, maybe put Shared back into Base, and inherit from Base and
|
1150
1185
|
# call super in #initialize, but raise in #quantifier= and #quantify,
|
1151
1186
|
# or introduce an Expression::Quantifiable intermediate class.
|
@@ -1158,7 +1193,7 @@ class Regexp::Expression::Quantifier
|
|
1158
1193
|
|
1159
1194
|
# @return [Quantifier] a new instance of Quantifier
|
1160
1195
|
#
|
1161
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#
|
1196
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#11
|
1162
1197
|
def initialize(*args); end
|
1163
1198
|
|
1164
1199
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -1167,10 +1202,16 @@ class Regexp::Expression::Quantifier
|
|
1167
1202
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1168
1203
|
def conditional_level=(_arg0); end
|
1169
1204
|
|
1170
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
1205
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1206
|
+
def custom_to_s_handling; end
|
1207
|
+
|
1208
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1209
|
+
def custom_to_s_handling=(_arg0); end
|
1210
|
+
|
1211
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#31
|
1171
1212
|
def greedy?; end
|
1172
1213
|
|
1173
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#
|
1214
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#31
|
1174
1215
|
def lazy?; end
|
1175
1216
|
|
1176
1217
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -1179,22 +1220,16 @@ class Regexp::Expression::Quantifier
|
|
1179
1220
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1180
1221
|
def level=(_arg0); end
|
1181
1222
|
|
1182
|
-
#
|
1183
|
-
#
|
1184
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#11
|
1223
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#42
|
1185
1224
|
def max; end
|
1186
1225
|
|
1187
|
-
#
|
1188
|
-
#
|
1189
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#11
|
1226
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#38
|
1190
1227
|
def min; end
|
1191
1228
|
|
1192
|
-
#
|
1193
|
-
#
|
1194
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#11
|
1229
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#46
|
1195
1230
|
def mode; end
|
1196
1231
|
|
1197
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1232
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#14
|
1198
1233
|
def nesting_level; end
|
1199
1234
|
|
1200
1235
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -1203,13 +1238,25 @@ class Regexp::Expression::Quantifier
|
|
1203
1238
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1204
1239
|
def options=(_arg0); end
|
1205
1240
|
|
1206
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
1241
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1242
|
+
def parent; end
|
1243
|
+
|
1244
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1245
|
+
def parent=(_arg0); end
|
1246
|
+
|
1247
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#31
|
1207
1248
|
def possessive?; end
|
1208
1249
|
|
1209
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1250
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1251
|
+
def pre_quantifier_decorations; end
|
1252
|
+
|
1253
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1254
|
+
def pre_quantifier_decorations=(_arg0); end
|
1255
|
+
|
1256
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#14
|
1210
1257
|
def quantifier; end
|
1211
1258
|
|
1212
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#
|
1259
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#31
|
1213
1260
|
def reluctant?; end
|
1214
1261
|
|
1215
1262
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -1230,7 +1277,7 @@ class Regexp::Expression::Quantifier
|
|
1230
1277
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1231
1278
|
def text=(_arg0); end
|
1232
1279
|
|
1233
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#
|
1280
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#19
|
1234
1281
|
def to_h; end
|
1235
1282
|
|
1236
1283
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -1253,11 +1300,11 @@ class Regexp::Expression::Quantifier
|
|
1253
1300
|
|
1254
1301
|
private
|
1255
1302
|
|
1256
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#
|
1257
|
-
def deprecated_old_init(token, text,
|
1303
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#52
|
1304
|
+
def deprecated_old_init(token, text, _min, _max, _mode = T.unsafe(nil)); end
|
1258
1305
|
|
1259
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#
|
1260
|
-
def
|
1306
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#64
|
1307
|
+
def derived_data; end
|
1261
1308
|
end
|
1262
1309
|
|
1263
1310
|
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
|
@@ -1284,12 +1331,9 @@ end
|
|
1284
1331
|
# source://regexp_parser//lib/regexp_parser/expression/sequence.rb#8
|
1285
1332
|
class Regexp::Expression::Sequence < ::Regexp::Expression::Subexpression
|
1286
1333
|
# source://regexp_parser//lib/regexp_parser/expression/sequence.rb#27
|
1287
|
-
def quantify(*args); end
|
1334
|
+
def quantify(token, *args); end
|
1288
1335
|
|
1289
|
-
# source://regexp_parser//lib/regexp_parser/expression/sequence.rb#
|
1290
|
-
def starts_at; end
|
1291
|
-
|
1292
|
-
# source://regexp_parser//lib/regexp_parser/expression/sequence.rb#22
|
1336
|
+
# source://regexp_parser//lib/regexp_parser/expression/sequence.rb#23
|
1293
1337
|
def ts; end
|
1294
1338
|
|
1295
1339
|
class << self
|
@@ -1302,11 +1346,11 @@ end
|
|
1302
1346
|
#
|
1303
1347
|
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#3
|
1304
1348
|
class Regexp::Expression::SequenceOperation < ::Regexp::Expression::Subexpression
|
1305
|
-
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#
|
1349
|
+
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#12
|
1306
1350
|
def <<(exp); end
|
1307
1351
|
|
1308
|
-
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#
|
1309
|
-
def add_sequence(active_opts = T.unsafe(nil)); end
|
1352
|
+
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#16
|
1353
|
+
def add_sequence(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end
|
1310
1354
|
|
1311
1355
|
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#5
|
1312
1356
|
def operands; end
|
@@ -1314,45 +1358,68 @@ class Regexp::Expression::SequenceOperation < ::Regexp::Expression::Subexpressio
|
|
1314
1358
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1315
1359
|
def operator; end
|
1316
1360
|
|
1317
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
1361
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#22
|
1318
1362
|
def parts; end
|
1319
1363
|
|
1320
1364
|
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#5
|
1321
1365
|
def sequences; end
|
1322
1366
|
|
1323
|
-
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#8
|
1324
|
-
def starts_at; end
|
1325
|
-
|
1326
1367
|
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#8
|
1327
1368
|
def ts; end
|
1328
1369
|
end
|
1329
1370
|
|
1371
|
+
# alias for symmetry between token symbol and Expression class name
|
1372
|
+
#
|
1373
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#25
|
1374
|
+
Regexp::Expression::Set = Regexp::Expression::CharacterSet
|
1375
|
+
|
1330
1376
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#2
|
1331
1377
|
module Regexp::Expression::Shared
|
1332
1378
|
mixes_in_class_methods ::Regexp::Expression::Shared::ClassMethods
|
1333
1379
|
|
1334
1380
|
# Deep-compare two expressions for equality.
|
1335
1381
|
#
|
1336
|
-
#
|
1382
|
+
# When changing the conditions, please make sure to update
|
1383
|
+
# #pretty_print_instance_variables so that it includes all relevant values.
|
1384
|
+
#
|
1385
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#101
|
1337
1386
|
def ==(other); end
|
1338
1387
|
|
1339
1388
|
# Deep-compare two expressions for equality.
|
1340
1389
|
#
|
1341
|
-
#
|
1390
|
+
# When changing the conditions, please make sure to update
|
1391
|
+
# #pretty_print_instance_variables so that it includes all relevant values.
|
1392
|
+
#
|
1393
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#101
|
1342
1394
|
def ===(other); end
|
1343
1395
|
|
1344
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1396
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#51
|
1345
1397
|
def base_length; end
|
1346
1398
|
|
1347
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
1399
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#124
|
1400
|
+
def capturing?; end
|
1401
|
+
|
1402
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#96
|
1348
1403
|
def coded_offset; end
|
1349
1404
|
|
1405
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#128
|
1406
|
+
def comment?; end
|
1407
|
+
|
1408
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#133
|
1409
|
+
def decorative?; end
|
1410
|
+
|
1411
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#47
|
1412
|
+
def ends_at(include_quantifier = T.unsafe(nil)); end
|
1413
|
+
|
1350
1414
|
# Deep-compare two expressions for equality.
|
1351
1415
|
#
|
1352
|
-
#
|
1416
|
+
# When changing the conditions, please make sure to update
|
1417
|
+
# #pretty_print_instance_variables so that it includes all relevant values.
|
1418
|
+
#
|
1419
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#101
|
1353
1420
|
def eql?(other); end
|
1354
1421
|
|
1355
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1422
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#55
|
1356
1423
|
def full_length; end
|
1357
1424
|
|
1358
1425
|
# default implementation, e.g. "atomic group", "hex escape", "word type", ..
|
@@ -1360,6 +1427,9 @@ module Regexp::Expression::Shared
|
|
1360
1427
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#4
|
1361
1428
|
def human_name; end
|
1362
1429
|
|
1430
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#3
|
1431
|
+
def inspect; end
|
1432
|
+
|
1363
1433
|
# Test if this expression has the given test_token, and optionally a given
|
1364
1434
|
# test_type.
|
1365
1435
|
#
|
@@ -1383,10 +1453,10 @@ module Regexp::Expression::Shared
|
|
1383
1453
|
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#36
|
1384
1454
|
def is?(test_token, test_type = T.unsafe(nil)); end
|
1385
1455
|
|
1386
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1456
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#100
|
1387
1457
|
def nesting_level=(lvl); end
|
1388
1458
|
|
1389
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1459
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#92
|
1390
1460
|
def offset; end
|
1391
1461
|
|
1392
1462
|
# Test if this expression matches an entry in the given scope spec.
|
@@ -1430,43 +1500,80 @@ module Regexp::Expression::Shared
|
|
1430
1500
|
|
1431
1501
|
# @return [Boolean]
|
1432
1502
|
#
|
1433
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
1503
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#111
|
1434
1504
|
def optional?; end
|
1435
1505
|
|
1436
|
-
#
|
1506
|
+
# default implementation
|
1507
|
+
#
|
1508
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#4
|
1437
1509
|
def parts; end
|
1438
1510
|
|
1511
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#84
|
1512
|
+
def pre_quantifier_decoration(expression_format = T.unsafe(nil)); end
|
1513
|
+
|
1514
|
+
# Make pretty-print work despite #inspect implementation.
|
1515
|
+
#
|
1516
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#12
|
1517
|
+
def pretty_print(q); end
|
1518
|
+
|
1519
|
+
# Called by pretty_print (ruby/pp) and #inspect.
|
1520
|
+
#
|
1521
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#17
|
1522
|
+
def pretty_print_instance_variables; end
|
1523
|
+
|
1439
1524
|
# @return [Boolean]
|
1440
1525
|
#
|
1441
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
1526
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#115
|
1442
1527
|
def quantified?; end
|
1443
1528
|
|
1444
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1529
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#106
|
1445
1530
|
def quantifier=(qtf); end
|
1446
1531
|
|
1447
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1448
|
-
def quantifier_affix(expression_format); end
|
1532
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#88
|
1533
|
+
def quantifier_affix(expression_format = T.unsafe(nil)); end
|
1449
1534
|
|
1450
|
-
#
|
1451
|
-
#
|
1452
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#83
|
1535
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#138
|
1453
1536
|
def referential?; end
|
1454
1537
|
|
1455
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1538
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#43
|
1456
1539
|
def starts_at; end
|
1457
1540
|
|
1458
|
-
#
|
1459
|
-
#
|
1460
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#79
|
1541
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#120
|
1461
1542
|
def terminal?; end
|
1462
1543
|
|
1463
|
-
# source
|
1544
|
+
# #to_s reproduces the original source, as an unparser would.
|
1545
|
+
#
|
1546
|
+
# It takes an optional format argument.
|
1547
|
+
#
|
1548
|
+
# Example:
|
1549
|
+
#
|
1550
|
+
# lit = Regexp::Parser.parse(/a +/x)[0]
|
1551
|
+
#
|
1552
|
+
# lit.to_s # => 'a+' # default; with quantifier
|
1553
|
+
# lit.to_s(:full) # => 'a+' # default; with quantifier
|
1554
|
+
# lit.to_s(:base) # => 'a' # without quantifier
|
1555
|
+
# lit.to_s(:original) # => 'a +' # with quantifier AND intermittent decorations
|
1556
|
+
#
|
1557
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#72
|
1464
1558
|
def to_s(format = T.unsafe(nil)); end
|
1465
1559
|
|
1466
|
-
# source
|
1560
|
+
# #to_s reproduces the original source, as an unparser would.
|
1561
|
+
#
|
1562
|
+
# It takes an optional format argument.
|
1563
|
+
#
|
1564
|
+
# Example:
|
1565
|
+
#
|
1566
|
+
# lit = Regexp::Parser.parse(/a +/x)[0]
|
1567
|
+
#
|
1568
|
+
# lit.to_s # => 'a+' # default; with quantifier
|
1569
|
+
# lit.to_s(:full) # => 'a+' # default; with quantifier
|
1570
|
+
# lit.to_s(:base) # => 'a' # without quantifier
|
1571
|
+
# lit.to_s(:original) # => 'a +' # with quantifier AND intermittent decorations
|
1572
|
+
#
|
1573
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#72
|
1467
1574
|
def to_str(format = T.unsafe(nil)); end
|
1468
1575
|
|
1469
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#
|
1576
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#37
|
1470
1577
|
def token_class; end
|
1471
1578
|
|
1472
1579
|
# Test if this expression has the given test_type, which can be either
|
@@ -1485,12 +1592,15 @@ module Regexp::Expression::Shared
|
|
1485
1592
|
|
1486
1593
|
private
|
1487
1594
|
|
1488
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1595
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#18
|
1489
1596
|
def init_from_token_and_options(token, options = T.unsafe(nil)); end
|
1490
1597
|
|
1491
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1598
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#32
|
1492
1599
|
def initialize_copy(orig); end
|
1493
1600
|
|
1601
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#10
|
1602
|
+
def intersperse(expressions, separator); end
|
1603
|
+
|
1494
1604
|
class << self
|
1495
1605
|
# @private
|
1496
1606
|
#
|
@@ -1503,6 +1613,12 @@ end
|
|
1503
1613
|
#
|
1504
1614
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#3
|
1505
1615
|
module Regexp::Expression::Shared::ClassMethods
|
1616
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#125
|
1617
|
+
def capturing?; end
|
1618
|
+
|
1619
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#129
|
1620
|
+
def comment?; end
|
1621
|
+
|
1506
1622
|
# Convenience method to init a valid Expression without a Regexp::Token
|
1507
1623
|
#
|
1508
1624
|
# @raise [ArgumentError]
|
@@ -1513,6 +1629,15 @@ module Regexp::Expression::Shared::ClassMethods
|
|
1513
1629
|
# source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#15
|
1514
1630
|
def construct_defaults; end
|
1515
1631
|
|
1632
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#134
|
1633
|
+
def decorative?; end
|
1634
|
+
|
1635
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#139
|
1636
|
+
def referential?; end
|
1637
|
+
|
1638
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#121
|
1639
|
+
def terminal?; end
|
1640
|
+
|
1516
1641
|
# source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#25
|
1517
1642
|
def token_class; end
|
1518
1643
|
end
|
@@ -1526,28 +1651,30 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base
|
|
1526
1651
|
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#7
|
1527
1652
|
def initialize(token, options = T.unsafe(nil)); end
|
1528
1653
|
|
1529
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1654
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#20
|
1530
1655
|
def <<(exp); end
|
1531
1656
|
|
1532
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1657
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1533
1658
|
def [](*args, &block); end
|
1534
1659
|
|
1535
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1660
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1536
1661
|
def at(*args, &block); end
|
1537
1662
|
|
1538
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1663
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#33
|
1539
1664
|
def dig(*indices); end
|
1540
1665
|
|
1541
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1666
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1542
1667
|
def each(*args, &block); end
|
1543
1668
|
|
1544
|
-
#
|
1545
|
-
#
|
1669
|
+
# Traverses the expression, passing each recursive child to the
|
1670
|
+
# given block.
|
1671
|
+
# If the block takes two arguments, the indices of the children within
|
1672
|
+
# their parents are also passed to it.
|
1546
1673
|
#
|
1547
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#
|
1674
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#8
|
1548
1675
|
def each_expression(include_self = T.unsafe(nil), &block); end
|
1549
1676
|
|
1550
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1677
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1551
1678
|
def empty?(*args, &block); end
|
1552
1679
|
|
1553
1680
|
# Returns the value of attribute expressions.
|
@@ -1562,35 +1689,38 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base
|
|
1562
1689
|
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#5
|
1563
1690
|
def expressions=(_arg0); end
|
1564
1691
|
|
1565
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1692
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#50
|
1693
|
+
def extract_quantifier_target(quantifier_description); end
|
1694
|
+
|
1695
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1566
1696
|
def fetch(*args, &block); end
|
1567
1697
|
|
1568
1698
|
# Returns a new array with the results of calling the given block once
|
1569
1699
|
# for every expression. If a block is not given, returns an array with
|
1570
1700
|
# each expression and its level index as an array.
|
1571
1701
|
#
|
1572
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#
|
1573
|
-
def flat_map(include_self = T.unsafe(nil)); end
|
1702
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#56
|
1703
|
+
def flat_map(include_self = T.unsafe(nil), &block); end
|
1574
1704
|
|
1575
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1705
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1576
1706
|
def index(*args, &block); end
|
1577
1707
|
|
1578
1708
|
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#118
|
1579
1709
|
def inner_match_length; end
|
1580
1710
|
|
1581
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1711
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1582
1712
|
def join(*args, &block); end
|
1583
1713
|
|
1584
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1714
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1585
1715
|
def last(*args, &block); end
|
1586
1716
|
|
1587
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1717
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1588
1718
|
def length(*args, &block); end
|
1589
1719
|
|
1590
1720
|
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#111
|
1591
1721
|
def match_length; end
|
1592
1722
|
|
1593
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
1723
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#21
|
1594
1724
|
def parts; end
|
1595
1725
|
|
1596
1726
|
# source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#102
|
@@ -1599,15 +1729,10 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base
|
|
1599
1729
|
# source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#102
|
1600
1730
|
def strfregexp_tree(format = T.unsafe(nil), include_self = T.unsafe(nil), separator = T.unsafe(nil)); end
|
1601
1731
|
|
1602
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1732
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#39
|
1603
1733
|
def te; end
|
1604
1734
|
|
1605
|
-
#
|
1606
|
-
#
|
1607
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#55
|
1608
|
-
def terminal?; end
|
1609
|
-
|
1610
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#48
|
1735
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#43
|
1611
1736
|
def to_h; end
|
1612
1737
|
|
1613
1738
|
# Traverses the subexpression (depth-first, pre-order) and calls the given
|
@@ -1623,10 +1748,10 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base
|
|
1623
1748
|
#
|
1624
1749
|
# Returns self.
|
1625
1750
|
#
|
1626
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#
|
1751
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#32
|
1627
1752
|
def traverse(include_self = T.unsafe(nil), &block); end
|
1628
1753
|
|
1629
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1754
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1630
1755
|
def values_at(*args, &block); end
|
1631
1756
|
|
1632
1757
|
# Traverses the subexpression (depth-first, pre-order) and calls the given
|
@@ -1642,9 +1767,17 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base
|
|
1642
1767
|
#
|
1643
1768
|
# Returns self.
|
1644
1769
|
#
|
1645
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#
|
1770
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#32
|
1646
1771
|
def walk(include_self = T.unsafe(nil), &block); end
|
1647
1772
|
|
1773
|
+
protected
|
1774
|
+
|
1775
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#66
|
1776
|
+
def each_expression_with_index(&block); end
|
1777
|
+
|
1778
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#73
|
1779
|
+
def each_expression_without_index(&block); end
|
1780
|
+
|
1648
1781
|
private
|
1649
1782
|
|
1650
1783
|
# Override base method to clone the expressions as well.
|
@@ -1652,266 +1785,266 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base
|
|
1652
1785
|
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#13
|
1653
1786
|
def initialize_copy(orig); end
|
1654
1787
|
|
1655
|
-
|
1656
|
-
|
1788
|
+
class << self
|
1789
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#122
|
1790
|
+
def terminal?; end
|
1791
|
+
end
|
1657
1792
|
end
|
1658
1793
|
|
1659
|
-
#
|
1660
|
-
#
|
1661
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#3
|
1794
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#2
|
1662
1795
|
module Regexp::Expression::UnicodeProperty; end
|
1663
1796
|
|
1664
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1797
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#112
|
1665
1798
|
class Regexp::Expression::UnicodeProperty::Age < ::Regexp::Expression::UnicodeProperty::Base; end
|
1666
1799
|
|
1667
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1800
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#17
|
1668
1801
|
class Regexp::Expression::UnicodeProperty::Alnum < ::Regexp::Expression::UnicodeProperty::Base; end
|
1669
1802
|
|
1670
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1803
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#18
|
1671
1804
|
class Regexp::Expression::UnicodeProperty::Alpha < ::Regexp::Expression::UnicodeProperty::Base; end
|
1672
1805
|
|
1673
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1806
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#35
|
1674
1807
|
class Regexp::Expression::UnicodeProperty::Any < ::Regexp::Expression::UnicodeProperty::Base; end
|
1675
1808
|
|
1676
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1809
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#19
|
1677
1810
|
class Regexp::Expression::UnicodeProperty::Ascii < ::Regexp::Expression::UnicodeProperty::Base; end
|
1678
1811
|
|
1679
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1812
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#36
|
1680
1813
|
class Regexp::Expression::UnicodeProperty::Assigned < ::Regexp::Expression::UnicodeProperty::Base; end
|
1681
1814
|
|
1682
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1815
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#3
|
1683
1816
|
class Regexp::Expression::UnicodeProperty::Base < ::Regexp::Expression::Base
|
1684
1817
|
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
|
1685
1818
|
def match_length; end
|
1686
1819
|
|
1687
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1820
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#8
|
1688
1821
|
def name; end
|
1689
1822
|
|
1690
1823
|
# @return [Boolean]
|
1691
1824
|
#
|
1692
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1825
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#4
|
1693
1826
|
def negative?; end
|
1694
1827
|
|
1695
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1828
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#12
|
1696
1829
|
def shortcut; end
|
1697
1830
|
end
|
1698
1831
|
|
1699
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1832
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#20
|
1700
1833
|
class Regexp::Expression::UnicodeProperty::Blank < ::Regexp::Expression::UnicodeProperty::Base; end
|
1701
1834
|
|
1702
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1835
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#116
|
1703
1836
|
class Regexp::Expression::UnicodeProperty::Block < ::Regexp::Expression::UnicodeProperty::Base; end
|
1704
1837
|
|
1705
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1838
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#21
|
1706
1839
|
class Regexp::Expression::UnicodeProperty::Cntrl < ::Regexp::Expression::UnicodeProperty::Base; end
|
1707
1840
|
|
1708
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1841
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#101
|
1709
1842
|
module Regexp::Expression::UnicodeProperty::Codepoint; end
|
1710
1843
|
|
1711
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1844
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#104
|
1712
1845
|
class Regexp::Expression::UnicodeProperty::Codepoint::Any < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
|
1713
1846
|
|
1714
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1847
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#102
|
1715
1848
|
class Regexp::Expression::UnicodeProperty::Codepoint::Base < ::Regexp::Expression::UnicodeProperty::Base; end
|
1716
1849
|
|
1717
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1850
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#105
|
1718
1851
|
class Regexp::Expression::UnicodeProperty::Codepoint::Control < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
|
1719
1852
|
|
1720
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1853
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#106
|
1721
1854
|
class Regexp::Expression::UnicodeProperty::Codepoint::Format < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
|
1722
1855
|
|
1723
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1856
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#108
|
1724
1857
|
class Regexp::Expression::UnicodeProperty::Codepoint::PrivateUse < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
|
1725
1858
|
|
1726
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1859
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#107
|
1727
1860
|
class Regexp::Expression::UnicodeProperty::Codepoint::Surrogate < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
|
1728
1861
|
|
1729
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1862
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#109
|
1730
1863
|
class Regexp::Expression::UnicodeProperty::Codepoint::Unassigned < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
|
1731
1864
|
|
1732
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1865
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#113
|
1733
1866
|
class Regexp::Expression::UnicodeProperty::Derived < ::Regexp::Expression::UnicodeProperty::Base; end
|
1734
1867
|
|
1735
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1868
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#22
|
1736
1869
|
class Regexp::Expression::UnicodeProperty::Digit < ::Regexp::Expression::UnicodeProperty::Base; end
|
1737
1870
|
|
1738
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1871
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#114
|
1739
1872
|
class Regexp::Expression::UnicodeProperty::Emoji < ::Regexp::Expression::UnicodeProperty::Base; end
|
1740
1873
|
|
1741
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1874
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#23
|
1742
1875
|
class Regexp::Expression::UnicodeProperty::Graph < ::Regexp::Expression::UnicodeProperty::Base; end
|
1743
1876
|
|
1744
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1877
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#38
|
1745
1878
|
module Regexp::Expression::UnicodeProperty::Letter; end
|
1746
1879
|
|
1747
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1880
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#41
|
1748
1881
|
class Regexp::Expression::UnicodeProperty::Letter::Any < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
|
1749
1882
|
|
1750
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1883
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#39
|
1751
1884
|
class Regexp::Expression::UnicodeProperty::Letter::Base < ::Regexp::Expression::UnicodeProperty::Base; end
|
1752
1885
|
|
1753
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1886
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#42
|
1754
1887
|
class Regexp::Expression::UnicodeProperty::Letter::Cased < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
|
1755
1888
|
|
1756
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1889
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#44
|
1757
1890
|
class Regexp::Expression::UnicodeProperty::Letter::Lowercase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
|
1758
1891
|
|
1759
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1892
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#46
|
1760
1893
|
class Regexp::Expression::UnicodeProperty::Letter::Modifier < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
|
1761
1894
|
|
1762
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1895
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#47
|
1763
1896
|
class Regexp::Expression::UnicodeProperty::Letter::Other < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
|
1764
1897
|
|
1765
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1898
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#45
|
1766
1899
|
class Regexp::Expression::UnicodeProperty::Letter::Titlecase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
|
1767
1900
|
|
1768
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1901
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#43
|
1769
1902
|
class Regexp::Expression::UnicodeProperty::Letter::Uppercase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
|
1770
1903
|
|
1771
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1904
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#24
|
1772
1905
|
class Regexp::Expression::UnicodeProperty::Lower < ::Regexp::Expression::UnicodeProperty::Base; end
|
1773
1906
|
|
1774
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1907
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#50
|
1775
1908
|
module Regexp::Expression::UnicodeProperty::Mark; end
|
1776
1909
|
|
1777
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1910
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#53
|
1778
1911
|
class Regexp::Expression::UnicodeProperty::Mark::Any < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
|
1779
1912
|
|
1780
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1913
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#51
|
1781
1914
|
class Regexp::Expression::UnicodeProperty::Mark::Base < ::Regexp::Expression::UnicodeProperty::Base; end
|
1782
1915
|
|
1783
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1916
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#54
|
1784
1917
|
class Regexp::Expression::UnicodeProperty::Mark::Combining < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
|
1785
1918
|
|
1786
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1919
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#57
|
1787
1920
|
class Regexp::Expression::UnicodeProperty::Mark::Enclosing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
|
1788
1921
|
|
1789
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1922
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#55
|
1790
1923
|
class Regexp::Expression::UnicodeProperty::Mark::Nonspacing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
|
1791
1924
|
|
1792
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1925
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#56
|
1793
1926
|
class Regexp::Expression::UnicodeProperty::Mark::Spacing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
|
1794
1927
|
|
1795
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1928
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#33
|
1796
1929
|
class Regexp::Expression::UnicodeProperty::Newline < ::Regexp::Expression::UnicodeProperty::Base; end
|
1797
1930
|
|
1798
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1931
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#60
|
1799
1932
|
module Regexp::Expression::UnicodeProperty::Number; end
|
1800
1933
|
|
1801
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1934
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#63
|
1802
1935
|
class Regexp::Expression::UnicodeProperty::Number::Any < ::Regexp::Expression::UnicodeProperty::Number::Base; end
|
1803
1936
|
|
1804
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1937
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#61
|
1805
1938
|
class Regexp::Expression::UnicodeProperty::Number::Base < ::Regexp::Expression::UnicodeProperty::Base; end
|
1806
1939
|
|
1807
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1940
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#64
|
1808
1941
|
class Regexp::Expression::UnicodeProperty::Number::Decimal < ::Regexp::Expression::UnicodeProperty::Number::Base; end
|
1809
1942
|
|
1810
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1943
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#65
|
1811
1944
|
class Regexp::Expression::UnicodeProperty::Number::Letter < ::Regexp::Expression::UnicodeProperty::Number::Base; end
|
1812
1945
|
|
1813
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1946
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#66
|
1814
1947
|
class Regexp::Expression::UnicodeProperty::Number::Other < ::Regexp::Expression::UnicodeProperty::Number::Base; end
|
1815
1948
|
|
1816
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1949
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#25
|
1817
1950
|
class Regexp::Expression::UnicodeProperty::Print < ::Regexp::Expression::UnicodeProperty::Base; end
|
1818
1951
|
|
1819
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1952
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#26
|
1820
1953
|
class Regexp::Expression::UnicodeProperty::Punct < ::Regexp::Expression::UnicodeProperty::Base; end
|
1821
1954
|
|
1822
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1955
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#69
|
1823
1956
|
module Regexp::Expression::UnicodeProperty::Punctuation; end
|
1824
1957
|
|
1825
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1958
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#72
|
1826
1959
|
class Regexp::Expression::UnicodeProperty::Punctuation::Any < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
|
1827
1960
|
|
1828
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1961
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#70
|
1829
1962
|
class Regexp::Expression::UnicodeProperty::Punctuation::Base < ::Regexp::Expression::UnicodeProperty::Base; end
|
1830
1963
|
|
1831
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1964
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#76
|
1832
1965
|
class Regexp::Expression::UnicodeProperty::Punctuation::Close < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
|
1833
1966
|
|
1834
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1967
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#73
|
1835
1968
|
class Regexp::Expression::UnicodeProperty::Punctuation::Connector < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
|
1836
1969
|
|
1837
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1970
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#74
|
1838
1971
|
class Regexp::Expression::UnicodeProperty::Punctuation::Dash < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
|
1839
1972
|
|
1840
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1973
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#78
|
1841
1974
|
class Regexp::Expression::UnicodeProperty::Punctuation::Final < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
|
1842
1975
|
|
1843
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1976
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#77
|
1844
1977
|
class Regexp::Expression::UnicodeProperty::Punctuation::Initial < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
|
1845
1978
|
|
1846
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1979
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#75
|
1847
1980
|
class Regexp::Expression::UnicodeProperty::Punctuation::Open < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
|
1848
1981
|
|
1849
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1982
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#79
|
1850
1983
|
class Regexp::Expression::UnicodeProperty::Punctuation::Other < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
|
1851
1984
|
|
1852
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1985
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#115
|
1853
1986
|
class Regexp::Expression::UnicodeProperty::Script < ::Regexp::Expression::UnicodeProperty::Base; end
|
1854
1987
|
|
1855
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1988
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#82
|
1856
1989
|
module Regexp::Expression::UnicodeProperty::Separator; end
|
1857
1990
|
|
1858
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1991
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#85
|
1859
1992
|
class Regexp::Expression::UnicodeProperty::Separator::Any < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
|
1860
1993
|
|
1861
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1994
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#83
|
1862
1995
|
class Regexp::Expression::UnicodeProperty::Separator::Base < ::Regexp::Expression::UnicodeProperty::Base; end
|
1863
1996
|
|
1864
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1997
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#87
|
1865
1998
|
class Regexp::Expression::UnicodeProperty::Separator::Line < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
|
1866
1999
|
|
1867
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2000
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#88
|
1868
2001
|
class Regexp::Expression::UnicodeProperty::Separator::Paragraph < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
|
1869
2002
|
|
1870
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2003
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#86
|
1871
2004
|
class Regexp::Expression::UnicodeProperty::Separator::Space < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
|
1872
2005
|
|
1873
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2006
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#27
|
1874
2007
|
class Regexp::Expression::UnicodeProperty::Space < ::Regexp::Expression::UnicodeProperty::Base; end
|
1875
2008
|
|
1876
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2009
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#91
|
1877
2010
|
module Regexp::Expression::UnicodeProperty::Symbol; end
|
1878
2011
|
|
1879
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2012
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#94
|
1880
2013
|
class Regexp::Expression::UnicodeProperty::Symbol::Any < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
|
1881
2014
|
|
1882
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2015
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#92
|
1883
2016
|
class Regexp::Expression::UnicodeProperty::Symbol::Base < ::Regexp::Expression::UnicodeProperty::Base; end
|
1884
2017
|
|
1885
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2018
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#96
|
1886
2019
|
class Regexp::Expression::UnicodeProperty::Symbol::Currency < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
|
1887
2020
|
|
1888
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2021
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#95
|
1889
2022
|
class Regexp::Expression::UnicodeProperty::Symbol::Math < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
|
1890
2023
|
|
1891
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2024
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#97
|
1892
2025
|
class Regexp::Expression::UnicodeProperty::Symbol::Modifier < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
|
1893
2026
|
|
1894
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2027
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#98
|
1895
2028
|
class Regexp::Expression::UnicodeProperty::Symbol::Other < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
|
1896
2029
|
|
1897
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2030
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#28
|
1898
2031
|
class Regexp::Expression::UnicodeProperty::Upper < ::Regexp::Expression::UnicodeProperty::Base; end
|
1899
2032
|
|
1900
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2033
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#29
|
1901
2034
|
class Regexp::Expression::UnicodeProperty::Word < ::Regexp::Expression::UnicodeProperty::Base; end
|
1902
2035
|
|
1903
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2036
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#31
|
1904
2037
|
class Regexp::Expression::UnicodeProperty::XPosixPunct < ::Regexp::Expression::UnicodeProperty::Base; end
|
1905
2038
|
|
1906
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2039
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#30
|
1907
2040
|
class Regexp::Expression::UnicodeProperty::Xdigit < ::Regexp::Expression::UnicodeProperty::Base; end
|
1908
2041
|
|
1909
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#
|
2042
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#11
|
1910
2043
|
class Regexp::Expression::WhiteSpace < ::Regexp::Expression::FreeSpace
|
1911
2044
|
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#42
|
1912
2045
|
def human_name; end
|
1913
2046
|
|
1914
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#
|
2047
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#12
|
1915
2048
|
def merge(exp); end
|
1916
2049
|
end
|
1917
2050
|
|
@@ -1949,13 +2082,13 @@ class Regexp::Lexer
|
|
1949
2082
|
# to the last codepoint, e.g. /\u{61 62 63}{3}/ =~ 'abccc'
|
1950
2083
|
# c.f. #break_literal.
|
1951
2084
|
#
|
1952
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2085
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#143
|
1953
2086
|
def break_codepoint_list(token); end
|
1954
2087
|
|
1955
2088
|
# called by scan to break a literal run that is longer than one character
|
1956
2089
|
# into two separate tokens when it is followed by a quantifier
|
1957
2090
|
#
|
1958
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2091
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#123
|
1959
2092
|
def break_literal(token); end
|
1960
2093
|
|
1961
2094
|
# Returns the value of attribute collect_tokens.
|
@@ -1982,10 +2115,10 @@ class Regexp::Lexer
|
|
1982
2115
|
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
1983
2116
|
def conditional_nesting=(_arg0); end
|
1984
2117
|
|
1985
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2118
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#106
|
1986
2119
|
def descend(type, token); end
|
1987
2120
|
|
1988
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2121
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#162
|
1989
2122
|
def merge_condition(current, last); end
|
1990
2123
|
|
1991
2124
|
# Returns the value of attribute nesting.
|
@@ -2204,14 +2337,13 @@ end
|
|
2204
2337
|
# source://regexp_parser//lib/regexp_parser/version.rb#2
|
2205
2338
|
class Regexp::Parser
|
2206
2339
|
include ::Regexp::Expression
|
2207
|
-
include ::Regexp::Expression::UnicodeProperty
|
2208
2340
|
|
2209
2341
|
# source://regexp_parser//lib/regexp_parser/parser.rb#25
|
2210
2342
|
def parse(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
|
2211
2343
|
|
2212
2344
|
private
|
2213
2345
|
|
2214
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2346
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#573
|
2215
2347
|
def active_opts; end
|
2216
2348
|
|
2217
2349
|
# source://regexp_parser//lib/regexp_parser/parser.rb#99
|
@@ -2224,7 +2356,7 @@ class Regexp::Parser
|
|
2224
2356
|
# an instance of Backreference::Number, its #referenced_expression is set to
|
2225
2357
|
# the instance of Group::Capture that it refers to via its number.
|
2226
2358
|
#
|
2227
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2359
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#580
|
2228
2360
|
def assign_referenced_expressions; end
|
2229
2361
|
|
2230
2362
|
# source://regexp_parser//lib/regexp_parser/parser.rb#227
|
@@ -2245,13 +2377,13 @@ class Regexp::Parser
|
|
2245
2377
|
# source://regexp_parser//lib/regexp_parser/parser.rb#56
|
2246
2378
|
def captured_group_counts=(_arg0); end
|
2247
2379
|
|
2248
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2380
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#569
|
2249
2381
|
def close_completed_character_set_range; end
|
2250
2382
|
|
2251
2383
|
# source://regexp_parser//lib/regexp_parser/parser.rb#210
|
2252
2384
|
def close_group; end
|
2253
2385
|
|
2254
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2386
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#537
|
2255
2387
|
def close_set; end
|
2256
2388
|
|
2257
2389
|
# source://regexp_parser//lib/regexp_parser/parser.rb#269
|
@@ -2283,28 +2415,28 @@ class Regexp::Parser
|
|
2283
2415
|
# source://regexp_parser//lib/regexp_parser/parser.rb#60
|
2284
2416
|
def extract_options(input, options); end
|
2285
2417
|
|
2286
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2418
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#349
|
2287
2419
|
def free_space(token); end
|
2288
2420
|
|
2289
2421
|
# source://regexp_parser//lib/regexp_parser/parser.rb#114
|
2290
2422
|
def group(token); end
|
2291
2423
|
|
2292
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2424
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#508
|
2293
2425
|
def increase_group_level(exp); end
|
2294
2426
|
|
2295
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2427
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#548
|
2296
2428
|
def intersection(token); end
|
2297
2429
|
|
2298
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2430
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#360
|
2299
2431
|
def keep(token); end
|
2300
2432
|
|
2301
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2433
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#364
|
2302
2434
|
def literal(token); end
|
2303
2435
|
|
2304
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2436
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#368
|
2305
2437
|
def meta(token); end
|
2306
2438
|
|
2307
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2439
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#533
|
2308
2440
|
def negate_set; end
|
2309
2441
|
|
2310
2442
|
# source://regexp_parser//lib/regexp_parser/parser.rb#299
|
@@ -2340,7 +2472,7 @@ class Regexp::Parser
|
|
2340
2472
|
# source://regexp_parser//lib/regexp_parser/parser.rb#165
|
2341
2473
|
def open_group(token); end
|
2342
2474
|
|
2343
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2475
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#526
|
2344
2476
|
def open_set(token); end
|
2345
2477
|
|
2346
2478
|
# source://regexp_parser//lib/regexp_parser/parser.rb#130
|
@@ -2361,16 +2493,16 @@ class Regexp::Parser
|
|
2361
2493
|
# source://regexp_parser//lib/regexp_parser/parser.rb#76
|
2362
2494
|
def parse_token(token); end
|
2363
2495
|
|
2364
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2496
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#390
|
2365
2497
|
def posixclass(token); end
|
2366
2498
|
|
2367
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2499
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#397
|
2368
2500
|
def property(token); end
|
2369
2501
|
|
2370
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2502
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#478
|
2371
2503
|
def quantifier(token); end
|
2372
2504
|
|
2373
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2505
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#541
|
2374
2506
|
def range(token); end
|
2375
2507
|
|
2376
2508
|
# Returns the value of attribute root.
|
@@ -2385,10 +2517,10 @@ class Regexp::Parser
|
|
2385
2517
|
# source://regexp_parser//lib/regexp_parser/parser.rb#56
|
2386
2518
|
def root=(_arg0); end
|
2387
2519
|
|
2388
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2520
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#379
|
2389
2521
|
def sequence_operation(klass, token); end
|
2390
2522
|
|
2391
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2523
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#514
|
2392
2524
|
def set(token); end
|
2393
2525
|
|
2394
2526
|
# Returns the value of attribute switching_options.
|
@@ -2406,7 +2538,7 @@ class Regexp::Parser
|
|
2406
2538
|
# source://regexp_parser//lib/regexp_parser/parser.rb#198
|
2407
2539
|
def total_captured_group_count; end
|
2408
2540
|
|
2409
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2541
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#552
|
2410
2542
|
def type(token); end
|
2411
2543
|
|
2412
2544
|
class << self
|
@@ -2429,7 +2561,10 @@ Regexp::Parser::MOD_FLAGS = T.let(T.unsafe(nil), Array)
|
|
2429
2561
|
# source://regexp_parser//lib/regexp_parser/parser.rb#7
|
2430
2562
|
class Regexp::Parser::ParserError < ::Regexp::Parser::Error; end
|
2431
2563
|
|
2432
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2564
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#394
|
2565
|
+
Regexp::Parser::UP = Regexp::Expression::UnicodeProperty
|
2566
|
+
|
2567
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#395
|
2433
2568
|
Regexp::Parser::UPTokens = Regexp::Syntax::Token::UnicodeProperty
|
2434
2569
|
|
2435
2570
|
# source://regexp_parser//lib/regexp_parser/parser.rb#15
|
@@ -2451,26 +2586,28 @@ end
|
|
2451
2586
|
# source://regexp_parser//lib/regexp_parser/version.rb#3
|
2452
2587
|
Regexp::Parser::VERSION = T.let(T.unsafe(nil), String)
|
2453
2588
|
|
2454
|
-
#
|
2589
|
+
# mapping for simple cases with a 1:1 relation between text and token
|
2590
|
+
#
|
2591
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/scanner_error.rb#3
|
2455
2592
|
class Regexp::Scanner
|
2456
2593
|
# Emits an array with the details of the scanned pattern
|
2457
2594
|
#
|
2458
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2595
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2388
|
2459
2596
|
def emit(type, token, text); end
|
2460
2597
|
|
2461
2598
|
# only public for #||= to work on ruby <= 2.5
|
2462
2599
|
#
|
2463
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2600
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2413
|
2464
2601
|
def literal_run; end
|
2465
2602
|
|
2466
2603
|
# only public for #||= to work on ruby <= 2.5
|
2467
2604
|
#
|
2468
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2605
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2413
|
2469
2606
|
def literal_run=(_arg0); end
|
2470
2607
|
|
2471
2608
|
# @raise [PrematureEndError]
|
2472
2609
|
#
|
2473
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2610
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#24
|
2474
2611
|
def scan(input_object, options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
|
2475
2612
|
|
2476
2613
|
private
|
@@ -2478,174 +2615,168 @@ class Regexp::Scanner
|
|
2478
2615
|
# Appends one or more characters to the literal buffer, to be emitted later
|
2479
2616
|
# by a call to emit_literal.
|
2480
2617
|
#
|
2481
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2618
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2450
|
2482
2619
|
def append_literal(data, ts, te); end
|
2483
2620
|
|
2484
2621
|
# Returns the value of attribute block.
|
2485
2622
|
#
|
2486
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2623
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2487
2624
|
def block; end
|
2488
2625
|
|
2489
2626
|
# Sets the attribute block
|
2490
2627
|
#
|
2491
2628
|
# @param value the value to set the attribute block to.
|
2492
2629
|
#
|
2493
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2630
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2494
2631
|
def block=(_arg0); end
|
2495
2632
|
|
2496
2633
|
# Returns the value of attribute char_pos.
|
2497
2634
|
#
|
2498
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2635
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2499
2636
|
def char_pos; end
|
2500
2637
|
|
2501
2638
|
# Sets the attribute char_pos
|
2502
2639
|
#
|
2503
2640
|
# @param value the value to set the attribute char_pos to.
|
2504
2641
|
#
|
2505
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2642
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2506
2643
|
def char_pos=(_arg0); end
|
2507
2644
|
|
2508
2645
|
# Returns the value of attribute collect_tokens.
|
2509
2646
|
#
|
2510
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2647
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2511
2648
|
def collect_tokens; end
|
2512
2649
|
|
2513
2650
|
# Sets the attribute collect_tokens
|
2514
2651
|
#
|
2515
2652
|
# @param value the value to set the attribute collect_tokens to.
|
2516
2653
|
#
|
2517
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2654
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2518
2655
|
def collect_tokens=(_arg0); end
|
2519
2656
|
|
2520
2657
|
# Returns the value of attribute conditional_stack.
|
2521
2658
|
#
|
2522
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2659
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2523
2660
|
def conditional_stack; end
|
2524
2661
|
|
2525
2662
|
# Sets the attribute conditional_stack
|
2526
2663
|
#
|
2527
2664
|
# @param value the value to set the attribute conditional_stack to.
|
2528
2665
|
#
|
2529
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2666
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2530
2667
|
def conditional_stack=(_arg0); end
|
2531
2668
|
|
2532
2669
|
# Copy from ts to te from data as text
|
2533
2670
|
#
|
2534
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2671
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2444
|
2535
2672
|
def copy(data, ts, te); end
|
2536
2673
|
|
2537
2674
|
# Emits the literal run collected by calls to the append_literal method.
|
2538
2675
|
#
|
2539
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2676
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2455
|
2540
2677
|
def emit_literal; end
|
2541
2678
|
|
2542
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2679
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2490
|
2543
2680
|
def emit_meta_control_sequence(data, ts, te, token); end
|
2544
2681
|
|
2545
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2682
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2461
|
2546
2683
|
def emit_options(text); end
|
2547
2684
|
|
2548
2685
|
# Returns the value of attribute free_spacing.
|
2549
2686
|
#
|
2550
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2687
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2551
2688
|
def free_spacing; end
|
2552
2689
|
|
2553
2690
|
# Sets the attribute free_spacing
|
2554
2691
|
#
|
2555
2692
|
# @param value the value to set the attribute free_spacing to.
|
2556
2693
|
#
|
2557
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2694
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2558
2695
|
def free_spacing=(_arg0); end
|
2559
2696
|
|
2560
2697
|
# @return [Boolean]
|
2561
2698
|
#
|
2562
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2699
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2423
|
2563
2700
|
def free_spacing?(input_object, options); end
|
2564
2701
|
|
2565
2702
|
# Returns the value of attribute group_depth.
|
2566
2703
|
#
|
2567
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2704
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2568
2705
|
def group_depth; end
|
2569
2706
|
|
2570
2707
|
# Sets the attribute group_depth
|
2571
2708
|
#
|
2572
2709
|
# @param value the value to set the attribute group_depth to.
|
2573
2710
|
#
|
2574
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2711
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2575
2712
|
def group_depth=(_arg0); end
|
2576
2713
|
|
2577
2714
|
# @return [Boolean]
|
2578
2715
|
#
|
2579
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2716
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2580
2717
|
def in_group?; end
|
2581
2718
|
|
2582
2719
|
# @return [Boolean]
|
2583
2720
|
#
|
2584
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2721
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2439
|
2585
2722
|
def in_set?; end
|
2586
2723
|
|
2587
2724
|
# Returns the value of attribute prev_token.
|
2588
2725
|
#
|
2589
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2726
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2590
2727
|
def prev_token; end
|
2591
2728
|
|
2592
2729
|
# Sets the attribute prev_token
|
2593
2730
|
#
|
2594
2731
|
# @param value the value to set the attribute prev_token to.
|
2595
2732
|
#
|
2596
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2733
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2597
2734
|
def prev_token=(_arg0); end
|
2598
2735
|
|
2599
2736
|
# Returns the value of attribute set_depth.
|
2600
2737
|
#
|
2601
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2738
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2602
2739
|
def set_depth; end
|
2603
2740
|
|
2604
2741
|
# Sets the attribute set_depth
|
2605
2742
|
#
|
2606
2743
|
# @param value the value to set the attribute set_depth to.
|
2607
2744
|
#
|
2608
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2745
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2609
2746
|
def set_depth=(_arg0); end
|
2610
2747
|
|
2611
2748
|
# Returns the value of attribute spacing_stack.
|
2612
2749
|
#
|
2613
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2750
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2614
2751
|
def spacing_stack; end
|
2615
2752
|
|
2616
2753
|
# Sets the attribute spacing_stack
|
2617
2754
|
#
|
2618
2755
|
# @param value the value to set the attribute spacing_stack to.
|
2619
2756
|
#
|
2620
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2757
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2621
2758
|
def spacing_stack=(_arg0); end
|
2622
2759
|
|
2623
2760
|
# Returns the value of attribute tokens.
|
2624
2761
|
#
|
2625
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2762
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2626
2763
|
def tokens; end
|
2627
2764
|
|
2628
2765
|
# Sets the attribute tokens
|
2629
2766
|
#
|
2630
2767
|
# @param value the value to set the attribute tokens to.
|
2631
2768
|
#
|
2632
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2769
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2417
|
2633
2770
|
def tokens=(_arg0); end
|
2634
2771
|
|
2635
|
-
# Centralizes and unifies the handling of validation related
|
2636
|
-
# errors.
|
2637
|
-
#
|
2638
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#2702
|
2639
|
-
def validation_error(type, what, reason = T.unsafe(nil)); end
|
2640
|
-
|
2641
2772
|
class << self
|
2642
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2773
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2374
|
2643
2774
|
def long_prop_map; end
|
2644
2775
|
|
2645
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2776
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2378
|
2646
2777
|
def parse_prop_map(name); end
|
2647
2778
|
|
2648
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2779
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2382
|
2649
2780
|
def posix_classes; end
|
2650
2781
|
|
2651
2782
|
# Scans the given regular expression text, or Regexp object and collects the
|
@@ -2655,100 +2786,105 @@ class Regexp::Scanner
|
|
2655
2786
|
# This method may raise errors if a syntax error is encountered.
|
2656
2787
|
# --------------------------------------------------------------------------
|
2657
2788
|
#
|
2658
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2789
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#20
|
2659
2790
|
def scan(input_object, options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
|
2660
2791
|
|
2661
2792
|
# lazy-load property maps when first needed
|
2662
2793
|
#
|
2663
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2794
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2370
|
2664
2795
|
def short_prop_map; end
|
2665
2796
|
end
|
2666
2797
|
end
|
2667
2798
|
|
2668
2799
|
# Invalid back reference. Used for name a number refs/calls.
|
2669
2800
|
#
|
2670
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2801
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#44
|
2671
2802
|
class Regexp::Scanner::InvalidBackrefError < ::Regexp::Scanner::ValidationError
|
2672
2803
|
# @return [InvalidBackrefError] a new instance of InvalidBackrefError
|
2673
2804
|
#
|
2674
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2805
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#45
|
2675
2806
|
def initialize(what, reason); end
|
2676
2807
|
end
|
2677
2808
|
|
2678
2809
|
# Invalid group. Used for named groups.
|
2679
2810
|
#
|
2680
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2811
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#29
|
2681
2812
|
class Regexp::Scanner::InvalidGroupError < ::Regexp::Scanner::ValidationError
|
2682
2813
|
# @return [InvalidGroupError] a new instance of InvalidGroupError
|
2683
2814
|
#
|
2684
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2815
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#30
|
2685
2816
|
def initialize(what, reason); end
|
2686
2817
|
end
|
2687
2818
|
|
2688
2819
|
# Invalid groupOption. Used for inline options.
|
2689
2820
|
# TODO: should become InvalidGroupOptionError in v3.0.0 for consistency
|
2690
2821
|
#
|
2691
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2822
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#37
|
2692
2823
|
class Regexp::Scanner::InvalidGroupOption < ::Regexp::Scanner::ValidationError
|
2693
2824
|
# @return [InvalidGroupOption] a new instance of InvalidGroupOption
|
2694
2825
|
#
|
2695
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2826
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#38
|
2696
2827
|
def initialize(option, text); end
|
2697
2828
|
end
|
2698
2829
|
|
2699
2830
|
# Invalid sequence format. Used for escape sequences, mainly.
|
2700
2831
|
#
|
2701
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2832
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#22
|
2702
2833
|
class Regexp::Scanner::InvalidSequenceError < ::Regexp::Scanner::ValidationError
|
2703
2834
|
# @return [InvalidSequenceError] a new instance of InvalidSequenceError
|
2704
2835
|
#
|
2705
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2836
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#23
|
2706
2837
|
def initialize(what = T.unsafe(nil), where = T.unsafe(nil)); end
|
2707
2838
|
end
|
2708
2839
|
|
2709
2840
|
# Unexpected end of pattern
|
2710
2841
|
#
|
2711
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2842
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/premature_end_error.rb#3
|
2712
2843
|
class Regexp::Scanner::PrematureEndError < ::Regexp::Scanner::ScannerError
|
2713
2844
|
# @return [PrematureEndError] a new instance of PrematureEndError
|
2714
2845
|
#
|
2715
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2846
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/premature_end_error.rb#4
|
2716
2847
|
def initialize(where = T.unsafe(nil)); end
|
2717
2848
|
end
|
2718
2849
|
|
2719
2850
|
# General scanner error (catch all)
|
2720
2851
|
#
|
2721
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2852
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/scanner_error.rb#5
|
2722
2853
|
class Regexp::Scanner::ScannerError < ::Regexp::Parser::Error; end
|
2723
2854
|
|
2724
2855
|
# The POSIX class name was not recognized by the scanner.
|
2725
2856
|
#
|
2726
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2857
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#58
|
2727
2858
|
class Regexp::Scanner::UnknownPosixClassError < ::Regexp::Scanner::ValidationError
|
2728
2859
|
# @return [UnknownPosixClassError] a new instance of UnknownPosixClassError
|
2729
2860
|
#
|
2730
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2731
|
-
def initialize(text); end
|
2861
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#59
|
2862
|
+
def initialize(text, _); end
|
2732
2863
|
end
|
2733
2864
|
|
2734
2865
|
# The property name was not recognized by the scanner.
|
2735
2866
|
#
|
2736
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2867
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#51
|
2737
2868
|
class Regexp::Scanner::UnknownUnicodePropertyError < ::Regexp::Scanner::ValidationError
|
2738
2869
|
# @return [UnknownUnicodePropertyError] a new instance of UnknownUnicodePropertyError
|
2739
2870
|
#
|
2740
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2741
|
-
def initialize(name); end
|
2871
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#52
|
2872
|
+
def initialize(name, _); end
|
2742
2873
|
end
|
2743
2874
|
|
2744
2875
|
# Base for all scanner validation errors
|
2745
2876
|
#
|
2746
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2747
|
-
class Regexp::Scanner::ValidationError < ::Regexp::
|
2748
|
-
|
2749
|
-
|
2750
|
-
|
2751
|
-
|
2877
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#3
|
2878
|
+
class Regexp::Scanner::ValidationError < ::Regexp::Scanner::ScannerError
|
2879
|
+
class << self
|
2880
|
+
# Centralizes and unifies the handling of validation related errors.
|
2881
|
+
#
|
2882
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#5
|
2883
|
+
def for(type, problem, reason = T.unsafe(nil)); end
|
2884
|
+
|
2885
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#9
|
2886
|
+
def types; end
|
2887
|
+
end
|
2752
2888
|
end
|
2753
2889
|
|
2754
2890
|
# After loading all the tokens the map is full. Extract all tokens and types
|
@@ -2946,6 +3082,17 @@ module Regexp::Syntax::Token; end
|
|
2946
3082
|
# source://regexp_parser//lib/regexp_parser/syntax/token.rb#42
|
2947
3083
|
Regexp::Syntax::Token::All = T.let(T.unsafe(nil), Array)
|
2948
3084
|
|
3085
|
+
# alias for symmetry between Token::* and Expression::*
|
3086
|
+
#
|
3087
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#15
|
3088
|
+
module Regexp::Syntax::Token::Alternation; end
|
3089
|
+
|
3090
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#16
|
3091
|
+
Regexp::Syntax::Token::Alternation::All = T.let(T.unsafe(nil), Array)
|
3092
|
+
|
3093
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#17
|
3094
|
+
Regexp::Syntax::Token::Alternation::Type = T.let(T.unsafe(nil), Symbol)
|
3095
|
+
|
2949
3096
|
# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#3
|
2950
3097
|
module Regexp::Syntax::Token::Anchor; end
|
2951
3098
|
|
@@ -2982,6 +3129,11 @@ Regexp::Syntax::Token::Assertion::Lookbehind = T.let(T.unsafe(nil), Array)
|
|
2982
3129
|
# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#8
|
2983
3130
|
Regexp::Syntax::Token::Assertion::Type = T.let(T.unsafe(nil), Symbol)
|
2984
3131
|
|
3132
|
+
# alias for symmetry between token symbol and Expression class name
|
3133
|
+
#
|
3134
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#31
|
3135
|
+
Regexp::Syntax::Token::Backref = Regexp::Syntax::Token::Backreference
|
3136
|
+
|
2985
3137
|
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#3
|
2986
3138
|
module Regexp::Syntax::Token::Backreference; end
|
2987
3139
|
|
@@ -3066,38 +3218,41 @@ Regexp::Syntax::Token::Conditional::Separator = T.let(T.unsafe(nil), Array)
|
|
3066
3218
|
# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#11
|
3067
3219
|
Regexp::Syntax::Token::Conditional::Type = T.let(T.unsafe(nil), Symbol)
|
3068
3220
|
|
3069
|
-
#
|
3070
|
-
#
|
3071
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#4
|
3221
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#3
|
3072
3222
|
module Regexp::Syntax::Token::Escape; end
|
3073
3223
|
|
3074
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3224
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#8
|
3075
3225
|
Regexp::Syntax::Token::Escape::ASCII = T.let(T.unsafe(nil), Array)
|
3076
3226
|
|
3077
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3227
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#24
|
3078
3228
|
Regexp::Syntax::Token::Escape::All = T.let(T.unsafe(nil), Array)
|
3079
3229
|
|
3080
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3230
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#4
|
3081
3231
|
Regexp::Syntax::Token::Escape::Basic = T.let(T.unsafe(nil), Array)
|
3082
3232
|
|
3083
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3233
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#6
|
3084
3234
|
Regexp::Syntax::Token::Escape::Control = T.let(T.unsafe(nil), Array)
|
3085
3235
|
|
3086
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3236
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#20
|
3087
3237
|
Regexp::Syntax::Token::Escape::Hex = T.let(T.unsafe(nil), Array)
|
3088
3238
|
|
3089
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3239
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#13
|
3090
3240
|
Regexp::Syntax::Token::Escape::Meta = T.let(T.unsafe(nil), Array)
|
3091
3241
|
|
3092
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3242
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#22
|
3093
3243
|
Regexp::Syntax::Token::Escape::Octal = T.let(T.unsafe(nil), Array)
|
3094
3244
|
|
3095
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3245
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#25
|
3096
3246
|
Regexp::Syntax::Token::Escape::Type = T.let(T.unsafe(nil), Symbol)
|
3097
3247
|
|
3098
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3248
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#11
|
3099
3249
|
Regexp::Syntax::Token::Escape::Unicode = T.let(T.unsafe(nil), Array)
|
3100
3250
|
|
3251
|
+
# alias for symmetry between Token::* and Expression::*
|
3252
|
+
#
|
3253
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#31
|
3254
|
+
Regexp::Syntax::Token::EscapeSequence = Regexp::Syntax::Token::Escape
|
3255
|
+
|
3101
3256
|
# source://regexp_parser//lib/regexp_parser/syntax/token.rb#11
|
3102
3257
|
module Regexp::Syntax::Token::FreeSpace; end
|
3103
3258
|
|
@@ -3167,16 +3322,19 @@ Regexp::Syntax::Token::Map = T.let(T.unsafe(nil), Hash)
|
|
3167
3322
|
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#3
|
3168
3323
|
module Regexp::Syntax::Token::Meta; end
|
3169
3324
|
|
3170
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#
|
3325
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#8
|
3171
3326
|
Regexp::Syntax::Token::Meta::All = T.let(T.unsafe(nil), Array)
|
3172
3327
|
|
3328
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#5
|
3329
|
+
Regexp::Syntax::Token::Meta::Alternation = T.let(T.unsafe(nil), Array)
|
3330
|
+
|
3173
3331
|
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#4
|
3174
3332
|
Regexp::Syntax::Token::Meta::Basic = T.let(T.unsafe(nil), Array)
|
3175
3333
|
|
3176
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#
|
3334
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#6
|
3177
3335
|
Regexp::Syntax::Token::Meta::Extended = T.let(T.unsafe(nil), Array)
|
3178
3336
|
|
3179
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#
|
3337
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#9
|
3180
3338
|
Regexp::Syntax::Token::Meta::Type = T.let(T.unsafe(nil), Symbol)
|
3181
3339
|
|
3182
3340
|
# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#3
|
@@ -3197,6 +3355,11 @@ Regexp::Syntax::Token::PosixClass::Standard = T.let(T.unsafe(nil), Array)
|
|
3197
3355
|
# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#10
|
3198
3356
|
Regexp::Syntax::Token::PosixClass::Type = T.let(T.unsafe(nil), Symbol)
|
3199
3357
|
|
3358
|
+
# alias for symmetry between token symbol and Token module name
|
3359
|
+
#
|
3360
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#718
|
3361
|
+
Regexp::Syntax::Token::Property = Regexp::Syntax::Token::UnicodeProperty
|
3362
|
+
|
3200
3363
|
# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#3
|
3201
3364
|
module Regexp::Syntax::Token::Quantifier; end
|
3202
3365
|
|
@@ -3230,6 +3393,11 @@ Regexp::Syntax::Token::Quantifier::Type = T.let(T.unsafe(nil), Symbol)
|
|
3230
3393
|
# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#28
|
3231
3394
|
Regexp::Syntax::Token::Quantifier::V1_8_6 = T.let(T.unsafe(nil), Array)
|
3232
3395
|
|
3396
|
+
# alias for symmetry between token symbol and Token module name
|
3397
|
+
#
|
3398
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#14
|
3399
|
+
Regexp::Syntax::Token::Set = Regexp::Syntax::Token::CharacterSet
|
3400
|
+
|
3233
3401
|
# Type is the same as Backreference so keeping it here, for now.
|
3234
3402
|
#
|
3235
3403
|
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#20
|