From: justincollins@... Date: 2011-09-01T08:00:44+09:00 Subject: Re: ripper on array access operation Quoting "Surya G." : > unknown wrote in post #1019486: >> Quoting "Surya G." : >> >>> 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))) -Justin