at.dms.kjc.raw
Class FileVisitor

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

public class FileVisitor
extends Object
implements FlatVisitor


Field Summary
static HashSet<Object> fileNodes
           
static HashSet<Object> fileReaders
           
static HashSet<Object> fileWriters
           
static boolean foundReader
           
static boolean foundWriter
           
 
Constructor Summary
FileVisitor()
           
 
Method Summary
static boolean connectedToFR(Coordinate tile)
           
static void init(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
 

Field Detail

foundReader

public static boolean foundReader

fileReaders

public static HashSet<Object> fileReaders

foundWriter

public static boolean foundWriter

fileWriters

public static HashSet<Object> fileWriters

fileNodes

public static HashSet<Object> fileNodes
Constructor Detail

FileVisitor

public FileVisitor()
Method Detail

init

public static void init(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.

connectedToFR

public static boolean connectedToFR(Coordinate tile)