Package com.yahoo.yolean.trace
Class TraceVisitor
java.lang.Object
com.yahoo.yolean.trace.TraceVisitor
This class is an abstract visitor of TraceNode. See TraceNode.accept(TraceVisitor).
- Since:
- 5.1.15
- Author:
- bratseth
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TraceVisitor
public TraceVisitor()
-
-
Method Details
-
visit
Visits a
TraceNode. Called byTraceNode.accept(TraceVisitor), before visiting its children.- Parameters:
node- theTraceNodebeing visited- See Also:
-
entering
Enters a
TraceNode. This method is called aftervisit(TraceNode), but before visiting its children. Note that this method is NOT called if aTraceNodehas zero children.The default implementation of this method does nothing.
- Parameters:
node- theTraceNodebeing entered- See Also:
-
leaving
Leaves a
TraceNode. This method is called afterentering(TraceNode), and after visiting its children. Note that this method is NOT called if aTraceNodehas zero children.The default implementation of this method does nothing.
- Parameters:
node- theTraceNodebeing left
-