Package net.emustudio.edigen
Class Edigen
- java.lang.Object
-
- net.emustudio.edigen.Edigen
-
public class Edigen extends java.lang.ObjectThe 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 voidmain(java.lang.String[] args)The application entry point used when running the program from the command line.voidrun(java.lang.String[] args)Runs the generator without calling System.exit() - useful when running from a Maven plugin.
-
-
-
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, SemanticExceptionRuns the generator without calling System.exit() - useful when running from a Maven plugin.- Parameters:
args- the arguments- Throws:
CommandLineException- when the arguments are invalidjava.io.IOException- when an I/O error occursnet.emustudio.edigen.parser.ParseException- when the input file can not be parsedSemanticException- when the input file is semantically invalid
-
-