packwerk 3.2.2 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/packwerk/application_validator.rb +2 -1
- data/lib/packwerk/graph.rb +15 -56
- data/lib/packwerk/reference_checking/checkers/dependency_checker.rb +1 -2
- data/lib/packwerk/run_context.rb +5 -0
- data/lib/packwerk/validators/dependency_validator.rb +5 -4
- data/lib/packwerk/version.rb +1 -1
- data/sorbet/rbi/gems/{actionpack@7.0.3.1.rbi → actionpack@7.0.8.7.rbi} +1338 -1227
- data/sorbet/rbi/gems/{actionview@7.0.3.1.rbi → actionview@7.0.8.7.rbi} +548 -503
- data/sorbet/rbi/gems/{activesupport@7.0.3.1.rbi → activesupport@7.0.8.7.rbi} +714 -635
- data/sorbet/rbi/gems/{better_html@2.0.1.rbi → better_html@2.1.1.rbi} +21 -21
- data/sorbet/rbi/gems/{concurrent-ruby@1.1.10.rbi → concurrent-ruby@1.3.5.rbi} +1390 -1366
- data/sorbet/rbi/gems/{constant_resolver@0.2.0.rbi → constant_resolver@0.3.0.rbi} +22 -13
- data/sorbet/rbi/gems/{erubi@1.11.0.rbi → erubi@1.13.1.rbi} +28 -17
- data/sorbet/rbi/gems/{i18n@1.12.0.rbi → i18n@1.14.7.rbi} +234 -172
- data/sorbet/rbi/gems/{json@2.6.2.rbi → json@2.7.2.rbi} +94 -74
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
- data/sorbet/rbi/gems/{loofah@2.18.0.rbi → loofah@2.24.0.rbi} +470 -243
- data/sorbet/rbi/gems/{minitest@5.16.2.rbi → minitest@5.25.4.rbi} +577 -472
- data/sorbet/rbi/gems/{mocha@1.14.0.rbi → mocha@2.5.0.rbi} +468 -684
- data/sorbet/rbi/gems/{nokogiri@1.15.3.rbi → nokogiri@1.18.4.rbi} +1756 -869
- data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.25.1.rbi} +26 -20
- data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.8.1.rbi} +36 -36
- data/sorbet/rbi/gems/{rack-test@2.0.2.rbi → rack-test@2.2.0.rbi} +87 -114
- data/sorbet/rbi/gems/{rack@2.2.4.rbi → rack@2.2.13.rbi} +243 -195
- data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +754 -0
- data/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi +764 -0
- data/sorbet/rbi/gems/{railties@7.0.3.1.rbi → railties@7.0.8.7.rbi} +146 -140
- data/sorbet/rbi/gems/{regexp_parser@2.5.0.rbi → regexp_parser@2.9.2.rbi} +947 -542
- data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.3.9.rbi} +452 -312
- data/sorbet/rbi/gems/{rubocop-ast@1.21.0.rbi → rubocop-ast@1.31.3.rbi} +717 -588
- data/sorbet/rbi/gems/{rubocop@1.34.1.rbi → rubocop@1.64.1.rbi} +10916 -4406
- data/sorbet/rbi/gems/{ruby-progressbar@1.11.0.rbi → ruby-progressbar@1.13.0.rbi} +359 -281
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
- data/sorbet/rbi/gems/{tzinfo@2.0.5.rbi → tzinfo@2.0.6.rbi} +144 -141
- data/sorbet/rbi/gems/{unicode-display_width@2.2.0.rbi → unicode-display_width@2.5.0.rbi} +24 -7
- metadata +36 -41
- data/sorbet/rbi/gems/language_server-protocol@3.16.0.3.rbi +0 -8
- data/sorbet/rbi/gems/prettier_print@0.1.0.rbi +0 -8
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -455
- data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +0 -542
- data/sorbet/rbi/gems/ruby-lsp@0.2.3.rbi +0 -11
- data/sorbet/rbi/gems/syntax_tree@3.3.0.rbi +0 -8
- /data/sorbet/rbi/gems/{builder@3.2.4.rbi → builder@3.3.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{parser@3.3.1.0.rbi → parser@3.3.3.0.rbi} +0 -0
@@ -12,17 +12,23 @@ class Regexp::Expression::Alternation < ::Regexp::Expression::SequenceOperation
|
|
12
12
|
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#5
|
13
13
|
def alternatives; end
|
14
14
|
|
15
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/
|
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#131
|
16
19
|
def match_length; end
|
17
20
|
end
|
18
21
|
|
19
22
|
# source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#6
|
20
23
|
Regexp::Expression::Alternation::OPERAND = Regexp::Expression::Alternative
|
21
24
|
|
22
|
-
# A sequence of expressions, used by Alternation as one of its
|
25
|
+
# A sequence of expressions, used by Alternation as one of its alternatives.
|
23
26
|
#
|
24
27
|
# source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#3
|
25
|
-
class Regexp::Expression::Alternative < ::Regexp::Expression::Sequence
|
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
|
26
32
|
|
27
33
|
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#2
|
28
34
|
module Regexp::Expression::Anchor; end
|
@@ -35,15 +41,21 @@ Regexp::Expression::Anchor::BOS = Regexp::Expression::Anchor::BeginningOfString
|
|
35
41
|
|
36
42
|
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#3
|
37
43
|
class Regexp::Expression::Anchor::Base < ::Regexp::Expression::Base
|
38
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#
|
44
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#148
|
39
45
|
def match_length; end
|
40
46
|
end
|
41
47
|
|
42
48
|
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#5
|
43
|
-
class Regexp::Expression::Anchor::BeginningOfLine < ::Regexp::Expression::Anchor::Base
|
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
|
44
53
|
|
45
54
|
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#8
|
46
|
-
class Regexp::Expression::Anchor::BeginningOfString < ::Regexp::Expression::Anchor::Base
|
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
|
47
59
|
|
48
60
|
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#19
|
49
61
|
Regexp::Expression::Anchor::EOL = Regexp::Expression::Anchor::EndOfLine
|
@@ -55,160 +67,225 @@ Regexp::Expression::Anchor::EOS = Regexp::Expression::Anchor::EndOfString
|
|
55
67
|
Regexp::Expression::Anchor::EOSobEOL = Regexp::Expression::Anchor::EndOfStringOrBeforeEndOfLine
|
56
68
|
|
57
69
|
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#6
|
58
|
-
class Regexp::Expression::Anchor::EndOfLine < ::Regexp::Expression::Anchor::Base
|
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
|
59
74
|
|
60
75
|
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#9
|
61
|
-
class Regexp::Expression::Anchor::EndOfString < ::Regexp::Expression::Anchor::Base
|
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
|
62
80
|
|
63
81
|
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#11
|
64
|
-
class Regexp::Expression::Anchor::EndOfStringOrBeforeEndOfLine < ::Regexp::Expression::Anchor::Base
|
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
|
65
86
|
|
66
87
|
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#16
|
67
|
-
class Regexp::Expression::Anchor::MatchStart < ::Regexp::Expression::Anchor::Base
|
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
|
68
92
|
|
69
93
|
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#14
|
70
|
-
class Regexp::Expression::Anchor::NonWordBoundary < ::Regexp::Expression::Anchor::Base
|
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
|
+
|
98
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#13
|
99
|
+
def negative?; end
|
100
|
+
end
|
71
101
|
|
72
102
|
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#13
|
73
|
-
class Regexp::Expression::Anchor::WordBoundary < ::Regexp::Expression::Anchor::Base
|
103
|
+
class Regexp::Expression::Anchor::WordBoundary < ::Regexp::Expression::Anchor::Base
|
104
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#18
|
105
|
+
def human_name; end
|
106
|
+
end
|
74
107
|
|
75
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
108
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#64
|
76
109
|
module Regexp::Expression::Assertion; end
|
77
110
|
|
78
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
111
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#65
|
79
112
|
class Regexp::Expression::Assertion::Base < ::Regexp::Expression::Group::Base
|
80
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#
|
113
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#148
|
81
114
|
def match_length; end
|
82
115
|
end
|
83
116
|
|
84
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
85
|
-
class Regexp::Expression::Assertion::Lookahead < ::Regexp::Expression::Assertion::Base
|
117
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#67
|
118
|
+
class Regexp::Expression::Assertion::Lookahead < ::Regexp::Expression::Assertion::Base
|
119
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#19
|
120
|
+
def human_name; end
|
121
|
+
end
|
86
122
|
|
87
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
88
|
-
class Regexp::Expression::Assertion::Lookbehind < ::Regexp::Expression::Assertion::Base
|
123
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#70
|
124
|
+
class Regexp::Expression::Assertion::Lookbehind < ::Regexp::Expression::Assertion::Base
|
125
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#20
|
126
|
+
def human_name; end
|
127
|
+
end
|
89
128
|
|
90
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
91
|
-
class Regexp::Expression::Assertion::NegativeLookahead < ::Regexp::Expression::Assertion::Base
|
129
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#68
|
130
|
+
class Regexp::Expression::Assertion::NegativeLookahead < ::Regexp::Expression::Assertion::Base
|
131
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#21
|
132
|
+
def human_name; end
|
92
133
|
|
93
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
94
|
-
|
134
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#14
|
135
|
+
def negative?; end
|
136
|
+
end
|
95
137
|
|
96
|
-
#
|
138
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#71
|
139
|
+
class Regexp::Expression::Assertion::NegativeLookbehind < ::Regexp::Expression::Assertion::Base
|
140
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#22
|
141
|
+
def human_name; end
|
142
|
+
|
143
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#15
|
144
|
+
def negative?; end
|
145
|
+
end
|
146
|
+
|
147
|
+
# alias for symmetry between token symbol and Expression class name
|
97
148
|
#
|
98
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
149
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#74
|
150
|
+
Regexp::Expression::Backref = Regexp::Expression::Backreference
|
151
|
+
|
152
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#2
|
99
153
|
module Regexp::Expression::Backreference; end
|
100
154
|
|
101
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
155
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#3
|
102
156
|
class Regexp::Expression::Backreference::Base < ::Regexp::Expression::Base
|
103
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#
|
157
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#155
|
104
158
|
def match_length; end
|
105
159
|
|
106
160
|
# Returns the value of attribute referenced_expression.
|
107
161
|
#
|
108
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
162
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#4
|
109
163
|
def referenced_expression; end
|
110
164
|
|
111
165
|
# Sets the attribute referenced_expression
|
112
166
|
#
|
113
167
|
# @param value the value to set the attribute referenced_expression to.
|
114
168
|
#
|
115
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
169
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#4
|
116
170
|
def referenced_expression=(_arg0); end
|
117
171
|
|
118
172
|
private
|
119
173
|
|
120
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
174
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#6
|
121
175
|
def initialize_copy(orig); end
|
176
|
+
|
177
|
+
class << self
|
178
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#140
|
179
|
+
def referential?; end
|
180
|
+
end
|
122
181
|
end
|
123
182
|
|
124
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
183
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#34
|
125
184
|
class Regexp::Expression::Backreference::Name < ::Regexp::Expression::Backreference::Base
|
126
185
|
# @return [Name] a new instance of Name
|
127
186
|
#
|
128
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
187
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#38
|
129
188
|
def initialize(token, options = T.unsafe(nil)); end
|
130
189
|
|
190
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#23
|
191
|
+
def human_name; end
|
192
|
+
|
131
193
|
# Returns the value of attribute name.
|
132
194
|
#
|
133
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
195
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#35
|
134
196
|
def name; end
|
135
197
|
|
136
198
|
# Returns the value of attribute name.
|
137
199
|
#
|
138
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
200
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#35
|
139
201
|
def reference; end
|
140
202
|
end
|
141
203
|
|
142
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
143
|
-
class Regexp::Expression::Backreference::NameCall < ::Regexp::Expression::Backreference::Name
|
204
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#50
|
205
|
+
class Regexp::Expression::Backreference::NameCall < ::Regexp::Expression::Backreference::Name
|
206
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#24
|
207
|
+
def human_name; end
|
208
|
+
end
|
144
209
|
|
145
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
210
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#62
|
146
211
|
class Regexp::Expression::Backreference::NameRecursionLevel < ::Regexp::Expression::Backreference::Name
|
147
212
|
# @return [NameRecursionLevel] a new instance of NameRecursionLevel
|
148
213
|
#
|
149
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
214
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#65
|
150
215
|
def initialize(token, options = T.unsafe(nil)); end
|
151
216
|
|
152
217
|
# Returns the value of attribute recursion_level.
|
153
218
|
#
|
154
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
219
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#63
|
155
220
|
def recursion_level; end
|
156
221
|
end
|
157
222
|
|
158
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
223
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#24
|
159
224
|
class Regexp::Expression::Backreference::Number < ::Regexp::Expression::Backreference::Base
|
160
225
|
# @return [Number] a new instance of Number
|
161
226
|
#
|
162
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
227
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#28
|
163
228
|
def initialize(token, options = T.unsafe(nil)); end
|
164
229
|
|
230
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#25
|
231
|
+
def human_name; end
|
232
|
+
|
165
233
|
# Returns the value of attribute number.
|
166
234
|
#
|
167
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
235
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#25
|
168
236
|
def number; end
|
169
237
|
|
170
238
|
# Returns the value of attribute number.
|
171
239
|
#
|
172
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
240
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#25
|
173
241
|
def reference; end
|
174
242
|
end
|
175
243
|
|
176
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
177
|
-
class Regexp::Expression::Backreference::NumberCall < ::Regexp::Expression::Backreference::Number
|
244
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#49
|
245
|
+
class Regexp::Expression::Backreference::NumberCall < ::Regexp::Expression::Backreference::Number
|
246
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#27
|
247
|
+
def human_name; end
|
248
|
+
end
|
178
249
|
|
179
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
180
|
-
class Regexp::Expression::Backreference::NumberCallRelative < ::Regexp::Expression::Backreference::NumberRelative
|
250
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#51
|
251
|
+
class Regexp::Expression::Backreference::NumberCallRelative < ::Regexp::Expression::Backreference::NumberRelative
|
252
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#28
|
253
|
+
def human_name; end
|
254
|
+
end
|
181
255
|
|
182
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
183
|
-
class Regexp::Expression::Backreference::NumberRecursionLevel < ::Regexp::Expression::Backreference::
|
256
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#53
|
257
|
+
class Regexp::Expression::Backreference::NumberRecursionLevel < ::Regexp::Expression::Backreference::NumberRelative
|
184
258
|
# @return [NumberRecursionLevel] a new instance of NumberRecursionLevel
|
185
259
|
#
|
186
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
260
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#56
|
187
261
|
def initialize(token, options = T.unsafe(nil)); end
|
188
262
|
|
189
263
|
# Returns the value of attribute recursion_level.
|
190
264
|
#
|
191
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
265
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#54
|
192
266
|
def recursion_level; end
|
193
267
|
end
|
194
268
|
|
195
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
269
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#44
|
196
270
|
class Regexp::Expression::Backreference::NumberRelative < ::Regexp::Expression::Backreference::Number
|
197
271
|
# Returns the value of attribute effective_number.
|
198
272
|
#
|
199
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
273
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#45
|
200
274
|
def effective_number; end
|
201
275
|
|
202
276
|
# Sets the attribute effective_number
|
203
277
|
#
|
204
278
|
# @param value the value to set the attribute effective_number to.
|
205
279
|
#
|
206
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
280
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#45
|
207
281
|
def effective_number=(_arg0); end
|
208
282
|
|
283
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#26
|
284
|
+
def human_name; end
|
285
|
+
|
209
286
|
# Returns the value of attribute effective_number.
|
210
287
|
#
|
211
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#
|
288
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#45
|
212
289
|
def reference; end
|
213
290
|
end
|
214
291
|
|
@@ -235,7 +312,7 @@ class Regexp::Expression::Base
|
|
235
312
|
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#25
|
236
313
|
def ascii_classes?; end
|
237
314
|
|
238
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
315
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#60
|
239
316
|
def attributes; end
|
240
317
|
|
241
318
|
# @return [Boolean]
|
@@ -249,6 +326,12 @@ class Regexp::Expression::Base
|
|
249
326
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
250
327
|
def conditional_level=(_arg0); end
|
251
328
|
|
329
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
330
|
+
def custom_to_s_handling; end
|
331
|
+
|
332
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
333
|
+
def custom_to_s_handling=(_arg0); end
|
334
|
+
|
252
335
|
# @return [Boolean]
|
253
336
|
#
|
254
337
|
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#20
|
@@ -271,7 +354,7 @@ class Regexp::Expression::Base
|
|
271
354
|
|
272
355
|
# @return [Boolean]
|
273
356
|
#
|
274
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
357
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#47
|
275
358
|
def greedy?; end
|
276
359
|
|
277
360
|
# @return [Boolean]
|
@@ -286,7 +369,7 @@ class Regexp::Expression::Base
|
|
286
369
|
|
287
370
|
# @return [Boolean]
|
288
371
|
#
|
289
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
372
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#51
|
290
373
|
def lazy?; end
|
291
374
|
|
292
375
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -318,7 +401,7 @@ class Regexp::Expression::Base
|
|
318
401
|
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#3
|
319
402
|
def multiline?; end
|
320
403
|
|
321
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
404
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#14
|
322
405
|
def nesting_level; end
|
323
406
|
|
324
407
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -327,31 +410,40 @@ class Regexp::Expression::Base
|
|
327
410
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
328
411
|
def options=(_arg0); end
|
329
412
|
|
413
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
414
|
+
def parent; end
|
415
|
+
|
416
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
417
|
+
def parent=(_arg0); end
|
418
|
+
|
330
419
|
# @return [Boolean]
|
331
420
|
#
|
332
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
421
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#56
|
333
422
|
def possessive?; end
|
334
423
|
|
335
424
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
336
|
-
def
|
425
|
+
def pre_quantifier_decorations; end
|
337
426
|
|
338
427
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
339
|
-
def
|
428
|
+
def pre_quantifier_decorations=(_arg0); end
|
340
429
|
|
341
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
430
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#14
|
431
|
+
def quantifier; end
|
432
|
+
|
433
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#17
|
342
434
|
def quantify(*args); end
|
343
435
|
|
344
436
|
# Deprecated. Prefer `#repetitions` which has a more uniform interface.
|
345
437
|
#
|
346
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
438
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#26
|
347
439
|
def quantity; end
|
348
440
|
|
349
441
|
# @return [Boolean]
|
350
442
|
#
|
351
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
443
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#51
|
352
444
|
def reluctant?; end
|
353
445
|
|
354
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
446
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#31
|
355
447
|
def repetitions; end
|
356
448
|
|
357
449
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -444,10 +536,10 @@ class Regexp::Expression::Base
|
|
444
536
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
445
537
|
def text=(_arg0); end
|
446
538
|
|
447
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
539
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#60
|
448
540
|
def to_h; end
|
449
541
|
|
450
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
542
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#9
|
451
543
|
def to_re(format = T.unsafe(nil)); end
|
452
544
|
|
453
545
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -478,28 +570,23 @@ class Regexp::Expression::Base
|
|
478
570
|
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#30
|
479
571
|
def unicode_classes?; end
|
480
572
|
|
481
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#
|
573
|
+
# source://regexp_parser//lib/regexp_parser/expression/base.rb#21
|
482
574
|
def unquantified_clone; end
|
483
575
|
|
484
576
|
# @return [Boolean]
|
485
577
|
#
|
486
578
|
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#14
|
487
579
|
def x?; end
|
488
|
-
|
489
|
-
private
|
490
|
-
|
491
|
-
# source://regexp_parser//lib/regexp_parser/expression/base.rb#9
|
492
|
-
def initialize_copy(orig); end
|
493
580
|
end
|
494
581
|
|
495
582
|
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#2
|
496
583
|
class Regexp::Expression::CharacterSet < ::Regexp::Expression::Subexpression
|
497
584
|
# @return [CharacterSet] a new instance of CharacterSet
|
498
585
|
#
|
499
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#
|
586
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#6
|
500
587
|
def initialize(token, options = T.unsafe(nil)); end
|
501
588
|
|
502
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#
|
589
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#16
|
503
590
|
def close; end
|
504
591
|
|
505
592
|
# Returns the value of attribute closed.
|
@@ -519,17 +606,12 @@ class Regexp::Expression::CharacterSet < ::Regexp::Expression::Subexpression
|
|
519
606
|
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#3
|
520
607
|
def closed?; end
|
521
608
|
|
522
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#
|
609
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
|
523
610
|
def match_length; end
|
524
611
|
|
525
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#
|
612
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#12
|
526
613
|
def negate; end
|
527
614
|
|
528
|
-
# Returns the value of attribute negative.
|
529
|
-
#
|
530
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#3
|
531
|
-
def negated?; end
|
532
|
-
|
533
615
|
# Returns the value of attribute negative.
|
534
616
|
#
|
535
617
|
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#3
|
@@ -542,24 +624,28 @@ class Regexp::Expression::CharacterSet < ::Regexp::Expression::Subexpression
|
|
542
624
|
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#3
|
543
625
|
def negative=(_arg0); end
|
544
626
|
|
545
|
-
#
|
546
|
-
#
|
547
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#3
|
627
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#16
|
548
628
|
def negative?; end
|
549
629
|
|
550
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
630
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#15
|
551
631
|
def parts; end
|
552
632
|
end
|
553
633
|
|
554
634
|
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/intersection.rb#3
|
555
635
|
class Regexp::Expression::CharacterSet::IntersectedSequence < ::Regexp::Expression::Sequence
|
556
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/
|
636
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#29
|
637
|
+
def human_name; end
|
638
|
+
|
639
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
|
557
640
|
def match_length; end
|
558
641
|
end
|
559
642
|
|
560
643
|
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/intersection.rb#5
|
561
644
|
class Regexp::Expression::CharacterSet::Intersection < ::Regexp::Expression::SequenceOperation
|
562
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/
|
645
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#30
|
646
|
+
def human_name; end
|
647
|
+
|
648
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
|
563
649
|
def match_length; end
|
564
650
|
end
|
565
651
|
|
@@ -568,23 +654,23 @@ Regexp::Expression::CharacterSet::Intersection::OPERAND = Regexp::Expression::Ch
|
|
568
654
|
|
569
655
|
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#3
|
570
656
|
class Regexp::Expression::CharacterSet::Range < ::Regexp::Expression::Subexpression
|
571
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#
|
657
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#8
|
572
658
|
def <<(exp); end
|
573
659
|
|
574
660
|
# @return [Boolean]
|
575
661
|
#
|
576
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#
|
662
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#14
|
577
663
|
def complete?; end
|
578
664
|
|
579
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/
|
665
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#31
|
666
|
+
def human_name; end
|
667
|
+
|
668
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
|
580
669
|
def match_length; end
|
581
670
|
|
582
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
671
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#16
|
583
672
|
def parts; end
|
584
673
|
|
585
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#4
|
586
|
-
def starts_at; end
|
587
|
-
|
588
674
|
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#4
|
589
675
|
def ts; end
|
590
676
|
end
|
@@ -593,12 +679,18 @@ end
|
|
593
679
|
module Regexp::Expression::CharacterType; end
|
594
680
|
|
595
681
|
# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#5
|
596
|
-
class Regexp::Expression::CharacterType::Any < ::Regexp::Expression::CharacterType::Base
|
682
|
+
class Regexp::Expression::CharacterType::Any < ::Regexp::Expression::CharacterType::Base
|
683
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#32
|
684
|
+
def human_name; end
|
685
|
+
end
|
597
686
|
|
598
687
|
# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#3
|
599
688
|
class Regexp::Expression::CharacterType::Base < ::Regexp::Expression::Base
|
600
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#
|
689
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
|
601
690
|
def match_length; end
|
691
|
+
|
692
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#17
|
693
|
+
def negative?; end
|
602
694
|
end
|
603
695
|
|
604
696
|
# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#6
|
@@ -632,17 +724,31 @@ class Regexp::Expression::CharacterType::Space < ::Regexp::Expression::Character
|
|
632
724
|
class Regexp::Expression::CharacterType::Word < ::Regexp::Expression::CharacterType::Base; end
|
633
725
|
|
634
726
|
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#8
|
635
|
-
class Regexp::Expression::Comment < ::Regexp::Expression::FreeSpace
|
727
|
+
class Regexp::Expression::Comment < ::Regexp::Expression::FreeSpace
|
728
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#33
|
729
|
+
def human_name; end
|
730
|
+
|
731
|
+
class << self
|
732
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#130
|
733
|
+
def comment?; end
|
734
|
+
end
|
735
|
+
end
|
636
736
|
|
637
737
|
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#2
|
638
738
|
module Regexp::Expression::Conditional; end
|
639
739
|
|
640
740
|
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#25
|
641
|
-
class Regexp::Expression::Conditional::Branch < ::Regexp::Expression::Sequence
|
741
|
+
class Regexp::Expression::Conditional::Branch < ::Regexp::Expression::Sequence
|
742
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#34
|
743
|
+
def human_name; end
|
744
|
+
end
|
642
745
|
|
643
746
|
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#9
|
644
747
|
class Regexp::Expression::Conditional::Condition < ::Regexp::Expression::Base
|
645
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/
|
748
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#35
|
749
|
+
def human_name; end
|
750
|
+
|
751
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#148
|
646
752
|
def match_length; end
|
647
753
|
|
648
754
|
# Name or number of the referenced capturing group that determines state.
|
@@ -667,6 +773,11 @@ class Regexp::Expression::Conditional::Condition < ::Regexp::Expression::Base
|
|
667
773
|
|
668
774
|
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#19
|
669
775
|
def initialize_copy(orig); end
|
776
|
+
|
777
|
+
class << self
|
778
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#141
|
779
|
+
def referential?; end
|
780
|
+
end
|
670
781
|
end
|
671
782
|
|
672
783
|
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#27
|
@@ -677,12 +788,12 @@ class Regexp::Expression::Conditional::Expression < ::Regexp::Expression::Subexp
|
|
677
788
|
# @raise [TooManyBranches]
|
678
789
|
#
|
679
790
|
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#34
|
680
|
-
def add_sequence(active_opts = T.unsafe(nil)); end
|
791
|
+
def add_sequence(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end
|
681
792
|
|
682
793
|
# @raise [TooManyBranches]
|
683
794
|
#
|
684
795
|
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#34
|
685
|
-
def branch(active_opts = T.unsafe(nil)); end
|
796
|
+
def branch(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end
|
686
797
|
|
687
798
|
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#50
|
688
799
|
def branches; end
|
@@ -693,10 +804,13 @@ class Regexp::Expression::Conditional::Expression < ::Regexp::Expression::Subexp
|
|
693
804
|
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#41
|
694
805
|
def condition=(exp); end
|
695
806
|
|
696
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/
|
807
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#36
|
808
|
+
def human_name; end
|
809
|
+
|
810
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#131
|
697
811
|
def match_length; end
|
698
812
|
|
699
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
813
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#17
|
700
814
|
def parts; end
|
701
815
|
|
702
816
|
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#54
|
@@ -716,8 +830,13 @@ class Regexp::Expression::Conditional::Expression < ::Regexp::Expression::Subexp
|
|
716
830
|
|
717
831
|
private
|
718
832
|
|
719
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#
|
833
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#58
|
720
834
|
def initialize_copy(orig); end
|
835
|
+
|
836
|
+
class << self
|
837
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#142
|
838
|
+
def referential?; end
|
839
|
+
end
|
721
840
|
end
|
722
841
|
|
723
842
|
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#3
|
@@ -728,128 +847,136 @@ class Regexp::Expression::Conditional::TooManyBranches < ::Regexp::Parser::Error
|
|
728
847
|
def initialize; end
|
729
848
|
end
|
730
849
|
|
731
|
-
#
|
850
|
+
# alias for symmetry between Token::* and Expression::*
|
732
851
|
#
|
733
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
852
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#101
|
853
|
+
Regexp::Expression::Escape = Regexp::Expression::EscapeSequence
|
854
|
+
|
855
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#2
|
734
856
|
module Regexp::Expression::EscapeSequence; end
|
735
857
|
|
736
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
858
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#63
|
737
859
|
class Regexp::Expression::EscapeSequence::AbstractMetaControlSequence < ::Regexp::Expression::EscapeSequence::Base
|
738
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
860
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#64
|
739
861
|
def char; end
|
740
862
|
|
741
863
|
private
|
742
864
|
|
743
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
865
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#70
|
744
866
|
def control_sequence_to_s(control_sequence); end
|
745
867
|
|
746
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
868
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#75
|
747
869
|
def meta_char_to_codepoint(meta_char); end
|
748
870
|
end
|
749
871
|
|
750
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
872
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#27
|
751
873
|
class Regexp::Expression::EscapeSequence::AsciiEscape < ::Regexp::Expression::EscapeSequence::Base; end
|
752
874
|
|
753
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
875
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#28
|
754
876
|
class Regexp::Expression::EscapeSequence::Backspace < ::Regexp::Expression::EscapeSequence::Base; end
|
755
877
|
|
756
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
878
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#3
|
757
879
|
class Regexp::Expression::EscapeSequence::Base < ::Regexp::Expression::Base
|
758
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
880
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#9
|
759
881
|
def char; end
|
760
882
|
|
761
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
883
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#4
|
762
884
|
def codepoint; end
|
763
885
|
|
764
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#
|
886
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
|
765
887
|
def match_length; end
|
766
888
|
end
|
767
889
|
|
768
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
890
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#29
|
769
891
|
class Regexp::Expression::EscapeSequence::Bell < ::Regexp::Expression::EscapeSequence::Base; end
|
770
892
|
|
771
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
893
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#37
|
772
894
|
class Regexp::Expression::EscapeSequence::Codepoint < ::Regexp::Expression::EscapeSequence::Base; end
|
773
895
|
|
774
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
896
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#39
|
775
897
|
class Regexp::Expression::EscapeSequence::CodepointList < ::Regexp::Expression::EscapeSequence::Base
|
776
898
|
# @raise [NoMethodError]
|
777
899
|
#
|
778
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
900
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#40
|
779
901
|
def char; end
|
780
902
|
|
781
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
903
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#48
|
782
904
|
def chars; end
|
783
905
|
|
784
906
|
# @raise [NoMethodError]
|
785
907
|
#
|
786
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
908
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#44
|
787
909
|
def codepoint; end
|
788
910
|
|
789
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
911
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#52
|
790
912
|
def codepoints; end
|
791
913
|
|
792
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#
|
914
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#164
|
793
915
|
def match_length; end
|
794
916
|
end
|
795
917
|
|
796
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
918
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#81
|
797
919
|
class Regexp::Expression::EscapeSequence::Control < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
|
798
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
920
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#82
|
799
921
|
def codepoint; end
|
800
922
|
end
|
801
923
|
|
802
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
924
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#30
|
803
925
|
class Regexp::Expression::EscapeSequence::FormFeed < ::Regexp::Expression::EscapeSequence::Base; end
|
804
926
|
|
805
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
927
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#36
|
806
928
|
class Regexp::Expression::EscapeSequence::Hex < ::Regexp::Expression::EscapeSequence::Base; end
|
807
929
|
|
808
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
930
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#21
|
809
931
|
class Regexp::Expression::EscapeSequence::Literal < ::Regexp::Expression::EscapeSequence::Base
|
810
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
932
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#22
|
811
933
|
def char; end
|
812
934
|
end
|
813
935
|
|
814
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
936
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#87
|
815
937
|
class Regexp::Expression::EscapeSequence::Meta < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
|
816
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
938
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#88
|
817
939
|
def codepoint; end
|
818
940
|
end
|
819
941
|
|
820
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
942
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#93
|
821
943
|
class Regexp::Expression::EscapeSequence::MetaControl < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
|
822
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
944
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#94
|
823
945
|
def codepoint; end
|
824
946
|
end
|
825
947
|
|
826
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
948
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#31
|
827
949
|
class Regexp::Expression::EscapeSequence::Newline < ::Regexp::Expression::EscapeSequence::Base; end
|
828
950
|
|
829
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
951
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#57
|
830
952
|
class Regexp::Expression::EscapeSequence::Octal < ::Regexp::Expression::EscapeSequence::Base
|
831
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
953
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#58
|
832
954
|
def char; end
|
833
955
|
end
|
834
956
|
|
835
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
957
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#32
|
836
958
|
class Regexp::Expression::EscapeSequence::Return < ::Regexp::Expression::EscapeSequence::Base; end
|
837
959
|
|
838
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
960
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#33
|
839
961
|
class Regexp::Expression::EscapeSequence::Tab < ::Regexp::Expression::EscapeSequence::Base; end
|
840
962
|
|
841
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#
|
963
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#34
|
842
964
|
class Regexp::Expression::EscapeSequence::VerticalTab < ::Regexp::Expression::EscapeSequence::Base; end
|
843
965
|
|
844
966
|
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#2
|
845
967
|
class Regexp::Expression::FreeSpace < ::Regexp::Expression::Base
|
846
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#
|
968
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#148
|
847
969
|
def match_length; end
|
848
970
|
|
849
971
|
# @raise [Regexp::Parser::Error]
|
850
972
|
#
|
851
973
|
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#3
|
852
974
|
def quantify(*_args); end
|
975
|
+
|
976
|
+
class << self
|
977
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#135
|
978
|
+
def decorative?; end
|
979
|
+
end
|
853
980
|
end
|
854
981
|
|
855
982
|
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#2
|
@@ -858,180 +985,205 @@ module Regexp::Expression::Group; end
|
|
858
985
|
# Special case. Absence group can match 0.. chars, irrespective of content.
|
859
986
|
# TODO: in theory, they *can* exclude match lengths with `.`: `(?~.{3})`
|
860
987
|
#
|
861
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
988
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#19
|
862
989
|
class Regexp::Expression::Group::Absence < ::Regexp::Expression::Group::Base
|
863
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#
|
990
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#172
|
864
991
|
def match_length; end
|
865
992
|
end
|
866
993
|
|
867
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
994
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#20
|
868
995
|
class Regexp::Expression::Group::Atomic < ::Regexp::Expression::Group::Base; end
|
869
996
|
|
870
997
|
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#3
|
871
998
|
class Regexp::Expression::Group::Base < ::Regexp::Expression::Subexpression
|
872
|
-
#
|
873
|
-
#
|
874
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#8
|
875
|
-
def capturing?; end
|
876
|
-
|
877
|
-
# @return [Boolean]
|
878
|
-
#
|
879
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#10
|
880
|
-
def comment?; end
|
881
|
-
|
882
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#4
|
999
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#18
|
883
1000
|
def parts; end
|
884
1001
|
end
|
885
1002
|
|
886
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1003
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#40
|
887
1004
|
class Regexp::Expression::Group::Capture < ::Regexp::Expression::Group::Base
|
888
|
-
#
|
889
|
-
|
890
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#49
|
891
|
-
def capturing?; end
|
1005
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#37
|
1006
|
+
def human_name; end
|
892
1007
|
|
893
1008
|
# Returns the value of attribute number.
|
894
1009
|
#
|
895
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1010
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41
|
896
1011
|
def identifier; end
|
897
1012
|
|
898
1013
|
# Returns the value of attribute number.
|
899
1014
|
#
|
900
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1015
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41
|
901
1016
|
def number; end
|
902
1017
|
|
903
1018
|
# Sets the attribute number
|
904
1019
|
#
|
905
1020
|
# @param value the value to set the attribute number to.
|
906
1021
|
#
|
907
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1022
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41
|
908
1023
|
def number=(_arg0); end
|
909
1024
|
|
910
1025
|
# Returns the value of attribute number_at_level.
|
911
1026
|
#
|
912
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1027
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41
|
913
1028
|
def number_at_level; end
|
914
1029
|
|
915
1030
|
# Sets the attribute number_at_level
|
916
1031
|
#
|
917
1032
|
# @param value the value to set the attribute number_at_level to.
|
918
1033
|
#
|
919
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1034
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41
|
920
1035
|
def number_at_level=(_arg0); end
|
1036
|
+
|
1037
|
+
class << self
|
1038
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#126
|
1039
|
+
def capturing?; end
|
1040
|
+
end
|
921
1041
|
end
|
922
1042
|
|
923
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1043
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#60
|
924
1044
|
class Regexp::Expression::Group::Comment < ::Regexp::Expression::Group::Base
|
925
|
-
#
|
926
|
-
#
|
927
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#72
|
928
|
-
def comment?; end
|
929
|
-
|
930
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#68
|
1045
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#20
|
931
1046
|
def parts; end
|
1047
|
+
|
1048
|
+
class << self
|
1049
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#131
|
1050
|
+
def comment?; end
|
1051
|
+
|
1052
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#136
|
1053
|
+
def decorative?; end
|
1054
|
+
end
|
932
1055
|
end
|
933
1056
|
|
934
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1057
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#45
|
935
1058
|
class Regexp::Expression::Group::Named < ::Regexp::Expression::Group::Capture
|
936
1059
|
# @return [Named] a new instance of Named
|
937
1060
|
#
|
938
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1061
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#49
|
939
1062
|
def initialize(token, options = T.unsafe(nil)); end
|
940
1063
|
|
1064
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#38
|
1065
|
+
def human_name; end
|
1066
|
+
|
941
1067
|
# Returns the value of attribute name.
|
942
1068
|
#
|
943
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1069
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#46
|
944
1070
|
def identifier; end
|
945
1071
|
|
946
1072
|
# Returns the value of attribute name.
|
947
1073
|
#
|
948
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1074
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#46
|
949
1075
|
def name; end
|
950
1076
|
|
951
1077
|
private
|
952
1078
|
|
953
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1079
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#54
|
954
1080
|
def initialize_copy(orig); end
|
955
1081
|
end
|
956
1082
|
|
957
|
-
#
|
1083
|
+
# TODO: should split off OptionsSwitch in v3.0.0. Maybe even make it no
|
1084
|
+
# longer inherit from Group because it is effectively a terminal expression.
|
1085
|
+
#
|
1086
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#23
|
958
1087
|
class Regexp::Expression::Group::Options < ::Regexp::Expression::Group::Base
|
959
1088
|
# Returns the value of attribute option_changes.
|
960
1089
|
#
|
961
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1090
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#24
|
962
1091
|
def option_changes; end
|
963
1092
|
|
964
1093
|
# Sets the attribute option_changes
|
965
1094
|
#
|
966
1095
|
# @param value the value to set the attribute option_changes to.
|
967
1096
|
#
|
968
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1097
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#24
|
969
1098
|
def option_changes=(_arg0); end
|
970
1099
|
|
1100
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#31
|
1101
|
+
def quantify(*args); end
|
1102
|
+
|
971
1103
|
private
|
972
1104
|
|
973
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1105
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#26
|
974
1106
|
def initialize_copy(orig); end
|
975
1107
|
end
|
976
1108
|
|
977
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1109
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#6
|
978
1110
|
class Regexp::Expression::Group::Passive < ::Regexp::Expression::Group::Base
|
979
1111
|
# @return [Passive] a new instance of Passive
|
980
1112
|
#
|
981
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1113
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#9
|
982
1114
|
def initialize(*_arg0); end
|
983
1115
|
|
984
1116
|
# Sets the attribute implicit
|
985
1117
|
#
|
986
1118
|
# @param value the value to set the attribute implicit to.
|
987
1119
|
#
|
988
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1120
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#7
|
989
1121
|
def implicit=(_arg0); end
|
990
1122
|
|
991
1123
|
# @return [Boolean]
|
992
1124
|
#
|
993
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#
|
1125
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#14
|
994
1126
|
def implicit?; end
|
995
1127
|
|
996
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
1128
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#19
|
997
1129
|
def parts; end
|
998
1130
|
end
|
999
1131
|
|
1000
1132
|
# source://regexp_parser//lib/regexp_parser/expression/classes/keep.rb#2
|
1001
1133
|
module Regexp::Expression::Keep; end
|
1002
1134
|
|
1003
|
-
#
|
1135
|
+
# TODO: in regexp_parser v3.0.0 this should possibly be a Subexpression
|
1004
1136
|
# that contains all expressions to its left.
|
1005
1137
|
#
|
1006
1138
|
# source://regexp_parser//lib/regexp_parser/expression/classes/keep.rb#5
|
1007
1139
|
class Regexp::Expression::Keep::Mark < ::Regexp::Expression::Base
|
1008
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/
|
1140
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#39
|
1141
|
+
def human_name; end
|
1142
|
+
|
1143
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#148
|
1009
1144
|
def match_length; end
|
1010
1145
|
end
|
1011
1146
|
|
1012
1147
|
# source://regexp_parser//lib/regexp_parser/expression/classes/literal.rb#2
|
1013
1148
|
class Regexp::Expression::Literal < ::Regexp::Expression::Base
|
1014
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/
|
1149
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#40
|
1150
|
+
def human_name; end
|
1151
|
+
|
1152
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#105
|
1015
1153
|
def match_length; end
|
1016
1154
|
end
|
1017
1155
|
|
1018
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#
|
1156
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#85
|
1019
1157
|
Regexp::Expression::MatchLength = Regexp::MatchLength
|
1020
1158
|
|
1159
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#10
|
1160
|
+
Regexp::Expression::Nonposixclass = Regexp::Expression::PosixClass
|
1161
|
+
|
1162
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#118
|
1163
|
+
Regexp::Expression::Nonproperty = Regexp::Expression::UnicodeProperty
|
1164
|
+
|
1021
1165
|
# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#2
|
1022
1166
|
class Regexp::Expression::PosixClass < ::Regexp::Expression::Base
|
1023
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#
|
1167
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
|
1024
1168
|
def match_length; end
|
1025
1169
|
|
1026
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#
|
1170
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#3
|
1027
1171
|
def name; end
|
1028
1172
|
|
1029
|
-
#
|
1030
|
-
#
|
1031
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#3
|
1173
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#18
|
1032
1174
|
def negative?; end
|
1033
1175
|
end
|
1034
1176
|
|
1177
|
+
# alias for symmetry between token symbol and Expression class name
|
1178
|
+
#
|
1179
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#9
|
1180
|
+
Regexp::Expression::Posixclass = Regexp::Expression::PosixClass
|
1181
|
+
|
1182
|
+
# alias for symmetry between token symbol and Expression class name
|
1183
|
+
#
|
1184
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#117
|
1185
|
+
Regexp::Expression::Property = Regexp::Expression::UnicodeProperty
|
1186
|
+
|
1035
1187
|
# TODO: in v3.0.0, maybe put Shared back into Base, and inherit from Base and
|
1036
1188
|
# call super in #initialize, but raise in #quantifier= and #quantify,
|
1037
1189
|
# or introduce an Expression::Quantifiable intermediate class.
|
@@ -1044,7 +1196,7 @@ class Regexp::Expression::Quantifier
|
|
1044
1196
|
|
1045
1197
|
# @return [Quantifier] a new instance of Quantifier
|
1046
1198
|
#
|
1047
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#
|
1199
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#11
|
1048
1200
|
def initialize(*args); end
|
1049
1201
|
|
1050
1202
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -1053,10 +1205,16 @@ class Regexp::Expression::Quantifier
|
|
1053
1205
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1054
1206
|
def conditional_level=(_arg0); end
|
1055
1207
|
|
1056
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
1208
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1209
|
+
def custom_to_s_handling; end
|
1210
|
+
|
1211
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1212
|
+
def custom_to_s_handling=(_arg0); end
|
1213
|
+
|
1214
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#31
|
1057
1215
|
def greedy?; end
|
1058
1216
|
|
1059
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#
|
1217
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#31
|
1060
1218
|
def lazy?; end
|
1061
1219
|
|
1062
1220
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -1065,22 +1223,16 @@ class Regexp::Expression::Quantifier
|
|
1065
1223
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1066
1224
|
def level=(_arg0); end
|
1067
1225
|
|
1068
|
-
#
|
1069
|
-
#
|
1070
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#11
|
1226
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#42
|
1071
1227
|
def max; end
|
1072
1228
|
|
1073
|
-
#
|
1074
|
-
#
|
1075
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#11
|
1229
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#38
|
1076
1230
|
def min; end
|
1077
1231
|
|
1078
|
-
#
|
1079
|
-
#
|
1080
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#11
|
1232
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#46
|
1081
1233
|
def mode; end
|
1082
1234
|
|
1083
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1235
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#14
|
1084
1236
|
def nesting_level; end
|
1085
1237
|
|
1086
1238
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -1089,16 +1241,25 @@ class Regexp::Expression::Quantifier
|
|
1089
1241
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1090
1242
|
def options=(_arg0); end
|
1091
1243
|
|
1092
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
1244
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1245
|
+
def parent; end
|
1246
|
+
|
1247
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1248
|
+
def parent=(_arg0); end
|
1249
|
+
|
1250
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#31
|
1093
1251
|
def possessive?; end
|
1094
1252
|
|
1095
1253
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1096
|
-
def
|
1254
|
+
def pre_quantifier_decorations; end
|
1097
1255
|
|
1098
1256
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1099
|
-
def
|
1257
|
+
def pre_quantifier_decorations=(_arg0); end
|
1100
1258
|
|
1101
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
1259
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#14
|
1260
|
+
def quantifier; end
|
1261
|
+
|
1262
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#31
|
1102
1263
|
def reluctant?; end
|
1103
1264
|
|
1104
1265
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -1119,7 +1280,7 @@ class Regexp::Expression::Quantifier
|
|
1119
1280
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1120
1281
|
def text=(_arg0); end
|
1121
1282
|
|
1122
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#
|
1283
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#19
|
1123
1284
|
def to_h; end
|
1124
1285
|
|
1125
1286
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
@@ -1142,11 +1303,11 @@ class Regexp::Expression::Quantifier
|
|
1142
1303
|
|
1143
1304
|
private
|
1144
1305
|
|
1145
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#
|
1146
|
-
def deprecated_old_init(token, text,
|
1306
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#52
|
1307
|
+
def deprecated_old_init(token, text, _min, _max, _mode = T.unsafe(nil)); end
|
1147
1308
|
|
1148
|
-
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#
|
1149
|
-
def
|
1309
|
+
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#64
|
1310
|
+
def derived_data; end
|
1150
1311
|
end
|
1151
1312
|
|
1152
1313
|
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
|
@@ -1154,6 +1315,9 @@ Regexp::Expression::Quantifier::MODES = T.let(T.unsafe(nil), Array)
|
|
1154
1315
|
|
1155
1316
|
# source://regexp_parser//lib/regexp_parser/expression/classes/root.rb#2
|
1156
1317
|
class Regexp::Expression::Root < ::Regexp::Expression::Subexpression
|
1318
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#41
|
1319
|
+
def human_name; end
|
1320
|
+
|
1157
1321
|
class << self
|
1158
1322
|
# source://regexp_parser//lib/regexp_parser/expression/classes/root.rb#3
|
1159
1323
|
def build(options = T.unsafe(nil)); end
|
@@ -1169,11 +1333,8 @@ end
|
|
1169
1333
|
#
|
1170
1334
|
# source://regexp_parser//lib/regexp_parser/expression/sequence.rb#8
|
1171
1335
|
class Regexp::Expression::Sequence < ::Regexp::Expression::Subexpression
|
1172
|
-
# source://regexp_parser//lib/regexp_parser/expression/sequence.rb#
|
1173
|
-
def quantify(*args); end
|
1174
|
-
|
1175
|
-
# source://regexp_parser//lib/regexp_parser/expression/sequence.rb#23
|
1176
|
-
def starts_at; end
|
1336
|
+
# source://regexp_parser//lib/regexp_parser/expression/sequence.rb#27
|
1337
|
+
def quantify(token, *args); end
|
1177
1338
|
|
1178
1339
|
# source://regexp_parser//lib/regexp_parser/expression/sequence.rb#23
|
1179
1340
|
def ts; end
|
@@ -1188,11 +1349,11 @@ end
|
|
1188
1349
|
#
|
1189
1350
|
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#3
|
1190
1351
|
class Regexp::Expression::SequenceOperation < ::Regexp::Expression::Subexpression
|
1191
|
-
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#
|
1352
|
+
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#12
|
1192
1353
|
def <<(exp); end
|
1193
1354
|
|
1194
|
-
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#
|
1195
|
-
def add_sequence(active_opts = T.unsafe(nil)); end
|
1355
|
+
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#16
|
1356
|
+
def add_sequence(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end
|
1196
1357
|
|
1197
1358
|
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#5
|
1198
1359
|
def operands; end
|
@@ -1200,47 +1361,78 @@ class Regexp::Expression::SequenceOperation < ::Regexp::Expression::Subexpressio
|
|
1200
1361
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
|
1201
1362
|
def operator; end
|
1202
1363
|
|
1203
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
1364
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#22
|
1204
1365
|
def parts; end
|
1205
1366
|
|
1206
1367
|
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#5
|
1207
1368
|
def sequences; end
|
1208
1369
|
|
1209
|
-
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#8
|
1210
|
-
def starts_at; end
|
1211
|
-
|
1212
1370
|
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#8
|
1213
1371
|
def ts; end
|
1214
1372
|
end
|
1215
1373
|
|
1374
|
+
# alias for symmetry between token symbol and Expression class name
|
1375
|
+
#
|
1376
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#22
|
1377
|
+
Regexp::Expression::Set = Regexp::Expression::CharacterSet
|
1378
|
+
|
1216
1379
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#2
|
1217
1380
|
module Regexp::Expression::Shared
|
1218
1381
|
mixes_in_class_methods ::Regexp::Expression::Shared::ClassMethods
|
1219
1382
|
|
1220
1383
|
# Deep-compare two expressions for equality.
|
1221
1384
|
#
|
1222
|
-
#
|
1385
|
+
# When changing the conditions, please make sure to update
|
1386
|
+
# #pretty_print_instance_variables so that it includes all relevant values.
|
1387
|
+
#
|
1388
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#101
|
1223
1389
|
def ==(other); end
|
1224
1390
|
|
1225
1391
|
# Deep-compare two expressions for equality.
|
1226
1392
|
#
|
1227
|
-
#
|
1393
|
+
# When changing the conditions, please make sure to update
|
1394
|
+
# #pretty_print_instance_variables so that it includes all relevant values.
|
1395
|
+
#
|
1396
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#101
|
1228
1397
|
def ===(other); end
|
1229
1398
|
|
1230
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1399
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#51
|
1231
1400
|
def base_length; end
|
1232
1401
|
|
1233
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
1402
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#124
|
1403
|
+
def capturing?; end
|
1404
|
+
|
1405
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#96
|
1234
1406
|
def coded_offset; end
|
1235
1407
|
|
1408
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#128
|
1409
|
+
def comment?; end
|
1410
|
+
|
1411
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#133
|
1412
|
+
def decorative?; end
|
1413
|
+
|
1414
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#47
|
1415
|
+
def ends_at(include_quantifier = T.unsafe(nil)); end
|
1416
|
+
|
1236
1417
|
# Deep-compare two expressions for equality.
|
1237
1418
|
#
|
1238
|
-
#
|
1419
|
+
# When changing the conditions, please make sure to update
|
1420
|
+
# #pretty_print_instance_variables so that it includes all relevant values.
|
1421
|
+
#
|
1422
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#101
|
1239
1423
|
def eql?(other); end
|
1240
1424
|
|
1241
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1425
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#55
|
1242
1426
|
def full_length; end
|
1243
1427
|
|
1428
|
+
# default implementation, e.g. "atomic group", "hex escape", "word type", ..
|
1429
|
+
#
|
1430
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#4
|
1431
|
+
def human_name; end
|
1432
|
+
|
1433
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#3
|
1434
|
+
def inspect; end
|
1435
|
+
|
1244
1436
|
# Test if this expression has the given test_token, and optionally a given
|
1245
1437
|
# test_type.
|
1246
1438
|
#
|
@@ -1264,10 +1456,22 @@ module Regexp::Expression::Shared
|
|
1264
1456
|
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#36
|
1265
1457
|
def is?(test_token, test_type = T.unsafe(nil)); end
|
1266
1458
|
|
1267
|
-
#
|
1459
|
+
# not an alias so as to respect overrides of #negative?
|
1460
|
+
#
|
1461
|
+
# @return [Boolean]
|
1462
|
+
#
|
1463
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#8
|
1464
|
+
def negated?; end
|
1465
|
+
|
1466
|
+
# @return [Boolean]
|
1467
|
+
#
|
1468
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#3
|
1469
|
+
def negative?; end
|
1470
|
+
|
1471
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#100
|
1268
1472
|
def nesting_level=(lvl); end
|
1269
1473
|
|
1270
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1474
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#92
|
1271
1475
|
def offset; end
|
1272
1476
|
|
1273
1477
|
# Test if this expression matches an entry in the given scope spec.
|
@@ -1309,32 +1513,82 @@ module Regexp::Expression::Shared
|
|
1309
1513
|
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#75
|
1310
1514
|
def one_of?(scope, top = T.unsafe(nil)); end
|
1311
1515
|
|
1312
|
-
#
|
1516
|
+
# @return [Boolean]
|
1517
|
+
#
|
1518
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#111
|
1519
|
+
def optional?; end
|
1520
|
+
|
1521
|
+
# default implementation
|
1522
|
+
#
|
1523
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#4
|
1313
1524
|
def parts; end
|
1314
1525
|
|
1526
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#84
|
1527
|
+
def pre_quantifier_decoration(expression_format = T.unsafe(nil)); end
|
1528
|
+
|
1529
|
+
# Make pretty-print work despite #inspect implementation.
|
1530
|
+
#
|
1531
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#12
|
1532
|
+
def pretty_print(q); end
|
1533
|
+
|
1534
|
+
# Called by pretty_print (ruby/pp) and #inspect.
|
1535
|
+
#
|
1536
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#17
|
1537
|
+
def pretty_print_instance_variables; end
|
1538
|
+
|
1315
1539
|
# @return [Boolean]
|
1316
1540
|
#
|
1317
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
1541
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#115
|
1318
1542
|
def quantified?; end
|
1319
1543
|
|
1320
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1321
|
-
def
|
1544
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#106
|
1545
|
+
def quantifier=(qtf); end
|
1322
1546
|
|
1323
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1547
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#88
|
1548
|
+
def quantifier_affix(expression_format = T.unsafe(nil)); end
|
1549
|
+
|
1550
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#138
|
1551
|
+
def referential?; end
|
1552
|
+
|
1553
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#43
|
1324
1554
|
def starts_at; end
|
1325
1555
|
|
1326
|
-
#
|
1327
|
-
#
|
1328
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#75
|
1556
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#120
|
1329
1557
|
def terminal?; end
|
1330
1558
|
|
1331
|
-
# source
|
1559
|
+
# #to_s reproduces the original source, as an unparser would.
|
1560
|
+
#
|
1561
|
+
# It takes an optional format argument.
|
1562
|
+
#
|
1563
|
+
# Example:
|
1564
|
+
#
|
1565
|
+
# lit = Regexp::Parser.parse(/a +/x)[0]
|
1566
|
+
#
|
1567
|
+
# lit.to_s # => 'a+' # default; with quantifier
|
1568
|
+
# lit.to_s(:full) # => 'a+' # default; with quantifier
|
1569
|
+
# lit.to_s(:base) # => 'a' # without quantifier
|
1570
|
+
# lit.to_s(:original) # => 'a +' # with quantifier AND intermittent decorations
|
1571
|
+
#
|
1572
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#72
|
1332
1573
|
def to_s(format = T.unsafe(nil)); end
|
1333
1574
|
|
1334
|
-
# source
|
1575
|
+
# #to_s reproduces the original source, as an unparser would.
|
1576
|
+
#
|
1577
|
+
# It takes an optional format argument.
|
1578
|
+
#
|
1579
|
+
# Example:
|
1580
|
+
#
|
1581
|
+
# lit = Regexp::Parser.parse(/a +/x)[0]
|
1582
|
+
#
|
1583
|
+
# lit.to_s # => 'a+' # default; with quantifier
|
1584
|
+
# lit.to_s(:full) # => 'a+' # default; with quantifier
|
1585
|
+
# lit.to_s(:base) # => 'a' # without quantifier
|
1586
|
+
# lit.to_s(:original) # => 'a +' # with quantifier AND intermittent decorations
|
1587
|
+
#
|
1588
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#72
|
1335
1589
|
def to_str(format = T.unsafe(nil)); end
|
1336
1590
|
|
1337
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#
|
1591
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#37
|
1338
1592
|
def token_class; end
|
1339
1593
|
|
1340
1594
|
# Test if this expression has the given test_type, which can be either
|
@@ -1353,12 +1607,15 @@ module Regexp::Expression::Shared
|
|
1353
1607
|
|
1354
1608
|
private
|
1355
1609
|
|
1356
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1610
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#18
|
1357
1611
|
def init_from_token_and_options(token, options = T.unsafe(nil)); end
|
1358
1612
|
|
1359
|
-
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#
|
1613
|
+
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#32
|
1360
1614
|
def initialize_copy(orig); end
|
1361
1615
|
|
1616
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#10
|
1617
|
+
def intersperse(expressions, separator); end
|
1618
|
+
|
1362
1619
|
class << self
|
1363
1620
|
# @private
|
1364
1621
|
#
|
@@ -1371,6 +1628,12 @@ end
|
|
1371
1628
|
#
|
1372
1629
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#3
|
1373
1630
|
module Regexp::Expression::Shared::ClassMethods
|
1631
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#125
|
1632
|
+
def capturing?; end
|
1633
|
+
|
1634
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#129
|
1635
|
+
def comment?; end
|
1636
|
+
|
1374
1637
|
# Convenience method to init a valid Expression without a Regexp::Token
|
1375
1638
|
#
|
1376
1639
|
# @raise [ArgumentError]
|
@@ -1381,6 +1644,15 @@ module Regexp::Expression::Shared::ClassMethods
|
|
1381
1644
|
# source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#15
|
1382
1645
|
def construct_defaults; end
|
1383
1646
|
|
1647
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#134
|
1648
|
+
def decorative?; end
|
1649
|
+
|
1650
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#139
|
1651
|
+
def referential?; end
|
1652
|
+
|
1653
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#121
|
1654
|
+
def terminal?; end
|
1655
|
+
|
1384
1656
|
# source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#25
|
1385
1657
|
def token_class; end
|
1386
1658
|
end
|
@@ -1394,28 +1666,30 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base
|
|
1394
1666
|
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#7
|
1395
1667
|
def initialize(token, options = T.unsafe(nil)); end
|
1396
1668
|
|
1397
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1669
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#20
|
1398
1670
|
def <<(exp); end
|
1399
1671
|
|
1400
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1672
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1401
1673
|
def [](*args, &block); end
|
1402
1674
|
|
1403
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1675
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1404
1676
|
def at(*args, &block); end
|
1405
1677
|
|
1406
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1678
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#33
|
1407
1679
|
def dig(*indices); end
|
1408
1680
|
|
1409
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1681
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1410
1682
|
def each(*args, &block); end
|
1411
1683
|
|
1412
|
-
#
|
1413
|
-
#
|
1684
|
+
# Traverses the expression, passing each recursive child to the
|
1685
|
+
# given block.
|
1686
|
+
# If the block takes two arguments, the indices of the children within
|
1687
|
+
# their parents are also passed to it.
|
1414
1688
|
#
|
1415
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#
|
1416
|
-
def each_expression(include_self = T.unsafe(nil)); end
|
1689
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#8
|
1690
|
+
def each_expression(include_self = T.unsafe(nil), &block); end
|
1417
1691
|
|
1418
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1692
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1419
1693
|
def empty?(*args, &block); end
|
1420
1694
|
|
1421
1695
|
# Returns the value of attribute expressions.
|
@@ -1430,35 +1704,38 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base
|
|
1430
1704
|
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#5
|
1431
1705
|
def expressions=(_arg0); end
|
1432
1706
|
|
1433
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1707
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#50
|
1708
|
+
def extract_quantifier_target(quantifier_description); end
|
1709
|
+
|
1710
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1434
1711
|
def fetch(*args, &block); end
|
1435
1712
|
|
1436
1713
|
# Returns a new array with the results of calling the given block once
|
1437
1714
|
# for every expression. If a block is not given, returns an array with
|
1438
1715
|
# each expression and its level index as an array.
|
1439
1716
|
#
|
1440
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#
|
1441
|
-
def flat_map(include_self = T.unsafe(nil)); end
|
1717
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#56
|
1718
|
+
def flat_map(include_self = T.unsafe(nil), &block); end
|
1442
1719
|
|
1443
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1720
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1444
1721
|
def index(*args, &block); end
|
1445
1722
|
|
1446
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#
|
1723
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#118
|
1447
1724
|
def inner_match_length; end
|
1448
1725
|
|
1449
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1726
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1450
1727
|
def join(*args, &block); end
|
1451
1728
|
|
1452
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1729
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1453
1730
|
def last(*args, &block); end
|
1454
1731
|
|
1455
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1732
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1456
1733
|
def length(*args, &block); end
|
1457
1734
|
|
1458
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#
|
1735
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#111
|
1459
1736
|
def match_length; end
|
1460
1737
|
|
1461
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
1738
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#21
|
1462
1739
|
def parts; end
|
1463
1740
|
|
1464
1741
|
# source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#102
|
@@ -1467,10 +1744,10 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base
|
|
1467
1744
|
# source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#102
|
1468
1745
|
def strfregexp_tree(format = T.unsafe(nil), include_self = T.unsafe(nil), separator = T.unsafe(nil)); end
|
1469
1746
|
|
1470
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1747
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#39
|
1471
1748
|
def te; end
|
1472
1749
|
|
1473
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1750
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#43
|
1474
1751
|
def to_h; end
|
1475
1752
|
|
1476
1753
|
# Traverses the subexpression (depth-first, pre-order) and calls the given
|
@@ -1486,10 +1763,10 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base
|
|
1486
1763
|
#
|
1487
1764
|
# Returns self.
|
1488
1765
|
#
|
1489
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#
|
1766
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#32
|
1490
1767
|
def traverse(include_self = T.unsafe(nil), &block); end
|
1491
1768
|
|
1492
|
-
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#
|
1769
|
+
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
|
1493
1770
|
def values_at(*args, &block); end
|
1494
1771
|
|
1495
1772
|
# Traverses the subexpression (depth-first, pre-order) and calls the given
|
@@ -1505,9 +1782,17 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base
|
|
1505
1782
|
#
|
1506
1783
|
# Returns self.
|
1507
1784
|
#
|
1508
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#
|
1785
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#32
|
1509
1786
|
def walk(include_self = T.unsafe(nil), &block); end
|
1510
1787
|
|
1788
|
+
protected
|
1789
|
+
|
1790
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#66
|
1791
|
+
def each_expression_with_index(&block); end
|
1792
|
+
|
1793
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#73
|
1794
|
+
def each_expression_without_index(&block); end
|
1795
|
+
|
1511
1796
|
private
|
1512
1797
|
|
1513
1798
|
# Override base method to clone the expressions as well.
|
@@ -1515,263 +1800,267 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base
|
|
1515
1800
|
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#13
|
1516
1801
|
def initialize_copy(orig); end
|
1517
1802
|
|
1518
|
-
|
1519
|
-
|
1803
|
+
class << self
|
1804
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#122
|
1805
|
+
def terminal?; end
|
1806
|
+
end
|
1520
1807
|
end
|
1521
1808
|
|
1522
|
-
#
|
1523
|
-
#
|
1524
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#3
|
1809
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#2
|
1525
1810
|
module Regexp::Expression::UnicodeProperty; end
|
1526
1811
|
|
1527
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1812
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#108
|
1528
1813
|
class Regexp::Expression::UnicodeProperty::Age < ::Regexp::Expression::UnicodeProperty::Base; end
|
1529
1814
|
|
1530
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1815
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#13
|
1531
1816
|
class Regexp::Expression::UnicodeProperty::Alnum < ::Regexp::Expression::UnicodeProperty::Base; end
|
1532
1817
|
|
1533
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1818
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#14
|
1534
1819
|
class Regexp::Expression::UnicodeProperty::Alpha < ::Regexp::Expression::UnicodeProperty::Base; end
|
1535
1820
|
|
1536
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1821
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#31
|
1537
1822
|
class Regexp::Expression::UnicodeProperty::Any < ::Regexp::Expression::UnicodeProperty::Base; end
|
1538
1823
|
|
1539
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1824
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#15
|
1540
1825
|
class Regexp::Expression::UnicodeProperty::Ascii < ::Regexp::Expression::UnicodeProperty::Base; end
|
1541
1826
|
|
1542
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1827
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#32
|
1543
1828
|
class Regexp::Expression::UnicodeProperty::Assigned < ::Regexp::Expression::UnicodeProperty::Base; end
|
1544
1829
|
|
1545
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1830
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#3
|
1546
1831
|
class Regexp::Expression::UnicodeProperty::Base < ::Regexp::Expression::Base
|
1547
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#
|
1832
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
|
1548
1833
|
def match_length; end
|
1549
1834
|
|
1550
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1835
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#4
|
1551
1836
|
def name; end
|
1552
1837
|
|
1553
|
-
#
|
1554
|
-
#
|
1555
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#5
|
1838
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#19
|
1556
1839
|
def negative?; end
|
1557
1840
|
|
1558
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1841
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#8
|
1559
1842
|
def shortcut; end
|
1560
1843
|
end
|
1561
1844
|
|
1562
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1845
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#16
|
1563
1846
|
class Regexp::Expression::UnicodeProperty::Blank < ::Regexp::Expression::UnicodeProperty::Base; end
|
1564
1847
|
|
1565
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1848
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#109
|
1566
1849
|
class Regexp::Expression::UnicodeProperty::Block < ::Regexp::Expression::UnicodeProperty::Base; end
|
1567
1850
|
|
1568
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1851
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#17
|
1569
1852
|
class Regexp::Expression::UnicodeProperty::Cntrl < ::Regexp::Expression::UnicodeProperty::Base; end
|
1570
1853
|
|
1571
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1854
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#97
|
1572
1855
|
module Regexp::Expression::UnicodeProperty::Codepoint; end
|
1573
1856
|
|
1574
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1857
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#100
|
1575
1858
|
class Regexp::Expression::UnicodeProperty::Codepoint::Any < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
|
1576
1859
|
|
1577
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1860
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#98
|
1578
1861
|
class Regexp::Expression::UnicodeProperty::Codepoint::Base < ::Regexp::Expression::UnicodeProperty::Base; end
|
1579
1862
|
|
1580
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1863
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#101
|
1581
1864
|
class Regexp::Expression::UnicodeProperty::Codepoint::Control < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
|
1582
1865
|
|
1583
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1866
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#102
|
1584
1867
|
class Regexp::Expression::UnicodeProperty::Codepoint::Format < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
|
1585
1868
|
|
1586
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1869
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#104
|
1587
1870
|
class Regexp::Expression::UnicodeProperty::Codepoint::PrivateUse < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
|
1588
1871
|
|
1589
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1872
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#103
|
1590
1873
|
class Regexp::Expression::UnicodeProperty::Codepoint::Surrogate < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
|
1591
1874
|
|
1592
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1875
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#105
|
1593
1876
|
class Regexp::Expression::UnicodeProperty::Codepoint::Unassigned < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
|
1594
1877
|
|
1595
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1878
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#110
|
1596
1879
|
class Regexp::Expression::UnicodeProperty::Derived < ::Regexp::Expression::UnicodeProperty::Base; end
|
1597
1880
|
|
1598
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1881
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#18
|
1599
1882
|
class Regexp::Expression::UnicodeProperty::Digit < ::Regexp::Expression::UnicodeProperty::Base; end
|
1600
1883
|
|
1601
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1884
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#111
|
1602
1885
|
class Regexp::Expression::UnicodeProperty::Emoji < ::Regexp::Expression::UnicodeProperty::Base; end
|
1603
1886
|
|
1604
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1887
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#112
|
1888
|
+
class Regexp::Expression::UnicodeProperty::Enumerated < ::Regexp::Expression::UnicodeProperty::Base; end
|
1889
|
+
|
1890
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#19
|
1605
1891
|
class Regexp::Expression::UnicodeProperty::Graph < ::Regexp::Expression::UnicodeProperty::Base; end
|
1606
1892
|
|
1607
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1893
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#34
|
1608
1894
|
module Regexp::Expression::UnicodeProperty::Letter; end
|
1609
1895
|
|
1610
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1896
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#37
|
1611
1897
|
class Regexp::Expression::UnicodeProperty::Letter::Any < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
|
1612
1898
|
|
1613
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1899
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#35
|
1614
1900
|
class Regexp::Expression::UnicodeProperty::Letter::Base < ::Regexp::Expression::UnicodeProperty::Base; end
|
1615
1901
|
|
1616
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1902
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#38
|
1617
1903
|
class Regexp::Expression::UnicodeProperty::Letter::Cased < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
|
1618
1904
|
|
1619
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1905
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#40
|
1620
1906
|
class Regexp::Expression::UnicodeProperty::Letter::Lowercase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
|
1621
1907
|
|
1622
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1908
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#42
|
1623
1909
|
class Regexp::Expression::UnicodeProperty::Letter::Modifier < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
|
1624
1910
|
|
1625
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1911
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#43
|
1626
1912
|
class Regexp::Expression::UnicodeProperty::Letter::Other < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
|
1627
1913
|
|
1628
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1914
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#41
|
1629
1915
|
class Regexp::Expression::UnicodeProperty::Letter::Titlecase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
|
1630
1916
|
|
1631
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1917
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#39
|
1632
1918
|
class Regexp::Expression::UnicodeProperty::Letter::Uppercase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
|
1633
1919
|
|
1634
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1920
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#20
|
1635
1921
|
class Regexp::Expression::UnicodeProperty::Lower < ::Regexp::Expression::UnicodeProperty::Base; end
|
1636
1922
|
|
1637
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1923
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#46
|
1638
1924
|
module Regexp::Expression::UnicodeProperty::Mark; end
|
1639
1925
|
|
1640
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1926
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#49
|
1641
1927
|
class Regexp::Expression::UnicodeProperty::Mark::Any < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
|
1642
1928
|
|
1643
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1929
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#47
|
1644
1930
|
class Regexp::Expression::UnicodeProperty::Mark::Base < ::Regexp::Expression::UnicodeProperty::Base; end
|
1645
1931
|
|
1646
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1932
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#50
|
1647
1933
|
class Regexp::Expression::UnicodeProperty::Mark::Combining < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
|
1648
1934
|
|
1649
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1935
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#53
|
1650
1936
|
class Regexp::Expression::UnicodeProperty::Mark::Enclosing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
|
1651
1937
|
|
1652
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1938
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#51
|
1653
1939
|
class Regexp::Expression::UnicodeProperty::Mark::Nonspacing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
|
1654
1940
|
|
1655
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1941
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#52
|
1656
1942
|
class Regexp::Expression::UnicodeProperty::Mark::Spacing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
|
1657
1943
|
|
1658
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1944
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#29
|
1659
1945
|
class Regexp::Expression::UnicodeProperty::Newline < ::Regexp::Expression::UnicodeProperty::Base; end
|
1660
1946
|
|
1661
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1947
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#56
|
1662
1948
|
module Regexp::Expression::UnicodeProperty::Number; end
|
1663
1949
|
|
1664
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1950
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#59
|
1665
1951
|
class Regexp::Expression::UnicodeProperty::Number::Any < ::Regexp::Expression::UnicodeProperty::Number::Base; end
|
1666
1952
|
|
1667
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1953
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#57
|
1668
1954
|
class Regexp::Expression::UnicodeProperty::Number::Base < ::Regexp::Expression::UnicodeProperty::Base; end
|
1669
1955
|
|
1670
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1956
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#60
|
1671
1957
|
class Regexp::Expression::UnicodeProperty::Number::Decimal < ::Regexp::Expression::UnicodeProperty::Number::Base; end
|
1672
1958
|
|
1673
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1959
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#61
|
1674
1960
|
class Regexp::Expression::UnicodeProperty::Number::Letter < ::Regexp::Expression::UnicodeProperty::Number::Base; end
|
1675
1961
|
|
1676
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1962
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#62
|
1677
1963
|
class Regexp::Expression::UnicodeProperty::Number::Other < ::Regexp::Expression::UnicodeProperty::Number::Base; end
|
1678
1964
|
|
1679
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1965
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#21
|
1680
1966
|
class Regexp::Expression::UnicodeProperty::Print < ::Regexp::Expression::UnicodeProperty::Base; end
|
1681
1967
|
|
1682
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1968
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#22
|
1683
1969
|
class Regexp::Expression::UnicodeProperty::Punct < ::Regexp::Expression::UnicodeProperty::Base; end
|
1684
1970
|
|
1685
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1971
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#65
|
1686
1972
|
module Regexp::Expression::UnicodeProperty::Punctuation; end
|
1687
1973
|
|
1688
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1974
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#68
|
1689
1975
|
class Regexp::Expression::UnicodeProperty::Punctuation::Any < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
|
1690
1976
|
|
1691
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1977
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#66
|
1692
1978
|
class Regexp::Expression::UnicodeProperty::Punctuation::Base < ::Regexp::Expression::UnicodeProperty::Base; end
|
1693
1979
|
|
1694
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1980
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#72
|
1695
1981
|
class Regexp::Expression::UnicodeProperty::Punctuation::Close < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
|
1696
1982
|
|
1697
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1983
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#69
|
1698
1984
|
class Regexp::Expression::UnicodeProperty::Punctuation::Connector < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
|
1699
1985
|
|
1700
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1986
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#70
|
1701
1987
|
class Regexp::Expression::UnicodeProperty::Punctuation::Dash < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
|
1702
1988
|
|
1703
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1989
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#74
|
1704
1990
|
class Regexp::Expression::UnicodeProperty::Punctuation::Final < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
|
1705
1991
|
|
1706
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1992
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#73
|
1707
1993
|
class Regexp::Expression::UnicodeProperty::Punctuation::Initial < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
|
1708
1994
|
|
1709
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1995
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#71
|
1710
1996
|
class Regexp::Expression::UnicodeProperty::Punctuation::Open < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
|
1711
1997
|
|
1712
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
1998
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#75
|
1713
1999
|
class Regexp::Expression::UnicodeProperty::Punctuation::Other < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
|
1714
2000
|
|
1715
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2001
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#113
|
1716
2002
|
class Regexp::Expression::UnicodeProperty::Script < ::Regexp::Expression::UnicodeProperty::Base; end
|
1717
2003
|
|
1718
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2004
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#78
|
1719
2005
|
module Regexp::Expression::UnicodeProperty::Separator; end
|
1720
2006
|
|
1721
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2007
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#81
|
1722
2008
|
class Regexp::Expression::UnicodeProperty::Separator::Any < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
|
1723
2009
|
|
1724
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2010
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#79
|
1725
2011
|
class Regexp::Expression::UnicodeProperty::Separator::Base < ::Regexp::Expression::UnicodeProperty::Base; end
|
1726
2012
|
|
1727
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2013
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#83
|
1728
2014
|
class Regexp::Expression::UnicodeProperty::Separator::Line < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
|
1729
2015
|
|
1730
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2016
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#84
|
1731
2017
|
class Regexp::Expression::UnicodeProperty::Separator::Paragraph < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
|
1732
2018
|
|
1733
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2019
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#82
|
1734
2020
|
class Regexp::Expression::UnicodeProperty::Separator::Space < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
|
1735
2021
|
|
1736
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2022
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#23
|
1737
2023
|
class Regexp::Expression::UnicodeProperty::Space < ::Regexp::Expression::UnicodeProperty::Base; end
|
1738
2024
|
|
1739
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2025
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#87
|
1740
2026
|
module Regexp::Expression::UnicodeProperty::Symbol; end
|
1741
2027
|
|
1742
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2028
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#90
|
1743
2029
|
class Regexp::Expression::UnicodeProperty::Symbol::Any < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
|
1744
2030
|
|
1745
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2031
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#88
|
1746
2032
|
class Regexp::Expression::UnicodeProperty::Symbol::Base < ::Regexp::Expression::UnicodeProperty::Base; end
|
1747
2033
|
|
1748
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2034
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#92
|
1749
2035
|
class Regexp::Expression::UnicodeProperty::Symbol::Currency < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
|
1750
2036
|
|
1751
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2037
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#91
|
1752
2038
|
class Regexp::Expression::UnicodeProperty::Symbol::Math < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
|
1753
2039
|
|
1754
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2040
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#93
|
1755
2041
|
class Regexp::Expression::UnicodeProperty::Symbol::Modifier < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
|
1756
2042
|
|
1757
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2043
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#94
|
1758
2044
|
class Regexp::Expression::UnicodeProperty::Symbol::Other < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
|
1759
2045
|
|
1760
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2046
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#24
|
1761
2047
|
class Regexp::Expression::UnicodeProperty::Upper < ::Regexp::Expression::UnicodeProperty::Base; end
|
1762
2048
|
|
1763
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2049
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#25
|
1764
2050
|
class Regexp::Expression::UnicodeProperty::Word < ::Regexp::Expression::UnicodeProperty::Base; end
|
1765
2051
|
|
1766
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2052
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#27
|
1767
2053
|
class Regexp::Expression::UnicodeProperty::XPosixPunct < ::Regexp::Expression::UnicodeProperty::Base; end
|
1768
2054
|
|
1769
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#
|
2055
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#26
|
1770
2056
|
class Regexp::Expression::UnicodeProperty::Xdigit < ::Regexp::Expression::UnicodeProperty::Base; end
|
1771
2057
|
|
1772
|
-
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#
|
2058
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#11
|
1773
2059
|
class Regexp::Expression::WhiteSpace < ::Regexp::Expression::FreeSpace
|
1774
|
-
# source://regexp_parser//lib/regexp_parser/expression/
|
2060
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#42
|
2061
|
+
def human_name; end
|
2062
|
+
|
2063
|
+
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#12
|
1775
2064
|
def merge(exp); end
|
1776
2065
|
end
|
1777
2066
|
|
@@ -1782,95 +2071,150 @@ end
|
|
1782
2071
|
#
|
1783
2072
|
# source://regexp_parser//lib/regexp_parser/lexer.rb#5
|
1784
2073
|
class Regexp::Lexer
|
2074
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#71
|
2075
|
+
def emit(token); end
|
2076
|
+
|
1785
2077
|
# source://regexp_parser//lib/regexp_parser/lexer.rb#20
|
1786
|
-
def lex(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
|
2078
|
+
def lex(input, syntax = T.unsafe(nil), options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
|
1787
2079
|
|
1788
2080
|
private
|
1789
2081
|
|
1790
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2082
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#91
|
1791
2083
|
def ascend(type, token); end
|
1792
2084
|
|
1793
|
-
#
|
2085
|
+
# Returns the value of attribute block.
|
2086
|
+
#
|
2087
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
2088
|
+
def block; end
|
2089
|
+
|
2090
|
+
# Sets the attribute block
|
2091
|
+
#
|
2092
|
+
# @param value the value to set the attribute block to.
|
2093
|
+
#
|
2094
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
2095
|
+
def block=(_arg0); end
|
2096
|
+
|
2097
|
+
# if a codepoint list is followed by a quantifier, that quantifier applies
|
2098
|
+
# to the last codepoint, e.g. /\u{61 62 63}{3}/ =~ 'abccc'
|
2099
|
+
# c.f. #break_literal.
|
2100
|
+
#
|
2101
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#143
|
1794
2102
|
def break_codepoint_list(token); end
|
1795
2103
|
|
1796
2104
|
# called by scan to break a literal run that is longer than one character
|
1797
2105
|
# into two separate tokens when it is followed by a quantifier
|
1798
2106
|
#
|
1799
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2107
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#123
|
1800
2108
|
def break_literal(token); end
|
1801
2109
|
|
2110
|
+
# Returns the value of attribute collect_tokens.
|
2111
|
+
#
|
2112
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
2113
|
+
def collect_tokens; end
|
2114
|
+
|
2115
|
+
# Sets the attribute collect_tokens
|
2116
|
+
#
|
2117
|
+
# @param value the value to set the attribute collect_tokens to.
|
2118
|
+
#
|
2119
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
2120
|
+
def collect_tokens=(_arg0); end
|
2121
|
+
|
1802
2122
|
# Returns the value of attribute conditional_nesting.
|
1803
2123
|
#
|
1804
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2124
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
1805
2125
|
def conditional_nesting; end
|
1806
2126
|
|
1807
2127
|
# Sets the attribute conditional_nesting
|
1808
2128
|
#
|
1809
2129
|
# @param value the value to set the attribute conditional_nesting to.
|
1810
2130
|
#
|
1811
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2131
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
1812
2132
|
def conditional_nesting=(_arg0); end
|
1813
2133
|
|
1814
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2134
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#106
|
1815
2135
|
def descend(type, token); end
|
1816
2136
|
|
1817
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
1818
|
-
def merge_condition(current); end
|
2137
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#162
|
2138
|
+
def merge_condition(current, last); end
|
1819
2139
|
|
1820
2140
|
# Returns the value of attribute nesting.
|
1821
2141
|
#
|
1822
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2142
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
1823
2143
|
def nesting; end
|
1824
2144
|
|
1825
2145
|
# Sets the attribute nesting
|
1826
2146
|
#
|
1827
2147
|
# @param value the value to set the attribute nesting to.
|
1828
2148
|
#
|
1829
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2149
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
1830
2150
|
def nesting=(_arg0); end
|
1831
2151
|
|
2152
|
+
# Returns the value of attribute preprev_token.
|
2153
|
+
#
|
2154
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
2155
|
+
def preprev_token; end
|
2156
|
+
|
2157
|
+
# Sets the attribute preprev_token
|
2158
|
+
#
|
2159
|
+
# @param value the value to set the attribute preprev_token to.
|
2160
|
+
#
|
2161
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
2162
|
+
def preprev_token=(_arg0); end
|
2163
|
+
|
2164
|
+
# Returns the value of attribute prev_token.
|
2165
|
+
#
|
2166
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
2167
|
+
def prev_token; end
|
2168
|
+
|
2169
|
+
# Sets the attribute prev_token
|
2170
|
+
#
|
2171
|
+
# @param value the value to set the attribute prev_token to.
|
2172
|
+
#
|
2173
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
2174
|
+
def prev_token=(_arg0); end
|
2175
|
+
|
1832
2176
|
# Returns the value of attribute set_nesting.
|
1833
2177
|
#
|
1834
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2178
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
1835
2179
|
def set_nesting; end
|
1836
2180
|
|
1837
2181
|
# Sets the attribute set_nesting
|
1838
2182
|
#
|
1839
2183
|
# @param value the value to set the attribute set_nesting to.
|
1840
2184
|
#
|
1841
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2185
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
1842
2186
|
def set_nesting=(_arg0); end
|
1843
2187
|
|
1844
2188
|
# Returns the value of attribute shift.
|
1845
2189
|
#
|
1846
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2190
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
1847
2191
|
def shift; end
|
1848
2192
|
|
1849
2193
|
# Sets the attribute shift
|
1850
2194
|
#
|
1851
2195
|
# @param value the value to set the attribute shift to.
|
1852
2196
|
#
|
1853
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2197
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
1854
2198
|
def shift=(_arg0); end
|
1855
2199
|
|
1856
2200
|
# Returns the value of attribute tokens.
|
1857
2201
|
#
|
1858
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2202
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
1859
2203
|
def tokens; end
|
1860
2204
|
|
1861
2205
|
# Sets the attribute tokens
|
1862
2206
|
#
|
1863
2207
|
# @param value the value to set the attribute tokens to.
|
1864
2208
|
#
|
1865
|
-
# source://regexp_parser//lib/regexp_parser/lexer.rb#
|
2209
|
+
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
|
1866
2210
|
def tokens=(_arg0); end
|
1867
2211
|
|
1868
2212
|
class << self
|
1869
2213
|
# source://regexp_parser//lib/regexp_parser/lexer.rb#16
|
1870
|
-
def lex(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
|
2214
|
+
def lex(input, syntax = T.unsafe(nil), options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
|
1871
2215
|
|
1872
2216
|
# source://regexp_parser//lib/regexp_parser/lexer.rb#16
|
1873
|
-
def scan(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
|
2217
|
+
def scan(input, syntax = T.unsafe(nil), options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
|
1874
2218
|
end
|
1875
2219
|
end
|
1876
2220
|
|
@@ -1997,7 +2341,7 @@ class Regexp::MatchLength
|
|
1997
2341
|
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71
|
1998
2342
|
def reify=(_arg0); end
|
1999
2343
|
|
2000
|
-
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#
|
2344
|
+
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#74
|
2001
2345
|
def test_regexp; end
|
2002
2346
|
|
2003
2347
|
class << self
|
@@ -2009,27 +2353,26 @@ end
|
|
2009
2353
|
# source://regexp_parser//lib/regexp_parser/version.rb#2
|
2010
2354
|
class Regexp::Parser
|
2011
2355
|
include ::Regexp::Expression
|
2012
|
-
include ::Regexp::Expression::UnicodeProperty
|
2013
2356
|
|
2014
2357
|
# source://regexp_parser//lib/regexp_parser/parser.rb#25
|
2015
2358
|
def parse(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
|
2016
2359
|
|
2017
2360
|
private
|
2018
2361
|
|
2019
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2362
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#574
|
2020
2363
|
def active_opts; end
|
2021
2364
|
|
2022
2365
|
# source://regexp_parser//lib/regexp_parser/parser.rb#99
|
2023
2366
|
def anchor(token); end
|
2024
2367
|
|
2025
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2368
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#262
|
2026
2369
|
def assign_effective_number(exp); end
|
2027
2370
|
|
2028
|
-
# Assigns referenced expressions to
|
2371
|
+
# Assigns referenced expressions to referring expressions, e.g. if there is
|
2029
2372
|
# an instance of Backreference::Number, its #referenced_expression is set to
|
2030
2373
|
# the instance of Group::Capture that it refers to via its number.
|
2031
2374
|
#
|
2032
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2375
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#581
|
2033
2376
|
def assign_referenced_expressions; end
|
2034
2377
|
|
2035
2378
|
# source://regexp_parser//lib/regexp_parser/parser.rb#227
|
@@ -2050,16 +2393,16 @@ class Regexp::Parser
|
|
2050
2393
|
# source://regexp_parser//lib/regexp_parser/parser.rb#56
|
2051
2394
|
def captured_group_counts=(_arg0); end
|
2052
2395
|
|
2053
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2396
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#570
|
2054
2397
|
def close_completed_character_set_range; end
|
2055
2398
|
|
2056
2399
|
# source://regexp_parser//lib/regexp_parser/parser.rb#210
|
2057
2400
|
def close_group; end
|
2058
2401
|
|
2059
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2402
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#538
|
2060
2403
|
def close_set; end
|
2061
2404
|
|
2062
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2405
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#269
|
2063
2406
|
def conditional(token); end
|
2064
2407
|
|
2065
2408
|
# Returns the value of attribute conditional_nesting.
|
@@ -2082,40 +2425,40 @@ class Regexp::Parser
|
|
2082
2425
|
# source://regexp_parser//lib/regexp_parser/parser.rb#216
|
2083
2426
|
def decrease_nesting; end
|
2084
2427
|
|
2085
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2428
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#305
|
2086
2429
|
def escape(token); end
|
2087
2430
|
|
2088
2431
|
# source://regexp_parser//lib/regexp_parser/parser.rb#60
|
2089
2432
|
def extract_options(input, options); end
|
2090
2433
|
|
2091
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2434
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#349
|
2092
2435
|
def free_space(token); end
|
2093
2436
|
|
2094
2437
|
# source://regexp_parser//lib/regexp_parser/parser.rb#114
|
2095
2438
|
def group(token); end
|
2096
2439
|
|
2097
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2440
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#509
|
2098
2441
|
def increase_group_level(exp); end
|
2099
2442
|
|
2100
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2443
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#549
|
2101
2444
|
def intersection(token); end
|
2102
2445
|
|
2103
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2446
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#360
|
2104
2447
|
def keep(token); end
|
2105
2448
|
|
2106
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2449
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#364
|
2107
2450
|
def literal(token); end
|
2108
2451
|
|
2109
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2452
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#368
|
2110
2453
|
def meta(token); end
|
2111
2454
|
|
2112
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2455
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#534
|
2113
2456
|
def negate_set; end
|
2114
2457
|
|
2115
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2458
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#299
|
2116
2459
|
def nest(exp); end
|
2117
2460
|
|
2118
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2461
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#294
|
2119
2462
|
def nest_conditional(exp); end
|
2120
2463
|
|
2121
2464
|
# Returns the value of attribute nesting.
|
@@ -2145,7 +2488,7 @@ class Regexp::Parser
|
|
2145
2488
|
# source://regexp_parser//lib/regexp_parser/parser.rb#165
|
2146
2489
|
def open_group(token); end
|
2147
2490
|
|
2148
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2491
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#527
|
2149
2492
|
def open_set(token); end
|
2150
2493
|
|
2151
2494
|
# source://regexp_parser//lib/regexp_parser/parser.rb#130
|
@@ -2166,16 +2509,16 @@ class Regexp::Parser
|
|
2166
2509
|
# source://regexp_parser//lib/regexp_parser/parser.rb#76
|
2167
2510
|
def parse_token(token); end
|
2168
2511
|
|
2169
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2512
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#390
|
2170
2513
|
def posixclass(token); end
|
2171
2514
|
|
2172
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2515
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#397
|
2173
2516
|
def property(token); end
|
2174
2517
|
|
2175
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2518
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#479
|
2176
2519
|
def quantifier(token); end
|
2177
2520
|
|
2178
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2521
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#542
|
2179
2522
|
def range(token); end
|
2180
2523
|
|
2181
2524
|
# Returns the value of attribute root.
|
@@ -2190,10 +2533,10 @@ class Regexp::Parser
|
|
2190
2533
|
# source://regexp_parser//lib/regexp_parser/parser.rb#56
|
2191
2534
|
def root=(_arg0); end
|
2192
2535
|
|
2193
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2536
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#379
|
2194
2537
|
def sequence_operation(klass, token); end
|
2195
2538
|
|
2196
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2539
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#515
|
2197
2540
|
def set(token); end
|
2198
2541
|
|
2199
2542
|
# Returns the value of attribute switching_options.
|
@@ -2211,7 +2554,7 @@ class Regexp::Parser
|
|
2211
2554
|
# source://regexp_parser//lib/regexp_parser/parser.rb#198
|
2212
2555
|
def total_captured_group_count; end
|
2213
2556
|
|
2214
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2557
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#553
|
2215
2558
|
def type(token); end
|
2216
2559
|
|
2217
2560
|
class << self
|
@@ -2234,7 +2577,10 @@ Regexp::Parser::MOD_FLAGS = T.let(T.unsafe(nil), Array)
|
|
2234
2577
|
# source://regexp_parser//lib/regexp_parser/parser.rb#7
|
2235
2578
|
class Regexp::Parser::ParserError < ::Regexp::Parser::Error; end
|
2236
2579
|
|
2237
|
-
# source://regexp_parser//lib/regexp_parser/parser.rb#
|
2580
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#394
|
2581
|
+
Regexp::Parser::UP = Regexp::Expression::UnicodeProperty
|
2582
|
+
|
2583
|
+
# source://regexp_parser//lib/regexp_parser/parser.rb#395
|
2238
2584
|
Regexp::Parser::UPTokens = Regexp::Syntax::Token::UnicodeProperty
|
2239
2585
|
|
2240
2586
|
# source://regexp_parser//lib/regexp_parser/parser.rb#15
|
@@ -2256,179 +2602,195 @@ end
|
|
2256
2602
|
# source://regexp_parser//lib/regexp_parser/version.rb#3
|
2257
2603
|
Regexp::Parser::VERSION = T.let(T.unsafe(nil), String)
|
2258
2604
|
|
2259
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2605
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/scanner_error.rb#3
|
2260
2606
|
class Regexp::Scanner
|
2261
2607
|
# Emits an array with the details of the scanned pattern
|
2262
2608
|
#
|
2263
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2609
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2406
|
2264
2610
|
def emit(type, token, text); end
|
2265
2611
|
|
2612
|
+
# only public for #||= to work on ruby <= 2.5
|
2613
|
+
#
|
2614
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2431
|
2615
|
+
def literal_run; end
|
2616
|
+
|
2617
|
+
# only public for #||= to work on ruby <= 2.5
|
2618
|
+
#
|
2619
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2431
|
2620
|
+
def literal_run=(_arg0); end
|
2621
|
+
|
2266
2622
|
# @raise [PrematureEndError]
|
2267
2623
|
#
|
2268
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2269
|
-
def scan(input_object, options: T.unsafe(nil), &block); end
|
2624
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#24
|
2625
|
+
def scan(input_object, options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
|
2270
2626
|
|
2271
2627
|
private
|
2272
2628
|
|
2273
2629
|
# Appends one or more characters to the literal buffer, to be emitted later
|
2274
2630
|
# by a call to emit_literal.
|
2275
2631
|
#
|
2276
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2632
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2468
|
2277
2633
|
def append_literal(data, ts, te); end
|
2278
2634
|
|
2279
2635
|
# Returns the value of attribute block.
|
2280
2636
|
#
|
2281
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2637
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2282
2638
|
def block; end
|
2283
2639
|
|
2284
2640
|
# Sets the attribute block
|
2285
2641
|
#
|
2286
2642
|
# @param value the value to set the attribute block to.
|
2287
2643
|
#
|
2288
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2644
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2289
2645
|
def block=(_arg0); end
|
2290
2646
|
|
2291
2647
|
# Returns the value of attribute char_pos.
|
2292
2648
|
#
|
2293
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2649
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2294
2650
|
def char_pos; end
|
2295
2651
|
|
2296
2652
|
# Sets the attribute char_pos
|
2297
2653
|
#
|
2298
2654
|
# @param value the value to set the attribute char_pos to.
|
2299
2655
|
#
|
2300
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2656
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2301
2657
|
def char_pos=(_arg0); end
|
2302
2658
|
|
2659
|
+
# Returns the value of attribute collect_tokens.
|
2660
|
+
#
|
2661
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2662
|
+
def collect_tokens; end
|
2663
|
+
|
2664
|
+
# Sets the attribute collect_tokens
|
2665
|
+
#
|
2666
|
+
# @param value the value to set the attribute collect_tokens to.
|
2667
|
+
#
|
2668
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2669
|
+
def collect_tokens=(_arg0); end
|
2670
|
+
|
2303
2671
|
# Returns the value of attribute conditional_stack.
|
2304
2672
|
#
|
2305
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2673
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2306
2674
|
def conditional_stack; end
|
2307
2675
|
|
2308
2676
|
# Sets the attribute conditional_stack
|
2309
2677
|
#
|
2310
2678
|
# @param value the value to set the attribute conditional_stack to.
|
2311
2679
|
#
|
2312
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2680
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2313
2681
|
def conditional_stack=(_arg0); end
|
2314
2682
|
|
2315
2683
|
# Copy from ts to te from data as text
|
2316
2684
|
#
|
2317
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2685
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2462
|
2318
2686
|
def copy(data, ts, te); end
|
2319
2687
|
|
2320
2688
|
# Emits the literal run collected by calls to the append_literal method.
|
2321
2689
|
#
|
2322
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2690
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2473
|
2323
2691
|
def emit_literal; end
|
2324
2692
|
|
2325
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2693
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2508
|
2326
2694
|
def emit_meta_control_sequence(data, ts, te, token); end
|
2327
2695
|
|
2328
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2696
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2479
|
2329
2697
|
def emit_options(text); end
|
2330
2698
|
|
2331
2699
|
# Returns the value of attribute free_spacing.
|
2332
2700
|
#
|
2333
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2701
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2334
2702
|
def free_spacing; end
|
2335
2703
|
|
2336
2704
|
# Sets the attribute free_spacing
|
2337
2705
|
#
|
2338
2706
|
# @param value the value to set the attribute free_spacing to.
|
2339
2707
|
#
|
2340
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2708
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2341
2709
|
def free_spacing=(_arg0); end
|
2342
2710
|
|
2343
2711
|
# @return [Boolean]
|
2344
2712
|
#
|
2345
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2713
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2441
|
2346
2714
|
def free_spacing?(input_object, options); end
|
2347
2715
|
|
2348
2716
|
# Returns the value of attribute group_depth.
|
2349
2717
|
#
|
2350
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2718
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2351
2719
|
def group_depth; end
|
2352
2720
|
|
2353
2721
|
# Sets the attribute group_depth
|
2354
2722
|
#
|
2355
2723
|
# @param value the value to set the attribute group_depth to.
|
2356
2724
|
#
|
2357
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2725
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2358
2726
|
def group_depth=(_arg0); end
|
2359
2727
|
|
2360
2728
|
# @return [Boolean]
|
2361
2729
|
#
|
2362
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2730
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2453
|
2363
2731
|
def in_group?; end
|
2364
2732
|
|
2365
2733
|
# @return [Boolean]
|
2366
2734
|
#
|
2367
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2735
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2457
|
2368
2736
|
def in_set?; end
|
2369
2737
|
|
2370
|
-
# Returns the value of attribute
|
2738
|
+
# Returns the value of attribute prev_token.
|
2371
2739
|
#
|
2372
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2373
|
-
def
|
2740
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2741
|
+
def prev_token; end
|
2374
2742
|
|
2375
|
-
# Sets the attribute
|
2743
|
+
# Sets the attribute prev_token
|
2376
2744
|
#
|
2377
|
-
# @param value the value to set the attribute
|
2745
|
+
# @param value the value to set the attribute prev_token to.
|
2378
2746
|
#
|
2379
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2380
|
-
def
|
2747
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2748
|
+
def prev_token=(_arg0); end
|
2381
2749
|
|
2382
2750
|
# Returns the value of attribute set_depth.
|
2383
2751
|
#
|
2384
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2752
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2385
2753
|
def set_depth; end
|
2386
2754
|
|
2387
2755
|
# Sets the attribute set_depth
|
2388
2756
|
#
|
2389
2757
|
# @param value the value to set the attribute set_depth to.
|
2390
2758
|
#
|
2391
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2759
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2392
2760
|
def set_depth=(_arg0); end
|
2393
2761
|
|
2394
2762
|
# Returns the value of attribute spacing_stack.
|
2395
2763
|
#
|
2396
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2764
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2397
2765
|
def spacing_stack; end
|
2398
2766
|
|
2399
2767
|
# Sets the attribute spacing_stack
|
2400
2768
|
#
|
2401
2769
|
# @param value the value to set the attribute spacing_stack to.
|
2402
2770
|
#
|
2403
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2771
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2404
2772
|
def spacing_stack=(_arg0); end
|
2405
2773
|
|
2406
2774
|
# Returns the value of attribute tokens.
|
2407
2775
|
#
|
2408
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2776
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2409
2777
|
def tokens; end
|
2410
2778
|
|
2411
2779
|
# Sets the attribute tokens
|
2412
2780
|
#
|
2413
2781
|
# @param value the value to set the attribute tokens to.
|
2414
2782
|
#
|
2415
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2783
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
|
2416
2784
|
def tokens=(_arg0); end
|
2417
2785
|
|
2418
|
-
# Centralizes and unifies the handling of validation related
|
2419
|
-
# errors.
|
2420
|
-
#
|
2421
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#2652
|
2422
|
-
def validation_error(type, what, reason = T.unsafe(nil)); end
|
2423
|
-
|
2424
2786
|
class << self
|
2425
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2787
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2392
|
2426
2788
|
def long_prop_map; end
|
2427
2789
|
|
2428
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2790
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2396
|
2429
2791
|
def parse_prop_map(name); end
|
2430
2792
|
|
2431
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2793
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2400
|
2432
2794
|
def posix_classes; end
|
2433
2795
|
|
2434
2796
|
# Scans the given regular expression text, or Regexp object and collects the
|
@@ -2438,100 +2800,105 @@ class Regexp::Scanner
|
|
2438
2800
|
# This method may raise errors if a syntax error is encountered.
|
2439
2801
|
# --------------------------------------------------------------------------
|
2440
2802
|
#
|
2441
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2442
|
-
def scan(input_object, options: T.unsafe(nil), &block); end
|
2803
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#20
|
2804
|
+
def scan(input_object, options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
|
2443
2805
|
|
2444
2806
|
# lazy-load property maps when first needed
|
2445
2807
|
#
|
2446
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2808
|
+
# source://regexp_parser//lib/regexp_parser/scanner.rb#2388
|
2447
2809
|
def short_prop_map; end
|
2448
2810
|
end
|
2449
2811
|
end
|
2450
2812
|
|
2451
2813
|
# Invalid back reference. Used for name a number refs/calls.
|
2452
2814
|
#
|
2453
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2815
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#44
|
2454
2816
|
class Regexp::Scanner::InvalidBackrefError < ::Regexp::Scanner::ValidationError
|
2455
2817
|
# @return [InvalidBackrefError] a new instance of InvalidBackrefError
|
2456
2818
|
#
|
2457
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2819
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#45
|
2458
2820
|
def initialize(what, reason); end
|
2459
2821
|
end
|
2460
2822
|
|
2461
2823
|
# Invalid group. Used for named groups.
|
2462
2824
|
#
|
2463
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2825
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#29
|
2464
2826
|
class Regexp::Scanner::InvalidGroupError < ::Regexp::Scanner::ValidationError
|
2465
2827
|
# @return [InvalidGroupError] a new instance of InvalidGroupError
|
2466
2828
|
#
|
2467
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2829
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#30
|
2468
2830
|
def initialize(what, reason); end
|
2469
2831
|
end
|
2470
2832
|
|
2471
2833
|
# Invalid groupOption. Used for inline options.
|
2472
2834
|
# TODO: should become InvalidGroupOptionError in v3.0.0 for consistency
|
2473
2835
|
#
|
2474
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2836
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#37
|
2475
2837
|
class Regexp::Scanner::InvalidGroupOption < ::Regexp::Scanner::ValidationError
|
2476
2838
|
# @return [InvalidGroupOption] a new instance of InvalidGroupOption
|
2477
2839
|
#
|
2478
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2840
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#38
|
2479
2841
|
def initialize(option, text); end
|
2480
2842
|
end
|
2481
2843
|
|
2482
2844
|
# Invalid sequence format. Used for escape sequences, mainly.
|
2483
2845
|
#
|
2484
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2846
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#22
|
2485
2847
|
class Regexp::Scanner::InvalidSequenceError < ::Regexp::Scanner::ValidationError
|
2486
2848
|
# @return [InvalidSequenceError] a new instance of InvalidSequenceError
|
2487
2849
|
#
|
2488
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2850
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#23
|
2489
2851
|
def initialize(what = T.unsafe(nil), where = T.unsafe(nil)); end
|
2490
2852
|
end
|
2491
2853
|
|
2492
2854
|
# Unexpected end of pattern
|
2493
2855
|
#
|
2494
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2856
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/premature_end_error.rb#3
|
2495
2857
|
class Regexp::Scanner::PrematureEndError < ::Regexp::Scanner::ScannerError
|
2496
2858
|
# @return [PrematureEndError] a new instance of PrematureEndError
|
2497
2859
|
#
|
2498
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2860
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/premature_end_error.rb#4
|
2499
2861
|
def initialize(where = T.unsafe(nil)); end
|
2500
2862
|
end
|
2501
2863
|
|
2502
2864
|
# General scanner error (catch all)
|
2503
2865
|
#
|
2504
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2866
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/scanner_error.rb#5
|
2505
2867
|
class Regexp::Scanner::ScannerError < ::Regexp::Parser::Error; end
|
2506
2868
|
|
2507
2869
|
# The POSIX class name was not recognized by the scanner.
|
2508
2870
|
#
|
2509
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2871
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#58
|
2510
2872
|
class Regexp::Scanner::UnknownPosixClassError < ::Regexp::Scanner::ValidationError
|
2511
2873
|
# @return [UnknownPosixClassError] a new instance of UnknownPosixClassError
|
2512
2874
|
#
|
2513
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2514
|
-
def initialize(text); end
|
2875
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#59
|
2876
|
+
def initialize(text, _); end
|
2515
2877
|
end
|
2516
2878
|
|
2517
2879
|
# The property name was not recognized by the scanner.
|
2518
2880
|
#
|
2519
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2881
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#51
|
2520
2882
|
class Regexp::Scanner::UnknownUnicodePropertyError < ::Regexp::Scanner::ValidationError
|
2521
2883
|
# @return [UnknownUnicodePropertyError] a new instance of UnknownUnicodePropertyError
|
2522
2884
|
#
|
2523
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2524
|
-
def initialize(name); end
|
2885
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#52
|
2886
|
+
def initialize(name, _); end
|
2525
2887
|
end
|
2526
2888
|
|
2527
2889
|
# Base for all scanner validation errors
|
2528
2890
|
#
|
2529
|
-
# source://regexp_parser//lib/regexp_parser/scanner.rb#
|
2530
|
-
class Regexp::Scanner::ValidationError < ::Regexp::
|
2531
|
-
|
2532
|
-
|
2533
|
-
|
2534
|
-
|
2891
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#3
|
2892
|
+
class Regexp::Scanner::ValidationError < ::Regexp::Scanner::ScannerError
|
2893
|
+
class << self
|
2894
|
+
# Centralizes and unifies the handling of validation related errors.
|
2895
|
+
#
|
2896
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#5
|
2897
|
+
def for(type, problem, reason = T.unsafe(nil)); end
|
2898
|
+
|
2899
|
+
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#9
|
2900
|
+
def types; end
|
2901
|
+
end
|
2535
2902
|
end
|
2536
2903
|
|
2537
2904
|
# After loading all the tokens the map is full. Extract all tokens and types
|
@@ -2541,13 +2908,13 @@ end
|
|
2541
2908
|
module Regexp::Syntax
|
2542
2909
|
private
|
2543
2910
|
|
2544
|
-
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#
|
2911
|
+
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#61
|
2545
2912
|
def comparable(name); end
|
2546
2913
|
|
2547
|
-
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#
|
2914
|
+
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#44
|
2548
2915
|
def const_missing(const_name); end
|
2549
2916
|
|
2550
|
-
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#
|
2917
|
+
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#51
|
2551
2918
|
def fallback_version_class(version); end
|
2552
2919
|
|
2553
2920
|
# Returns the syntax specification class for the given syntax
|
@@ -2559,7 +2926,7 @@ module Regexp::Syntax
|
|
2559
2926
|
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#26
|
2560
2927
|
def new(name); end
|
2561
2928
|
|
2562
|
-
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#
|
2929
|
+
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#57
|
2563
2930
|
def specified_versions; end
|
2564
2931
|
|
2565
2932
|
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#32
|
@@ -2568,17 +2935,14 @@ module Regexp::Syntax
|
|
2568
2935
|
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#36
|
2569
2936
|
def version_class(version); end
|
2570
2937
|
|
2571
|
-
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#67
|
2572
|
-
def warn_if_future_version(const_name); end
|
2573
|
-
|
2574
2938
|
class << self
|
2575
|
-
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#
|
2939
|
+
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#61
|
2576
2940
|
def comparable(name); end
|
2577
2941
|
|
2578
|
-
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#
|
2942
|
+
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#44
|
2579
2943
|
def const_missing(const_name); end
|
2580
2944
|
|
2581
|
-
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#
|
2945
|
+
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#51
|
2582
2946
|
def fallback_version_class(version); end
|
2583
2947
|
|
2584
2948
|
# Returns the syntax specification class for the given syntax
|
@@ -2590,7 +2954,7 @@ module Regexp::Syntax
|
|
2590
2954
|
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#26
|
2591
2955
|
def new(name); end
|
2592
2956
|
|
2593
|
-
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#
|
2957
|
+
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#57
|
2594
2958
|
def specified_versions; end
|
2595
2959
|
|
2596
2960
|
# @return [Boolean]
|
@@ -2600,9 +2964,6 @@ module Regexp::Syntax
|
|
2600
2964
|
|
2601
2965
|
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#36
|
2602
2966
|
def version_class(version); end
|
2603
|
-
|
2604
|
-
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#67
|
2605
|
-
def warn_if_future_version(const_name); end
|
2606
2967
|
end
|
2607
2968
|
end
|
2608
2969
|
|
@@ -2707,6 +3068,9 @@ class Regexp::Syntax::Base
|
|
2707
3068
|
end
|
2708
3069
|
end
|
2709
3070
|
|
3071
|
+
# source://regexp_parser//lib/regexp_parser/syntax/versions.rb#8
|
3072
|
+
Regexp::Syntax::CURRENT = Regexp::Syntax::V3_2_0
|
3073
|
+
|
2710
3074
|
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#6
|
2711
3075
|
class Regexp::Syntax::InvalidVersionNameError < ::Regexp::Syntax::SyntaxError
|
2712
3076
|
# @return [InvalidVersionNameError] a new instance of InvalidVersionNameError
|
@@ -2732,6 +3096,17 @@ module Regexp::Syntax::Token; end
|
|
2732
3096
|
# source://regexp_parser//lib/regexp_parser/syntax/token.rb#42
|
2733
3097
|
Regexp::Syntax::Token::All = T.let(T.unsafe(nil), Array)
|
2734
3098
|
|
3099
|
+
# alias for symmetry between Token::* and Expression::*
|
3100
|
+
#
|
3101
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#15
|
3102
|
+
module Regexp::Syntax::Token::Alternation; end
|
3103
|
+
|
3104
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#16
|
3105
|
+
Regexp::Syntax::Token::Alternation::All = T.let(T.unsafe(nil), Array)
|
3106
|
+
|
3107
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#17
|
3108
|
+
Regexp::Syntax::Token::Alternation::Type = T.let(T.unsafe(nil), Symbol)
|
3109
|
+
|
2735
3110
|
# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#3
|
2736
3111
|
module Regexp::Syntax::Token::Anchor; end
|
2737
3112
|
|
@@ -2768,6 +3143,11 @@ Regexp::Syntax::Token::Assertion::Lookbehind = T.let(T.unsafe(nil), Array)
|
|
2768
3143
|
# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#8
|
2769
3144
|
Regexp::Syntax::Token::Assertion::Type = T.let(T.unsafe(nil), Symbol)
|
2770
3145
|
|
3146
|
+
# alias for symmetry between token symbol and Expression class name
|
3147
|
+
#
|
3148
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#31
|
3149
|
+
Regexp::Syntax::Token::Backref = Regexp::Syntax::Token::Backreference
|
3150
|
+
|
2771
3151
|
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#3
|
2772
3152
|
module Regexp::Syntax::Token::Backreference; end
|
2773
3153
|
|
@@ -2852,38 +3232,41 @@ Regexp::Syntax::Token::Conditional::Separator = T.let(T.unsafe(nil), Array)
|
|
2852
3232
|
# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#11
|
2853
3233
|
Regexp::Syntax::Token::Conditional::Type = T.let(T.unsafe(nil), Symbol)
|
2854
3234
|
|
2855
|
-
#
|
2856
|
-
#
|
2857
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#4
|
3235
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#3
|
2858
3236
|
module Regexp::Syntax::Token::Escape; end
|
2859
3237
|
|
2860
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3238
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#8
|
2861
3239
|
Regexp::Syntax::Token::Escape::ASCII = T.let(T.unsafe(nil), Array)
|
2862
3240
|
|
2863
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3241
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#24
|
2864
3242
|
Regexp::Syntax::Token::Escape::All = T.let(T.unsafe(nil), Array)
|
2865
3243
|
|
2866
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3244
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#4
|
2867
3245
|
Regexp::Syntax::Token::Escape::Basic = T.let(T.unsafe(nil), Array)
|
2868
3246
|
|
2869
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3247
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#6
|
2870
3248
|
Regexp::Syntax::Token::Escape::Control = T.let(T.unsafe(nil), Array)
|
2871
3249
|
|
2872
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3250
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#20
|
2873
3251
|
Regexp::Syntax::Token::Escape::Hex = T.let(T.unsafe(nil), Array)
|
2874
3252
|
|
2875
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3253
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#13
|
2876
3254
|
Regexp::Syntax::Token::Escape::Meta = T.let(T.unsafe(nil), Array)
|
2877
3255
|
|
2878
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3256
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#22
|
2879
3257
|
Regexp::Syntax::Token::Escape::Octal = T.let(T.unsafe(nil), Array)
|
2880
3258
|
|
2881
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3259
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#25
|
2882
3260
|
Regexp::Syntax::Token::Escape::Type = T.let(T.unsafe(nil), Symbol)
|
2883
3261
|
|
2884
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#
|
3262
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#11
|
2885
3263
|
Regexp::Syntax::Token::Escape::Unicode = T.let(T.unsafe(nil), Array)
|
2886
3264
|
|
3265
|
+
# alias for symmetry between Token::* and Expression::*
|
3266
|
+
#
|
3267
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#31
|
3268
|
+
Regexp::Syntax::Token::EscapeSequence = Regexp::Syntax::Token::Escape
|
3269
|
+
|
2887
3270
|
# source://regexp_parser//lib/regexp_parser/syntax/token.rb#11
|
2888
3271
|
module Regexp::Syntax::Token::FreeSpace; end
|
2889
3272
|
|
@@ -2953,16 +3336,19 @@ Regexp::Syntax::Token::Map = T.let(T.unsafe(nil), Hash)
|
|
2953
3336
|
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#3
|
2954
3337
|
module Regexp::Syntax::Token::Meta; end
|
2955
3338
|
|
2956
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#
|
3339
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#8
|
2957
3340
|
Regexp::Syntax::Token::Meta::All = T.let(T.unsafe(nil), Array)
|
2958
3341
|
|
3342
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#5
|
3343
|
+
Regexp::Syntax::Token::Meta::Alternation = T.let(T.unsafe(nil), Array)
|
3344
|
+
|
2959
3345
|
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#4
|
2960
3346
|
Regexp::Syntax::Token::Meta::Basic = T.let(T.unsafe(nil), Array)
|
2961
3347
|
|
2962
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#
|
3348
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#6
|
2963
3349
|
Regexp::Syntax::Token::Meta::Extended = T.let(T.unsafe(nil), Array)
|
2964
3350
|
|
2965
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#
|
3351
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#9
|
2966
3352
|
Regexp::Syntax::Token::Meta::Type = T.let(T.unsafe(nil), Symbol)
|
2967
3353
|
|
2968
3354
|
# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#3
|
@@ -2983,6 +3369,11 @@ Regexp::Syntax::Token::PosixClass::Standard = T.let(T.unsafe(nil), Array)
|
|
2983
3369
|
# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#10
|
2984
3370
|
Regexp::Syntax::Token::PosixClass::Type = T.let(T.unsafe(nil), Symbol)
|
2985
3371
|
|
3372
|
+
# alias for symmetry between token symbol and Token module name
|
3373
|
+
#
|
3374
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#749
|
3375
|
+
Regexp::Syntax::Token::Property = Regexp::Syntax::Token::UnicodeProperty
|
3376
|
+
|
2986
3377
|
# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#3
|
2987
3378
|
module Regexp::Syntax::Token::Quantifier; end
|
2988
3379
|
|
@@ -3016,6 +3407,11 @@ Regexp::Syntax::Token::Quantifier::Type = T.let(T.unsafe(nil), Symbol)
|
|
3016
3407
|
# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#28
|
3017
3408
|
Regexp::Syntax::Token::Quantifier::V1_8_6 = T.let(T.unsafe(nil), Array)
|
3018
3409
|
|
3410
|
+
# alias for symmetry between token symbol and Token module name
|
3411
|
+
#
|
3412
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#14
|
3413
|
+
Regexp::Syntax::Token::Set = Regexp::Syntax::Token::CharacterSet
|
3414
|
+
|
3019
3415
|
# Type is the same as Backreference so keeping it here, for now.
|
3020
3416
|
#
|
3021
3417
|
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#20
|
@@ -3072,7 +3468,7 @@ Regexp::Syntax::Token::UnicodeProperty::Age_V3_1_0 = T.let(T.unsafe(nil), Array)
|
|
3072
3468
|
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#62
|
3073
3469
|
Regexp::Syntax::Token::UnicodeProperty::Age_V3_2_0 = T.let(T.unsafe(nil), Array)
|
3074
3470
|
|
3075
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3471
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#739
|
3076
3472
|
Regexp::Syntax::Token::UnicodeProperty::All = T.let(T.unsafe(nil), Array)
|
3077
3473
|
|
3078
3474
|
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#13
|
@@ -3123,19 +3519,28 @@ Regexp::Syntax::Token::UnicodeProperty::Derived_V2_4_0 = T.let(T.unsafe(nil), Ar
|
|
3123
3519
|
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#129
|
3124
3520
|
Regexp::Syntax::Token::UnicodeProperty::Derived_V2_5_0 = T.let(T.unsafe(nil), Array)
|
3125
3521
|
|
3126
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3522
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#724
|
3127
3523
|
Regexp::Syntax::Token::UnicodeProperty::Emoji = T.let(T.unsafe(nil), Array)
|
3128
3524
|
|
3129
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3525
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#694
|
3130
3526
|
Regexp::Syntax::Token::UnicodeProperty::Emoji_V2_5_0 = T.let(T.unsafe(nil), Array)
|
3131
3527
|
|
3132
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3528
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#702
|
3529
|
+
Regexp::Syntax::Token::UnicodeProperty::Emoji_V2_6_0 = T.let(T.unsafe(nil), Array)
|
3530
|
+
|
3531
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#722
|
3532
|
+
Regexp::Syntax::Token::UnicodeProperty::Enumerated = T.let(T.unsafe(nil), Array)
|
3533
|
+
|
3534
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#706
|
3535
|
+
Regexp::Syntax::Token::UnicodeProperty::Enumerated_V2_4_0 = T.let(T.unsafe(nil), Array)
|
3536
|
+
|
3537
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#742
|
3133
3538
|
Regexp::Syntax::Token::UnicodeProperty::NonType = T.let(T.unsafe(nil), Symbol)
|
3134
3539
|
|
3135
3540
|
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#11
|
3136
3541
|
Regexp::Syntax::Token::UnicodeProperty::POSIX = T.let(T.unsafe(nil), Array)
|
3137
3542
|
|
3138
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3543
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#332
|
3139
3544
|
Regexp::Syntax::Token::UnicodeProperty::Script = T.let(T.unsafe(nil), Array)
|
3140
3545
|
|
3141
3546
|
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#135
|
@@ -3171,76 +3576,76 @@ Regexp::Syntax::Token::UnicodeProperty::Script_V3_1_0 = T.let(T.unsafe(nil), Arr
|
|
3171
3576
|
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#322
|
3172
3577
|
Regexp::Syntax::Token::UnicodeProperty::Script_V3_2_0 = T.let(T.unsafe(nil), Array)
|
3173
3578
|
|
3174
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3579
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#741
|
3175
3580
|
Regexp::Syntax::Token::UnicodeProperty::Type = T.let(T.unsafe(nil), Symbol)
|
3176
3581
|
|
3177
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3582
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#692
|
3178
3583
|
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock = T.let(T.unsafe(nil), Array)
|
3179
3584
|
|
3180
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3585
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#334
|
3181
3586
|
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V1_9_0 = T.let(T.unsafe(nil), Array)
|
3182
3587
|
|
3183
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3588
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#433
|
3184
3589
|
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_0_0 = T.let(T.unsafe(nil), Array)
|
3185
3590
|
|
3186
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3591
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#561
|
3187
3592
|
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_2_0 = T.let(T.unsafe(nil), Array)
|
3188
3593
|
|
3189
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3594
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#596
|
3190
3595
|
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_3_0 = T.let(T.unsafe(nil), Array)
|
3191
3596
|
|
3192
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3597
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#609
|
3193
3598
|
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_4_0 = T.let(T.unsafe(nil), Array)
|
3194
3599
|
|
3195
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3600
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#623
|
3196
3601
|
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_5_0 = T.let(T.unsafe(nil), Array)
|
3197
3602
|
|
3198
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3603
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#633
|
3199
3604
|
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_6_0 = T.let(T.unsafe(nil), Array)
|
3200
3605
|
|
3201
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3606
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#647
|
3202
3607
|
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_6_2 = T.let(T.unsafe(nil), Array)
|
3203
3608
|
|
3204
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3609
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#659
|
3205
3610
|
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V3_1_0 = T.let(T.unsafe(nil), Array)
|
3206
3611
|
|
3207
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3612
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#670
|
3208
3613
|
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V3_2_0 = T.let(T.unsafe(nil), Array)
|
3209
3614
|
|
3210
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3615
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#726
|
3211
3616
|
Regexp::Syntax::Token::UnicodeProperty::V1_9_0 = T.let(T.unsafe(nil), Array)
|
3212
3617
|
|
3213
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3618
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#727
|
3214
3619
|
Regexp::Syntax::Token::UnicodeProperty::V1_9_3 = T.let(T.unsafe(nil), Array)
|
3215
3620
|
|
3216
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3621
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#728
|
3217
3622
|
Regexp::Syntax::Token::UnicodeProperty::V2_0_0 = T.let(T.unsafe(nil), Array)
|
3218
3623
|
|
3219
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3624
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#729
|
3220
3625
|
Regexp::Syntax::Token::UnicodeProperty::V2_2_0 = T.let(T.unsafe(nil), Array)
|
3221
3626
|
|
3222
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3627
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#730
|
3223
3628
|
Regexp::Syntax::Token::UnicodeProperty::V2_3_0 = T.let(T.unsafe(nil), Array)
|
3224
3629
|
|
3225
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3630
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#731
|
3226
3631
|
Regexp::Syntax::Token::UnicodeProperty::V2_4_0 = T.let(T.unsafe(nil), Array)
|
3227
3632
|
|
3228
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3633
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#732
|
3229
3634
|
Regexp::Syntax::Token::UnicodeProperty::V2_5_0 = T.let(T.unsafe(nil), Array)
|
3230
3635
|
|
3231
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3636
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#733
|
3232
3637
|
Regexp::Syntax::Token::UnicodeProperty::V2_6_0 = T.let(T.unsafe(nil), Array)
|
3233
3638
|
|
3234
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3639
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#734
|
3235
3640
|
Regexp::Syntax::Token::UnicodeProperty::V2_6_2 = T.let(T.unsafe(nil), Array)
|
3236
3641
|
|
3237
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3642
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#735
|
3238
3643
|
Regexp::Syntax::Token::UnicodeProperty::V2_6_3 = T.let(T.unsafe(nil), Array)
|
3239
3644
|
|
3240
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3645
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#736
|
3241
3646
|
Regexp::Syntax::Token::UnicodeProperty::V3_1_0 = T.let(T.unsafe(nil), Array)
|
3242
3647
|
|
3243
|
-
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#
|
3648
|
+
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#737
|
3244
3649
|
Regexp::Syntax::Token::UnicodeProperty::V3_2_0 = T.let(T.unsafe(nil), Array)
|
3245
3650
|
|
3246
3651
|
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#12
|