Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (9 sloc) 0.281 kb
# Script for benchmarking JavaScript parser.
#
# Takes bunch of filenames as arguments and runs them all through JsParser.
#
$:.unshift File.dirname(File.dirname(__FILE__)) + "/lib"
require 'jsduck/js_parser'
ARGV.each do |fname|
JsDuck::JsParser.new(IO.read(fname)).parse
end
Jump to Line
Something went wrong with that request. Please try again.