# File lib/ruby_parser_extras.rb, line 54
  def begin_of_line?
    pos == 0 or string[pos-1] == ?\n
  end