ruby/lib
nicholas a. evans e165d92d37
[ruby/rdoc] Drop reimplementation of Ripper lex state
(https://github.com/ruby/rdoc/pull/1118)

* Drop reimplementation of Ripper lex state

This code was for ruby 2.4 compatibility, but rdoc dropped support for
ruby 2.4 about three years ago, in f480b970c.  This code was almost half
of the lines of code in rdoc/parser/ripper_state_lex.

* Remove unused Ripper constants and const_defined?

This was mostly copied from the diff in @st0012's PR comment.  The
remaining constants have been updated to get their value directly from
Ripper.

Co-authored-by: Stan Lo <stan001212@gmail.com>

* Use Ripper::EXPR_LABEL directly

Since this is only used from outside RipperStateLex, there's no longer
any benefit to using the indirect reference rather than just going
straight to Ripper.

---------

https://github.com/ruby/rdoc/commit/dd8c216263

Co-authored-by: Stan Lo <stan001212@gmail.com>
2024-07-16 07:22:11 +09:00
..
bundler [rubygems/rubygems] Fix another strange error when running `bundle add` in frozen mode 2024-07-10 08:04:07 +00:00
cgi [ruby/cgi] Add snake case aliases for escapeURIComponent 2023-11-07 10:22:30 +00:00
did_you_mean [ruby/did_you_mean] Move development dependencies to Gemfile 2024-05-05 23:22:28 +00:00
erb [ruby/erb] Version 4.0.4 2024-01-04 22:34:59 +00:00
error_highlight [PRISM] Use node ids for error highlight 2024-07-11 14:25:54 -04:00
forwardable
irb [ruby/irb] Bump version to v1.14.0 2024-07-06 17:55:00 +00:00
logger [ruby/logger] Add reraise_write_errors keyword argument to Logger and LogDevice 2024-07-11 15:25:17 +00:00
net [ruby/net-http] implement talking SSL to the proxy too 2024-07-11 01:56:08 +00:00
open3 [ruby/open3] Bump up v0.2.1 2023-12-16 11:48:49 +08:00
optparse [ruby/optparse] Fix typo [ci skip] 2024-04-18 10:27:19 +09:00
prism [ruby/prism] (ruby_parser) Handle bare string in implicit concat 2024-07-11 19:46:50 +00:00
random [ruby/securerandom] Update UUID documentation with RFC9562 links 2024-06-20 08:34:31 +00:00
rdoc [ruby/rdoc] Drop reimplementation of Ripper lex state 2024-07-16 07:22:11 +09:00
reline [ruby/reline] Fix rendering bug of nomultiline prompt 2024-07-12 12:21:26 +00:00
ruby_vm/rjit Optimized forwarding callers and callees 2024-06-18 09:28:25 -07:00
rubygems [rubygems/rubygems] fix s3 source configuration issue 2024-07-11 02:27:46 +00:00
set [ruby/set] Drop support for Ruby 2 2023-12-23 16:50:29 +09:00
syntax_suggest chore: remove repetitive words (#10573) 2024-04-18 15:32:34 +00:00
unicode_normalize
uri Use www.rfc-editor.org for RFC text. 2024-03-28 11:44:45 +09:00
yaml [ruby/yaml] Make PStore support as optional 2024-01-31 05:56:39 +00:00
English.gemspec [ruby/English] Bump up 0.8.0 2023-11-07 07:32:00 +00:00
English.rb [ruby/English] Combine duplicate aliases into single sections to more clearly denote sameness and make more concise. 2023-11-07 07:24:50 +00:00
benchmark.gemspec Fixup 5bfb317a93 2023-05-25 16:09:29 +09:00
benchmark.rb [ruby/benchmark] Bump up 0.3.0 2023-11-06 18:33:03 +09:00
bundled_gems.rb Mark to warn logger as bundled gems for Ruby 3.5 2024-06-05 17:26:50 +09:00
bundler.rb [rubygems/rubygems] Auto switch to locked bundler version even when using binstubs 2024-06-11 13:30:50 +00:00
cgi.rb [ruby/cgi] Bump up 0.4.1 2023-12-05 06:38:55 +00:00
delegate.gemspec Move gemspec files to top of lib directory. 2023-05-25 15:47:48 +09:00
delegate.rb Do not include a backtick in error messages and backtraces 2024-02-15 18:42:31 +09:00
did_you_mean.rb
erb.gemspec
erb.rb [ruby/erb] [DOC] Use indented heredoc 2023-03-21 15:05:29 +00:00
error_highlight.rb
fileutils.gemspec
fileutils.rb [ruby/fileutils] [DOC] FileUtils::VERSION 2024-02-21 16:57:30 +00:00
find.gemspec [ruby/find] find.gemspec: Drop executables dir config 2024-05-17 02:05:31 +00:00
find.rb [ruby/find] Bump up 0.2.0 2023-11-07 12:53:16 +09:00
forwardable.rb
ipaddr.gemspec
ipaddr.rb [ruby/ipaddr] Add IPAddr.cidr to return ip address in cidr notation 2024-04-18 10:27:19 +09:00
irb.rb [ruby/irb] Allow assigning and using local variable name conflicting 2024-06-30 17:13:27 +00:00
logger.rb [ruby/logger] Add reraise_write_errors keyword argument to Logger and LogDevice 2024-07-11 15:25:17 +00:00
mkmf.rb [Feature #20345] Add `--target-rbconfig` option to mkmf 2024-04-02 14:24:54 +09:00
open-uri.gemspec [ruby/open-uri] Expose OpenURI::VERSION 2023-04-13 09:47:40 +00:00
open-uri.rb [ruby/open-uri] document max_redirects option 2024-07-11 04:49:59 +00:00
open3.rb Manually sync with https://github.com/ruby/open3/pull/22 and related PRs 2023-11-30 12:21:25 +09:00
optionparser.rb
optparse.rb [ruby/optparse] bump up to 0.5.0 2024-04-15 05:06:46 +00:00
ostruct.gemspec [ruby/ostruct] Use Gemfile instead of Gem::Specification#add_development_dependency 2023-10-19 06:55:40 +00:00
ostruct.rb Do not include a backtick in error messages and backtraces 2024-02-15 18:42:31 +09:00
pp.gemspec [ruby/pp] Expose PP::VERSION 2023-04-14 01:49:51 +00:00
pp.rb [ruby/pp] Extract pp_hash_pair 2024-02-21 16:45:01 +00:00
prettyprint.gemspec [ruby/prettyprint] Expose PrettyPrint::VERSION 2023-04-14 01:52:08 +00:00
prettyprint.rb [ruby/prettyprint] Bump up 0.2.0 2023-11-07 01:10:12 +00:00
prism.rb [ruby/prism] Remove Debug module 2024-05-24 17:19:38 +00:00
pstore.gemspec Move gemspec files to top of lib directory. 2023-05-25 15:47:48 +09:00
pstore.rb Do not include a backtick in error messages and backtraces 2024-02-15 18:42:31 +09:00
rdoc.rb [ruby/rdoc] Group code object files into the same directory 2024-07-02 10:15:00 +00:00
readline.gemspec [ruby/readline] Bump up v0.0.4 2023-12-16 13:49:13 +08:00
readline.rb [ruby/readline] Fix readline-ext gem loading in non Unix-like environments 2023-12-16 13:49:12 +08:00
reline.rb [ruby/reline] Fix rendering bug of nomultiline prompt 2024-07-12 12:21:26 +00:00
resolv.gemspec [ruby/resolv] Expose Resolv::VERSION 2023-04-14 01:46:38 +00:00
resolv.rb [ruby/resolv] Bump up 0.4.0 2024-03-19 02:16:51 +00:00
ruby2_keywords.gemspec
rubygems.rb [rubygems/rubygems] Properly protect writing binstubs with a file lock 2024-07-08 14:38:30 +09:00
securerandom.gemspec [ruby/securerandom] Update file list to package 2023-12-29 16:10:30 +00:00
securerandom.rb [ruby/securerandom] Bump up v0.3.1 2023-12-16 12:10:38 +08:00
set.rb [ruby/set] Bump version to 1.1.0 2023-12-23 16:50:33 +09:00
shellwords.gemspec [ruby/shellwords] Exclude unnecessary files from the packages 2024-07-03 10:15:22 +00:00
shellwords.rb [ruby/shellwords] [DOC] Beautify links and formats 2024-07-03 10:15:26 +00:00
singleton.gemspec Move gemspec files to top of lib directory. 2023-05-25 15:47:48 +09:00
singleton.rb [ruby/singleton] Bump up 0.2.0 2023-11-06 09:44:09 +00:00
syntax_suggest.rb
tempfile.gemspec [ruby/tempfile] Fix for environment without git 2024-02-27 01:31:12 +00:00
tempfile.rb Tempfile document updated. 2024-06-02 01:12:26 +09:00
time.gemspec [ruby/time] Exclude unnecessary files from package 2024-03-06 15:47:31 +00:00
time.rb [ruby/time] Document exception thrown by `Time.strptime` 2024-04-19 10:32:04 +00:00
timeout.gemspec [ruby/timeout] Provide a 'Changelog' link on rubygems.org/gems/timeout 2023-12-25 21:12:49 +09:00
timeout.rb [ruby/timeout] [DOC] Missing documents 2023-12-25 21:12:49 +09:00
tmpdir.gemspec [ruby/tmpdir] Fix for environment without git 2024-02-27 01:31:50 +00:00
tmpdir.rb [ruby/tmpdir] Display the offending parent path in the exception 2024-04-08 11:05:40 +00:00
tsort.gemspec Fixed version detection paths in ruby repository 2023-04-03 12:00:59 +09:00
tsort.rb [ruby/tsort] Bump up 0.2.0 2023-11-07 01:59:17 +00:00
un.gemspec [ruby/un] Expose UN::VERSION 2023-04-13 09:47:22 +00:00
un.rb [ruby/un] Bump up 0.3.0 2023-11-06 09:29:53 +00:00
uri.rb Use www.rfc-editor.org for RFC text. 2024-03-28 11:44:45 +09:00
weakref.gemspec Move gemspec files to top of lib directory. 2023-05-25 15:47:48 +09:00
weakref.rb [ruby/weakref] Bump up 0.1.3 2023-11-07 01:46:40 +00:00
yaml.rb [ruby/yaml] Bump up 0.3.0 2023-11-06 19:03:04 +09:00