mootool 0.1.2 → 0.2

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