Package org.javacc.parser
Class Main
- java.lang.Object
-
- org.javacc.parser.Main
-
public class Main extends java.lang.Object
Entry point.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Main()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
A main program that exercises the parser.static int
mainProgram(java.lang.String[] args)
The method to call to exercise the parser from other Java programs.static void
reInitAll()
-
-
-
Field Detail
-
lg
public static LexGen lg
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
A main program that exercises the parser.- Throws:
java.lang.Exception
-
mainProgram
public static int mainProgram(java.lang.String[] args) throws java.lang.Exception
The 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
-
reInitAll
public static void reInitAll()
-
-