Class Edigen


  • public class Edigen
    extends java.lang.Object
    The main application class.
    • Constructor Summary

      Constructors 
      Constructor Description
      Edigen()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      The application entry point used when running the program from the command line.
      void run​(java.lang.String[] args)
      Runs the generator without calling System.exit() - useful when running from a Maven plugin.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Edigen

        public Edigen()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        The application entry point used when running the program from the command line.

        Displays information or error messages and calls the translator.

        Parameters:
        args - the command line arguments
      • run

        public void run​(java.lang.String[] args)
                 throws CommandLineException,
                        java.io.IOException,
                        net.emustudio.edigen.parser.ParseException,
                        SemanticException
        Runs the generator without calling System.exit() - useful when running from a Maven plugin.
        Parameters:
        args - the arguments
        Throws:
        CommandLineException - when the arguments are invalid
        java.io.IOException - when an I/O error occurs
        net.emustudio.edigen.parser.ParseException - when the input file can not be parsed
        SemanticException - when the input file is semantically invalid