m2m_keygen 0.4.7 → 0.5.0

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