Package org.javacc.jjdoc
Class JJDocMain
- java.lang.Object
-
- org.javacc.jjdoc.JJDocGlobals
-
- org.javacc.jjdoc.JJDocMain
-
public final class JJDocMain extends JJDocGlobals
Main class.
-
-
Field Summary
-
Fields inherited from class org.javacc.jjdoc.JJDocGlobals
generator, input_file, output_file
-
-
Constructor Summary
Constructors Modifier Constructor Description privateJJDocMain()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static voidhelp_message(JJDocContext context)static voidmain(java.lang.String[] args)A main program that exercises the parser.static intmainProgram(java.lang.String[] args)The method to call to exercise the parser from other Java programs.-
Methods inherited from class org.javacc.jjdoc.JJDocGlobals
error, getGenerator, info
-
-
-
-
Method Detail
-
help_message
static void help_message(JJDocContext context)
-
main
public static void main(java.lang.String[] args) throws java.lang.ExceptionA main program that exercises the parser.- Throws:
java.lang.Exception
-
mainProgram
public static int mainProgram(java.lang.String[] args) throws java.lang.ExceptionThe method to call to exercise the parser from other Java programs. It returns an error code. See how the main program above uses this method.- Throws:
java.lang.Exception
-
-