Package jflex.option
Class Options
java.lang.Object
jflex.option.Options
Collects all global JFlex options.
Can be set from command line parser, ant task, gui, etc.
- Version:
- JFlex 1.8.2
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic File
output directorystatic boolean
If true, jflex will write graphviz .dot files for generated automatastatic boolean
If true, you will be flooded with information (e.g.static Charset
The encoding to use for input and output files.static boolean
strict JLex compatibilitystatic boolean
If true, dot (.) metachar matches [^\n] instead of [^\r\n ]|"\r\n"static boolean
don't write backup files if this is truestatic boolean
don't run minimization algorithm if this is truestatic boolean
If true, progress dots will be printedprivate static File
The root source directory.static boolean
If true, jflex will print time statistics about the generation processstatic boolean
Whether to warn about unused macros.static boolean
If false, only error/warning output will be generated -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic File
getDir()
static File
Returns the root directory that contains source code.static void
static void
setRootDirectory
(File rootDir)
-
Field Details
-
directory
output directory -
rootDirectory
The root source directory.In a maven project, this is the directory that contains
src
andtarget
. -
jlex
public static boolean jlexstrict JLex compatibility -
no_minimize
public static boolean no_minimizedon't run minimization algorithm if this is true -
no_backup
public static boolean no_backupdon't write backup files if this is true -
verbose
public static boolean verboseIf false, only error/warning output will be generated -
unused_warning
public static boolean unused_warningWhether to warn about unused macros. -
progress
public static boolean progressIf true, progress dots will be printed -
time
public static boolean timeIf true, jflex will print time statistics about the generation process -
dot
public static boolean dotIf true, jflex will write graphviz .dot files for generated automata -
dump
public static boolean dumpIf true, you will be flooded with information (e.g. dfa tables). -
legacy_dot
public static boolean legacy_dotIf true, dot (.) metachar matches [^\n] instead of [^\r\n ]|"\r\n" -
encoding
The encoding to use for input and output files.
-
-
Constructor Details
-
Options
private Options()Prevent instantiation of static-only calss
-
-
Method Details
-
getDir
-
getRootDirectory
Returns the root directory that contains source code. This is the java working (from system propertyuser.dir
) by default. -
setRootDirectory
-
resetRootDirectory
public static void resetRootDirectory()
-