module volt.util.worktracker

Code Map

module volt.util.worktracker;


class Work
{
public:
	enum Action
	{
		Resolve,
		Actualize,
	}


public:
	node: ir.Node;
	action: Action;


public:
	this(wt: WorkTracker, n: ir.Node, action: Action) { }
	fn done() { }
	fn description() string { }


protected:
	fn key() u64 { }
}

class WorkTracker
{
public:
	this() { }
	fn add(n: ir.Node, action: Work.Action) Work { }
	fn remove(w: Work) { }
}