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