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