Sha256: 43fd163c4bd56a541fa3c7cefd3798f02c1d2608e6a20a680f29ef522d21236b
Contents?: true
Size: 539 Bytes
Versions: 3809
Compression:
Stored size: 539 Bytes
Contents
#-- # # # # Copyright (c) 1999-2006 Minero Aoki # # This program is free software. # You can distribute/modify this program under the same terms of ruby. # see the file "COPYING". # #++ module Racc class SourceText def initialize(text, filename, lineno) @text = text @filename = filename @lineno = lineno end attr_reader :text attr_reader :filename attr_reader :lineno def to_s "#<SourceText #{location()}>" end def location "#{@filename}:#{@lineno}" end end end
Version data entries
3,809 entries across 3,799 versions & 34 rubygems