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
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/linecache-1.3.1-java/test/parse-show.rb
linecache2-1.4.0 test/parse-show.rb
linecache-tf-1.3.1 test/parse-show.rb
linecache-1.3.1 test/parse-show.rb
linecache-1.3.1-java test/parse-show.rb
linecache-tf-1.2 test/parse-show.rb
linecache19-patched-0.5.13 test/parse-show.rb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/linecache-0.46/test/parse-show.rb
rbx-linecache-1.4-universal-rubinius-2.0 test/parse-show.rb
rbx-linecache-1.4-universal-rubinius-1.2 test/parse-show.rb
debugger-linecache-1.0.1 test/parse-show.rb
debugger-linecache-1.0.0 test/parse-show.rb
linecache193-0.0.1 test/parse-show.rb
tddium-linecache19-0.5.13 test/parse-show.rb
linecache-0.46-java test/parse-show.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/linecache19-0.5.12/test/parse-show.rb
rbx-linecache-1.3-universal-rubinius-2.0 test/parse-show.rb
linecache-0.46 test/parse-show.rb
linecache-0.46-mswin32 test/parse-show.rb
linecache-0.45.1-mswin32 test/parse-show.rb