Class BaseNodesGenerator


  • public class BaseNodesGenerator
    extends java.lang.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.

    • Method Detail

      • genBaseNodesFiles

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