checkoff 0.201.0 → 0.203.0

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