Class: RPStringScanner

Class | RPStringScanner
In: | lib/ruby_parser_extras.rb
Parent: | StringScanner

### Methods

begin_of_line? current_line getch lineno scan unread unread_many was_begin_of_line

### External Aliases

getch | -> | old_getch
scan | -> | old_scan

### Public Instance methods

begin_of_line?()
current_line(

if ENV[‘TALLY’] then

      alias :old_getch :getch
      def getch
        warn({:getch => caller[0]}.inspect)
        old_getch
      end

end

getch()
lineno()
scan(re)
unread(c

TODO: once we get rid of these, we can make things like TODO: current_line and lineno much more accurate and easy to do

unread_many(str
was_begin_of_line(

[Validate]