public enum Option extends Enum<Option>
Enum Constant and Description |
---|
ASS
If assignment expressions should be allowed
|
BITWISE
If bitwise operators should be allowed
|
BROWSER
If the standard browser globals should be predefined
|
CLOSURE
If google closure idioms should be tolerated
|
CONTINUE
If the continuation statement should be tolerated
|
DEBUG
If debugger statements should be allowed
|
DEVEL
If logging should be allowed (console, alert, etc.)
|
EQEQ
If == should be allowed
|
ES5
If es5 syntax should be allowed
|
EVIL
If eval should be allowed
|
FORIN
If for in statements need not filter
|
INDENT
The indentation factor
|
MAXERR
The maximum number of errors to allow
|
MAXLEN
The maximum length of a source line
|
NEWCAP
If constructor names capitalization is ignored
|
NODE
If node.js globals should be predefined
|
NOMEN
If names may have dangling _
|
PASSFAIL
If the scan should stop on first error
|
PLUSPLUS
If increment/decrement should be allowed
|
PREDEF
The names of predefined global variables
|
PROPERTIES
If all property names must be declared with /*properties*/
|
REGEXP
If the .
|
RHINO
If the rhino environment globals should be predefined
|
SLOPPY
If the 'use strict'; pragma is optional
|
STUPID
If really stupid practices are tolerated
|
SUB
If all forms of subscript notation are tolerated
|
TODO
If todo comments are tolerated
|
UNPARAM
If unused parameters should be tolerated
|
VARS
If multiple var statements per function should be allowed
|
WARNINGS
Unused
|
WHITE
If sloppy whitespace is tolerated
|
WINDOWS
If ms windows-specific globals should be predefined
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Return a description of what this option affects.
|
String |
getLowerName()
Return the lowercase name of this option.
|
Class<?> |
getType()
What type does the value of this option have?
|
static int |
maximumNameLength()
Calculate the maximum length of all of the
Option names. |
String |
toString()
Show this option and its description.
|
static Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Option ASS
public static final Option BITWISE
public static final Option BROWSER
public static final Option CLOSURE
public static final Option CONTINUE
public static final Option DEBUG
public static final Option DEVEL
public static final Option EQEQ
public static final Option ES5
public static final Option EVIL
public static final Option FORIN
public static final Option INDENT
public static final Option MAXERR
public static final Option MAXLEN
public static final Option NEWCAP
public static final Option NODE
public static final Option NOMEN
public static final Option PASSFAIL
public static final Option PLUSPLUS
public static final Option PREDEF
public static final Option PROPERTIES
public static final Option REGEXP
public static final Option RHINO
public static final Option SLOPPY
public static final Option STUPID
public static final Option SUB
public static final Option TODO
public static final Option UNPARAM
public static final Option VARS
public static final Option WARNINGS
public static final Option WHITE
public static final Option WINDOWS
public static Option[] values()
for (Option c : Option.values()) System.out.println(c);
public static Option valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getDescription()
public String getLowerName()
public Class<?> getType()
public static int maximumNameLength()
Option
names.Copyright © 2007-2013. All Rights Reserved.