class Covered::Source

def parse(path)

def parse(path)
	if script = @paths[path]
		Parser::CurrentRuby.parse(script.source, script.path, script.line_offset)
	elsif File.exist?(path)
		Parser::CurrentRuby.parse_file(path)
	else
		# warn "Couldn't parse #{path}, file doesn't exist?"
	end
rescue
	warn "Couldn't parse #{path}: #{$!}"
end