EDU.purdue.jtb.misc
Class FileGenerator
java.lang.Object
EDU.purdue.jtb.misc.FileGenerator
public class FileGenerator
- extends java.lang.Object
Class FileGenerator generates the .java files and the generic
interface GJVisitor.java as well as GJDepthFirst.java.
Constructor Summary |
FileGenerator(java.util.Vector classes)
Vector must contain objects of type ClassInfo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INDENT_AMT
public static final int INDENT_AMT
- See Also:
- Constant Field Values
FileGenerator
public FileGenerator(java.util.Vector classes)
- Vector must contain objects of type ClassInfo
printClassList
public void printClassList(java.io.PrintWriter out)
- Method to list the classes generated in an easier-to-read form
generateClassFiles
public void generateClassFiles()
throws FileExistsException
- Generates node class source files.
- Throws:
FileExistsException
generateAutoClassFiles
public void generateAutoClassFiles()
throws FileExistsException
- Generates the automatic classes.
- Throws:
FileExistsException
generateVisitorFile
public void generateVisitorFile()
throws FileExistsException
- Generates the visitor source files.
- Throws:
FileExistsException