workos 4.1.0 → 4.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +37 -0
  3. data/.github/workflows/release.yml +43 -0
  4. data/.rubocop.yml +8 -1
  5. data/Gemfile.lock +22 -69
  6. data/lib/workos/audit_log_export.rb +8 -31
  7. data/lib/workos/audit_logs.rb +0 -26
  8. data/lib/workos/authentication_factor_and_challenge.rb +0 -3
  9. data/lib/workos/authentication_response.rb +3 -6
  10. data/lib/workos/challenge.rb +9 -28
  11. data/lib/workos/client.rb +0 -41
  12. data/lib/workos/configuration.rb +0 -1
  13. data/lib/workos/connection.rb +11 -35
  14. data/lib/workos/directory.rb +10 -37
  15. data/lib/workos/directory_group.rb +9 -36
  16. data/lib/workos/directory_sync.rb +0 -21
  17. data/lib/workos/directory_user.rb +17 -51
  18. data/lib/workos/errors.rb +0 -16
  19. data/lib/workos/event.rb +5 -26
  20. data/lib/workos/events.rb +0 -7
  21. data/lib/workos/factor.rb +9 -28
  22. data/lib/workos/hash_provider.rb +0 -1
  23. data/lib/workos/impersonator.rb +0 -3
  24. data/lib/workos/invitation.rb +12 -37
  25. data/lib/workos/mfa.rb +0 -42
  26. data/lib/workos/organization.rb +8 -31
  27. data/lib/workos/organization_membership.rb +8 -27
  28. data/lib/workos/organizations.rb +0 -26
  29. data/lib/workos/passwordless.rb +0 -14
  30. data/lib/workos/portal.rb +1 -13
  31. data/lib/workos/profile.rb +12 -39
  32. data/lib/workos/profile_and_token.rb +1 -4
  33. data/lib/workos/refresh_authentication_response.rb +2 -5
  34. data/lib/workos/sso.rb +1 -43
  35. data/lib/workos/types/intent.rb +16 -0
  36. data/lib/workos/types/list_struct.rb +8 -5
  37. data/lib/workos/types/passwordless_session_struct.rb +10 -9
  38. data/lib/workos/types/provider.rb +15 -0
  39. data/lib/workos/types.rb +5 -23
  40. data/lib/workos/user.rb +10 -31
  41. data/lib/workos/user_and_token.rb +1 -4
  42. data/lib/workos/user_management.rb +36 -244
  43. data/lib/workos/user_response.rb +0 -3
  44. data/lib/workos/verify_challenge.rb +4 -18
  45. data/lib/workos/version.rb +1 -2
  46. data/lib/workos/webhook.rb +5 -26
  47. data/lib/workos/webhooks.rb +1 -38
  48. data/lib/workos.rb +0 -2
  49. data/spec/lib/workos/audit_logs_spec.rb +2 -3
  50. data/spec/lib/workos/configuration_spec.rb +0 -1
  51. data/spec/lib/workos/directory_sync_spec.rb +0 -1
  52. data/spec/lib/workos/directory_user_spec.rb +0 -1
  53. data/spec/lib/workos/event_spec.rb +0 -1
  54. data/spec/lib/workos/mfa_spec.rb +0 -1
  55. data/spec/lib/workos/organizations_spec.rb +0 -1
  56. data/spec/lib/workos/passwordless_spec.rb +0 -1
  57. data/spec/lib/workos/portal_spec.rb +0 -1
  58. data/spec/lib/workos/sso_spec.rb +0 -1
  59. data/spec/lib/workos/user_management_spec.rb +29 -1
  60. data/spec/lib/workos/webhooks_spec.rb +0 -1
  61. data/spec/spec_helper.rb +0 -9
  62. data/spec/support/fixtures/vcr_cassettes/user_management/revoke_session/not_found.yml +80 -0
  63. data/spec/support/fixtures/vcr_cassettes/user_management/revoke_session/valid.yml +76 -0
  64. data/spec/support/shared_examples/client_spec.rb +0 -1
  65. data/workos.gemspec +1 -6
  66. metadata +15 -129
  67. data/.semaphore/rubygems.yml +0 -24
  68. data/.semaphore/semaphore.yml +0 -51
  69. data/bin/tapioca +0 -29
  70. data/codecov.yml +0 -12
  71. data/devbox.json +0 -18
  72. data/devbox.lock +0 -11
  73. data/lib/workos/types/audit_log_export_struct.rb +0 -17
  74. data/lib/workos/types/challenge_struct.rb +0 -18
  75. data/lib/workos/types/connection_struct.rb +0 -20
  76. data/lib/workos/types/directory_group_struct.rb +0 -19
  77. data/lib/workos/types/directory_struct.rb +0 -19
  78. data/lib/workos/types/directory_user_struct.rb +0 -26
  79. data/lib/workos/types/event_struct.rb +0 -15
  80. data/lib/workos/types/factor_struct.rb +0 -18
  81. data/lib/workos/types/intent_enum.rb +0 -17
  82. data/lib/workos/types/invitation_struct.rb +0 -20
  83. data/lib/workos/types/magic_auth_challenge_struct.rb +0 -12
  84. data/lib/workos/types/organization_membership_struct.rb +0 -16
  85. data/lib/workos/types/organization_struct.rb +0 -17
  86. data/lib/workos/types/profile_struct.rb +0 -21
  87. data/lib/workos/types/provider_enum.rb +0 -16
  88. data/lib/workos/types/user_struct.rb +0 -18
  89. data/lib/workos/types/verify_challenge_struct.rb +0 -13
  90. data/lib/workos/types/webhook_struct.rb +0 -15
  91. data/sorbet/config +0 -2
  92. data/sorbet/rbi/gems/addressable@2.8.0.rbi +0 -290
  93. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
  94. data/sorbet/rbi/gems/codecov@0.2.12.rbi +0 -55
  95. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  96. data/sorbet/rbi/gems/crack@0.4.5.rbi +0 -57
  97. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
  98. data/sorbet/rbi/gems/docile@1.3.5.rbi +0 -54
  99. data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +0 -82
  100. data/sorbet/rbi/gems/json@2.5.1.rbi +0 -109
  101. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
  102. data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
  103. data/sorbet/rbi/gems/parser@3.0.1.0.rbi +0 -1187
  104. data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -8
  105. data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +0 -146
  106. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
  107. data/sorbet/rbi/gems/rake@13.0.3.rbi +0 -807
  108. data/sorbet/rbi/gems/rbi@0.0.16.rbi +0 -2118
  109. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1117
  110. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -709
  111. data/sorbet/rbi/gems/rspec-core@3.9.3.rbi +0 -2467
  112. data/sorbet/rbi/gems/rspec-expectations@3.9.4.rbi +0 -1569
  113. data/sorbet/rbi/gems/rspec-mocks@3.9.1.rbi +0 -1493
  114. data/sorbet/rbi/gems/rspec-support@3.9.4.rbi +0 -511
  115. data/sorbet/rbi/gems/rspec@3.9.0.rbi +0 -38
  116. data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +0 -1881
  117. data/sorbet/rbi/gems/rubocop@0.93.1.rbi +0 -11497
  118. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
  119. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
  120. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
  121. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.2.rbi +0 -8
  122. data/sorbet/rbi/gems/spoom@1.1.15.rbi +0 -1549
  123. data/sorbet/rbi/gems/tapioca@0.7.3.rbi +0 -1718
  124. data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -844
  125. data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +0 -22
  126. data/sorbet/rbi/gems/unparser@0.6.2.rbi +0 -8
  127. data/sorbet/rbi/gems/vcr@5.0.0.rbi +0 -699
  128. data/sorbet/rbi/gems/webmock@3.12.2.rbi +0 -662
  129. data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +0 -268
  130. data/sorbet/rbi/gems/yard@0.9.26.rbi +0 -4048
  131. data/sorbet/tapioca/config.yml +0 -13
  132. data/sorbet/tapioca/require.rb +0 -4
