bhook 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +3 -0
  4. data/.ruby-version +1 -0
  5. data/Gemfile +6 -0
  6. data/Gemfile.lock +82 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +27 -0
  9. data/Rakefile +13 -0
  10. data/bin/bhook +11 -0
  11. data/lib/bhook/args_parser.rb +55 -0
  12. data/lib/bhook/converter/html.rb +51 -0
  13. data/lib/bhook/directory.rb +62 -0
  14. data/lib/bhook/md_file.rb +50 -0
  15. data/lib/bhook/theme/_after_h1.erb +7 -0
  16. data/lib/bhook/theme/page.erb +71 -0
  17. data/lib/bhook/version.rb +6 -0
  18. data/lib/bhook/workspace.rb +45 -0
  19. data/lib/bhook.rb +22 -0
  20. data/sorbet/config +3 -0
  21. data/sorbet/rbi/gems/ast.rbi +49 -0
  22. data/sorbet/rbi/gems/bhook.rbi +15 -0
  23. data/sorbet/rbi/gems/git.rbi +531 -0
  24. data/sorbet/rbi/gems/kramdown.rbi +255 -0
  25. data/sorbet/rbi/gems/listen.rbi +304 -0
  26. data/sorbet/rbi/gems/parallel.rbi +83 -0
  27. data/sorbet/rbi/gems/parser.rbi +1440 -0
  28. data/sorbet/rbi/gems/rainbow.rbi +122 -0
  29. data/sorbet/rbi/gems/rake.rbi +644 -0
  30. data/sorbet/rbi/gems/rchardet.rbi +181 -0
  31. data/sorbet/rbi/gems/regexp_parser.rbi +929 -0
  32. data/sorbet/rbi/gems/rexml.rbi +599 -0
  33. data/sorbet/rbi/gems/rspec-core.rbi +1898 -0
  34. data/sorbet/rbi/gems/rspec-expectations.rbi +1171 -0
  35. data/sorbet/rbi/gems/rspec-mocks.rbi +1094 -0
  36. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  37. data/sorbet/rbi/gems/rspec.rbi +15 -0
  38. data/sorbet/rbi/gems/rubocop-ast.rbi +1385 -0
  39. data/sorbet/rbi/gems/rubocop-rake.rbi +85 -0
  40. data/sorbet/rbi/gems/rubocop-rspec.rbi +1044 -0
  41. data/sorbet/rbi/gems/rubocop.rbi +8593 -0
  42. data/sorbet/rbi/gems/ruby-progressbar.rbi +304 -0
  43. data/sorbet/rbi/gems/unicode-display_width.rbi +20 -0
  44. data/sorbet/rbi/hidden-definitions/errors.txt +4944 -0
  45. data/sorbet/rbi/hidden-definitions/hidden.rbi +10044 -0
  46. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
  47. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
  48. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +24 -0
  49. data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +12 -0
  50. data/sorbet/rbi/todo.rbi +7 -0
  51. metadata +235 -0
