packwerk 2.2.0 → 2.2.1

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