Package jflex.generator
Class LexGenerator
- java.lang.Object
-
- jflex.generator.LexGenerator
-
public class LexGenerator extends java.lang.ObjectThis is the generator of JFlex, controlling the scanner generation process.- Version:
- JFlex 1.9.1
-
-
Constructor Summary
Constructors Constructor Description LexGenerator(java.io.File inputFile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.lang.ObjectcheckNotNull(java.lang.Object object, java.lang.String msg)private static voidcheckState(boolean state, java.lang.String msg)java.lang.Stringgenerate()Generates a scanner for the specified input file.intminimizedDfaStatesCount()
-
-
-
Method Detail
-
generate
public java.lang.String generate()
Generates a scanner for the specified input file.- Returns:
- the file name of the generated Java sources.
-
minimizedDfaStatesCount
public int minimizedDfaStatesCount()
-
checkNotNull
private static java.lang.Object checkNotNull(java.lang.Object object, java.lang.String msg)
-
checkState
private static void checkState(boolean state, java.lang.String msg)
-
-