Class Summary |
ClassInfo |
Class ClassInfo is used by the visitors to store information about a class
including its name, a list of field types, and a list of field names. |
CopyCat |
|
Errors |
Class Errors handles errors ranging from warnings to fatal errors, printing
a message to the user and handling it appropriately. |
FieldNameGenerator |
Class FieldNameGenerator generates the names of the fields of node classes
depending on whether the "-f" parameter for descriptive field names has
been used or not. |
FileGenerator |
Class FileGenerator generates the .java files and the generic
interface GJVisitor.java as well as GJDepthFirst.java. |
Globals |
Class Globals contains global program information. |
JavaStringMaker |
Class JavaStringMaker visits a java code brach of the tree and returns a
pretty printed string representation of the subtree. |
NoArguFileGenerator |
Class NoArguFileGenerator generates the GJNoArguVisitor.java interface
as well as GJNoAguDepthFirst.java. |
OldFileGenerator |
Class OldFileGenerator generates the interface Visitor.java interface
as well as DepthFirstVisitor.java. |
Spacing |
Class Spacing is used for of pretty printing to provide necessary
indentation. |
UnicodeConverter |
Class UnicodeConverter contains some methods to convert unicode chars into
their escape sequence form (provided by James Huang from the JavaCC
mailing list). |
VarInfo |
Class VarInfo stores variable information -- its type, name, and
initializer. |
VoidFileGenerator |
Class VoidFileGenerator generates the GJVoidVisitor.java interface
as well as GJVoidDepthFirst.java. |