Class BaseNodesGenerator

java.lang.Object
EDU.purdue.jtb.generate.BaseNodesGenerator

public class BaseNodesGenerator extends Object
Class BaseNodesGenerator contains methods to generate the base nodes interfaces and classes. CODEJAVA

Class maintains a state, and is not supposed to be run in parallel threads (on the same grammar). It does not generate the files in parallel.

  • Constructor Details

  • Method Details

    • genBaseNodesFiles

      public int genBaseNodesFiles(List<UserClassInfo> aClasses) throws IOException
      Generates the base nodes source files.
      Parameters:
      aClasses - - the list of UserClassInfo classes instances
      Returns:
      the number of generated files
      Throws:
      IOException - if IO problem