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
-
Method Summary
-
Constructor Details
-
TraceVisitor
public TraceVisitor()
-
-
Method Details
-
visit
Visits a
TraceNode
. Called byTraceNode.accept(TraceVisitor)
, before visiting its children.- Parameters:
node
- theTraceNode
being 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 aTraceNode
has zero children.The default implementation of this method does nothing.
- Parameters:
node
- theTraceNode
being 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 aTraceNode
has zero children.The default implementation of this method does nothing.
- Parameters:
node
- theTraceNode
being left
-