Sha256: 82d0670309cd204fa16e8f2cc4593e99bb9f249b645c49cb1fa90bd1ee2d065b

Contents?: true

Size: 309 Bytes

Versions: 101

Compression:

Stored size: 309 Bytes

Contents

#!/usr/bin/env ruby

require "knj/autoload"
include Knj

parser = Php_parser.new(
  "file" => File.dirname(__FILE__) + "/test_function.php"
)

begin
  cont = parser.parse
rescue RuntimeError => e
  print "Retcont:\n#{parser.retcont}\n\n"
  print "Cont:\n#{parser.cont}\n\n"
  
  raise e
end

print cont + "\n"

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
knjrbfw-0.0.94 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.93 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.92 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.91 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.90 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.89 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.88 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.87 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.86 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.85 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.84 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.83 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.82 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.81 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.80 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.79 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.78 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.77 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.75 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.74 lib/knj/php_parser/tests/test_function_run.rb