@@ -1,1117 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `regexp_parser` gem.
5
- # Please instead update this file by running `bin/tapioca gem regexp_parser`.
6
-
7
- module Regexp::Expression; end
8
-
9
- class Regexp::Expression::Alternation < ::Regexp::Expression::SequenceOperation
10
- def alternatives; end
11
- def match_length; end
12
- end
13
-
14
- Regexp::Expression::Alternation::OPERAND = Regexp::Expression::Alternative
15
- class Regexp::Expression::Alternative < ::Regexp::Expression::Sequence; end
16
- module Regexp::Expression::Anchor; end
17
- Regexp::Expression::Anchor::BOL = Regexp::Expression::Anchor::BeginningOfLine
18
- Regexp::Expression::Anchor::BOS = Regexp::Expression::Anchor::BeginningOfString
19
-
20
- class Regexp::Expression::Anchor::Base < ::Regexp::Expression::Base
21
- def match_length; end
22
- end
23
-
24
- class Regexp::Expression::Anchor::BeginningOfLine < ::Regexp::Expression::Anchor::Base; end
25
- class Regexp::Expression::Anchor::BeginningOfString < ::Regexp::Expression::Anchor::Base; end
26
- Regexp::Expression::Anchor::EOL = Regexp::Expression::Anchor::EndOfLine
27
- Regexp::Expression::Anchor::EOS = Regexp::Expression::Anchor::EndOfString
28
- Regexp::Expression::Anchor::EOSobEOL = Regexp::Expression::Anchor::EndOfStringOrBeforeEndOfLine
29
- class Regexp::Expression::Anchor::EndOfLine < ::Regexp::Expression::Anchor::Base; end
30
- class Regexp::Expression::Anchor::EndOfString < ::Regexp::Expression::Anchor::Base; end
31
- class Regexp::Expression::Anchor::EndOfStringOrBeforeEndOfLine < ::Regexp::Expression::Anchor::Base; end
32
- class Regexp::Expression::Anchor::MatchStart < ::Regexp::Expression::Anchor::Base; end
33
- class Regexp::Expression::Anchor::NonWordBoundary < ::Regexp::Expression::Anchor::Base; end
34
- class Regexp::Expression::Anchor::WordBoundary < ::Regexp::Expression::Anchor::Base; end
35
- module Regexp::Expression::Assertion; end
36
-
37
- class Regexp::Expression::Assertion::Base < ::Regexp::Expression::Group::Base
38
- def match_length; end
39
- end
40
-
41
- class Regexp::Expression::Assertion::Lookahead < ::Regexp::Expression::Assertion::Base; end
42
- class Regexp::Expression::Assertion::Lookbehind < ::Regexp::Expression::Assertion::Base; end
43
- class Regexp::Expression::Assertion::NegativeLookahead < ::Regexp::Expression::Assertion::Base; end
44
- class Regexp::Expression::Assertion::NegativeLookbehind < ::Regexp::Expression::Assertion::Base; end
45
- module Regexp::Expression::Backreference; end
46
-
47
- class Regexp::Expression::Backreference::Base < ::Regexp::Expression::Base
48
- def match_length; end
49
- def referenced_expression; end
50
- def referenced_expression=(_arg0); end
51
-
52
- private
53
-
54
- def initialize_copy(orig); end
55
- end
56
-
57
- class Regexp::Expression::Backreference::Name < ::Regexp::Expression::Backreference::Base
58
- def initialize(token, options = T.unsafe(nil)); end
59
-
60
- def name; end
61
- def reference; end
62
- end
63
-
64
- class Regexp::Expression::Backreference::NameCall < ::Regexp::Expression::Backreference::Name; end
65
-
66
- class Regexp::Expression::Backreference::NameRecursionLevel < ::Regexp::Expression::Backreference::Name
67
- def initialize(token, options = T.unsafe(nil)); end
68
-
69
- def recursion_level; end
70
- end
71
-
72
- class Regexp::Expression::Backreference::Number < ::Regexp::Expression::Backreference::Base
73
- def initialize(token, options = T.unsafe(nil)); end
74
-
75
- def number; end
76
- def reference; end
77
- end
78
-
79
- class Regexp::Expression::Backreference::NumberCall < ::Regexp::Expression::Backreference::Number; end
80
- class Regexp::Expression::Backreference::NumberCallRelative < ::Regexp::Expression::Backreference::NumberRelative; end
81
-
82
- class Regexp::Expression::Backreference::NumberRecursionLevel < ::Regexp::Expression::Backreference::Number
83
- def initialize(token, options = T.unsafe(nil)); end
84
-
85
- def recursion_level; end
86
- end
87
-
88
- class Regexp::Expression::Backreference::NumberRelative < ::Regexp::Expression::Backreference::Number
89
- def effective_number; end
90
- def effective_number=(_arg0); end
91
- def reference; end
92
- end
93
-
94
- class Regexp::Expression::Base
95
- def initialize(token, options = T.unsafe(nil)); end
96
-
97
- def =~(string, offset = T.unsafe(nil)); end
98
- def a?; end
99
- def ascii_classes?; end
100
- def attributes; end
101
- def base_length; end
102
- def case_insensitive?; end
103
- def coded_offset; end
104
- def conditional_level; end
105
- def conditional_level=(_arg0); end
106
- def d?; end
107
- def default_classes?; end
108
- def extended?; end
109
- def free_spacing?; end
110
- def full_length; end
111
- def greedy?; end
112
- def i?; end
113
- def ignore_case?; end
114
- def is?(test_token, test_type = T.unsafe(nil)); end
115
- def lazy?; end
116
- def level; end
117
- def level=(_arg0); end
118
- def m?; end
119
- def match(string, offset = T.unsafe(nil)); end
120
- def match?(string); end
121
- def matches?(string); end
122
- def multiline?; end
123
- def nesting_level; end
124
- def nesting_level=(_arg0); end
125
- def offset; end
126
- def one_of?(scope, top = T.unsafe(nil)); end
127
- def options; end
128
- def options=(_arg0); end
129
- def possessive?; end
130
- def quantified?; end
131
- def quantifier; end
132
- def quantifier=(_arg0); end
133
- def quantifier_affix(expression_format); end
134
- def quantify(token, text, min = T.unsafe(nil), max = T.unsafe(nil), mode = T.unsafe(nil)); end
135
- def quantity; end
136
- def reluctant?; end
137
- def repetitions; end
138
- def set_level; end
139
- def set_level=(_arg0); end
140
- def starts_at; end
141
- def strfre(format = T.unsafe(nil), indent_offset = T.unsafe(nil), index = T.unsafe(nil)); end
142
- def strfregexp(format = T.unsafe(nil), indent_offset = T.unsafe(nil), index = T.unsafe(nil)); end
143
- def terminal?; end
144
- def text; end
145
- def text=(_arg0); end
146
- def to_h; end
147
- def to_re(format = T.unsafe(nil)); end
148
- def to_s(format = T.unsafe(nil)); end
149
- def token; end
150
- def token=(_arg0); end
151
- def ts; end
152
- def ts=(_arg0); end
153
- def type; end
154
- def type=(_arg0); end
155
- def type?(test_type); end
156
- def u?; end
157
- def unicode_classes?; end
158
- def unquantified_clone; end
159
- def x?; end
160
-
161
- private
162
-
163
- def initialize_copy(orig); end
164
- end
165
-
166
- class Regexp::Expression::CharacterSet < ::Regexp::Expression::Subexpression
167
- def initialize(token, options = T.unsafe(nil)); end
168
-
169
- def close; end
170
- def closed; end
171
- def closed=(_arg0); end
172
- def closed?; end
173
- def match_length; end
174
- def negate; end
175
- def negated?; end
176
- def negative; end
177
- def negative=(_arg0); end
178
- def negative?; end
179
- def to_s(format = T.unsafe(nil)); end
180
- end
181
-
182
- class Regexp::Expression::CharacterSet::IntersectedSequence < ::Regexp::Expression::Sequence
183
- def match_length; end
184
- end
185
-
186
- class Regexp::Expression::CharacterSet::Intersection < ::Regexp::Expression::SequenceOperation
187
- def match_length; end
188
- end
189
-
190
- Regexp::Expression::CharacterSet::Intersection::OPERAND = Regexp::Expression::CharacterSet::IntersectedSequence
191
-
192
- class Regexp::Expression::CharacterSet::Range < ::Regexp::Expression::Subexpression
193
- def <<(exp); end
194
- def complete?; end
195
- def match_length; end
196
- def starts_at; end
197
- def to_s(_format = T.unsafe(nil)); end
198
- def ts; end
199
- end
200
-
201
- module Regexp::Expression::CharacterType; end
202
- class Regexp::Expression::CharacterType::Any < ::Regexp::Expression::CharacterType::Base; end
203
-
204
- class Regexp::Expression::CharacterType::Base < ::Regexp::Expression::Base
205
- def match_length; end
206
- end
207
-
208
- class Regexp::Expression::CharacterType::Digit < ::Regexp::Expression::CharacterType::Base; end
209
- class Regexp::Expression::CharacterType::ExtendedGrapheme < ::Regexp::Expression::CharacterType::Base; end
210
- class Regexp::Expression::CharacterType::Hex < ::Regexp::Expression::CharacterType::Base; end
211
- class Regexp::Expression::CharacterType::Linebreak < ::Regexp::Expression::CharacterType::Base; end
212
- class Regexp::Expression::CharacterType::NonDigit < ::Regexp::Expression::CharacterType::Base; end
213
- class Regexp::Expression::CharacterType::NonHex < ::Regexp::Expression::CharacterType::Base; end
214
- class Regexp::Expression::CharacterType::NonSpace < ::Regexp::Expression::CharacterType::Base; end
215
- class Regexp::Expression::CharacterType::NonWord < ::Regexp::Expression::CharacterType::Base; end
216
- class Regexp::Expression::CharacterType::Space < ::Regexp::Expression::CharacterType::Base; end
217
- class Regexp::Expression::CharacterType::Word < ::Regexp::Expression::CharacterType::Base; end
218
- class Regexp::Expression::Comment < ::Regexp::Expression::FreeSpace; end
219
- module Regexp::Expression::Conditional; end
220
- class Regexp::Expression::Conditional::Branch < ::Regexp::Expression::Sequence; end
221
-
222
- class Regexp::Expression::Conditional::Condition < ::Regexp::Expression::Base
223
- def match_length; end
224
- def reference; end
225
- def referenced_expression; end
226
- def referenced_expression=(_arg0); end
227
-
228
- private
229
-
230
- def initialize_copy(orig); end
231
- end
232
-
233
- class Regexp::Expression::Conditional::Expression < ::Regexp::Expression::Subexpression
234
- def <<(exp); end
235
- def add_sequence(active_opts = T.unsafe(nil)); end
236
- def branch(active_opts = T.unsafe(nil)); end
237
- def branches; end
238
- def condition; end
239
- def condition=(exp); end
240
- def match_length; end
241
- def reference; end
242
- def referenced_expression; end
243
- def referenced_expression=(_arg0); end
244
- def to_s(format = T.unsafe(nil)); end
245
-
246
- private
247
-
248
- def initialize_copy(orig); end
249
- end
250
-
251
- class Regexp::Expression::Conditional::TooManyBranches < ::Regexp::Parser::Error
252
- def initialize; end
253
- end
254
-
255
- module Regexp::Expression::EscapeSequence; end
256
-
257
- class Regexp::Expression::EscapeSequence::AbstractMetaControlSequence < ::Regexp::Expression::EscapeSequence::Base
258
- def char; end
259
-
260
- private
261
-
262
- def control_sequence_to_s(control_sequence); end
263
- def meta_char_to_codepoint(meta_char); end
264
- end
265
-
266
- class Regexp::Expression::EscapeSequence::AsciiEscape < ::Regexp::Expression::EscapeSequence::Base; end
267
- class Regexp::Expression::EscapeSequence::Backspace < ::Regexp::Expression::EscapeSequence::Base; end
268
-
269
- class Regexp::Expression::EscapeSequence::Base < ::Regexp::Expression::Base
270
- def char; end
271
- def codepoint; end
272
- def match_length; end
273
- end
274
-
275
- class Regexp::Expression::EscapeSequence::Bell < ::Regexp::Expression::EscapeSequence::Base; end
276
- class Regexp::Expression::EscapeSequence::Codepoint < ::Regexp::Expression::EscapeSequence::Base; end
277
-
278
- class Regexp::Expression::EscapeSequence::CodepointList < ::Regexp::Expression::EscapeSequence::Base
279
- def char; end
280
- def chars; end
281
- def codepoint; end
282
- def codepoints; end
283
- def match_length; end
284
- end
285
-
286
- class Regexp::Expression::EscapeSequence::Control < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
287
- def codepoint; end
288
- end
289
-
290
- class Regexp::Expression::EscapeSequence::FormFeed < ::Regexp::Expression::EscapeSequence::Base; end
291
- class Regexp::Expression::EscapeSequence::Hex < ::Regexp::Expression::EscapeSequence::Base; end
292
-
293
- class Regexp::Expression::EscapeSequence::Literal < ::Regexp::Expression::EscapeSequence::Base
294
- def char; end
295
- end
296
-
297
- class Regexp::Expression::EscapeSequence::Meta < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
298
- def codepoint; end
299
- end
300
-
301
- class Regexp::Expression::EscapeSequence::MetaControl < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
302
- def codepoint; end
303
- end
304
-
305
- class Regexp::Expression::EscapeSequence::Newline < ::Regexp::Expression::EscapeSequence::Base; end
306
-
307
- class Regexp::Expression::EscapeSequence::Octal < ::Regexp::Expression::EscapeSequence::Base
308
- def char; end
309
- end
310
-
311
- class Regexp::Expression::EscapeSequence::Return < ::Regexp::Expression::EscapeSequence::Base; end
312
- class Regexp::Expression::EscapeSequence::Tab < ::Regexp::Expression::EscapeSequence::Base; end
313
- class Regexp::Expression::EscapeSequence::VerticalTab < ::Regexp::Expression::EscapeSequence::Base; end
314
-
315
- class Regexp::Expression::FreeSpace < ::Regexp::Expression::Base
316
- def match_length; end
317
- def quantify(_token, _text, _min = T.unsafe(nil), _max = T.unsafe(nil), _mode = T.unsafe(nil)); end
318
- end
319
-
320
- module Regexp::Expression::Group; end
321
-
322
- class Regexp::Expression::Group::Absence < ::Regexp::Expression::Group::Base
323
- def match_length; end
324
- end
325
-
326
- class Regexp::Expression::Group::Atomic < ::Regexp::Expression::Group::Base; end
327
-
328
- class Regexp::Expression::Group::Base < ::Regexp::Expression::Subexpression
329
- def capturing?; end
330
- def comment?; end
331
- def to_s(format = T.unsafe(nil)); end
332
- end
333
-
334
- class Regexp::Expression::Group::Capture < ::Regexp::Expression::Group::Base
335
- def capturing?; end
336
- def identifier; end
337
- def number; end
338
- def number=(_arg0); end
339
- def number_at_level; end
340
- def number_at_level=(_arg0); end
341
- end
342
-
343
- class Regexp::Expression::Group::Comment < ::Regexp::Expression::Group::Base
344
- def comment?; end
345
- def to_s(_format = T.unsafe(nil)); end
346
- end
347
-
348
- class Regexp::Expression::Group::Named < ::Regexp::Expression::Group::Capture
349
- def initialize(token, options = T.unsafe(nil)); end
350
-
351
- def identifier; end
352
- def name; end
353
-
354
- private
355
-
356
- def initialize_copy(orig); end
357
- end
358
-
359
- class Regexp::Expression::Group::Options < ::Regexp::Expression::Group::Base
360
- def option_changes; end
361
- def option_changes=(_arg0); end
362
-
363
- private
364
-
365
- def initialize_copy(orig); end
366
- end
367
-
368
- class Regexp::Expression::Group::Passive < ::Regexp::Expression::Group::Base
369
- def initialize(*_arg0); end
370
-
371
- def implicit=(_arg0); end
372
- def implicit?; end
373
- def to_s(format = T.unsafe(nil)); end
374
- end
375
-
376
- module Regexp::Expression::Keep; end
377
-
378
- class Regexp::Expression::Keep::Mark < ::Regexp::Expression::Base
379
- def match_length; end
380
- end
381
-
382
- class Regexp::Expression::Literal < ::Regexp::Expression::Base
383
- def match_length; end
384
- end
385
-
386
- Regexp::Expression::MatchLength = Regexp::MatchLength
387
-
388
- class Regexp::Expression::PosixClass < ::Regexp::Expression::Base
389
- def match_length; end
390
- def name; end
391
- def negative?; end
392
- end
393
-
394
- class Regexp::Expression::Quantifier
395
- def initialize(token, text, min, max, mode); end
396
-
397
- def ==(other); end
398
- def eq(other); end
399
- def greedy?; end
400
- def lazy?; end
401
- def max; end
402
- def min; end
403
- def mode; end
404
- def possessive?; end
405
- def reluctant?; end
406
- def text; end
407
- def to_h; end
408
- def to_s; end
409
- def to_str; end
410
- def token; end
411
-
412
- private
413
-
414
- def initialize_copy(orig); end
415
- end
416
-
417
- Regexp::Expression::Quantifier::MODES = T.let(T.unsafe(nil), Array)
418
-
419
- class Regexp::Expression::Root < ::Regexp::Expression::Subexpression
420
- class << self
421
- def build(options = T.unsafe(nil)); end
422
- def build_token; end
423
- end
424
- end
425
-
426
- class Regexp::Expression::Sequence < ::Regexp::Expression::Subexpression
427
- def quantify(token, text, min = T.unsafe(nil), max = T.unsafe(nil), mode = T.unsafe(nil)); end
428
- def starts_at; end
429
- def ts; end
430
-
431
- class << self
432
- def add_to(subexpression, params = T.unsafe(nil), active_opts = T.unsafe(nil)); end
433
- def at_levels(level, set_level, conditional_level); end
434
- end
435
- end
436
-
437
- class Regexp::Expression::SequenceOperation < ::Regexp::Expression::Subexpression
438
- def <<(exp); end
439
- def add_sequence(active_opts = T.unsafe(nil)); end
440
- def operands; end
441
- def operator; end
442
- def sequences; end
443
- def starts_at; end
444
- def to_s(format = T.unsafe(nil)); end
445
- def ts; end
446
- end
447
-
448
- class Regexp::Expression::Subexpression < ::Regexp::Expression::Base
449
- include ::Enumerable
450
-
451
- def initialize(token, options = T.unsafe(nil)); end
452
-
453
- def <<(exp); end
454
- def [](*args, &block); end
455
- def at(*args, &block); end
456
- def dig(*indices); end
457
- def each(*args, &block); end
458
- def each_expression(include_self = T.unsafe(nil)); end
459
- def empty?(*args, &block); end
460
- def expressions; end
461
- def expressions=(_arg0); end
462
- def fetch(*args, &block); end
463
- def flat_map(include_self = T.unsafe(nil)); end
464
- def index(*args, &block); end
465
- def inner_match_length; end
466
- def join(*args, &block); end
467
- def last(*args, &block); end
468
- def length(*args, &block); end
469
- def match_length; end
470
- def strfre_tree(format = T.unsafe(nil), include_self = T.unsafe(nil), separator = T.unsafe(nil)); end
471
- def strfregexp_tree(format = T.unsafe(nil), include_self = T.unsafe(nil), separator = T.unsafe(nil)); end
472
- def te; end
473
- def to_h; end
474
- def to_s(format = T.unsafe(nil)); end
475
- def traverse(include_self = T.unsafe(nil), &block); end
476
- def values_at(*args, &block); end
477
- def walk(include_self = T.unsafe(nil), &block); end
478
-
479
- private
480
-
481
- def initialize_copy(orig); end
482
- end
483
-
484
- module Regexp::Expression::UnicodeProperty; end
485
- class Regexp::Expression::UnicodeProperty::Age < ::Regexp::Expression::UnicodeProperty::Base; end
486
- class Regexp::Expression::UnicodeProperty::Alnum < ::Regexp::Expression::UnicodeProperty::Base; end
487
- class Regexp::Expression::UnicodeProperty::Alpha < ::Regexp::Expression::UnicodeProperty::Base; end
488
- class Regexp::Expression::UnicodeProperty::Any < ::Regexp::Expression::UnicodeProperty::Base; end
489
- class Regexp::Expression::UnicodeProperty::Ascii < ::Regexp::Expression::UnicodeProperty::Base; end
490
- class Regexp::Expression::UnicodeProperty::Assigned < ::Regexp::Expression::UnicodeProperty::Base; end
491
-
492
- class Regexp::Expression::UnicodeProperty::Base < ::Regexp::Expression::Base
493
- def match_length; end
494
- def name; end
495
- def negative?; end
496
- def shortcut; end
497
- end
498
-
499
- class Regexp::Expression::UnicodeProperty::Blank < ::Regexp::Expression::UnicodeProperty::Base; end
500
- class Regexp::Expression::UnicodeProperty::Block < ::Regexp::Expression::UnicodeProperty::Base; end
501
- class Regexp::Expression::UnicodeProperty::Cntrl < ::Regexp::Expression::UnicodeProperty::Base; end
502
- module Regexp::Expression::UnicodeProperty::Codepoint; end
503
- class Regexp::Expression::UnicodeProperty::Codepoint::Any < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
504
- class Regexp::Expression::UnicodeProperty::Codepoint::Base < ::Regexp::Expression::UnicodeProperty::Base; end
505
- class Regexp::Expression::UnicodeProperty::Codepoint::Control < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
506
- class Regexp::Expression::UnicodeProperty::Codepoint::Format < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
507
- class Regexp::Expression::UnicodeProperty::Codepoint::PrivateUse < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
508
- class Regexp::Expression::UnicodeProperty::Codepoint::Surrogate < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
509
- class Regexp::Expression::UnicodeProperty::Codepoint::Unassigned < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
510
- class Regexp::Expression::UnicodeProperty::Derived < ::Regexp::Expression::UnicodeProperty::Base; end
511
- class Regexp::Expression::UnicodeProperty::Digit < ::Regexp::Expression::UnicodeProperty::Base; end
512
- class Regexp::Expression::UnicodeProperty::Emoji < ::Regexp::Expression::UnicodeProperty::Base; end
513
- class Regexp::Expression::UnicodeProperty::Graph < ::Regexp::Expression::UnicodeProperty::Base; end
514
- module Regexp::Expression::UnicodeProperty::Letter; end
515
- class Regexp::Expression::UnicodeProperty::Letter::Any < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
516
- class Regexp::Expression::UnicodeProperty::Letter::Base < ::Regexp::Expression::UnicodeProperty::Base; end
517
- class Regexp::Expression::UnicodeProperty::Letter::Cased < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
518
- class Regexp::Expression::UnicodeProperty::Letter::Lowercase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
519
- class Regexp::Expression::UnicodeProperty::Letter::Modifier < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
520
- class Regexp::Expression::UnicodeProperty::Letter::Other < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
521
- class Regexp::Expression::UnicodeProperty::Letter::Titlecase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
522
- class Regexp::Expression::UnicodeProperty::Letter::Uppercase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
523
- class Regexp::Expression::UnicodeProperty::Lower < ::Regexp::Expression::UnicodeProperty::Base; end
524
- module Regexp::Expression::UnicodeProperty::Mark; end
525
- class Regexp::Expression::UnicodeProperty::Mark::Any < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
526
- class Regexp::Expression::UnicodeProperty::Mark::Base < ::Regexp::Expression::UnicodeProperty::Base; end
527
- class Regexp::Expression::UnicodeProperty::Mark::Combining < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
528
- class Regexp::Expression::UnicodeProperty::Mark::Enclosing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
529
- class Regexp::Expression::UnicodeProperty::Mark::Nonspacing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
530
- class Regexp::Expression::UnicodeProperty::Mark::Spacing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
531
- class Regexp::Expression::UnicodeProperty::Newline < ::Regexp::Expression::UnicodeProperty::Base; end
532
- module Regexp::Expression::UnicodeProperty::Number; end
533
- class Regexp::Expression::UnicodeProperty::Number::Any < ::Regexp::Expression::UnicodeProperty::Number::Base; end
534
- class Regexp::Expression::UnicodeProperty::Number::Base < ::Regexp::Expression::UnicodeProperty::Base; end
535
- class Regexp::Expression::UnicodeProperty::Number::Decimal < ::Regexp::Expression::UnicodeProperty::Number::Base; end
536
- class Regexp::Expression::UnicodeProperty::Number::Letter < ::Regexp::Expression::UnicodeProperty::Number::Base; end
537
- class Regexp::Expression::UnicodeProperty::Number::Other < ::Regexp::Expression::UnicodeProperty::Number::Base; end
538
- class Regexp::Expression::UnicodeProperty::Print < ::Regexp::Expression::UnicodeProperty::Base; end
539
- class Regexp::Expression::UnicodeProperty::Punct < ::Regexp::Expression::UnicodeProperty::Base; end
540
- module Regexp::Expression::UnicodeProperty::Punctuation; end
541
- class Regexp::Expression::UnicodeProperty::Punctuation::Any < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
542
- class Regexp::Expression::UnicodeProperty::Punctuation::Base < ::Regexp::Expression::UnicodeProperty::Base; end
543
- class Regexp::Expression::UnicodeProperty::Punctuation::Close < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
544
- class Regexp::Expression::UnicodeProperty::Punctuation::Connector < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
545
- class Regexp::Expression::UnicodeProperty::Punctuation::Dash < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
546
- class Regexp::Expression::UnicodeProperty::Punctuation::Final < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
547
- class Regexp::Expression::UnicodeProperty::Punctuation::Initial < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
548
- class Regexp::Expression::UnicodeProperty::Punctuation::Open < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
549
- class Regexp::Expression::UnicodeProperty::Punctuation::Other < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
550
- class Regexp::Expression::UnicodeProperty::Script < ::Regexp::Expression::UnicodeProperty::Base; end
551
- module Regexp::Expression::UnicodeProperty::Separator; end
552
- class Regexp::Expression::UnicodeProperty::Separator::Any < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
553
- class Regexp::Expression::UnicodeProperty::Separator::Base < ::Regexp::Expression::UnicodeProperty::Base; end
554
- class Regexp::Expression::UnicodeProperty::Separator::Line < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
555
- class Regexp::Expression::UnicodeProperty::Separator::Paragraph < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
556
- class Regexp::Expression::UnicodeProperty::Separator::Space < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
557
- class Regexp::Expression::UnicodeProperty::Space < ::Regexp::Expression::UnicodeProperty::Base; end
558
- module Regexp::Expression::UnicodeProperty::Symbol; end
559
- class Regexp::Expression::UnicodeProperty::Symbol::Any < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
560
- class Regexp::Expression::UnicodeProperty::Symbol::Base < ::Regexp::Expression::UnicodeProperty::Base; end
561
- class Regexp::Expression::UnicodeProperty::Symbol::Currency < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
562
- class Regexp::Expression::UnicodeProperty::Symbol::Math < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
563
- class Regexp::Expression::UnicodeProperty::Symbol::Modifier < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
564
- class Regexp::Expression::UnicodeProperty::Symbol::Other < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
565
- class Regexp::Expression::UnicodeProperty::Upper < ::Regexp::Expression::UnicodeProperty::Base; end
566
- class Regexp::Expression::UnicodeProperty::Word < ::Regexp::Expression::UnicodeProperty::Base; end
567
- class Regexp::Expression::UnicodeProperty::XPosixPunct < ::Regexp::Expression::UnicodeProperty::Base; end
568
- class Regexp::Expression::UnicodeProperty::Xdigit < ::Regexp::Expression::UnicodeProperty::Base; end
569
-
570
- class Regexp::Expression::WhiteSpace < ::Regexp::Expression::FreeSpace
571
- def merge(exp); end
572
- end
573
-
574
- class Regexp::Lexer
575
- def lex(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
576
-
577
- private
578
-
579
- def ascend(type, token); end
580
- def break_codepoint_list(token); end
581
- def break_literal(token); end
582
- def conditional_nesting; end
583
- def conditional_nesting=(_arg0); end
584
- def descend(type, token); end
585
- def merge_condition(current); end
586
- def nesting; end
587
- def nesting=(_arg0); end
588
- def set_nesting; end
589
- def set_nesting=(_arg0); end
590
- def shift; end
591
- def shift=(_arg0); end
592
- def tokens; end
593
- def tokens=(_arg0); end
594
-
595
- class << self
596
- def lex(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
597
- def scan(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
598
- end
599
- end
600
-
601
- Regexp::Lexer::CLOSING_TOKENS = T.let(T.unsafe(nil), Array)
602
- Regexp::Lexer::OPENING_TOKENS = T.let(T.unsafe(nil), Array)
603
-
604
- class Regexp::MatchLength
605
- include ::Enumerable
606
-
607
- def initialize(exp, opts = T.unsafe(nil)); end
608
-
609
- def each(opts = T.unsafe(nil)); end
610
- def endless_each; end
611
- def fixed?; end
612
- def include?(length); end
613
- def inspect; end
614
- def max; end
615
- def min; end
616
- def minmax; end
617
- def to_re; end
618
-
619
- private
620
-
621
- def base_max; end
622
- def base_max=(_arg0); end
623
- def base_min; end
624
- def base_min=(_arg0); end
625
- def exp_class; end
626
- def exp_class=(_arg0); end
627
- def max_rep; end
628
- def max_rep=(_arg0); end
629
- def min_rep; end
630
- def min_rep=(_arg0); end
631
- def reify; end
632
- def reify=(_arg0); end
633
- def test_regexp; end
634
-
635
- class << self
636
- def of(obj); end
637
- end
638
- end
639
-
640
- class Regexp::Parser
641
- include ::Regexp::Expression
642
- include ::Regexp::Expression::UnicodeProperty
643
-
644
- def parse(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
645
-
646
- private
647
-
648
- def active_opts; end
649
- def anchor(token); end
650
- def assign_effective_number(exp); end
651
- def assign_referenced_expressions; end
652
- def backref(token); end
653
- def captured_group_count_at_level; end
654
- def captured_group_counts; end
655
- def captured_group_counts=(_arg0); end
656
- def close_completed_character_set_range; end
657
- def close_group; end
658
- def close_set; end
659
- def conditional(token); end
660
- def conditional_nesting; end
661
- def conditional_nesting=(_arg0); end
662
- def count_captured_group; end
663
- def decrease_nesting; end
664
- def escape(token); end
665
- def extract_options(input, options); end
666
- def free_space(token); end
667
- def group(token); end
668
- def increase_level(exp); end
669
- def intersection(token); end
670
- def interval(target_node, token); end
671
- def keep(token); end
672
- def literal(token); end
673
- def meta(token); end
674
- def negate_set; end
675
- def nest(exp); end
676
- def nest_conditional(exp); end
677
- def nesting; end
678
- def nesting=(_arg0); end
679
- def node; end
680
- def node=(_arg0); end
681
- def open_group(token); end
682
- def open_set(token); end
683
- def options_group(token); end
684
- def options_stack; end
685
- def options_stack=(_arg0); end
686
- def parse_token(token); end
687
- def posixclass(token); end
688
- def property(token); end
689
- def quantifier(token); end
690
- def range(token); end
691
- def root; end
692
- def root=(_arg0); end
693
- def sequence_operation(klass, token); end
694
- def set(token); end
695
- def switching_options; end
696
- def switching_options=(_arg0); end
697
- def total_captured_group_count; end
698
- def type(token); end
699
- def update_transplanted_subtree(exp, new_parent); end
700
-
701
- class << self
702
- def parse(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
703
- end
704
- end
705
-
706
- Regexp::Parser::ENC_FLAGS = T.let(T.unsafe(nil), Array)
707
- class Regexp::Parser::Error < ::StandardError; end
708
- Regexp::Parser::MOD_FLAGS = T.let(T.unsafe(nil), Array)
709
- class Regexp::Parser::ParserError < ::Regexp::Parser::Error; end
710
- Regexp::Parser::UPTokens = Regexp::Syntax::Token::UnicodeProperty
711
-
712
- class Regexp::Parser::UnknownTokenError < ::Regexp::Parser::ParserError
713
- def initialize(type, token); end
714
- end
715
-
716
- class Regexp::Parser::UnknownTokenTypeError < ::Regexp::Parser::ParserError
717
- def initialize(type, token); end
718
- end
719
-
720
- Regexp::Parser::VERSION = T.let(T.unsafe(nil), String)
721
-
722
- class Regexp::Scanner
723
- def emit(type, token, text); end
724
- def scan(input_object, options: T.unsafe(nil), &block); end
725
-
726
- private
727
-
728
- def append_literal(data, ts, te); end
729
- def block; end
730
- def block=(_arg0); end
731
- def char_pos; end
732
- def char_pos=(_arg0); end
733
- def conditional_stack; end
734
- def conditional_stack=(_arg0); end
735
- def copy(data, ts, te); end
736
- def emit_literal; end
737
- def emit_meta_control_sequence(data, ts, te, token); end
738
- def emit_options(text); end
739
- def free_spacing; end
740
- def free_spacing=(_arg0); end
741
- def free_spacing?(input_object, options); end
742
- def group_depth; end
743
- def group_depth=(_arg0); end
744
- def in_group?; end
745
- def in_set?; end
746
- def literal; end
747
- def literal=(_arg0); end
748
- def set_depth; end
749
- def set_depth=(_arg0); end
750
- def spacing_stack; end
751
- def spacing_stack=(_arg0); end
752
- def tokens; end
753
- def tokens=(_arg0); end
754
- def validation_error(type, what, reason); end
755
-
756
- class << self
757
- def long_prop_map; end
758
- def scan(input_object, options: T.unsafe(nil), &block); end
759
- def short_prop_map; end
760
- end
761
- end
762
-
763
- class Regexp::Scanner::InvalidBackrefError < ::Regexp::Scanner::ValidationError
764
- def initialize(what, reason); end
765
- end
766
-
767
- class Regexp::Scanner::InvalidGroupError < ::Regexp::Scanner::ValidationError
768
- def initialize(what, reason); end
769
- end
770
-
771
- class Regexp::Scanner::InvalidGroupOption < ::Regexp::Scanner::ValidationError
772
- def initialize(option, text); end
773
- end
774
-
775
- class Regexp::Scanner::InvalidSequenceError < ::Regexp::Scanner::ValidationError
776
- def initialize(what = T.unsafe(nil), where = T.unsafe(nil)); end
777
- end
778
-
779
- class Regexp::Scanner::PrematureEndError < ::Regexp::Scanner::ScannerError
780
- def initialize(where = T.unsafe(nil)); end
781
- end
782
-
783
- class Regexp::Scanner::ScannerError < ::Regexp::Parser::Error; end
784
-
785
- class Regexp::Scanner::UnknownUnicodePropertyError < ::Regexp::Scanner::ValidationError
786
- def initialize(name); end
787
- end
788
-
789
- class Regexp::Scanner::ValidationError < ::Regexp::Parser::Error
790
- def initialize(reason); end
791
- end
792
-
793
- module Regexp::Syntax
794
- private
795
-
796
- def comparable_version(name); end
797
- def const_missing(const_name); end
798
- def fallback_version_class(version); end
799
- def inherit_from_version(parent_version, new_version); end
800
- def new(name); end
801
- def specified_versions; end
802
- def supported?(name); end
803
- def version_class(version); end
804
- def version_const_name(version_string); end
805
- def warn_if_future_version(const_name); end
806
-
807
- class << self
808
- def comparable_version(name); end
809
- def const_missing(const_name); end
810
- def fallback_version_class(version); end
811
- def inherit_from_version(parent_version, new_version); end
812
- def new(name); end
813
- def specified_versions; end
814
- def supported?(name); end
815
- def version_class(version); end
816
- def version_const_name(version_string); end
817
- def warn_if_future_version(const_name); end
818
- end
819
- end
820
-
821
- class Regexp::Syntax::Any < ::Regexp::Syntax::Base
822
- def initialize; end
823
-
824
- def implements!(_type, _token); end
825
- def implements?(_type, _token); end
826
- end
827
-
828
- class Regexp::Syntax::Base
829
- include ::Regexp::Syntax::Token
830
-
831
- def initialize; end
832
-
833
- def check!(type, token); end
834
- def check?(type, token); end
835
- def excludes(type, tokens); end
836
- def features; end
837
- def implementations(type); end
838
- def implements(type, tokens); end
839
- def implements!(type, token); end
840
- def implements?(type, token); end
841
- def normalize(type, token); end
842
- def normalize_backref(type, token); end
843
- def normalize_group(type, token); end
844
-
845
- class << self
846
- def inspect; end
847
- end
848
- end
849
-
850
- class Regexp::Syntax::InvalidVersionNameError < ::Regexp::Syntax::SyntaxError
851
- def initialize(name); end
852
- end
853
-
854
- class Regexp::Syntax::NotImplementedError < ::Regexp::Syntax::SyntaxError
855
- def initialize(syntax, type, token); end
856
- end
857
-
858
- class Regexp::Syntax::SyntaxError < ::Regexp::Parser::Error; end
859
- module Regexp::Syntax::Token; end
860
- Regexp::Syntax::Token::All = T.let(T.unsafe(nil), Array)
861
- module Regexp::Syntax::Token::Anchor; end
862
- Regexp::Syntax::Token::Anchor::All = T.let(T.unsafe(nil), Array)
863
- Regexp::Syntax::Token::Anchor::Basic = T.let(T.unsafe(nil), Array)
864
- Regexp::Syntax::Token::Anchor::Extended = T.let(T.unsafe(nil), Array)
865
- Regexp::Syntax::Token::Anchor::MatchStart = T.let(T.unsafe(nil), Array)
866
- Regexp::Syntax::Token::Anchor::String = T.let(T.unsafe(nil), Array)
867
- Regexp::Syntax::Token::Anchor::Type = T.let(T.unsafe(nil), Symbol)
868
- module Regexp::Syntax::Token::Assertion; end
869
- Regexp::Syntax::Token::Assertion::All = T.let(T.unsafe(nil), Array)
870
- Regexp::Syntax::Token::Assertion::Lookahead = T.let(T.unsafe(nil), Array)
871
- Regexp::Syntax::Token::Assertion::Lookbehind = T.let(T.unsafe(nil), Array)
872
- Regexp::Syntax::Token::Assertion::Type = T.let(T.unsafe(nil), Symbol)
873
- module Regexp::Syntax::Token::Backreference; end
874
- Regexp::Syntax::Token::Backreference::All = T.let(T.unsafe(nil), Array)
875
- Regexp::Syntax::Token::Backreference::Name = T.let(T.unsafe(nil), Array)
876
- Regexp::Syntax::Token::Backreference::Number = T.let(T.unsafe(nil), Array)
877
- Regexp::Syntax::Token::Backreference::RecursionLevel = T.let(T.unsafe(nil), Array)
878
- Regexp::Syntax::Token::Backreference::Type = T.let(T.unsafe(nil), Symbol)
879
- module Regexp::Syntax::Token::CharacterSet; end
880
- Regexp::Syntax::Token::CharacterSet::All = T.let(T.unsafe(nil), Array)
881
- Regexp::Syntax::Token::CharacterSet::Basic = T.let(T.unsafe(nil), Array)
882
- Regexp::Syntax::Token::CharacterSet::Extended = T.let(T.unsafe(nil), Array)
883
- Regexp::Syntax::Token::CharacterSet::Type = T.let(T.unsafe(nil), Symbol)
884
- module Regexp::Syntax::Token::CharacterType; end
885
- Regexp::Syntax::Token::CharacterType::All = T.let(T.unsafe(nil), Array)
886
- Regexp::Syntax::Token::CharacterType::Basic = T.let(T.unsafe(nil), Array)
887
- Regexp::Syntax::Token::CharacterType::Clustered = T.let(T.unsafe(nil), Array)
888
- Regexp::Syntax::Token::CharacterType::Extended = T.let(T.unsafe(nil), Array)
889
- Regexp::Syntax::Token::CharacterType::Hex = T.let(T.unsafe(nil), Array)
890
- Regexp::Syntax::Token::CharacterType::Type = T.let(T.unsafe(nil), Symbol)
891
- module Regexp::Syntax::Token::Conditional; end
892
- Regexp::Syntax::Token::Conditional::All = T.let(T.unsafe(nil), Array)
893
- Regexp::Syntax::Token::Conditional::Condition = T.let(T.unsafe(nil), Array)
894
- Regexp::Syntax::Token::Conditional::Delimiters = T.let(T.unsafe(nil), Array)
895
- Regexp::Syntax::Token::Conditional::Separator = T.let(T.unsafe(nil), Array)
896
- Regexp::Syntax::Token::Conditional::Type = T.let(T.unsafe(nil), Symbol)
897
- module Regexp::Syntax::Token::Escape; end
898
- Regexp::Syntax::Token::Escape::ASCII = T.let(T.unsafe(nil), Array)
899
- Regexp::Syntax::Token::Escape::All = T.let(T.unsafe(nil), Array)
900
- Regexp::Syntax::Token::Escape::Basic = T.let(T.unsafe(nil), Array)
901
- Regexp::Syntax::Token::Escape::Control = T.let(T.unsafe(nil), Array)
902
- Regexp::Syntax::Token::Escape::Hex = T.let(T.unsafe(nil), Array)
903
- Regexp::Syntax::Token::Escape::Meta = T.let(T.unsafe(nil), Array)
904
- Regexp::Syntax::Token::Escape::Octal = T.let(T.unsafe(nil), Array)
905
- Regexp::Syntax::Token::Escape::Type = T.let(T.unsafe(nil), Symbol)
906
- Regexp::Syntax::Token::Escape::Unicode = T.let(T.unsafe(nil), Array)
907
- module Regexp::Syntax::Token::FreeSpace; end
908
- Regexp::Syntax::Token::FreeSpace::All = T.let(T.unsafe(nil), Array)
909
- Regexp::Syntax::Token::FreeSpace::Type = T.let(T.unsafe(nil), Symbol)
910
- module Regexp::Syntax::Token::Group; end
911
- Regexp::Syntax::Token::Group::All = T.let(T.unsafe(nil), Array)
912
- Regexp::Syntax::Token::Group::Atomic = T.let(T.unsafe(nil), Array)
913
- Regexp::Syntax::Token::Group::Basic = T.let(T.unsafe(nil), Array)
914
- Regexp::Syntax::Token::Group::Comment = T.let(T.unsafe(nil), Array)
915
- Regexp::Syntax::Token::Group::Extended = T.let(T.unsafe(nil), Array)
916
- Regexp::Syntax::Token::Group::Named = T.let(T.unsafe(nil), Array)
917
- Regexp::Syntax::Token::Group::Passive = T.let(T.unsafe(nil), Array)
918
- Regexp::Syntax::Token::Group::Type = T.let(T.unsafe(nil), Symbol)
919
- Regexp::Syntax::Token::Group::V1_8_6 = T.let(T.unsafe(nil), Array)
920
- Regexp::Syntax::Token::Group::V2_4_1 = T.let(T.unsafe(nil), Array)
921
- module Regexp::Syntax::Token::Keep; end
922
- Regexp::Syntax::Token::Keep::All = T.let(T.unsafe(nil), Array)
923
- Regexp::Syntax::Token::Keep::Mark = T.let(T.unsafe(nil), Array)
924
- Regexp::Syntax::Token::Keep::Type = T.let(T.unsafe(nil), Symbol)
925
- module Regexp::Syntax::Token::Literal; end
926
- Regexp::Syntax::Token::Literal::All = T.let(T.unsafe(nil), Array)
927
- Regexp::Syntax::Token::Literal::Type = T.let(T.unsafe(nil), Symbol)
928
- Regexp::Syntax::Token::Map = T.let(T.unsafe(nil), Hash)
929
- module Regexp::Syntax::Token::Meta; end
930
- Regexp::Syntax::Token::Meta::All = T.let(T.unsafe(nil), Array)
931
- Regexp::Syntax::Token::Meta::Basic = T.let(T.unsafe(nil), Array)
932
- Regexp::Syntax::Token::Meta::Extended = T.let(T.unsafe(nil), Array)
933
- Regexp::Syntax::Token::Meta::Type = T.let(T.unsafe(nil), Symbol)
934
- module Regexp::Syntax::Token::PosixClass; end
935
- Regexp::Syntax::Token::PosixClass::All = T.let(T.unsafe(nil), Array)
936
- Regexp::Syntax::Token::PosixClass::Extensions = T.let(T.unsafe(nil), Array)
937
- Regexp::Syntax::Token::PosixClass::NonType = T.let(T.unsafe(nil), Symbol)
938
- Regexp::Syntax::Token::PosixClass::Standard = T.let(T.unsafe(nil), Array)
939
- Regexp::Syntax::Token::PosixClass::Type = T.let(T.unsafe(nil), Symbol)
940
- module Regexp::Syntax::Token::Quantifier; end
941
- Regexp::Syntax::Token::Quantifier::All = T.let(T.unsafe(nil), Array)
942
- Regexp::Syntax::Token::Quantifier::Greedy = T.let(T.unsafe(nil), Array)
943
- Regexp::Syntax::Token::Quantifier::Interval = T.let(T.unsafe(nil), Array)
944
- Regexp::Syntax::Token::Quantifier::IntervalAll = T.let(T.unsafe(nil), Array)
945
- Regexp::Syntax::Token::Quantifier::IntervalPossessive = T.let(T.unsafe(nil), Array)
946
- Regexp::Syntax::Token::Quantifier::IntervalReluctant = T.let(T.unsafe(nil), Array)
947
- Regexp::Syntax::Token::Quantifier::Possessive = T.let(T.unsafe(nil), Array)
948
- Regexp::Syntax::Token::Quantifier::Reluctant = T.let(T.unsafe(nil), Array)
949
- Regexp::Syntax::Token::Quantifier::Type = T.let(T.unsafe(nil), Symbol)
950
- module Regexp::Syntax::Token::SubexpressionCall; end
951
- Regexp::Syntax::Token::SubexpressionCall::All = T.let(T.unsafe(nil), Array)
952
- Regexp::Syntax::Token::SubexpressionCall::Name = T.let(T.unsafe(nil), Array)
953
- Regexp::Syntax::Token::SubexpressionCall::Number = T.let(T.unsafe(nil), Array)
954
- Regexp::Syntax::Token::Types = T.let(T.unsafe(nil), Array)
955
- module Regexp::Syntax::Token::UnicodeProperty; end
956
- Regexp::Syntax::Token::UnicodeProperty::Age = T.let(T.unsafe(nil), Array)
957
- Regexp::Syntax::Token::UnicodeProperty::Age_V1_9_3 = T.let(T.unsafe(nil), Array)
958
- Regexp::Syntax::Token::UnicodeProperty::Age_V2_0_0 = T.let(T.unsafe(nil), Array)
959
- Regexp::Syntax::Token::UnicodeProperty::Age_V2_2_0 = T.let(T.unsafe(nil), Array)
960
- Regexp::Syntax::Token::UnicodeProperty::Age_V2_3_0 = T.let(T.unsafe(nil), Array)
961
- Regexp::Syntax::Token::UnicodeProperty::Age_V2_4_0 = T.let(T.unsafe(nil), Array)
962
- Regexp::Syntax::Token::UnicodeProperty::Age_V2_5_0 = T.let(T.unsafe(nil), Array)
963
- Regexp::Syntax::Token::UnicodeProperty::Age_V2_6_0 = T.let(T.unsafe(nil), Array)
964
- Regexp::Syntax::Token::UnicodeProperty::Age_V2_6_2 = T.let(T.unsafe(nil), Array)
965
- Regexp::Syntax::Token::UnicodeProperty::Age_V2_6_3 = T.let(T.unsafe(nil), Array)
966
- Regexp::Syntax::Token::UnicodeProperty::All = T.let(T.unsafe(nil), Array)
967
- module Regexp::Syntax::Token::UnicodeProperty::Category; end
968
- Regexp::Syntax::Token::UnicodeProperty::Category::All = T.let(T.unsafe(nil), Array)
969
- Regexp::Syntax::Token::UnicodeProperty::Category::Codepoint = T.let(T.unsafe(nil), Array)
970
- Regexp::Syntax::Token::UnicodeProperty::Category::Letter = T.let(T.unsafe(nil), Array)
971
- Regexp::Syntax::Token::UnicodeProperty::Category::Mark = T.let(T.unsafe(nil), Array)
972
- Regexp::Syntax::Token::UnicodeProperty::Category::Number = T.let(T.unsafe(nil), Array)
973
- Regexp::Syntax::Token::UnicodeProperty::Category::Punctuation = T.let(T.unsafe(nil), Array)
974
- Regexp::Syntax::Token::UnicodeProperty::Category::Separator = T.let(T.unsafe(nil), Array)
975
- Regexp::Syntax::Token::UnicodeProperty::Category::Symbol = T.let(T.unsafe(nil), Array)
976
- Regexp::Syntax::Token::UnicodeProperty::CharType_V1_9_0 = T.let(T.unsafe(nil), Array)
977
- Regexp::Syntax::Token::UnicodeProperty::CharType_V2_5_0 = T.let(T.unsafe(nil), Array)
978
- Regexp::Syntax::Token::UnicodeProperty::Derived = T.let(T.unsafe(nil), Array)
979
- Regexp::Syntax::Token::UnicodeProperty::Derived_V1_9_0 = T.let(T.unsafe(nil), Array)
980
- Regexp::Syntax::Token::UnicodeProperty::Derived_V2_0_0 = T.let(T.unsafe(nil), Array)
981
- Regexp::Syntax::Token::UnicodeProperty::Derived_V2_4_0 = T.let(T.unsafe(nil), Array)
982
- Regexp::Syntax::Token::UnicodeProperty::Derived_V2_5_0 = T.let(T.unsafe(nil), Array)
983
- Regexp::Syntax::Token::UnicodeProperty::Emoji = T.let(T.unsafe(nil), Array)
984
- Regexp::Syntax::Token::UnicodeProperty::Emoji_V2_5_0 = T.let(T.unsafe(nil), Array)
985
- Regexp::Syntax::Token::UnicodeProperty::NonType = T.let(T.unsafe(nil), Symbol)
986
- Regexp::Syntax::Token::UnicodeProperty::POSIX = T.let(T.unsafe(nil), Array)
987
- Regexp::Syntax::Token::UnicodeProperty::Script = T.let(T.unsafe(nil), Array)
988
- Regexp::Syntax::Token::UnicodeProperty::Script_V1_9_0 = T.let(T.unsafe(nil), Array)
989
- Regexp::Syntax::Token::UnicodeProperty::Script_V1_9_3 = T.let(T.unsafe(nil), Array)
990
- Regexp::Syntax::Token::UnicodeProperty::Script_V2_0_0 = T.let(T.unsafe(nil), Array)
991
- Regexp::Syntax::Token::UnicodeProperty::Script_V2_2_0 = T.let(T.unsafe(nil), Array)
992
- Regexp::Syntax::Token::UnicodeProperty::Script_V2_3_0 = T.let(T.unsafe(nil), Array)
993
- Regexp::Syntax::Token::UnicodeProperty::Script_V2_4_0 = T.let(T.unsafe(nil), Array)
994
- Regexp::Syntax::Token::UnicodeProperty::Script_V2_5_0 = T.let(T.unsafe(nil), Array)
995
- Regexp::Syntax::Token::UnicodeProperty::Script_V2_6_0 = T.let(T.unsafe(nil), Array)
996
- Regexp::Syntax::Token::UnicodeProperty::Script_V2_6_2 = T.let(T.unsafe(nil), Array)
997
- Regexp::Syntax::Token::UnicodeProperty::Type = T.let(T.unsafe(nil), Symbol)
998
- Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock = T.let(T.unsafe(nil), Array)
999
- Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V1_9_0 = T.let(T.unsafe(nil), Array)
1000
- Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_0_0 = T.let(T.unsafe(nil), Array)
1001
- Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_2_0 = T.let(T.unsafe(nil), Array)
1002
- Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_3_0 = T.let(T.unsafe(nil), Array)
1003
- Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_4_0 = T.let(T.unsafe(nil), Array)
1004
- Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_5_0 = T.let(T.unsafe(nil), Array)
1005
- Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_6_0 = T.let(T.unsafe(nil), Array)
1006
- Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_6_2 = T.let(T.unsafe(nil), Array)
1007
- Regexp::Syntax::Token::UnicodeProperty::V1_9_0 = T.let(T.unsafe(nil), Array)
1008
- Regexp::Syntax::Token::UnicodeProperty::V1_9_3 = T.let(T.unsafe(nil), Array)
1009
- Regexp::Syntax::Token::UnicodeProperty::V2_0_0 = T.let(T.unsafe(nil), Array)
1010
- Regexp::Syntax::Token::UnicodeProperty::V2_2_0 = T.let(T.unsafe(nil), Array)
1011
- Regexp::Syntax::Token::UnicodeProperty::V2_3_0 = T.let(T.unsafe(nil), Array)
1012
- Regexp::Syntax::Token::UnicodeProperty::V2_4_0 = T.let(T.unsafe(nil), Array)
1013
- Regexp::Syntax::Token::UnicodeProperty::V2_5_0 = T.let(T.unsafe(nil), Array)
1014
- Regexp::Syntax::Token::UnicodeProperty::V2_6_0 = T.let(T.unsafe(nil), Array)
1015
- Regexp::Syntax::Token::UnicodeProperty::V2_6_2 = T.let(T.unsafe(nil), Array)
1016
- Regexp::Syntax::Token::UnicodeProperty::V2_6_3 = T.let(T.unsafe(nil), Array)
1017
-
1018
- class Regexp::Syntax::UnknownSyntaxNameError < ::Regexp::Syntax::SyntaxError
1019
- def initialize(name); end
1020
- end
1021
-
1022
- class Regexp::Syntax::V1_8_6 < ::Regexp::Syntax::Base
1023
- def initialize; end
1024
- end
1025
-
1026
- class Regexp::Syntax::V1_9 < ::Regexp::Syntax::V1_9_3; end
1027
-
1028
- class Regexp::Syntax::V1_9_1 < ::Regexp::Syntax::V1_8_6
1029
- def initialize; end
1030
- end
1031
-
1032
- class Regexp::Syntax::V1_9_3 < ::Regexp::Syntax::V1_9_1
1033
- def initialize; end
1034
- end
1035
-
1036
- class Regexp::Syntax::V2_0_0 < ::Regexp::Syntax::V1_9
1037
- def initialize; end
1038
- end
1039
-
1040
- class Regexp::Syntax::V2_1 < ::Regexp::Syntax::V2_0_0; end
1041
- class Regexp::Syntax::V2_2 < ::Regexp::Syntax::V2_2_0; end
1042
-
1043
- class Regexp::Syntax::V2_2_0 < ::Regexp::Syntax::V2_1
1044
- def initialize; end
1045
- end
1046
-
1047
- class Regexp::Syntax::V2_3 < ::Regexp::Syntax::V2_3_0; end
1048
-
1049
- class Regexp::Syntax::V2_3_0 < ::Regexp::Syntax::V2_2
1050
- def initialize; end
1051
- end
1052
-
1053
- class Regexp::Syntax::V2_4 < ::Regexp::Syntax::V2_4_1; end
1054
-
1055
- class Regexp::Syntax::V2_4_0 < ::Regexp::Syntax::V2_3
1056
- def initialize; end
1057
- end
1058
-
1059
- class Regexp::Syntax::V2_4_1 < ::Regexp::Syntax::V2_4_0
1060
- def initialize; end
1061
- end
1062
-
1063
- class Regexp::Syntax::V2_5 < ::Regexp::Syntax::V2_5_0; end
1064
-
1065
- class Regexp::Syntax::V2_5_0 < ::Regexp::Syntax::V2_4
1066
- def initialize; end
1067
- end
1068
-
1069
- class Regexp::Syntax::V2_6_0 < ::Regexp::Syntax::V2_5
1070
- def initialize; end
1071
- end
1072
-
1073
- class Regexp::Syntax::V2_6_2 < ::Regexp::Syntax::V2_6_0
1074
- def initialize; end
1075
- end
1076
-
1077
- class Regexp::Syntax::V2_6_3 < ::Regexp::Syntax::V2_6_2
1078
- def initialize; end
1079
- end
1080
-
1081
- Regexp::Syntax::VERSION_CONST_REGEXP = T.let(T.unsafe(nil), Regexp)
1082
- Regexp::Syntax::VERSION_FORMAT = T.let(T.unsafe(nil), String)
1083
- Regexp::Syntax::VERSION_REGEXP = T.let(T.unsafe(nil), Regexp)
1084
- Regexp::TOKEN_KEYS = T.let(T.unsafe(nil), Array)
1085
-
1086
- class Regexp::Token < ::Struct
1087
- def conditional_level; end
1088
- def conditional_level=(_); end
1089
- def length; end
1090
- def level; end
1091
- def level=(_); end
1092
- def next; end
1093
- def next=(_arg0); end
1094
- def offset; end
1095
- def previous; end
1096
- def previous=(_arg0); end
1097
- def set_level; end
1098
- def set_level=(_); end
1099
- def te; end
1100
- def te=(_); end
1101
- def text; end
1102
- def text=(_); end
1103
- def token; end
1104
- def token=(_); end
1105
- def ts; end
1106
- def ts=(_); end
1107
- def type; end
1108
- def type=(_); end
1109
-
1110
- class << self
1111
- def [](*_arg0); end
1112
- def inspect; end
1113
- def keyword_init?; end
1114
- def members; end
1115
- def new(*_arg0); end
1116
- end
1117
- end