public static enum CompilerInput.ModuleType extends java.lang.Enum<CompilerInput.ModuleType>
| Enum Constant and Description |
|---|
COMMONJS |
ES6 |
GOOG |
IMPORTED_SCRIPT |
JSON |
NONE |
| Modifier and Type | Method and Description |
|---|---|
static CompilerInput.ModuleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompilerInput.ModuleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompilerInput.ModuleType NONE
public static final CompilerInput.ModuleType GOOG
public static final CompilerInput.ModuleType ES6
public static final CompilerInput.ModuleType COMMONJS
public static final CompilerInput.ModuleType JSON
public static final CompilerInput.ModuleType IMPORTED_SCRIPT
public static CompilerInput.ModuleType[] values()
for (CompilerInput.ModuleType c : CompilerInput.ModuleType.values()) System.out.println(c);
public static CompilerInput.ModuleType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2009-2020 Google. All Rights Reserved.