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