mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
3391c51eff
We want to use error highlight with eval'd code, specifically ERB templates. We're able to recover the generated code for eval'd templates and can get a parse tree for the ERB generated code, but we don't have a way to get the node id from the backtrace location. So we can't pass the right node into error highlight. This patch gives us an API to get the node id from the backtrace location so we can find the node in the AST. Error Highlight PR: https://github.com/ruby/error_highlight/pull/26 Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org> |
||
---|---|---|
.. | ||
-ext- | ||
base64 | ||
benchmark | ||
bigdecimal | ||
cgi | ||
coverage | ||
csv | ||
date | ||
did_you_mean | ||
digest | ||
drb | ||
dtrace | ||
erb | ||
error_highlight | ||
etc | ||
excludes | ||
fiber | ||
fiddle | ||
fileutils | ||
fixtures/fake_sorted_set_gem | ||
io | ||
irb | ||
json | ||
lib | ||
logger | ||
mkmf | ||
monitor | ||
net | ||
nkf | ||
objspace | ||
open-uri | ||
openssl | ||
optparse | ||
ostruct | ||
pathname | ||
psych | ||
racc | ||
rdoc | ||
readline | ||
reline | ||
resolv | ||
rinda | ||
ripper | ||
ruby | ||
rubygems | ||
socket | ||
stringio | ||
strscan | ||
syslog | ||
uri | ||
win32ole | ||
yaml | ||
zlib | ||
runner.rb | ||
test_abbrev.rb | ||
test_delegate.rb | ||
test_extlibs.rb | ||
test_find.rb | ||
test_forwardable.rb | ||
test_getoptlong.rb | ||
test_ipaddr.rb | ||
test_mutex_m.rb | ||
test_observer.rb | ||
test_open3.rb | ||
test_pp.rb | ||
test_prettyprint.rb | ||
test_pstore.rb | ||
test_pty.rb | ||
test_rbconfig.rb | ||
test_securerandom.rb | ||
test_set.rb | ||
test_shellwords.rb | ||
test_singleton.rb | ||
test_sorted_set.rb | ||
test_syslog.rb | ||
test_tempfile.rb | ||
test_time.rb | ||
test_timeout.rb | ||
test_tmpdir.rb | ||
test_trick.rb | ||
test_tsort.rb | ||
test_unicode_normalize.rb | ||
test_weakref.rb |