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