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.49 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.48 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.47 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.46 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.45 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.44 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.43 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.42 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.41 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.40 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.39 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.38 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.37 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.36 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.35 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.34 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.33 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.32 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.31 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.30 lib/knj/php_parser/tests/test_function_run.rb