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.29 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.28 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.27 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.26 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.25 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.24 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.23 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.22 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.21 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.20 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.19 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.18 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.17 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.16 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.15 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.14 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.13 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.12 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.11 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.10 lib/knj/php_parser/tests/test_function_run.rb