logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

jflex - a lexical analyzer generator (also known as scanner generator) for Java

Author

       This manual page was written by Wolfgang Baer <WBaer@gmx.de>, for the Debian project (but may be used  by
       others).

                                                  October 2005                                          JFLEX(1)

Description

       JFlex  is  a  lexical  analyzer  generator  (also  known  as  scanner generator) for Java(tm), written in
       Java(tm). It is also a rewrite of the very useful tool JLex. JFlex is designed to work together with  the
       LALR  parser  generator  CUP,  and  the  Java  modification of Berkeley Yacc BYacc/J. It can also be used
       together with other parser generators like ANTLR or as a standalone tool.

Name

       jflex - a lexical analyzer generator (also known as scanner generator) for Java

Options

-d <directory>
              write generated file to <directory>

       --skel <file>
              use external skeleton <file>

       --switch, --table, --pack
              set default code generation method

       --jlex strict JLex compatibility

       --nomin
              skip minimization step

       --nobak
              don't create backup files

       --dump display transition tables

       --dot  write graphviz .dot files for the generated automata (alpha)

       --verbose, -v
              display generation progress messages (default)

       --quiet, -q
              display errors only

       --time display generation time statistics

       --version
              print the version number of this copy of jflex

       --info print system + JDK information

       --help, -h
              print this message

Synopsis

jflex<options><input-files>

See Also