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
linecache-0.45-mswin32 test/parse-show.rb
linecache-0.45 test/parse-show.rb
linecache19-0.5.12 test/parse-show.rb
rbx-linecache-1.2-universal-rubinius-1.2 test/parse-show.rb
rbx-linecache-1.1-universal-rubinius-1.2 test/parse-show.rb
rbx-linecache-1.0-universal-rubinius-1.2 test/parse-show.rb
linecache-tf-1.0 test/parse-show.rb
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/linecache-0.43/test/parse-show.rb
rbx-linecache-0.44-universal-rubinius-1.2 test/parse-show.rb
rbx-linecache-0.44-universal-rubinius test/parse-show.rb
vim-jar-0.1.2 bundler/ruby/1.8/gems/linecache-0.43/test/parse-show.rb
vim-jar-0.1.1 bundler/ruby/1.8/gems/linecache-0.43/test/parse-show.rb
vim-jar-0.1.0 bundler/ruby/1.8/gems/linecache-0.43/test/parse-show.rb
linecache-tf-0.45 test/parse-show.rb
vim-jar-0.0.3 bundler/ruby/1.8/gems/linecache-0.43/test/parse-show.rb
vim-jar-0.0.2 bundler/ruby/1.8/gems/linecache-0.43/test/parse-show.rb
vim-jar-0.0.1 bundler/ruby/1.8/gems/linecache-0.43/test/parse-show.rb
rbx-linecache-0.43 test/parse-show.rb
linecache-tf-0.44 test/parse-show.rb
rackjour-0.1.8 vendor/gems/gems/linecache-0.43/test/parse-show.rb