Sha256: c1049b42f5fb9f4d0dfe0aeb15f1ad3ba4248fad44f14494b0c74ddfc6da954e

Contents?: true

Size: 299 Bytes

Versions: 49

Compression:

Stored size: 299 Bytes

Contents

#!/usr/bin/env ruby

require 'pp'
begin require 'rubygems' rescue LoadError end
require 'parse_tree'

ARGV.push "-" if ARGV.empty?

parse_tree = ParseTree.new(true)

ARGV.each do |file|
  ruby = file == "-" ? $stdin.read : File.read(file)
  pp parse_tree.parse_tree_for_string(ruby, file).first
end

Version data entries

49 entries across 49 versions & 14 rubygems

Version Path
linecache19-0.5.11 test/parse-show.rb
linecache-0.43-mswin32 test/parse-show.rb
linecache-0.42-mswin32 test/parse-show.rb
linecache-0.41-mswin32 test/parse-show.rb
linecache-0.3 test/parse-show.rb
linecache-0.41 test/parse-show.rb
linecache-0.4 test/parse-show.rb
linecache-0.43 test/parse-show.rb
linecache-0.42 test/parse-show.rb