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