@@ -0,0 +1,929 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: true
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/regexp_parser/all/regexp_parser.rbi
9
+ #
10
+ # regexp_parser-2.2.0
11
+
12
+ class Regexp
13
+ end
14
+ class Regexp::Parser
15
+ def active_opts; end
16
+ def anchor(token); end
17
+ def assign_effective_number(exp); end
18
+ def assign_referenced_expressions; end
19
+ def backref(token); end
20
+ def captured_group_count_at_level; end
21
+ def captured_group_counts; end
22
+ def captured_group_counts=(arg0); end
23
+ def close_completed_character_set_range; end
24
+ def close_group; end
25
+ def close_set; end
26
+ def conditional(token); end
27
+ def conditional_nesting; end
28
+ def conditional_nesting=(arg0); end
29
+ def count_captured_group; end
30
+ def decrease_nesting; end
31
+ def escape(token); end
32
+ def extract_options(input, options); end
33
+ def free_space(token); end
34
+ def group(token); end
35
+ def increase_level(exp); end
36
+ def intersection(token); end
37
+ def interval(target_node, token); end
38
+ def keep(token); end
39
+ def literal(token); end
40
+ def meta(token); end
41
+ def negate_set; end
42
+ def nest(exp); end
43
+ def nest_conditional(exp); end
44
+ def nesting; end
45
+ def nesting=(arg0); end
46
+ def node; end
47
+ def node=(arg0); end
48
+ def open_group(token); end
49
+ def open_set(token); end
50
+ def options_group(token); end
51
+ def options_stack; end
52
+ def options_stack=(arg0); end
53
+ def parse(input, syntax = nil, options: nil, &block); end
54
+ def parse_token(token); end
55
+ def posixclass(token); end
56
+ def property(token); end
57
+ def quantifier(token); end
58
+ def range(token); end
59
+ def root; end
60
+ def root=(arg0); end
61
+ def self.parse(input, syntax = nil, options: nil, &block); end
62
+ def sequence_operation(klass, token); end
63
+ def set(token); end
64
+ def switching_options; end
65
+ def switching_options=(arg0); end
66
+ def total_captured_group_count; end
67
+ def type(token); end
68
+ def update_transplanted_subtree(exp, new_parent); end
69
+ include Regexp::Expression
70
+ include Regexp::Expression::UnicodeProperty
71
+ end
72
+ class Regexp::Token < Struct
73
+ def conditional_level; end
74
+ def conditional_level=(_); end
75
+ def length; end
76
+ def level; end
77
+ def level=(_); end
78
+ def next; end
79
+ def next=(arg0); end
80
+ def offset; end
81
+ def previous; end
82
+ def previous=(arg0); end
83
+ def self.[](*arg0); end
84
+ def self.inspect; end
85
+ def self.members; end
86
+ def self.new(*arg0); end
87
+ def set_level; end
88
+ def set_level=(_); end
89
+ def te; end
90
+ def te=(_); end
91
+ def text; end
92
+ def text=(_); end
93
+ def token; end
94
+ def token=(_); end
95
+ def ts; end
96
+ def ts=(_); end
97
+ def type; end
98
+ def type=(_); end
99
+ end
100
+ class Regexp::Parser::Error < StandardError
101
+ end
102
+ class Regexp::Scanner
103
+ def append_literal(data, ts, te); end
104
+ def block; end
105
+ def block=(arg0); end
106
+ def char_pos; end
107
+ def char_pos=(arg0); end
108
+ def conditional_stack; end
109
+ def conditional_stack=(arg0); end
110
+ def copy(data, ts, te); end
111
+ def emit(type, token, text); end
112
+ def emit_literal; end
113
+ def emit_meta_control_sequence(data, ts, te, token); end
114
+ def emit_options(text); end
115
+ def free_spacing; end
116
+ def free_spacing=(arg0); end
117
+ def free_spacing?(input_object, options); end
118
+ def group_depth; end
119
+ def group_depth=(arg0); end
120
+ def in_group?; end
121
+ def in_set?; end
122
+ def literal; end
123
+ def literal=(arg0); end
124
+ def scan(input_object, options: nil, &block); end
125
+ def self.long_prop_map; end
126
+ def self.scan(input_object, options: nil, &block); end
127
+ def self.short_prop_map; end
128
+ def set_depth; end
129
+ def set_depth=(arg0); end
130
+ def spacing_stack; end
131
+ def spacing_stack=(arg0); end
132
+ def tokens; end
133
+ def tokens=(arg0); end
134
+ def validation_error(type, what, reason); end
135
+ end
136
+ class Regexp::Scanner::ScannerError < Regexp::Parser::Error
137
+ end
138
+ class Regexp::Scanner::ValidationError < Regexp::Parser::Error
139
+ def initialize(reason); end
140
+ end
141
+ class Regexp::Scanner::PrematureEndError < Regexp::Scanner::ScannerError
142
+ def initialize(where = nil); end
143
+ end
144
+ class Regexp::Scanner::InvalidSequenceError < Regexp::Scanner::ValidationError
145
+ def initialize(what = nil, where = nil); end
146
+ end
147
+ class Regexp::Scanner::InvalidGroupError < Regexp::Scanner::ValidationError
148
+ def initialize(what, reason); end
149
+ end
150
+ class Regexp::Scanner::InvalidGroupOption < Regexp::Scanner::ValidationError
151
+ def initialize(option, text); end
152
+ end
153
+ class Regexp::Scanner::InvalidBackrefError < Regexp::Scanner::ValidationError
154
+ def initialize(what, reason); end
155
+ end
156
+ class Regexp::Scanner::UnknownUnicodePropertyError < Regexp::Scanner::ValidationError
157
+ def initialize(name); end
158
+ end
159
+ module Regexp::Syntax
160
+ def comparable_version(name); end
161
+ def const_missing(const_name); end
162
+ def fallback_version_class(version); end
163
+ def inherit_from_version(parent_version, new_version); end
164
+ def new(name); end
165
+ def self.comparable_version(name); end
166
+ def self.const_missing(const_name); end
167
+ def self.fallback_version_class(version); end
168
+ def self.inherit_from_version(parent_version, new_version); end
169
+ def self.new(name); end
170
+ def self.specified_versions; end
171
+ def self.supported?(name); end
172
+ def self.version_class(version); end
173
+ def self.version_const_name(version_string); end
174
+ def self.warn_if_future_version(const_name); end
175
+ def specified_versions; end
176
+ def supported?(name); end
177
+ def version_class(version); end
178
+ def version_const_name(version_string); end
179
+ def warn_if_future_version(const_name); end
180
+ end
181
+ module Regexp::Syntax::Token
182
+ end
183
+ module Regexp::Syntax::Token::Anchor
184
+ end
185
+ module Regexp::Syntax::Token::Assertion
186
+ end
187
+ module Regexp::Syntax::Token::Backreference
188
+ end
189
+ module Regexp::Syntax::Token::SubexpressionCall
190
+ end
191
+ module Regexp::Syntax::Token::PosixClass
192
+ end
193
+ module Regexp::Syntax::Token::CharacterSet
194
+ end
195
+ module Regexp::Syntax::Token::CharacterType
196
+ end
197
+ module Regexp::Syntax::Token::Conditional
198
+ end
199
+ module Regexp::Syntax::Token::Escape
200
+ end
201
+ module Regexp::Syntax::Token::Group
202
+ end
203
+ module Regexp::Syntax::Token::Keep
204
+ end
205
+ module Regexp::Syntax::Token::Meta
206
+ end
207
+ module Regexp::Syntax::Token::Quantifier
208
+ end
209
+ module Regexp::Syntax::Token::UnicodeProperty
210
+ end
211
+ module Regexp::Syntax::Token::UnicodeProperty::Category
212
+ end
213
+ module Regexp::Syntax::Token::Literal
214
+ end
215
+ module Regexp::Syntax::Token::FreeSpace
216
+ end
217
+ class Regexp::Syntax::NotImplementedError < Regexp::Syntax::SyntaxError
218
+ def initialize(syntax, type, token); end
219
+ end
220
+ class Regexp::Syntax::Base
221
+ def check!(type, token); end
222
+ def check?(type, token); end
223
+ def excludes(type, tokens); end
224
+ def features; end
225
+ def implementations(type); end
226
+ def implements!(type, token); end
227
+ def implements(type, tokens); end
228
+ def implements?(type, token); end
229
+ def initialize; end
230
+ def normalize(type, token); end
231
+ def normalize_backref(type, token); end
232
+ def normalize_group(type, token); end
233
+ def self.inspect; end
234
+ include Regexp::Syntax::Token
235
+ end
236
+ class Regexp::Syntax::Any < Regexp::Syntax::Base
237
+ def implements!(_type, _token); end
238
+ def implements?(_type, _token); end
239
+ def initialize; end
240
+ end
241
+ class Regexp::Syntax::InvalidVersionNameError < Regexp::Syntax::SyntaxError
242
+ def initialize(name); end
243
+ end
244
+ class Regexp::Syntax::UnknownSyntaxNameError < Regexp::Syntax::SyntaxError
245
+ def initialize(name); end
246
+ end
247
+ class Regexp::Syntax::V1_8_6 < Regexp::Syntax::Base
248
+ def initialize; end
249
+ end
250
+ class Regexp::Syntax::V1_9_1 < Regexp::Syntax::V1_8_6
251
+ def initialize; end
252
+ end
253
+ class Regexp::Syntax::V1_9_3 < Regexp::Syntax::V1_9_1
254
+ def initialize; end
255
+ end
256
+ class Regexp::Syntax::V1_9 < Regexp::Syntax::V1_9_3
257
+ end
258
+ class Regexp::Syntax::V2_0_0 < Regexp::Syntax::V1_9
259
+ def initialize; end
260
+ end
261
+ class Regexp::Syntax::V2_1 < Regexp::Syntax::V2_0_0
262
+ end
263
+ class Regexp::Syntax::V2_2_0 < Regexp::Syntax::V2_1
264
+ def initialize; end
265
+ end
266
+ class Regexp::Syntax::V2_2 < Regexp::Syntax::V2_2_0
267
+ end
268
+ class Regexp::Syntax::V2_3_0 < Regexp::Syntax::V2_2
269
+ def initialize; end
270
+ end
271
+ class Regexp::Syntax::V2_3 < Regexp::Syntax::V2_3_0
272
+ end
273
+ class Regexp::Syntax::V2_4_0 < Regexp::Syntax::V2_3
274
+ def initialize; end
275
+ end
276
+ class Regexp::Syntax::V2_4_1 < Regexp::Syntax::V2_4_0
277
+ def initialize; end
278
+ end
279
+ class Regexp::Syntax::V2_4 < Regexp::Syntax::V2_4_1
280
+ end
281
+ class Regexp::Syntax::V2_5_0 < Regexp::Syntax::V2_4
282
+ def initialize; end
283
+ end
284
+ class Regexp::Syntax::V2_5 < Regexp::Syntax::V2_5_0
285
+ end
286
+ class Regexp::Syntax::V2_6_0 < Regexp::Syntax::V2_5
287
+ def initialize; end
288
+ end
289
+ class Regexp::Syntax::V2_6_2 < Regexp::Syntax::V2_6_0
290
+ def initialize; end
291
+ end
292
+ class Regexp::Syntax::V2_6_3 < Regexp::Syntax::V2_6_2
293
+ def initialize; end
294
+ end
295
+ class Regexp::Syntax::V3_1_0 < Regexp::Syntax::V2_6_3
296
+ def initialize; end
297
+ end
298
+ class Regexp::Syntax::SyntaxError < Regexp::Parser::Error
299
+ end
300
+ class Regexp::Lexer
301
+ def ascend(type, token); end
302
+ def break_codepoint_list(token); end
303
+ def break_literal(token); end
304
+ def conditional_nesting; end
305
+ def conditional_nesting=(arg0); end
306
+ def descend(type, token); end
307
+ def lex(input, syntax = nil, options: nil, &block); end
308
+ def merge_condition(current); end
309
+ def nesting; end
310
+ def nesting=(arg0); end
311
+ def self.lex(input, syntax = nil, options: nil, &block); end
312
+ def self.scan(input, syntax = nil, options: nil, &block); end
313
+ def set_nesting; end
314
+ def set_nesting=(arg0); end
315
+ def shift; end
316
+ def shift=(arg0); end
317
+ def tokens; end
318
+ def tokens=(arg0); end
319
+ end
320
+ module Regexp::Expression
321
+ end
322
+ class Regexp::Expression::Base
323
+ def =~(string, offset = nil); end
324
+ def a?; end
325
+ def ascii_classes?; end
326
+ def attributes; end
327
+ def base_length; end
328
+ def case_insensitive?; end
329
+ def coded_offset; end
330
+ def conditional_level; end
331
+ def conditional_level=(arg0); end
332
+ def d?; end
333
+ def default_classes?; end
334
+ def extended?; end
335
+ def free_spacing?; end
336
+ def full_length; end
337
+ def greedy?; end
338
+ def i?; end
339
+ def ignore_case?; end
340
+ def initialize(token, options = nil); end
341
+ def initialize_copy(orig); end
342
+ def is?(test_token, test_type = nil); end
343
+ def lazy?; end
344
+ def level; end
345
+ def level=(arg0); end
346
+ def m?; end
347
+ def match(string, offset = nil); end
348
+ def match?(string); end
349
+ def matches?(string); end
350
+ def multiline?; end
351
+ def nesting_level; end
352
+ def nesting_level=(arg0); end
353
+ def offset; end
354
+ def one_of?(scope, top = nil); end
355
+ def options; end
356
+ def options=(arg0); end
357
+ def possessive?; end
358
+ def quantified?; end
359
+ def quantifier; end
360
+ def quantifier=(arg0); end
361
+ def quantifier_affix(expression_format); end
362
+ def quantify(token, text, min = nil, max = nil, mode = nil); end
363
+ def quantity; end
364
+ def reluctant?; end
365
+ def repetitions; end
366
+ def set_level; end
367
+ def set_level=(arg0); end
368
+ def starts_at; end
369
+ def strfre(format = nil, indent_offset = nil, index = nil); end
370
+ def strfregexp(format = nil, indent_offset = nil, index = nil); end
371
+ def terminal?; end
372
+ def text; end
373
+ def text=(arg0); end
374
+ def to_h; end
375
+ def to_re(format = nil); end
376
+ def to_s(format = nil); end
377
+ def token; end
378
+ def token=(arg0); end
379
+ def ts; end
380
+ def ts=(arg0); end
381
+ def type; end
382
+ def type=(arg0); end
383
+ def type?(test_type); end
384
+ def u?; end
385
+ def unicode_classes?; end
386
+ def unquantified_clone; end
387
+ def x?; end
388
+ end
389
+ class Regexp::Expression::Quantifier
390
+ def ==(other); end
391
+ def eq(other); end
392
+ def greedy?; end
393
+ def initialize(token, text, min, max, mode); end
394
+ def initialize_copy(orig); end
395
+ def lazy?; end
396
+ def max; end
397
+ def min; end
398
+ def mode; end
399
+ def possessive?; end
400
+ def reluctant?; end
401
+ def text; end
402
+ def to_h; end
403
+ def to_s; end
404
+ def to_str; end
405
+ def token; end
406
+ end
407
+ class Regexp::Expression::Subexpression < Regexp::Expression::Base
408
+ def <<(exp); end
409
+ def [](*args, &block); end
410
+ def at(*args, &block); end
411
+ def dig(*indices); end
412
+ def each(*args, &block); end
413
+ def each_expression(include_self = nil); end
414
+ def empty?(*args, &block); end
415
+ def expressions; end
416
+ def expressions=(arg0); end
417
+ def fetch(*args, &block); end
418
+ def flat_map(include_self = nil); end
419
+ def index(*args, &block); end
420
+ def initialize(token, options = nil); end
421
+ def initialize_copy(orig); end
422
+ def inner_match_length; end
423
+ def join(*args, &block); end
424
+ def last(*args, &block); end
425
+ def length(*args, &block); end
426
+ def match_length; end
427
+ def strfre_tree(format = nil, include_self = nil, separator = nil); end
428
+ def strfregexp_tree(format = nil, include_self = nil, separator = nil); end
429
+ def te; end
430
+ def to_h; end
431
+ def to_s(format = nil); end
432
+ def traverse(include_self = nil, &block); end
433
+ def values_at(*args, &block); end
434
+ def walk(include_self = nil, &block); end
435
+ include Enumerable
436
+ end
437
+ class Regexp::Expression::Sequence < Regexp::Expression::Subexpression
438
+ def quantify(token, text, min = nil, max = nil, mode = nil); end
439
+ def self.add_to(subexpression, params = nil, active_opts = nil); end
440
+ def self.at_levels(level, set_level, conditional_level); end
441
+ def starts_at; end
442
+ def ts; end
443
+ end
444
+ class Regexp::Expression::SequenceOperation < Regexp::Expression::Subexpression
445
+ def <<(exp); end
446
+ def add_sequence(active_opts = nil); end
447
+ def operands; end
448
+ def operator; end
449
+ def sequences; end
450
+ def starts_at; end
451
+ def to_s(format = nil); end
452
+ def ts; end
453
+ end
454
+ class Regexp::Expression::Alternative < Regexp::Expression::Sequence
455
+ end
456
+ class Regexp::Expression::Alternation < Regexp::Expression::SequenceOperation
457
+ def alternatives; end
458
+ def match_length; end
459
+ end
460
+ module Regexp::Expression::Anchor
461
+ end
462
+ class Regexp::Expression::Anchor::Base < Regexp::Expression::Base
463
+ def match_length; end
464
+ end
465
+ class Regexp::Expression::Anchor::BeginningOfLine < Regexp::Expression::Anchor::Base
466
+ end
467
+ class Regexp::Expression::Anchor::EndOfLine < Regexp::Expression::Anchor::Base
468
+ end
469
+ class Regexp::Expression::Anchor::BeginningOfString < Regexp::Expression::Anchor::Base
470
+ end
471
+ class Regexp::Expression::Anchor::EndOfString < Regexp::Expression::Anchor::Base
472
+ end
473
+ class Regexp::Expression::Anchor::EndOfStringOrBeforeEndOfLine < Regexp::Expression::Anchor::Base
474
+ end
475
+ class Regexp::Expression::Anchor::WordBoundary < Regexp::Expression::Anchor::Base
476
+ end
477
+ class Regexp::Expression::Anchor::NonWordBoundary < Regexp::Expression::Anchor::Base
478
+ end
479
+ class Regexp::Expression::Anchor::MatchStart < Regexp::Expression::Anchor::Base
480
+ end
481
+ module Regexp::Expression::Backreference
482
+ end
483
+ class Regexp::Expression::Backreference::Base < Regexp::Expression::Base
484
+ def initialize_copy(orig); end
485
+ def match_length; end
486
+ def referenced_expression; end
487
+ def referenced_expression=(arg0); end
488
+ end
489
+ class Regexp::Expression::Backreference::Number < Regexp::Expression::Backreference::Base
490
+ def initialize(token, options = nil); end
491
+ def number; end
492
+ def reference; end
493
+ end
494
+ class Regexp::Expression::Backreference::Name < Regexp::Expression::Backreference::Base
495
+ def initialize(token, options = nil); end
496
+ def name; end
497
+ def reference; end
498
+ end
499
+ class Regexp::Expression::Backreference::NumberRelative < Regexp::Expression::Backreference::Number
500
+ def effective_number; end
501
+ def effective_number=(arg0); end
502
+ def reference; end
503
+ end
504
+ class Regexp::Expression::Backreference::NumberCall < Regexp::Expression::Backreference::Number
505
+ end
506
+ class Regexp::Expression::Backreference::NameCall < Regexp::Expression::Backreference::Name
507
+ end
508
+ class Regexp::Expression::Backreference::NumberCallRelative < Regexp::Expression::Backreference::NumberRelative
509
+ end
510
+ class Regexp::Expression::Backreference::NumberRecursionLevel < Regexp::Expression::Backreference::Number
511
+ def initialize(token, options = nil); end
512
+ def recursion_level; end
513
+ end
514
+ class Regexp::Expression::Backreference::NameRecursionLevel < Regexp::Expression::Backreference::Name
515
+ def initialize(token, options = nil); end
516
+ def recursion_level; end
517
+ end
518
+ class Regexp::Expression::CharacterSet < Regexp::Expression::Subexpression
519
+ def close; end
520
+ def closed; end
521
+ def closed=(arg0); end
522
+ def closed?; end
523
+ def initialize(token, options = nil); end
524
+ def match_length; end
525
+ def negate; end
526
+ def negated?; end
527
+ def negative; end
528
+ def negative=(arg0); end
529
+ def negative?; end
530
+ def to_s(format = nil); end
531
+ end
532
+ class Regexp::Expression::CharacterSet::IntersectedSequence < Regexp::Expression::Sequence
533
+ def match_length; end
534
+ end
535
+ class Regexp::Expression::CharacterSet::Intersection < Regexp::Expression::SequenceOperation
536
+ def match_length; end
537
+ end
538
+ class Regexp::Expression::CharacterSet::Range < Regexp::Expression::Subexpression
539
+ def <<(exp); end
540
+ def complete?; end
541
+ def match_length; end
542
+ def starts_at; end
543
+ def to_s(_format = nil); end
544
+ def ts; end
545
+ end
546
+ module Regexp::Expression::Conditional
547
+ end
548
+ class Regexp::Expression::Conditional::TooManyBranches < Regexp::Parser::Error
549
+ def initialize; end
550
+ end
551
+ class Regexp::Expression::Conditional::Condition < Regexp::Expression::Base
552
+ def initialize_copy(orig); end
553
+ def match_length; end
554
+ def reference; end
555
+ def referenced_expression; end
556
+ def referenced_expression=(arg0); end
557
+ end
558
+ class Regexp::Expression::Conditional::Branch < Regexp::Expression::Sequence
559
+ end
560
+ class Regexp::Expression::Conditional::Expression < Regexp::Expression::Subexpression
561
+ def <<(exp); end
562
+ def add_sequence(active_opts = nil); end
563
+ def branch(active_opts = nil); end
564
+ def branches; end
565
+ def condition; end
566
+ def condition=(exp); end
567
+ def initialize_copy(orig); end
568
+ def match_length; end
569
+ def reference; end
570
+ def referenced_expression; end
571
+ def referenced_expression=(arg0); end
572
+ def to_s(format = nil); end
573
+ end
574
+ module Regexp::Expression::EscapeSequence
575
+ end
576
+ class Regexp::Expression::EscapeSequence::Base < Regexp::Expression::Base
577
+ def char; end
578
+ def codepoint; end
579
+ def match_length; end
580
+ end
581
+ class Regexp::Expression::EscapeSequence::Literal < Regexp::Expression::EscapeSequence::Base
582
+ def char; end
583
+ end
584
+ class Regexp::Expression::EscapeSequence::AsciiEscape < Regexp::Expression::EscapeSequence::Base
585
+ end
586
+ class Regexp::Expression::EscapeSequence::Backspace < Regexp::Expression::EscapeSequence::Base
587
+ end
588
+ class Regexp::Expression::EscapeSequence::Bell < Regexp::Expression::EscapeSequence::Base
589
+ end
590
+ class Regexp::Expression::EscapeSequence::FormFeed < Regexp::Expression::EscapeSequence::Base
591
+ end
592
+ class Regexp::Expression::EscapeSequence::Newline < Regexp::Expression::EscapeSequence::Base
593
+ end
594
+ class Regexp::Expression::EscapeSequence::Return < Regexp::Expression::EscapeSequence::Base
595
+ end
596
+ class Regexp::Expression::EscapeSequence::Tab < Regexp::Expression::EscapeSequence::Base
597
+ end
598
+ class Regexp::Expression::EscapeSequence::VerticalTab < Regexp::Expression::EscapeSequence::Base
599
+ end
600
+ class Regexp::Expression::EscapeSequence::Hex < Regexp::Expression::EscapeSequence::Base
601
+ end
602
+ class Regexp::Expression::EscapeSequence::Codepoint < Regexp::Expression::EscapeSequence::Base
603
+ end
604
+ class Regexp::Expression::EscapeSequence::CodepointList < Regexp::Expression::EscapeSequence::Base
605
+ def char; end
606
+ def chars; end
607
+ def codepoint; end
608
+ def codepoints; end
609
+ def match_length; end
610
+ end
611
+ class Regexp::Expression::EscapeSequence::Octal < Regexp::Expression::EscapeSequence::Base
612
+ def char; end
613
+ end
614
+ class Regexp::Expression::EscapeSequence::AbstractMetaControlSequence < Regexp::Expression::EscapeSequence::Base
615
+ def char; end
616
+ def control_sequence_to_s(control_sequence); end
617
+ def meta_char_to_codepoint(meta_char); end
618
+ end
619
+ class Regexp::Expression::EscapeSequence::Control < Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
620
+ def codepoint; end
621
+ end
622
+ class Regexp::Expression::EscapeSequence::Meta < Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
623
+ def codepoint; end
624
+ end
625
+ class Regexp::Expression::EscapeSequence::MetaControl < Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
626
+ def codepoint; end
627
+ end
628
+ class Regexp::Expression::FreeSpace < Regexp::Expression::Base
629
+ def match_length; end
630
+ def quantify(_token, _text, _min = nil, _max = nil, _mode = nil); end
631
+ end
632
+ class Regexp::Expression::Comment < Regexp::Expression::FreeSpace
633
+ end
634
+ class Regexp::Expression::WhiteSpace < Regexp::Expression::FreeSpace
635
+ def merge(exp); end
636
+ end
637
+ module Regexp::Expression::Group
638
+ end
639
+ class Regexp::Expression::Group::Base < Regexp::Expression::Subexpression
640
+ def capturing?; end
641
+ def comment?; end
642
+ def to_s(format = nil); end
643
+ end
644
+ class Regexp::Expression::Group::Passive < Regexp::Expression::Group::Base
645
+ def implicit=(arg0); end
646
+ def implicit?; end
647
+ def initialize(*arg0); end
648
+ def to_s(format = nil); end
649
+ end
650
+ class Regexp::Expression::Group::Absence < Regexp::Expression::Group::Base
651
+ def match_length; end
652
+ end
653
+ class Regexp::Expression::Group::Atomic < Regexp::Expression::Group::Base
654
+ end
655
+ class Regexp::Expression::Group::Options < Regexp::Expression::Group::Base
656
+ def initialize_copy(orig); end
657
+ def option_changes; end
658
+ def option_changes=(arg0); end
659
+ end
660
+ class Regexp::Expression::Group::Capture < Regexp::Expression::Group::Base
661
+ def capturing?; end
662
+ def identifier; end
663
+ def number; end
664
+ def number=(arg0); end
665
+ def number_at_level; end
666
+ def number_at_level=(arg0); end
667
+ end
668
+ class Regexp::Expression::Group::Named < Regexp::Expression::Group::Capture
669
+ def identifier; end
670
+ def initialize(token, options = nil); end
671
+ def initialize_copy(orig); end
672
+ def name; end
673
+ end
674
+ class Regexp::Expression::Group::Comment < Regexp::Expression::Group::Base
675
+ def comment?; end
676
+ def to_s(_format = nil); end
677
+ end
678
+ module Regexp::Expression::Assertion
679
+ end
680
+ class Regexp::Expression::Assertion::Base < Regexp::Expression::Group::Base
681
+ def match_length; end
682
+ end
683
+ class Regexp::Expression::Assertion::Lookahead < Regexp::Expression::Assertion::Base
684
+ end
685
+ class Regexp::Expression::Assertion::NegativeLookahead < Regexp::Expression::Assertion::Base
686
+ end
687
+ class Regexp::Expression::Assertion::Lookbehind < Regexp::Expression::Assertion::Base
688
+ end
689
+ class Regexp::Expression::Assertion::NegativeLookbehind < Regexp::Expression::Assertion::Base
690
+ end
691
+ module Regexp::Expression::Keep
692
+ end
693
+ class Regexp::Expression::Keep::Mark < Regexp::Expression::Base
694
+ def match_length; end
695
+ end
696
+ class Regexp::Expression::Literal < Regexp::Expression::Base
697
+ def match_length; end
698
+ end
699
+ class Regexp::Expression::PosixClass < Regexp::Expression::Base
700
+ def match_length; end
701
+ def name; end
702
+ def negative?; end
703
+ end
704
+ module Regexp::Expression::UnicodeProperty
705
+ end
706
+ class Regexp::Expression::UnicodeProperty::Base < Regexp::Expression::Base
707
+ def match_length; end
708
+ def name; end
709
+ def negative?; end
710
+ def shortcut; end
711
+ end
712
+ class Regexp::Expression::UnicodeProperty::Alnum < Regexp::Expression::UnicodeProperty::Base
713
+ end
714
+ class Regexp::Expression::UnicodeProperty::Alpha < Regexp::Expression::UnicodeProperty::Base
715
+ end
716
+ class Regexp::Expression::UnicodeProperty::Ascii < Regexp::Expression::UnicodeProperty::Base
717
+ end
718
+ class Regexp::Expression::UnicodeProperty::Blank < Regexp::Expression::UnicodeProperty::Base
719
+ end
720
+ class Regexp::Expression::UnicodeProperty::Cntrl < Regexp::Expression::UnicodeProperty::Base
721
+ end
722
+ class Regexp::Expression::UnicodeProperty::Digit < Regexp::Expression::UnicodeProperty::Base
723
+ end
724
+ class Regexp::Expression::UnicodeProperty::Graph < Regexp::Expression::UnicodeProperty::Base
725
+ end
726
+ class Regexp::Expression::UnicodeProperty::Lower < Regexp::Expression::UnicodeProperty::Base
727
+ end
728
+ class Regexp::Expression::UnicodeProperty::Print < Regexp::Expression::UnicodeProperty::Base
729
+ end
730
+ class Regexp::Expression::UnicodeProperty::Punct < Regexp::Expression::UnicodeProperty::Base
731
+ end
732
+ class Regexp::Expression::UnicodeProperty::Space < Regexp::Expression::UnicodeProperty::Base
733
+ end
734
+ class Regexp::Expression::UnicodeProperty::Upper < Regexp::Expression::UnicodeProperty::Base
735
+ end
736
+ class Regexp::Expression::UnicodeProperty::Word < Regexp::Expression::UnicodeProperty::Base
737
+ end
738
+ class Regexp::Expression::UnicodeProperty::Xdigit < Regexp::Expression::UnicodeProperty::Base
739
+ end
740
+ class Regexp::Expression::UnicodeProperty::XPosixPunct < Regexp::Expression::UnicodeProperty::Base
741
+ end
742
+ class Regexp::Expression::UnicodeProperty::Newline < Regexp::Expression::UnicodeProperty::Base
743
+ end
744
+ class Regexp::Expression::UnicodeProperty::Any < Regexp::Expression::UnicodeProperty::Base
745
+ end
746
+ class Regexp::Expression::UnicodeProperty::Assigned < Regexp::Expression::UnicodeProperty::Base
747
+ end
748
+ module Regexp::Expression::UnicodeProperty::Letter
749
+ end
750
+ class Regexp::Expression::UnicodeProperty::Letter::Base < Regexp::Expression::UnicodeProperty::Base
751
+ end
752
+ class Regexp::Expression::UnicodeProperty::Letter::Any < Regexp::Expression::UnicodeProperty::Letter::Base
753
+ end
754
+ class Regexp::Expression::UnicodeProperty::Letter::Cased < Regexp::Expression::UnicodeProperty::Letter::Base
755
+ end
756
+ class Regexp::Expression::UnicodeProperty::Letter::Uppercase < Regexp::Expression::UnicodeProperty::Letter::Base
757
+ end
758
+ class Regexp::Expression::UnicodeProperty::Letter::Lowercase < Regexp::Expression::UnicodeProperty::Letter::Base
759
+ end
760
+ class Regexp::Expression::UnicodeProperty::Letter::Titlecase < Regexp::Expression::UnicodeProperty::Letter::Base
761
+ end
762
+ class Regexp::Expression::UnicodeProperty::Letter::Modifier < Regexp::Expression::UnicodeProperty::Letter::Base
763
+ end
764
+ class Regexp::Expression::UnicodeProperty::Letter::Other < Regexp::Expression::UnicodeProperty::Letter::Base
765
+ end
766
+ module Regexp::Expression::UnicodeProperty::Mark
767
+ end
768
+ class Regexp::Expression::UnicodeProperty::Mark::Base < Regexp::Expression::UnicodeProperty::Base
769
+ end
770
+ class Regexp::Expression::UnicodeProperty::Mark::Any < Regexp::Expression::UnicodeProperty::Mark::Base
771
+ end
772
+ class Regexp::Expression::UnicodeProperty::Mark::Combining < Regexp::Expression::UnicodeProperty::Mark::Base
773
+ end
774
+ class Regexp::Expression::UnicodeProperty::Mark::Nonspacing < Regexp::Expression::UnicodeProperty::Mark::Base
775
+ end
776
+ class Regexp::Expression::UnicodeProperty::Mark::Spacing < Regexp::Expression::UnicodeProperty::Mark::Base
777
+ end
778
+ class Regexp::Expression::UnicodeProperty::Mark::Enclosing < Regexp::Expression::UnicodeProperty::Mark::Base
779
+ end
780
+ module Regexp::Expression::UnicodeProperty::Number
781
+ end
782
+ class Regexp::Expression::UnicodeProperty::Number::Base < Regexp::Expression::UnicodeProperty::Base
783
+ end
784
+ class Regexp::Expression::UnicodeProperty::Number::Any < Regexp::Expression::UnicodeProperty::Number::Base
785
+ end
786
+ class Regexp::Expression::UnicodeProperty::Number::Decimal < Regexp::Expression::UnicodeProperty::Number::Base
787
+ end
788
+ class Regexp::Expression::UnicodeProperty::Number::Letter < Regexp::Expression::UnicodeProperty::Number::Base
789
+ end
790
+ class Regexp::Expression::UnicodeProperty::Number::Other < Regexp::Expression::UnicodeProperty::Number::Base
791
+ end
792
+ module Regexp::Expression::UnicodeProperty::Punctuation
793
+ end
794
+ class Regexp::Expression::UnicodeProperty::Punctuation::Base < Regexp::Expression::UnicodeProperty::Base
795
+ end
796
+ class Regexp::Expression::UnicodeProperty::Punctuation::Any < Regexp::Expression::UnicodeProperty::Punctuation::Base
797
+ end
798
+ class Regexp::Expression::UnicodeProperty::Punctuation::Connector < Regexp::Expression::UnicodeProperty::Punctuation::Base
799
+ end
800
+ class Regexp::Expression::UnicodeProperty::Punctuation::Dash < Regexp::Expression::UnicodeProperty::Punctuation::Base
801
+ end
802
+ class Regexp::Expression::UnicodeProperty::Punctuation::Open < Regexp::Expression::UnicodeProperty::Punctuation::Base
803
+ end
804
+ class Regexp::Expression::UnicodeProperty::Punctuation::Close < Regexp::Expression::UnicodeProperty::Punctuation::Base
805
+ end
806
+ class Regexp::Expression::UnicodeProperty::Punctuation::Initial < Regexp::Expression::UnicodeProperty::Punctuation::Base
807
+ end
808
+ class Regexp::Expression::UnicodeProperty::Punctuation::Final < Regexp::Expression::UnicodeProperty::Punctuation::Base
809
+ end
810
+ class Regexp::Expression::UnicodeProperty::Punctuation::Other < Regexp::Expression::UnicodeProperty::Punctuation::Base
811
+ end
812
+ module Regexp::Expression::UnicodeProperty::Separator
813
+ end
814
+ class Regexp::Expression::UnicodeProperty::Separator::Base < Regexp::Expression::UnicodeProperty::Base
815
+ end
816
+ class Regexp::Expression::UnicodeProperty::Separator::Any < Regexp::Expression::UnicodeProperty::Separator::Base
817
+ end
818
+ class Regexp::Expression::UnicodeProperty::Separator::Space < Regexp::Expression::UnicodeProperty::Separator::Base
819
+ end
820
+ class Regexp::Expression::UnicodeProperty::Separator::Line < Regexp::Expression::UnicodeProperty::Separator::Base
821
+ end
822
+ class Regexp::Expression::UnicodeProperty::Separator::Paragraph < Regexp::Expression::UnicodeProperty::Separator::Base
823
+ end
824
+ module Regexp::Expression::UnicodeProperty::Symbol
825
+ end
826
+ class Regexp::Expression::UnicodeProperty::Symbol::Base < Regexp::Expression::UnicodeProperty::Base
827
+ end
828
+ class Regexp::Expression::UnicodeProperty::Symbol::Any < Regexp::Expression::UnicodeProperty::Symbol::Base
829
+ end
830
+ class Regexp::Expression::UnicodeProperty::Symbol::Math < Regexp::Expression::UnicodeProperty::Symbol::Base
831
+ end
832
+ class Regexp::Expression::UnicodeProperty::Symbol::Currency < Regexp::Expression::UnicodeProperty::Symbol::Base
833
+ end
834
+ class Regexp::Expression::UnicodeProperty::Symbol::Modifier < Regexp::Expression::UnicodeProperty::Symbol::Base
835
+ end
836
+ class Regexp::Expression::UnicodeProperty::Symbol::Other < Regexp::Expression::UnicodeProperty::Symbol::Base
837
+ end
838
+ module Regexp::Expression::UnicodeProperty::Codepoint
839
+ end
840
+ class Regexp::Expression::UnicodeProperty::Codepoint::Base < Regexp::Expression::UnicodeProperty::Base
841
+ end
842
+ class Regexp::Expression::UnicodeProperty::Codepoint::Any < Regexp::Expression::UnicodeProperty::Codepoint::Base
843
+ end
844
+ class Regexp::Expression::UnicodeProperty::Codepoint::Control < Regexp::Expression::UnicodeProperty::Codepoint::Base
845
+ end
846
+ class Regexp::Expression::UnicodeProperty::Codepoint::Format < Regexp::Expression::UnicodeProperty::Codepoint::Base
847
+ end
848
+ class Regexp::Expression::UnicodeProperty::Codepoint::Surrogate < Regexp::Expression::UnicodeProperty::Codepoint::Base
849
+ end
850
+ class Regexp::Expression::UnicodeProperty::Codepoint::PrivateUse < Regexp::Expression::UnicodeProperty::Codepoint::Base
851
+ end
852
+ class Regexp::Expression::UnicodeProperty::Codepoint::Unassigned < Regexp::Expression::UnicodeProperty::Codepoint::Base
853
+ end
854
+ class Regexp::Expression::UnicodeProperty::Age < Regexp::Expression::UnicodeProperty::Base
855
+ end
856
+ class Regexp::Expression::UnicodeProperty::Derived < Regexp::Expression::UnicodeProperty::Base
857
+ end
858
+ class Regexp::Expression::UnicodeProperty::Emoji < Regexp::Expression::UnicodeProperty::Base
859
+ end
860
+ class Regexp::Expression::UnicodeProperty::Script < Regexp::Expression::UnicodeProperty::Base
861
+ end
862
+ class Regexp::Expression::UnicodeProperty::Block < Regexp::Expression::UnicodeProperty::Base
863
+ end
864
+ class Regexp::Expression::Root < Regexp::Expression::Subexpression
865
+ def self.build(options = nil); end
866
+ def self.build_token; end
867
+ end
868
+ module Regexp::Expression::CharacterType
869
+ end
870
+ class Regexp::Expression::CharacterType::Base < Regexp::Expression::Base
871
+ def match_length; end
872
+ end
873
+ class Regexp::Expression::CharacterType::Any < Regexp::Expression::CharacterType::Base
874
+ end
875
+ class Regexp::Expression::CharacterType::Digit < Regexp::Expression::CharacterType::Base
876
+ end
877
+ class Regexp::Expression::CharacterType::NonDigit < Regexp::Expression::CharacterType::Base
878
+ end
879
+ class Regexp::Expression::CharacterType::Hex < Regexp::Expression::CharacterType::Base
880
+ end
881
+ class Regexp::Expression::CharacterType::NonHex < Regexp::Expression::CharacterType::Base
882
+ end
883
+ class Regexp::Expression::CharacterType::Word < Regexp::Expression::CharacterType::Base
884
+ end
885
+ class Regexp::Expression::CharacterType::NonWord < Regexp::Expression::CharacterType::Base
886
+ end
887
+ class Regexp::Expression::CharacterType::Space < Regexp::Expression::CharacterType::Base
888
+ end
889
+ class Regexp::Expression::CharacterType::NonSpace < Regexp::Expression::CharacterType::Base
890
+ end
891
+ class Regexp::Expression::CharacterType::Linebreak < Regexp::Expression::CharacterType::Base
892
+ end
893
+ class Regexp::Expression::CharacterType::ExtendedGrapheme < Regexp::Expression::CharacterType::Base
894
+ end
895
+ class Regexp::MatchLength
896
+ def base_max; end
897
+ def base_max=(arg0); end
898
+ def base_min; end
899
+ def base_min=(arg0); end
900
+ def each(opts = nil); end
901
+ def endless_each; end
902
+ def exp_class; end
903
+ def exp_class=(arg0); end
904
+ def fixed?; end
905
+ def include?(length); end
906
+ def initialize(exp, opts = nil); end
907
+ def inspect; end
908
+ def max; end
909
+ def max_rep; end
910
+ def max_rep=(arg0); end
911
+ def min; end
912
+ def min_rep; end
913
+ def min_rep=(arg0); end
914
+ def minmax; end
915
+ def reify; end
916
+ def reify=(arg0); end
917
+ def self.of(obj); end
918
+ def test_regexp; end
919
+ def to_re; end
920
+ include Enumerable
921
+ end
922
+ class Regexp::Parser::ParserError < Regexp::Parser::Error
923
+ end
924
+ class Regexp::Parser::UnknownTokenTypeError < Regexp::Parser::ParserError
925
+ def initialize(type, token); end
926
+ end
927
+ class Regexp::Parser::UnknownTokenError < Regexp::Parser::ParserError
928
+ def initialize(type, token); end
929
+ end