class Covered::Files

def [](path)

def [](path)
	@paths[path] ||= State.for(path)
end

def add(coverage)

def add(coverage)
	self[coverage.path].merge!(coverage)
end

def annotate(path, lineno, value)

def annotate(path, lineno, value)
	self[path].annotate(lineno, value)
end

def clear

def clear
	@paths.clear
end

def each

def each
	return to_enum unless block_given?
	
	@paths.each_value do |state|
		yield state.coverage
	end
end

def empty?

def empty?
	@paths.empty?
end

def initialize(*)

def initialize(*)
	super
	
	@paths = {}
end

def mark(path, lineno, value)

def mark(path, lineno, value)
	self[path].mark(lineno, value)
end