at.dms.kjc.raw
Class BlockExecutionCounts
java.lang.Object
at.dms.kjc.raw.BlockExecutionCounts
- All Implemented Interfaces:
- FlatVisitor
public class BlockExecutionCounts
- extends Object
- implements FlatVisitor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockExecutionCounts
public BlockExecutionCounts()
getBlockCount
public static int getBlockCount(FlatNode node)
calcBlockCounts
public static void calcBlockCounts(FlatNode top)
visitNode
public void visitNode(FlatNode node)
- Description copied from interface:
FlatVisitor
- The visitor must define this method that will be called once on
each FlatNode that is down stream of the accepting node.
- Specified by:
visitNode
in interface FlatVisitor
- Parameters:
node
- the node that is being currently visited.