public class VisitorPass extends AbstractPass
Modifier and Type | Field and Description |
---|---|
protected NodeVisitor |
v |
exclusive_time, goal, inclusive_time
Constructor and Description |
---|
VisitorPass(Goal goal) |
VisitorPass(Goal goal,
NodeVisitor v) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
name()
The human-readable name of the pass.
|
boolean |
run()
Run the pass, returning true on success.
|
NodeVisitor |
visitor() |
void |
visitor(NodeVisitor v) |
exclusiveTime, goal, inclusiveTime, resetTimers, toggleTimers, toString
protected NodeVisitor v
public VisitorPass(Goal goal)
public VisitorPass(Goal goal, NodeVisitor v)
public void visitor(NodeVisitor v)
public NodeVisitor visitor()
public boolean run()
AbstractPass
run
in interface Pass
run
in class AbstractPass
public java.lang.String name()
AbstractPass
name
in interface Pass
name
in class AbstractPass