1 Sep 2011 01:00
Re: ripper on array access operation
<justincollins <at> ucla.edu>
2011-08-31 23:00:44 GMT
2011-08-31 23:00:44 GMT
Quoting "Surya G." <sgaddipati <at> obtiva.com>: > unknown wrote in post #1019486: >> Quoting "Surya G." <sgaddipati <at> obtiva.com>: >> >>> called is present. >>> I get the information about which method was called. >>> >>> -- >>> Posted via http://www.ruby-forum.com/. >>> >>> >> >> I am pretty sure it's the :aref part. Ripper is making [] a special >> case. >> >> -Justin > > Thats what it looks like but why not treat aref as any-other method > call. > > -- > Posted via http://www.ruby-forum.com/. > I don't know. Ripper's output looks like a mess to me when compared to RubyParser: s(:call, s(:call, nil, :a, s(:arglist)), :[], s(:arglist, s(:lit, 1)))(Continue reading)
RSS Feed