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