Class LexGenerator


  • public class LexGenerator
    extends Object
    This is the generator of JFlex, controlling the scanner generation process.
    Version:
    JFlex 1.8.1
    Author:
    Gerwin Klein, Régis Décamps
    • Constructor Detail

      • LexGenerator

        public LexGenerator​(File inputFile)
    • Method Detail

      • generate

        public String generate()
        Generates a scanner for the specified input file.
        Returns:
        the file name of the generated Java sources.
      • minimizedDfaStatesCount

        public int minimizedDfaStatesCount()