# File json/lexer.rb, line 67 def nextchars(n) raise "substring bounds error" if (@index + n > @source.length) i = @index @index += n return(@source[i,n]) end