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