Class UnusedOutputFile

java.lang.Object
EDU.purdue.jtb.parser.UnusedOutputFile

public class UnusedOutputFile extends Object
This class handles the creation and maintenance of the boiler-plate (invariant) classes, (TokenMgrError.java, ParseException.java,Token.java, TokenManager.java, CharStream.java, JavaCharStream.java, SimpleCharStream.java).
It is responsible for:
  • Writing the JavaCC header lines to the file.
  • Writing the checksum line.
  • Using the checksum to determine if an existing file has been changed by the user (and so should be left alone).
  • Checking any existing file's version (if the file can not be overwritten).
  • Checking any existing file's creation options (if the file can not be overwritten).

Not used by JTB.
  • Constructor Details

    • UnusedOutputFile

      public UnusedOutputFile()