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.116 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.115 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.114 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.113 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.111 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.110 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.109 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.108 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.107 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.105 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.104 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.103 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.102 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.101 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.100 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.99 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.98 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.97 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.96 lib/knj/php_parser/tests/test_function_run.rb
knjrbfw-0.0.95 lib/knj/php_parser/tests/test_function_run.rb