Package com.javacc
Class Main
java.lang.Object
com.javacc.Main
Entry point.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PROG_NAME
- See Also:
-
URL
- See Also:
-
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
main
The main program.- Throws:
Exception
-
mainProgram
public static int mainProgram(Path grammarFile, Path outputDir, String codeLang, int jdkTarget, boolean quiet, Map<String, String> symbols) throws IOException, ParseException, freemarker.template.TemplateException- Parameters:
grammarFile- The input fileoutputDir- The output directory, if this is null, just use the directory where the input file is.quiet- Whether to be silent (or quiet). Currently does nothing!- Returns:
- error code
- Throws:
ExceptionIOExceptionParseExceptionfreemarker.template.TemplateException
-
bannerLine
public static void bannerLine()This prints the banner line when the various tools are invoked. This takes as argument the tool's full name and its version.
-