Package org.javacc.parser
Class Main
- java.lang.Object
-
- org.javacc.parser.Main
-
public class Main extends java.lang.ObjectEntry point.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMain()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static ParserDatacreateParserData(Context context)private static voidhelp_message()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.private static java.lang.StringpadRight(java.lang.String name, int maxLengthInt)private static voidprintOptionInfo(OptionType filter, OptionInfo optionInfo, int padLength)private static voidprintOptions()static ContextreInitAll()
-
-
-
Method Detail
-
help_message
private static void help_message()
-
printOptions
private static void printOptions()
-
printOptionInfo
private static void printOptionInfo(OptionType filter, OptionInfo optionInfo, int padLength)
-
padRight
private static java.lang.String padRight(java.lang.String name, int maxLengthInt)
-
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
-
createParserData
private static ParserData createParserData(Context context)
-
reInitAll
public static Context reInitAll()
-
-