Class Main
java.lang.Object
jflex.Main
This is the command-line interface.
It is responsible for parsing the commandline, getting input files, starting up the GUI if
necessary, etc. and invokes LexGenerator accordingly.
- Version:
- JFlex 1.9.1
- Author:
- Gerwin Klein, Régis Décamps
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidgenerate.static voidStarts the generation process with the files inargvor pops up a window to choose a file, whenargvdoesn't have any file entries.static voidPrint system information (e.g. in case of unexpected exceptions)
-
Method Details
-
generate
generate.- Parameters:
argv- an array ofStringobjects.- Throws:
SilentExit- if any.
-
main
Starts the generation process with the files inargvor pops up a window to choose a file, whenargvdoesn't have any file entries.- Parameters:
argv- the commandline.
-
printSystemInfo
public static void printSystemInfo()Print system information (e.g. in case of unexpected exceptions)
-