at.dms.kjc.raw
Class DFTraversal

java.lang.Object
  extended by at.dms.kjc.raw.DFTraversal
All Implemented Interfaces:
FlatVisitor

public class DFTraversal
extends Object
implements FlatVisitor


Constructor Summary
protected DFTraversal()
           
 
Method Summary
static LinkedList<FlatNode> getDFTraversal(FlatNode top)
           
 void visitNode(FlatNode node)
          The visitor must define this method that will be called once on each FlatNode that is down stream of the accepting node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DFTraversal

protected DFTraversal()
Method Detail

getDFTraversal

public static LinkedList<FlatNode> getDFTraversal(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.