Package com.google.javascript.jscomp
Enum CompilerOptions.AliasStringsMode
- java.lang.Object
-
- java.lang.Enum<CompilerOptions.AliasStringsMode>
-
- com.google.javascript.jscomp.CompilerOptions.AliasStringsMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CompilerOptions.AliasStringsMode>
- Enclosing class:
- CompilerOptions
public static enum CompilerOptions.AliasStringsMode extends java.lang.Enum<CompilerOptions.AliasStringsMode>
A mode enum used to indicate the alias strings policy for the AliasStrings pass
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CompilerOptions.AliasStringsMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CompilerOptions.AliasStringsMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final CompilerOptions.AliasStringsMode NONE
-
LARGE
public static final CompilerOptions.AliasStringsMode LARGE
-
ALL
public static final CompilerOptions.AliasStringsMode ALL
-
-
Method Detail
-
values
public static CompilerOptions.AliasStringsMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CompilerOptions.AliasStringsMode c : CompilerOptions.AliasStringsMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompilerOptions.AliasStringsMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-